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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x4df262
sub esp, 0xdc
mov eax, 0
mov dword [esp + 0xd8], eax
mov byte [esp + 0x1f], 0
nop
mov eax, dword [esp + 0xf0]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x38], eax
cmp eax, 0x14
ja 0x4de9f9
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x4dea1f
cmp eax, 0x14
je 0x4dea03
jmp 0x4df21b
cmp eax, 0x16
jbe 0x4dea1f
cmp eax, 0x17
jne 0x4dea16
mov eax, dword [esp + 0xec]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
jmp 0x4dea4b
cmp eax, 0x1a
jne 0x4df21b
test ecx, 0x200
jne 0x4dea79
test ecx, 0x80
je 0x4dea3a
mov eax, dword [esp + 0xec]
mov edx, dword [eax]
jmp 0x4dea43
mov eax, dword [esp + 0xec]
mov edx, eax
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x4dea80
mov eax, dword [esp + 0xe4]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x50d0ce]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.0046c350
add esp, 0xdc
ret
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0xe4]
mov ebx, dword [edx + 0x54]
inc ebx
mov dword [edx + 0x54], ebx
cmp ebx, 0x3e8
ja 0x4dea9d
xor ebx, ebx
jmp 0x4debe1
mov edx, dword [esp + 0xe8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004812b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
lea ecx, [0x4f73c0]
mov dword [esp + 0x80], ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xe4]
mov ebx, dword [edx + 0x58]
lea ebp, [0x4f79a0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x80]
mov dword [esp + 8], ebx
call fcn.0040c0a0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4df0b8
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00408990
mov eax, dword [esp + 4]
lea ecx, [0x4f73c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 0x58]
lea ebx, [0x4f79a0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x80]
mov dword [esp + 8], edx
call fcn.0040c420
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 0x58]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea edx, [0x4df2f0]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
lea ecx, [0x4f73c0]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x94], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0xd8], ecx
mov byte [esp + 0x1f], 1
mov edx, eax
mov ebx, 1
mov byte [esp + 0x1e], bl
mov dword [esp], edx
mov byte [esp + 4], 0x7b
call fcn.0046c810
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov ecx, dword [esp + 0xec]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xf0]
mov dword [esp + 8], edx
call fcn.00480bf0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [0x500220]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00446f60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 8], ebx
call fcn.00480ff0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x4dec79
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
call fcn.00480f00
movzx eax, byte [esp + 4]
test al, al
je 0x4ded86
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00480d60
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
cmp ebx, ebp
jae 0x4df0af
shl ebx, 5
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x6c]
mov dword [ebp + ebx + 8], edx
lea edx, [ebp + ebx]
mov dword [esp + 0x68], edx
mov esi, dword [0x609a90]
lea edx, [ebp + ebx]
mov dword [esp + 0x64], edx
lea edx, [ebp + ebx + 4]
mov dword [esp + 0x60], edx
lea edx, [ebp + ebx + 0xc]
mov dword [esp + 0x5c], edx
lea edx, [ebp + ebx + 0x10]
mov dword [esp + 0x58], edx
test esi, esi
jne 0x4ded05
mov dword [ebp + ebx], eax
mov dword [ebp + ebx + 4], ecx
jmp 0x4ded19
mov edi, dword [esp + 0x64]
call fcn.0045dbb0
mov edi, dword [esp + 0x60]
mov eax, ecx
call fcn.0045dbb0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00480e30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + ebx + 0x14], edx
mov edx, dword [0x609a90]
test edx, edx
jne 0x4ded51
mov dword [ebp + ebx + 0xc], eax
mov dword [ebp + ebx + 0x10], ecx
jmp 0x4ded65
mov edi, dword [esp + 0x5c]
call fcn.0045dbb0
mov edi, dword [esp + 0x58]
mov eax, ecx
call fcn.0045dbb0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004e0710
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4dec6e
jmp 0x4def4e
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00408b20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x4df270]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
lea ebx, [0x4f3000]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004875a0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4dee25
xor ecx, ecx
mov edx, dword [esp + 0x6c]
jmp 0x4dee73
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.0046c810
mov eax, dword [esp + 0xe4]
dec dword [eax + 0x54]
movzx eax, byte [esp + 0x1e]
test al, 1
je 0x4dee5f
and eax, 0xfffffffe
mov byte [esp + 0x1f], al
mov edx, dword [esp + 0xd8]
mov eax, dword [edx]
call eax
add esp, 0xdc
ret
mov ebx, dword [esp + 0x68]
lea edx, [ebx + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], edx
lea edi, [esp + 0xb8]
mov esi, edx
call fcn.0045e250
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x4deea5
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.0046c810
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
movzx eax, byte [esp + 0xf5]
mov byte [esp + 0xc], al
call fcn.004e09f0
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.0046c810
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0xe4]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0xf4]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0xf5]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x4dee66
jmp 0x4dee25
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 8], eax
call fcn.00482420
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
call fcn.00408aa0
mov eax, dword [esp + 8]
lea ecx, [0x4f71c0]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00408aa0
mov eax, dword [esp + 8]
lea ecx, [0x4f71c0]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
lea eax, [0x51527a]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0xa8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004aaad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4fe3c0]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004088c0
mov eax, dword [esp + 8]
lea ecx, [0x4fe3c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433300
mov eax, ebx
mov ecx, ebp
call fcn.0045dc30
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov ecx, dword [esp + 0xec]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xf0]
mov dword [esp + 8], edx
call fcn.00482420
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test eax, eax
je 0x4df0fc
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x5128d2]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ad290
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edx, [0x4fcaa0]
mov dword [esp], edx
call fcn.0040b030
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xf0]
mov dword [edi + 8], eax
mov eax, dword [0x609a90]
test eax, eax
jne 0x4df1f5
mov ecx, dword [esp + 0xe8]
mov dword [edi], ecx
mov ecx, dword [esp + 0xec]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x609a90]
test ecx, ecx
jne 0x4df1e1
mov eax, dword [esp + 0x54]
mov dword [edi + 0xc], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x53a14c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
lea eax, [0x4fe3c0]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004088c0
mov eax, dword [esp + 8]
lea ecx, [0x4fe3c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433300
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x54]
mov edx, edi
mov edi, ecx
call fcn.0045dbb0
mov edi, edx
jmp 0x4df197
mov eax, dword [esp + 0xe8]
call fcn.0045dbb0
lea ecx, [edi + 4]
mov eax, dword [esp + 0xec]
mov edx, edi
mov edi, ecx
call fcn.0045dbb0
mov edi, edx
jmp 0x4df17f
lea eax, [0x4fd2e0]
mov dword [esp], eax
call fcn.0040b030
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x51054c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
lea ecx, [0x4f92c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00433300
nop
call fcn.00432850
add esp, 0xdc
ret
call fcn.0045c7a0
jmp fcn.004de9a0