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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x494]
cmp eax, dword [ecx + 8]
jbe 0x53036e
sub esp, 0x514
lea edi, [esp + 0x430]
xor eax, eax
call fcn.0045729e
mov ecx, dword [esp + 0x518]
mov dword [esp + 0x468], ecx
mov edx, dword [esp + 0x51c]
mov dword [esp + 0x46c], edx
lea edi, [esp + 0x110]
call fcn.004572a9
lea edi, [esp + 0x4c0]
call fcn.0045729b
lea ecx, [esp + 0x4c0]
mov dword [esp + 0x11c], ecx
call fcn.004449c0
mov ecx, dword [esp]
mov dword [esp + 0x118], ecx
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
lea edi, [esp + 0xfc]
xor eax, eax
call fcn.004572ab
lea ecx, [esp + 8]
mov dword [esp + 0xdc], ecx
mov edx, 1
mov ebx, 1
lea ebp, [esp + 0x430]
xor esi, esi
lea edi, [esp + 0x3c]
xor edx, edx
mov dword [esp + 0xa8], edx
mov edx, 1
jmp 0x52f1b2
mov esi, eax
mov eax, dword [esp + 0xcc]
add eax, 0x48
mov ebp, esi
mov esi, edx
mov edx, ebx
mov ebx, ecx
mov ecx, eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], ebx
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x90], esi
lea edi, [esp + 0x3e8]
mov esi, ecx
call fcn.0045770c
lea edi, [esp + 0x2c8]
lea esi, [esp + 0x3e8]
call fcn.0045770c
lea ecx, [0x8f06e0]
mov dword [esp], ecx
lea ecx, [esp + 0x110]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x300]
mov dword [esp + 8], ecx
call fcn.0040bd70
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x52f204
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x98]
inc ebx
mov ebp, dword [esp + 0x50]
cmp ebx, ebp
jl 0x52f0d6
mov ebx, ecx
mov ebp, eax
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xa8], eax
xor eax, eax
mov ecx, dword [esp + 0xdc]
test ebx, ebx
jle 0x52fc99
mov dword [esp + 0x54], edx
mov dword [esp + 0x98], esi
mov dword [esp + 0xd8], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0xd4], ebp
call fcn.0040b960
mov eax, dword [esp]
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0xd4]
xor edx, edx
xor ebx, ebx
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x98]
jmp 0x52f0ec
lea eax, [0x8f06e0]
mov dword [esp], eax
lea ecx, [esp + 0x110]
mov dword [esp + 4], ecx
lea edx, [esp + 0x300]
mov dword [esp + 8], edx
call fcn.0040c390
mov eax, dword [esp + 0xc]
mov byte [eax], 1
xor eax, eax
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0xd8]
jmp 0x52f253
mov ebp, dword [esp + 0x68]
inc ebp
mov ebx, edx
mov edx, eax
mov eax, ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0xd8], ebx
mov ebp, dword [esp + 0x300]
mov esi, dword [esp + 0x304]
mov ebp, dword [ebp + 0x64]
mov dword [esp], esi
call ebp
mov eax, dword [esp + 0x68]
cmp dword [esp + 4], eax
jle 0x52fc7f
mov ecx, dword [esp + 0x300]
mov edx, dword [esp + 0x304]
mov ecx, dword [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
call ecx
lea edi, [esp + 0x12c]
mov esi, dword [esp + 0xdc]
call fcn.0045773e
mov eax, dword [esp + 0x138]
movzx ecx, byte [esp + 0x15c]
test eax, eax
test cl, cl
jne 0x52fbde
test eax, eax
je 0x52f2f4
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x52f248
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x144]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x9827a4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.0047c710
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, 1
jne 0x52f34c
cmp byte [ecx], 0x2d
jne 0x52f34c
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x52f248
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005341d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0xb8], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x58], ebx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0052dff0
movzx eax, byte [esp + 8]
test al, al
je 0x52fbd5
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x58], eax
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0x2f8]
lea ebx, [0x8ead00]
mov dword [esp], ebx
inc edx
mov dword [esp + 0x60], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00440500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2f4]
mov edx, dword [esp + 0x2f8]
mov ebx, dword [esp + 0x60]
cmp ebx, edx
jle 0x52fbce
mov dword [esp + 0xc8], eax
cmp eax, ecx
je 0x52f40b
mov dword [esp], eax
mov dword [esp + 4], ecx
shl edx, 2
mov dword [esp + 8], edx
call fcn.004579b0
mov eax, dword [esp + 0x2f8]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jae 0x530368
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xc8]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x74], eax
mov ebx, dword [esp + 0x140]
mov dword [esp + 0xbc], ebx
mov ebp, dword [eax + 0x60]
mov dword [esp], ebx
call ebp
mov eax, dword [esp + 8]
test eax, eax
je 0x52fbae
xor eax, eax
test al, al
jne 0x52fb8e
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
lea ebp, [0x984435]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 6
call fcn.00534290
movzx eax, byte [esp + 0x10]
test al, al
jne 0x52fb59
xor eax, eax
mov byte [esp + 0x3e], al
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x52fb1a
mov edx, 1
test dl, dl
je 0x52f91e
test ecx, ecx
jne 0x52f910
mov edx, dword [esp + 0x12c]
mov ebx, dword [esp + 0x130]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
lea eax, [0x986bfe]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 9
call fcn.00534290
movzx eax, byte [esp + 0x10]
lea edi, [esp + 0x238]
lea esi, [0xa59680]
call fcn.0045770c
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x238], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x23c], ecx
mov ecx, dword [esp + 0x58]
test ecx, ecx
setne cl
mov byte [esp + 0x260], cl
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x264], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x268], ecx
mov dword [esp + 0x26c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x270], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x274], ecx
mov byte [esp + 0x278], al
movzx eax, byte [esp + 0x3e]
mov byte [esp + 0x279], al
mov dword [esp], 0
mov eax, dword [esp + 0x23c]
mov ecx, dword [esp + 0x238]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00443bd0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x240], ecx
mov dword [esp + 0x244], eax
mov dword [esp + 0x248], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00530560
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24c], eax
nop
mov dword [esp + 0x100], 0
mov dword [esp + 0x108], 0
mov byte [esp + 0x10c], 0
lea eax, [esp + 0xfc]
mov dword [esp], eax
lea ecx, [0x981d4a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.004e2fa0
lea eax, [esp + 0xfc]
mov dword [esp], eax
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x244]
mov ebx, dword [esp + 0x240]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0052a170
lea eax, [esp + 0xfc]
mov dword [esp], eax
lea ecx, [0x981e39]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004e2fa0
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x100]
mov ebx, dword [esp + 0x104]
cmp ecx, edx
ja 0x53035f
mov dword [esp], 0
sub ebx, ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
add eax, ebx
mov dword [esp + 4], eax
sub edx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.00443a80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x258], ecx
mov dword [esp + 0x25c], eax
mov dword [esp], 0
lea eax, [0x981d4a]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x23c]
mov edx, dword [esp + 0x238]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
lea ecx, [0x981e39]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
call fcn.00443960
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x250], ecx
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0xf4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xf0]
cmp ecx, edx
ja 0x52f8d3
lea ecx, [eax + 1]
mov dword [esp + 0xf4], ecx
lea eax, [eax + eax*8]
mov ecx, dword [0xdd7ec0]
lea edi, [ebx + eax*8]
test ecx, ecx
jne 0x52f8b1
lea esi, [esp + 0x238]
call fcn.0045770c
lea eax, [0x8f07a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
lea edx, [esp + 0x300]
mov dword [esp + 8], edx
call fcn.0040bd70
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x52f83b
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
lea eax, [ecx - 1]
cmp eax, ecx
jae 0x53035a
lea eax, [ecx + ecx*8]
lea esi, [edx + eax*8 - 0x48]
lea edi, [esp + 0x3a0]
call fcn.0045770c
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
lea ebx, [eax + 1]
cmp ebx, edx
ja 0x52f874
lea edx, [eax + 1]
mov dword [esp + 0xf4], edx
lea eax, [eax + eax*8]
lea edi, [ecx + eax*8]
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x52f855
lea esi, [esp + 0x3a0]
call fcn.0045770c
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x52f248
lea eax, [0x95e380]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x3a0]
mov dword [esp + 8], eax
call fcn.00410ec0
jmp 0x52f83b
lea ebp, [0x95e380]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00440660
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xf8], edx
mov dword [esp + 0xf0], ecx
jmp 0x52f815
lea eax, [0x95e380]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x238]
mov dword [esp + 8], eax
call fcn.00410ec0
jmp 0x52f7a0
lea ebp, [0x95e380]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00440660
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xf0], ebx
jmp 0x52f776
mov edx, dword [esp + 0xb8]
mov ebx, ecx
jmp 0x52f4e4
mov eax, dword [esp + 0x74]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xec], ecx
lea edx, [0x8f07a0]
mov dword [esp], edx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0xe8]
mov dword [esp + 8], ebp
call fcn.0040c390
mov eax, dword [esp + 0xc]
inc dword [eax]
mov eax, dword [esp + 0x74]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xec], ecx
lea edx, [0x8f07a0]
mov dword [esp], edx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0xe8]
mov dword [esp + 8], ebp
call fcn.0040bd70
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
je 0x52f9c9
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ebx, eax
mov eax, ecx
mov ecx, edx
mov edx, ebx
jmp 0x52f248
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x60]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0xc4], ecx
lea edi, [esp + 0x358]
mov edx, eax
xor eax, eax
call fcn.0045729e
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x358], ecx
mov dword [esp + 0x35c], edx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x384], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x388], ecx
mov dword [esp + 0x38c], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x390], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x394], ecx
mov ecx, dword [esp + 0x90]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x94]
cmp edx, ebx
ja 0x52fad8
mov ebp, dword [esp + 0xd8]
lea ecx, [ecx + ecx*8]
lea edi, [ebp + ecx*8]
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x52fa8d
lea esi, [esp + 0x358]
call fcn.0045770c
mov eax, ebp
mov ecx, edx
mov edx, ebx
jmp 0x52f9bc
mov dword [esp + 0xac], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ebx
lea eax, [0x95e380]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x358]
mov dword [esp + 8], eax
call fcn.00410ec0
xor eax, eax
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0xac]
jmp 0x52fa82
lea eax, [0x95e380]
mov dword [esp], eax
mov ebp, dword [esp + 0xd8]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00440660
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x90]
jmp 0x52fa65
movzx edx, byte [esp + 0x15c]
test dl, dl
jne 0x52fb30
mov edx, 1
jmp 0x52f4c6
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x19
setne dl
movzx eax, byte [esp + 0x3e]
mov ecx, dword [esp + 0x58]
jmp 0x52f4c6
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
lea ecx, [eax - 1]
cmp ecx, 0xd
ja 0x52fb82
mov eax, 1
jmp 0x52f4b1
cmp eax, 0x18
je 0x52fb78
xor eax, eax
jmp 0x52f4b1
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x52f46e
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x50]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
call ecx
cmp dword [esp + 4], 0x16
sete al
jmp 0x52f45b
mov edx, ebx
jmp 0x52f3ed
xor eax, eax
xor ecx, ecx
jmp 0x52f3a2
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 0x50]
mov dword [esp], ecx
call edx
cmp dword [esp + 4], 0x16
je 0x52fc59
mov eax, dword [esp + 0x8c]
test eax, eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x40]
jne 0x52fc47
xor eax, eax
test al, al
je 0x52f2f4
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x52f248
mov ecx, dword [ecx + 0x50]
mov dword [esp], eax
call ecx
cmp dword [esp + 4], 0x19
setne al
jmp 0x52fc25
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x8c]
test edx, edx
jmp 0x52fc21
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
jmp 0x52f178
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00408720
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x534520]
mov dword [esp + 0xe0], ecx
lea ecx, [esp + 0xf0]
mov dword [esp + 0xe4], ecx
lea ecx, [0x8c3380]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0xe0]
mov dword [esp + 8], eax
call fcn.00492720
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf0]
xor edx, edx
xor ebx, ebx
jmp 0x52fe3b
mov eax, dword [esp + 0x78]
lea esi, [eax + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x48]
mov ecx, edx
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x78], esi
lea ebp, [esi + edx]
mov dword [esp + 0x90], ebp
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0xcc], ebx
mov ebx, dword [esp + 0x8c]
cmp ebp, ebx
jge 0x52fde4
jae 0x530348
lea ebx, [ebp + ebp*8]
mov ebp, dword [esp + 0xcc]
lea ebx, [ebp + ebx*8]
lea edi, [esp + 0x1a8]
mov esi, ebx
call fcn.0045770c
mov ecx, dword [esp + 0x1ac]
mov ebx, dword [esp + 0x1a8]
mov ebp, dword [esp + 0x5c]
cmp ecx, ebp
jne 0x52fde4
mov dword [esp], ebx
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402300
movzx eax, byte [esp + 0xc]
test al, al
jne 0x52fd27
mov ebx, dword [esp + 0x78]
cmp ebx, 1
jne 0x52ff33
mov ecx, dword [esp + 0x98]
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
ja 0x52fef3
mov eax, dword [esp + 0xd8]
lea ecx, [ecx + ecx*8]
lea edi, [eax + ecx*8]
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x52fead
lea esi, [esp + 0x280]
call fcn.0045770c
mov ecx, dword [esp + 0x90]
mov edx, ecx
mov ecx, eax
mov eax, ebp
mov ebp, dword [esp + 0xf4]
mov esi, ebx
mov ebx, dword [esp + 0xf0]
cmp edx, ebp
jge 0x5300e5
jae 0x530351
mov dword [esp + 0x48], eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x98], esi
mov dword [esp + 0x64], edx
lea ebp, [edx + edx*8]
mov dword [esp + 0x94], ebp
lea ebx, [ebx + ebp*8]
lea edi, [esp + 0x280]
mov esi, ebx
call fcn.0045770c
mov ecx, dword [esp + 0x280]
mov dword [esp + 0xb4], ecx
mov ebx, dword [esp + 0x284]
mov dword [esp + 0x5c], ebx
mov esi, 1
jmp 0x52fd52
mov dword [esp + 0xa0], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x80], ebp
lea eax, [0x95e380]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x280]
mov dword [esp + 8], eax
call fcn.00410ec0
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x80]
jmp 0x52fe2e
lea eax, [0x95e380]
mov dword [esp], eax
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00440660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x98]
jmp 0x52fe0e
mov ebp, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x90]
cmp ecx, edx
ja 0x530343
mov eax, dword [esp + 0x64]
cmp eax, ecx
ja 0x53033e
lea edi, [esp + 0x160]
mov esi, eax
xor eax, eax
call fcn.0045729e
mov ecx, dword [esp + 0x94]
shl ecx, 3
sub edx, esi
neg edx
sar edx, 0x1f
and ecx, edx
lea esi, [ebp + ecx]
cmp ebx, 1
jle 0x5300e1
mov edx, ebx
mov ebx, dword [ebp + ecx + 0x78]
cmp dword [esi + 0x30], ebx
jne 0x5300c3
movzx ebx, byte [ebp + ecx + 0x28]
movzx ebp, byte [ebp + ecx + 0x70]
xchg ebp, eax
cmp bl, al
xchg ebp, eax
jne 0x5300c3
lea edi, [esp + 0x160]
lea esi, [0xa596e0]
call fcn.0045770c
xor ecx, ecx
mov byte [esp + 0x3f], cl
lea edi, [esp + 0x310]
lea esi, [esp + 0x160]
call fcn.0045770c
movzx ecx, byte [esp + 0x3f]
test cl, cl
je 0x5300ac
mov ecx, dword [esp + 0x98]
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
ja 0x53006a
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x98], ebx
lea ecx, [ecx + ecx*8]
mov ebx, dword [0xdd7ec0]
lea edi, [edx + ecx*8]
test ebx, ebx
jne 0x530033
lea esi, [esp + 0x310]
call fcn.0045770c
mov ecx, dword [esp + 0x98]
mov eax, edx
mov ebx, ecx
jmp 0x52fe2e
mov dword [esp + 0xc0], edx
mov dword [esp + 0x7c], ebp
lea eax, [0x95e380]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x310]
mov dword [esp + 8], eax
call fcn.00410ec0
xor eax, eax
mov edx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x7c]
jmp 0x530023
lea eax, [0x95e380]
mov dword [esp], eax
mov edx, dword [esp + 0xd8]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00440660
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x98]
jmp 0x530000
mov edx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x98]
jmp 0x53002a
test edx, edx
jbe 0x530335
lea edi, [esp + 0x160]
call fcn.0045770c
mov ecx, 1
jmp 0x52ffc3
mov edx, ebx
jmp 0x5300c3
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], eax
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00408720
mov eax, dword [esp + 0xc]
lea ecx, [0xa536e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00493280
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x518]
mov edx, dword [esp + 0x51c]
xor ebx, ebx
jmp 0x530162
mov ebp, dword [esp + 0x70]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x518]
mov edi, dword [esp + 0x51c]
mov eax, ebp
mov ecx, esi
mov edx, edi
cmp ebx, eax
jge 0x530221
mov ebp, dword [esp + 0xf4]
mov esi, dword [esp + 0xf0]
cmp ebx, ebp
jae 0x53032c
mov dword [esp + 0x70], ebx
mov dword [esp + 0xcc], esi
lea eax, [ebx + ebx*8]
mov dword [esp + 0x94], eax
shl eax, 3
mov dword [esp + 0x90], eax
mov edi, dword [esi + eax + 0x34]
mov ebx, dword [esi + eax + 0x30]
mov eax, dword [esi + eax + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.0052e130
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0052acb0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xcc]
lea edi, [ecx + eax*8 + 0x44]
mov eax, dword [0xdd7ec0]
mov edx, dword [esp + 8]
test eax, eax
jne 0x530215
mov ebx, dword [esp + 0x90]
mov dword [ecx + ebx + 0x44], edx
jmp 0x530140
mov eax, edx
call fcn.00456fe0
jmp 0x530140
mov eax, dword [esp + 0xf4]
lea ecx, [0x8f1020]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040b9e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
test ecx, ecx
jle 0x5302ed
mov dword [esp + 0x98], ecx
xor ebx, ebx
jmp 0x530281
mov ebp, dword [esp + 0xcc]
lea edx, [ebp + 0x48]
mov ebx, eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xcc], edx
mov dword [esp + 0x6c], ebx
lea edi, [esp + 0x478]
mov esi, edx
call fcn.0045770c
lea edi, [esp + 0x1f0]
lea esi, [esp + 0x478]
call fcn.0045770c
lea ecx, [0x8f1020]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x1f4]
mov eax, dword [esp + 0x1f0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.004103d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x98]
cmp eax, ecx
jl 0x53026e
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x520], ecx
mov dword [esp + 0x524], eax
mov dword [esp + 0x528], edx
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x52c], eax
add esp, 0x514
ret
mov eax, ebx
mov ecx, ebp
call fcn.00457060
xor eax, eax
mov ecx, edx
call fcn.00457060
call fcn.004570c0
call fcn.004570a0
mov eax, ebp
mov ecx, ebx
call fcn.00457060
mov eax, edx
mov ecx, ebp
call fcn.00457060
call fcn.00457060
mov eax, ecx
mov ecx, edx
call fcn.004570c0
call fcn.00457060
nop
call fcn.004557a0
jmp fcn.0052eff0