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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x47c]
cmp eax, dword [ecx + 8]
jbe 0x51f7cc
sub esp, 0x4fc
lea edi, [esp + 0x3d0]
xor eax, eax
call fcn.00463a7e
mov ecx, dword [esp + 0x500]
mov dword [esp + 0x408], ecx
mov edx, dword [esp + 0x504]
mov dword [esp + 0x40c], edx
lea edi, [esp + 0x120]
call fcn.00463a89
lea edi, [esp + 0x4a8]
call fcn.00463a7b
lea ecx, [esp + 0x4a8]
mov dword [esp + 0x12c], ecx
call fcn.0044f0a0
mov ecx, dword [esp]
mov dword [esp + 0x128], ecx
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
lea edi, [esp + 0x10c]
xor eax, eax
call fcn.00463a8b
mov ecx, 1
lea edx, [esp + 0x3d0]
mov ebx, 1
xor ebp, ebp
lea esi, [esp + 0x3c]
xor edi, edi
jmp 0x51e589
xor eax, eax
mov ecx, esi
mov edx, edi
mov ebx, ebp
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xec]
mov edi, dword [esp + 0xb4]
test ecx, ecx
je 0x51e5dd
mov dword [esp + 0x7c], ebp
mov dword [esp + 0xcc], esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xec], edx
mov dword [esp + 0xd0], edi
call fcn.0040c890
mov eax, dword [esp]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xec]
mov edx, ecx
xor ebx, ebx
mov ebp, dword [esp + 0x7c]
xor esi, esi
mov edi, dword [esp + 0xcc]
jmp 0x51ecb5
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x108]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409770
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x51f7e0]
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0xfc], ecx
lea ecx, [0x5e9640]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
call fcn.004900d0
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x108]
xor edx, edx
xor ebx, ebx
jmp 0x51e670
mov eax, ebp
mov esi, ecx
mov ecx, ebx
mov ebx, esi
mov ebp, dword [esp + 0x104]
mov esi, ebx
mov ebx, dword [esp + 0x100]
cmp edx, ebp
jge 0x51e97b
jae 0x51ec79
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0xa0], esi
lea ebp, [edx + edx*8]
mov dword [esp + 0x9c], ebp
lea ebx, [ebx + ebp*8]
lea edi, [esp + 0x2f8]
mov esi, ebx
call fcn.00463eec
mov ecx, dword [esp + 0x2f8]
mov dword [esp + 0xc0], ecx
mov ebx, dword [esp + 0x2fc]
mov dword [esp + 0x5c], ebx
mov esi, 1
jmp 0x51ebad
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x9c]
cmp esi, 1
jne 0x51e7cb
mov ecx, dword [esp + 0xa0]
inc ecx
mov ebx, dword [esp + 0x4c]
cmp ebx, ecx
jae 0x51e759
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x60ea80]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x98]
mov ebx, edx
mov dword [esp + 0x48], ecx
mov edx, ebp
lea ebp, [ecx + ecx*8]
lea edi, [eax + ebp*8 - 0x48]
mov ebp, dword [0x7e2780]
test ebp, ebp
jne 0x51e77e
lea esi, [esp + 0x2f8]
call fcn.00463eec
jmp 0x51e7be
mov dword [esp + 0xe4], eax
mov dword [esp + 0x90], ebx
lea eax, [0x60ea80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x2f8]
mov dword [esp + 8], eax
call fcn.004108d0
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x90]
mov ecx, dword [esp + 0x48]
mov ebp, eax
xor eax, eax
jmp 0x51e668
mov ebx, dword [esp + 0x108]
mov ecx, ebx
mov ebx, dword [esp + 0x100]
cmp ecx, ebp
jb 0x51ec67
cmp edx, ebp
ja 0x51ec5e
mov dword [esp + 0x94], ecx
lea edi, [esp + 0x1d8]
xor eax, eax
call fcn.00463a7e
mov ecx, dword [esp + 0x9c]
shl ecx, 3
mov edi, ebp
mov ebp, dword [esp + 0x94]
sub ebp, edx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ecx, ebp
lea ebp, [ebx + ecx]
cmp esi, 1
jle 0x51e853
mov edx, ebx
mov ebx, dword [ebx + ecx + 0x78]
cmp dword [ebp + 0x30], ebx
jne 0x51e853
mov dword [esp + 0xc8], ebp
movzx ebx, byte [edx + ecx + 0x28]
lea ebp, [edx + ecx + 0x70]
cmp byte [ebp], bl
jne 0x51e84c
xor ecx, ecx
jmp 0x51e875
mov ebp, dword [esp + 0xc8]
test esi, esi
jbe 0x51ec55
mov esi, ebp
lea edi, [esp + 0x1d8]
call fcn.00463eec
mov edi, dword [esp + 0x98]
mov ecx, 1
mov byte [esp + 0x3d], cl
lea esi, [esp + 0x1d8]
mov edx, edi
lea edi, [esp + 0x388]
call fcn.00463eec
movzx ecx, byte [esp + 0x3d]
test cl, cl
je 0x51e964
mov ecx, dword [esp + 0xa0]
inc ecx
mov ebx, dword [esp + 0x4c]
cmp ebx, ecx
jb 0x51e8b4
mov ebp, dword [esp + 0xac]
jmp 0x51e8f6
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x60ea80]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov ebx, edx
xor eax, eax
mov edx, dword [esp + 0x98]
mov dword [esp + 0x48], ecx
lea ecx, [ecx + ecx*8]
lea edi, [ebp + ecx*8 - 0x48]
mov ecx, dword [0x7e2780]
test ecx, ecx
jne 0x51e919
lea esi, [esp + 0x388]
call fcn.00463eec
jmp 0x51e95b
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x8c], ebx
lea eax, [0x60ea80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x388]
mov dword [esp + 8], eax
call fcn.004108d0
xor eax, eax
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0xe0]
mov ecx, dword [esp + 0x48]
jmp 0x51e668
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xac]
jmp 0x51e668
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], ecx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call fcn.00409770
mov eax, dword [esp + 0xc]
lea ecx, [0x674d94]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00490220
mov eax, dword [esp + 0x104]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x500]
mov edx, dword [esp + 0x504]
xor ebx, ebx
jmp 0x51e9f2
mov ebp, dword [esp + 0x6c]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x500]
mov edx, dword [esp + 0x504]
cmp ebx, eax
jge 0x51ea94
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
cmp ebx, esi
jae 0x51eb7d
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xec], ebp
lea eax, [ebx + ebx*8]
mov dword [esp + 0x9c], eax
lea esi, [ebp + eax*8]
lea edi, [ebp + eax*8 + 0x2c]
mov edi, dword [edi]
mov ebx, dword [esi + 0x30]
mov esi, dword [esi + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0051d720
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005196d0
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xec]
lea edi, [ecx + eax*8 + 0x44]
mov eax, dword [0x7e2780]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x51ea88
mov dword [edi], ecx
jmp 0x51e9d6
mov eax, ecx
call fcn.00463860
jmp 0x51e9d6
mov eax, dword [esp + 0x104]
lea ecx, [0x5f23e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040c910
mov eax, dword [esp + 0xc]
mov dword [esp + 0xbc], eax
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov dword [esp + 0xa0], edx
xor ebx, ebx
jmp 0x51eb41
mov dword [esp + 0x68], ebx
mov dword [esp + 0xe8], ecx
lea edi, [esp + 0x268]
mov esi, ecx
call fcn.00463eec
mov ecx, dword [esp + 0x268]
mov edx, dword [esp + 0x26c]
lea ebx, [0x5f23e0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0040fe50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov eax, dword [esp + 0xe8]
add eax, 0x48
lea ebx, [ecx + 1]
mov edx, dword [esp + 0xa0]
mov ecx, eax
mov eax, dword [esp + 0xbc]
cmp ebx, edx
jl 0x51ead9
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov ebx, dword [esp + 0x108]
mov dword [esp + 0x508], ecx
mov dword [esp + 0x50c], edx
mov dword [esp + 0x510], ebx
mov dword [esp + 0x514], eax
add esp, 0x4fc
ret
mov eax, ebx
mov ecx, esi
call fcn.004638e0
mov eax, dword [esp + 0x80]
lea esi, [eax + 1]
mov ecx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0x9c]
mov edi, ebp
lea ebp, [esi + edx]
mov dword [esp + 0x98], ebp
mov ebx, dword [esp + 0x104]
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x100]
mov dword [esp + 0xec], ebx
mov ebx, dword [esp + 0x94]
cmp ebx, ebp
jle 0x51e709
jbe 0x51ec70
mov dword [esp + 0x80], esi
lea ebx, [ebp + ebp*8]
mov ebp, dword [esp + 0xec]
lea ebx, [ebp + ebx*8]
mov ebp, edi
lea edi, [esp + 0x220]
mov esi, ebx
call fcn.00463eec
mov ecx, dword [esp + 0x224]
mov ebx, dword [esp + 0x220]
mov esi, ebp
mov ebp, dword [esp + 0x5c]
cmp ecx, ebp
jne 0x51e6f4
mov dword [esp], ebx
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402a50
movzx eax, byte [esp + 0xc]
test al, al
jne 0x51eb86
jmp 0x51e6e2
xor eax, eax
mov ecx, eax
call fcn.004638e0
mov eax, edx
mov ecx, ebp
call fcn.00463940
mov edx, ecx
mov ecx, ebp
call fcn.00463920
mov eax, ebp
mov ecx, ebx
call fcn.004638e0
mov eax, edx
mov ecx, ebp
call fcn.004638e0
mov ebx, dword [esp + 0xe8]
add ebx, 0x48
mov ebp, dword [esp + 0x9c]
inc ebp
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xec]
mov eax, ebx
mov ebx, ebp
mov ebp, ecx
mov ecx, eax
mov eax, dword [esp + 0xb4]
mov eax, dword [esp + 0x78]
cmp ebx, eax
jge 0x51e56c
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xe8], ecx
lea edi, [esp + 0x340]
mov esi, ecx
call fcn.00463eec
lea eax, [0x5f1fe0]
mov dword [esp], eax
lea ecx, [esp + 0x120]
mov dword [esp + 4], ecx
lea edx, [esp + 0x378]
mov dword [esp + 8], edx
call fcn.0040cc60
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x51ed2f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xb8]
jmp 0x51ec82
lea eax, [0x5f1fe0]
mov dword [esp], eax
lea ecx, [esp + 0x120]
mov dword [esp + 4], ecx
lea edx, [esp + 0x378]
mov dword [esp + 8], edx
call fcn.0040d1b0
mov eax, dword [esp + 0xc]
mov byte [eax], 1
xor eax, eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x54]
jmp 0x51ed92
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xdc]
jmp 0x51ec82
mov ebp, dword [esp + 0x74]
inc ebp
mov ebx, ecx
mov ecx, eax
mov eax, ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0xdc], edx
mov ebp, dword [esp + 0x378]
mov esi, dword [esp + 0x37c]
mov ebp, dword [ebp + 0x64]
mov dword [esp], esi
call ebp
mov eax, dword [esp + 0x74]
cmp dword [esp + 4], eax
jle 0x51ed6d
mov ecx, dword [esp + 0x378]
mov edx, dword [esp + 0x37c]
mov ecx, dword [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
call ecx
lea edi, [esp + 0x13c]
lea esi, [esp + 8]
call fcn.00463f1e
movzx eax, byte [esp + 0x16c]
test al, al
jne 0x51ee3d
lea edi, [esp + 0x170]
lea esi, [esp + 0x13c]
call fcn.00463f1e
mov eax, dword [esp + 0x17c]
test eax, eax
je 0x51eeeb
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xdc]
jmp 0x51ed87
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x150]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 0x50]
mov dword [esp], ecx
call edx
cmp dword [esp + 4], 0x16
je 0x51ee72
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xa8]
jmp 0x51ee8d
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], ecx
lea edi, [esp + 0x1a4]
lea esi, [esp + 0x13c]
call fcn.00463f1e
mov ecx, dword [esp + 0x1b0]
test ecx, ecx
jne 0x51eeb6
xor eax, eax
jmp 0x51eecd
mov eax, dword [eax + 0x50]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 0x19
setne al
test al, al
je 0x51eeeb
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xdc]
jmp 0x51ed87
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x61be8b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004bcbf0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jne 0x51ef43
cmp byte [eax], 0x2d
jne 0x51ef43
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xdc]
jmp 0x51ed87
nop
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x61b995]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004aaf30
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x50], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0051d5e0
movzx eax, byte [esp + 8]
test al, al
je 0x51efaa
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xa4]
jmp 0x51efae
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0xc4], ecx
mov edx, dword [esp + 0x370]
lea ebx, [0x5f0580]
mov dword [esp], ebx
inc edx
mov dword [esp + 0x64], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x36c]
mov edx, dword [esp + 0x370]
mov ebx, dword [esp + 0x64]
cmp edx, ebx
jl 0x51eff7
mov edx, ebx
mov dword [esp + 0xd8], eax
cmp ecx, eax
je 0x51f020
mov dword [esp], eax
mov dword [esp + 4], ecx
shl edx, 2
mov dword [esp + 8], edx
call fcn.00464180
mov eax, dword [esp + 0xd8]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x370]
cmp edx, ebx
jae 0x51f7c2
mov ecx, dword [esp + 0x74]
mov dword [eax + edx*4], ecx
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x150]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ebx
mov edx, dword [edx + 0x60]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 8]
test eax, eax
jne 0x51f0ab
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 0x16
jne 0x51f0ab
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
lea edx, [0x61c488]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
call fcn.005245a0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x51f0e1
xor eax, eax
jmp 0x51f111
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
cmp ecx, 0xd
jbe 0x51f108
cmp eax, 0x18
jne 0x51f10f
mov eax, 1
jmp 0x51f111
xor eax, eax
mov byte [esp + 0x3e], al
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x51f124
mov edx, 1
jmp 0x51f160
movzx edx, byte [esp + 0x16c]
test dl, dl
jne 0x51f137
mov edx, 1
jmp 0x51f160
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 0x19
setne al
mov ecx, dword [esp + 0x60]
mov edx, eax
movzx eax, byte [esp + 0x3e]
test dl, dl
je 0x51f2a3
test ecx, ecx
jne 0x51f17c
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x140]
jmp 0x51f185
mov ebx, ecx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x88], ebx
mov dword [esp + 0xc4], edx
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
lea eax, [0x61d062]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 9
call fcn.005245a0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x60]
test ecx, ecx
setne cl
mov byte [esp + 0x3f], cl
lea edi, [esp + 0x2b0]
mov edx, eax
xor eax, eax
call fcn.00463a7e
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x2b0], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x2b4], ecx
movzx ecx, byte [esp + 0x3f]
mov byte [esp + 0x2d8], cl
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x2dc], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x2e0], ecx
mov dword [esp + 0x2e4], ecx
mov ecx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x2e8], ecx
mov dword [esp + 0x2ec], ebx
mov byte [esp + 0x2f0], dl
movzx ecx, byte [esp + 0x3e]
mov byte [esp + 0x2f1], cl
mov ecx, dword [esp + 0x2b0]
mov edx, dword [esp + 0x2b4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0044e1b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2b8], eax
mov dword [esp + 0x2bc], ecx
mov dword [esp + 0x2c0], edx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x51f45e
lea eax, [0x5f2020]
mov dword [esp], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
lea edx, [esp + 0xf0]
mov dword [esp + 8], edx
call fcn.0040d1b0
mov eax, dword [esp + 0xc]
inc dword [eax]
lea eax, [0x5f2020]
mov dword [esp], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
lea edx, [esp + 0xf0]
mov dword [esp + 8], edx
call fcn.0040cc60
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
je 0x51f314
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xdc]
jmp 0x51ed87
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov eax, dword [eax + 0x60]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
lea edi, [esp + 0x418]
mov edx, eax
xor eax, eax
call fcn.00463a7e
mov dword [esp + 0x418], edx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x41c], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x444], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x448], ecx
mov dword [esp + 0x44c], ecx
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x450], edx
mov dword [esp + 0x454], ecx
mov ecx, dword [esp + 0x94]
inc ecx
mov edx, dword [esp + 0x98]
cmp edx, ecx
jb 0x51f3bd
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0x98]
jmp 0x51f3f2
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x60ea80]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
lea ebx, [ecx + ecx*8]
lea edi, [edx + ebx*8 - 0x48]
mov ebx, dword [0x7e2780]
test ebx, ebx
jne 0x51f418
lea esi, [esp + 0x418]
call fcn.00463eec
jmp 0x51f451
mov dword [esp + 0xd4], edx
mov dword [esp + 0x84], eax
lea eax, [0x60ea80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x418]
mov dword [esp + 8], eax
call fcn.004108d0
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0x98]
jmp 0x51ed87
inc edx
cmp edx, ecx
jge 0x51f49e
movzx esi, byte [eax + edx]
xchg esi, eax
cmp al, 0x80
xchg esi, eax
jae 0x51f496
and esi, 0xffffffdf
lea edi, [esi - 0x41]
xchg edi, eax
cmp al, 0x19
xchg edi, eax
jbe 0x51f481
mov ebp, 1
jmp 0x51f45d
xchg esi, eax
cmp al, 0x4b
xchg esi, eax
je 0x51f48f
xchg esi, eax
cmp al, 0x53
xchg esi, eax
jne 0x51f45d
mov ebx, 1
jmp 0x51f45d
lea eax, [0x6341d4]
jmp 0x51f4be
test bl, bl
je 0x51f4aa
lea eax, [0x634224]
jmp 0x51f4be
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x51f4b8
lea eax, [0x634218]
jmp 0x51f4be
lea eax, [0x634244]
mov dword [esp + 0x2c4], eax
nop
mov dword [esp + 0x110], 0
mov dword [esp + 0x118], 0
mov byte [esp + 0x11c], 0
lea eax, [esp + 0x10c]
mov dword [esp], eax
lea ecx, [0x672d44]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.004a63b0
mov eax, dword [esp + 0x2b8]
mov ecx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x2c0]
lea ebx, [esp + 0x10c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00518b80
lea eax, [esp + 0x10c]
mov dword [esp], eax
lea ecx, [0x61ba45]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004a63b0
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x114]
mov ebx, dword [esp + 0x118]
cmp ebx, ecx
ja 0x51f7bb
mov dword [esp], 0
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
add eax, edx
mov dword [esp + 4], eax
sub ecx, ebx
mov dword [esp + 8], ecx
call fcn.0044dff0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], ecx
mov eax, dword [esp + 0x2b0]
mov ecx, dword [esp + 0x2b4]
mov dword [esp], 0
lea edx, [0x672d44]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x61ba45]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 2
call fcn.0044dde0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x2cc], ecx
mov eax, dword [esp + 0x104]
inc eax
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x108]
cmp edx, eax
jae 0x51f663
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x60ea80]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x108], edx
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
lea eax, [eax + eax*8]
lea edi, [ecx + eax*8 - 0x48]
mov eax, dword [0x7e2780]
test eax, eax
jne 0x51f689
lea esi, [esp + 0x2b0]
call fcn.00463eec
jmp 0x51f6a6
lea eax, [0x60ea80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x2b0]
mov dword [esp + 8], eax
call fcn.004108d0
lea eax, [0x5f2020]
mov dword [esp], eax
mov ecx, dword [esp + 0xd0]
mov dword [esp + 4], ecx
lea edx, [esp + 0x378]
mov dword [esp + 8], edx
call fcn.0040cc60
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x51f79c
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x51f7b6
lea eax, [ecx + ecx*8]
lea esi, [edx + eax*8 - 0x48]
lea edi, [esp + 0x460]
call fcn.00463eec
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
inc edx
cmp ecx, edx
jae 0x51f759
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x60ea80]
mov dword [esp + 0x10], eax
call fcn.0044a320
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], edx
lea ecx, [edx + edx*8]
lea edi, [eax + ecx*8 - 0x48]
mov eax, dword [0x7e2780]
test eax, eax
jne 0x51f77f
lea esi, [esp + 0x460]
call fcn.00463eec
jmp 0x51f79c
lea eax, [0x60ea80]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x460]
mov dword [esp + 8], eax
call fcn.004108d0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xdc]
jmp 0x51ed87
call fcn.004638e0
mov eax, ebx
call fcn.00463940
mov eax, edx
mov ecx, ebx
call fcn.004638e0
nop
call fcn.00462450
jmp fcn.0051e4a0