Function at 0x4de630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov ebx, edx
mov dword [esp + 0x40], ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov esi, dword [edi + 8]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [edx]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
mov byte [esp + 0x13], al
movzx eax, al
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
add eax, 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
test edx, edx
je 0x4de77c
mov eax, dword [ebp + 8]
lea ebx, [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4de6c1
push 0
push edx
push eax
mov edx, 0xc
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4de6f9
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
mov dword [eax + ecx*4], 0xc
mov edi, dword [esi + 0xc]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4de71a
push 0
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.00490220
add esp, 0xc
jmp 0x4de74c
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx + 0x3c]
not edx
add eax, dword [ecx + 0x38]
jns 0x4de76c
push edx
mov edx, esi
call fcn.00490a40
add esp, 4
jmp 0x4de775
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov al, byte [esp + 0x13]
cmp al, 9
je 0x4de8bd
cmp al, 0xd
je 0x4de8bd
cmp al, 0xa
je 0x4de867
mov cl, byte [edi + 0x13]
lea edx, [edi + 0x2c]
mov dword [esp + 0x34], edx
test cl, cl
jne 0x4de7b7
mov eax, dword [edx]
inc eax
mov dword [edx], eax
jmp 0x4de7c6
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x13]
cmp al, 0xc
je 0x4de839
cmp al, 0xe
je 0x4de839
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
cmp eax, 1
jne 0x4de803
test cl, cl
jne 0x4de7ef
inc dword [edx]
mov ebx, dword [edx]
jmp 0x4de8d9
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov ebx, dword [edi + eax*4 + 0x98]
jmp 0x4de8d9
mov ebx, dword [edi + 0x20]
mov ecx, eax
mov dword [esp + 0x28], ebx
cmp ecx, dword [edi + 0x1c]
jg 0x4de823
sub dword [edi + 0x1c], ecx
lea eax, [ebx + ecx]
mov dword [edi + 0x20], eax
mov dword [esp + 0x34], edx
jmp 0x4de8dd
mov eax, dword [edx]
mov dword [esp + 0x34], edx
lea ebx, [eax + 1]
add eax, ecx
mov dword [esp + 0x28], ebx
mov dword [edx], eax
jmp 0x4de8dd
test cl, cl
jne 0x4de84e
inc dword [edx]
mov ebx, dword [edx]
mov dword [esp + 0x14], 0
jmp 0x4de8d5
dec cl
mov dword [esp + 0x14], 0
movzx eax, cl
mov byte [edi + 0x13], cl
mov ebx, dword [edi + eax*4 + 0x98]
jmp 0x4de8d5
cmp dword [ebx + 0xc], 0
je 0x4de8bd
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4de88e
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4de8bd
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
lea edx, [edi + 0x2c]
mov dword [esp + 0x2c], 0
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x20], 1
mov dword [esp + 0x4c], eax
je 0x4deb16
inc dword [edx]
mov eax, dword [edx]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x24], eax
inc eax
cmp dword [ecx + 0x10], 0
mov dword [edi + 0x28], eax
je 0x4de96a
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x4de937
push 0
push 0
push 0
mov edx, 0x11
mov ecx, esi
call fcn.00490220
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4de96a
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
inc edx
add edx, dword [esp + 0x4c]
cmp dword [esi + 0x78], ecx
jg 0x4de995
push edx
push dword [esp + 0x40]
mov edx, 0x78
mov ecx, esi
push dword [esp + 0x2c]
call fcn.00490220
add esp, 0xc
jmp 0x4de9c8
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4de9f6
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4de9e2
mov eax, 0x5c5900
jmp 0x4de9f3
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x4dea21
push 0
push dword [esp + 0x34]
mov edx, 0x24
mov ecx, esi
push dword [esp + 0x24]
call fcn.00490220
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4dea54
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x4deab2
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4dea7f
push 1
push dword [esp + 0x3c]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.00490220
add esp, 0xc
jmp 0x4deab2
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4deadc
push dword [esp + 0x24]
mov edx, 0x84
mov ecx, esi
push dword [esp + 0x40]
push dword [esp + 0x24]
call fcn.00490220
add esp, 0xc
xor ecx, ecx
jmp 0x4debdf
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x84
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
xor ecx, ecx
jmp 0x4debdf
mov edx, dword [esi + 0x74]
mov dword [esp + 0x44], edx
cmp dword [esi + 0x78], edx
jg 0x4deb41
push 0
push dword [esp + 0x34]
mov edx, 0x25
mov ecx, esi
push dword [esp + 0x24]
call fcn.00490220
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4deb74
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0xc]
test edx, edx
jle 0x4debd2
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4deb9f
push 1
push dword [esp + 0x3c]
mov ecx, esi
push edx
mov edx, 0x31
call fcn.00490220
add esp, 0xc
jmp 0x4debd2
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x31
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x4c], eax
lea ecx, [eax - 1]
mov dword [esp + 0x3c], ecx
test edx, edx
jle 0x4dec30
mov edi, dword [esp + 0x50]
add edi, 0x10
nop dword [eax + eax]
cmp word [edi], 0
lea eax, [ecx + 1]
lea edi, [edi + 0x14]
cmovne eax, ecx
mov ecx, eax
sub edx, 1
jne 0x4dec10
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [edx - 1]
mov dword [esp + 0x44], eax
test eax, eax
js 0x4decdf
mov edx, dword [esp + 0x50]
mov edi, eax
lea eax, [edi + ebx]
lea ebx, [edi + 1]
mov dword [esp + 0x44], eax
lea ebx, [edi + ebx*4]
lea ebx, [edx + ebx*4]
movzx eax, word [ebx]
test ax, ax
je 0x4dec62
lea edx, [eax - 1]
jmp 0x4dec69
mov edx, ecx
dec ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4dec8f
push dword [esp + 0x44]
mov ecx, esi
push edx
push dword [esp + 0x2c]
mov edx, 0x5d
call fcn.00490220
mov edx, dword [esp + 0x50]
add esp, 0xc
jmp 0x4decc2
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
dec edx
sub ebx, 0x14
mov dword [esp + 0x44], edx
sub edi, 1
jns 0x4dec55
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff6
cmp eax, 5
ja case.0x4decef.13
jmp dword [eax*4 + 0x4df258]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ded19
mov edx, dword [esp + 0x4c]
mov ecx, esi
push ebx
push edx
push dword [esp + 0x2c]
mov edx, 0x5d
call fcn.00490220
add esp, 0xc
jmp 0x4ded48
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4ded6f
push 0
push dword [esp + 0x30]
mov edx, 0x7e
mov ecx, esi
push dword [esp + 0x28]
call fcn.00490220
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4deda2
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4dedc1
push edx
push ebx
push dword [esp + 0x28]
mov edx, 0x7f
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4dedf0
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle case.0x4decef.10
lea ecx, [eax + eax*4]
mov edx, 8
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp case.0x4decef.10
mov eax, dword [ebp + 0x10]
mov ecx, esi
push edx
push dword [eax + 0x14]
push dword [esp + 0x34]
push edx
push ebx
mov edx, 0x60
call fcn.004905c0
mov edx, dword [esi + 0x74]
add esp, 0x14
cmp dword [esi + 0x78], edx
jg 0x4dee50
push ebx
push dword [esp + 0x30]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x28]
call fcn.00490220
add esp, 0xc
mov edx, eax
jmp 0x4dee83
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne case.0x4decef.10
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x14]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4df0c5
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov al, byte [edi + 0x13]
mov dword [esp + 0x4c], ecx
test al, al
jne 0x4deec2
mov eax, dword [esp + 0x34]
inc dword [eax]
mov edx, dword [eax]
jmp 0x4deed1
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x14]
shr eax, 0x1f
sub ecx, eax
add eax, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
cmp dword [esi + 0x78], eax
jg 0x4def0d
push edx
push ecx
push dword [esp + 0x58]
mov edx, 0x60
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4def42
mov edi, dword [esp + 0x50]
inc eax
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x54]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x4c], 0
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
jge 0x4def9c
cmp eax, edx
jg 0x4def70
push ebx
push dword [esp + 0x38]
mov edx, 0x7f
mov ecx, esi
push dword [esp + 0x28]
call fcn.00490220
add esp, 0xc
jmp case.0x4decef.10
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
jmp 0x4df0b9
cmp eax, edx
jg 0x4defbc
push ebx
push dword [esp + 0x38]
mov edx, 0x89
mov ecx, esi
push dword [esp + 0x28]
call fcn.00490220
add esp, 0xc
mov edx, eax
jmp 0x4defef
mov edi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne case.0x4decef.10
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x4c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp case.0x4decef.10
cmp byte [esp + 0x13], 9
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
jne 0x4df06e
mov edi, dword [esp + 0x18]
cmp eax, ecx
jg 0x4df043
mov ecx, dword [ebp + 0x10]
push 0
push edx
mov edx, 0x53
mov eax, dword [ecx + 0xc]
mov ecx, esi
push eax
call fcn.00490220
add esp, 0xc
jmp case.0x4decef.10
mov ebx, dword [ebp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov edi, dword [ebx + 0xc]
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 8], edx
jmp 0x4df0b1
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 4]
cmp eax, ecx
jg 0x4df08e
push 0
push 0
push edx
mov edx, 0xe
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp case.0x4decef.10
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x48]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4df112
cmp byte [esp + 0x13], 0xb
jne 0x4df0e6
cmp edx, 1
je 0x4df0e6
cmp edx, dword [edi + 0x1c]
jle 0x4df0fe
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], ebx
jmp 0x4df0fe
test ebx, ebx
je 0x4df0fe
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4df0fe
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4df112
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4df130
push edx
mov edx, esi
call fcn.00490a40
add esp, 4
jmp 0x4df139
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x78]
test byte [ebx + 0x20], 1
je 0x4df17d
cmp eax, ecx
jg 0x4df168
mov edx, dword [esp + 0x40]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 3
call fcn.00490220
add esp, 0xc
jmp 0x4df1d0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 3
jmp 0x4df1b0
cmp eax, ecx
jg 0x4df19d
mov edx, dword [esp + 0x40]
mov ecx, esi
push 0
push edx
push dword [esp + 0x24]
mov edx, 5
call fcn.00490220
add esp, 0xc
jmp 0x4df1d0
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 5
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4df224
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4df1f5
push 0
push 0
push edx
mov edx, 0x43
mov ecx, esi
call fcn.00490220
add esp, 0xc
jmp 0x4df224
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4df247
push edx
mov edx, esi
call fcn.00490a40
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
pop edi
pop esi
mov dword [ecx + edx*4], eax
pop ebx
mov esp, ebp
pop ebp
ret