Function at 0x65d170
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 0x65e4ee
sub esp, 0x514
lea edi, [esp + 0x430]
xor eax, eax
call fcn.0045171e
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.00451729
lea edi, [esp + 0x4c0]
call fcn.0045171b
lea ecx, [esp + 0x4c0]
mov dword [esp + 0x11c], ecx
call fcn.00440bc0
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.0045172b
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 0x65d332
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.00451b8c
lea edi, [esp + 0x2c8]
lea esi, [esp + 0x3e8]
call fcn.00451b8c
lea ecx, [0x74b5c0]
mov dword [esp], ecx
lea ecx, [esp + 0x110]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x300]
mov dword [esp + 8], ecx
call fcn.0040b4e0
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x65d384
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 0x65d256
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 0x65de19
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.0040b0d0
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 0x65d26c
lea eax, [0x74b5c0]
mov dword [esp], eax
lea ecx, [esp + 0x110]
mov dword [esp + 4], ecx
lea edx, [esp + 0x300]
mov dword [esp + 8], edx
call fcn.0040bb00
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 0x65d3d3
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 0x65ddff
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.00451bbe
mov eax, dword [esp + 0x138]
movzx ecx, byte [esp + 0x15c]
test eax, eax
test cl, cl
jne 0x65dd5e
test eax, eax
je 0x65d474
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x65d3c8
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x144]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x7a5c3f]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.00475e60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, 1
jne 0x65d4cc
cmp byte [ecx], 0x2d
jne 0x65d4cc
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x65d3c8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00662350
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.0065c170
movzx eax, byte [esp + 8]
test al, al
je 0x65dd55
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, [0x747a40]
mov dword [esp], ebx
inc edx
mov dword [esp + 0x60], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0043c700
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2f4]
mov edx, dword [esp + 0x2f8]
mov ebx, dword [esp + 0x60]
cmp ebx, edx
jle 0x65dd4e
mov dword [esp + 0xc8], eax
cmp eax, ecx
je 0x65d58b
mov dword [esp], eax
mov dword [esp + 4], ecx
shl edx, 2
mov dword [esp + 8], edx
call fcn.00451e30
mov eax, dword [esp + 0x2f8]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jae 0x65e4e8
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 0x65dd2e
xor eax, eax
test al, al
jne 0x65dd0e
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, [0x7a65e4]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 6
call fcn.00662410
movzx eax, byte [esp + 0x10]
test al, al
jne 0x65dcd9
xor eax, eax
mov byte [esp + 0x3e], al
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x65dc9a
mov edx, 1
test dl, dl
je 0x65da9e
test ecx, ecx
jne 0x65da90
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, [0x7a743d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 9
call fcn.00662410
movzx eax, byte [esp + 0x10]
lea edi, [esp + 0x238]
lea esi, [0x834ae0]
call fcn.00451b8c
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.0043fdd0
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.0065e6e0
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, [0x7a5389]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.004d7d80
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.006582f0
lea eax, [esp + 0xfc]
mov dword [esp], eax
lea ecx, [0x7a545b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004d7d80
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x100]
mov ebx, dword [esp + 0x104]
cmp ecx, edx
ja 0x65e4df
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.0043fc80
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, [0x7a5389]
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, [0x7a545b]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 2
call fcn.0043fb60
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 0x65da53
lea ecx, [eax + 1]
mov dword [esp + 0xf4], ecx
lea eax, [eax + eax*8]
mov ecx, dword [0xa918d0]
lea edi, [ebx + eax*8]
test ecx, ecx
jne 0x65da31
lea esi, [esp + 0x238]
call fcn.00451b8c
lea eax, [0x74b600]
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.0040b4e0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x65d9bb
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
lea eax, [ecx - 1]
cmp eax, ecx
jae 0x65e4da
lea eax, [ecx + ecx*8]
lea esi, [edx + eax*8 - 0x48]
lea edi, [esp + 0x3a0]
call fcn.00451b8c
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
lea ebx, [eax + 1]
cmp ebx, edx
ja 0x65d9f4
lea edx, [eax + 1]
mov dword [esp + 0xf4], edx
lea eax, [eax + eax*8]
lea edi, [ecx + eax*8]
mov eax, dword [0xa918d0]
test eax, eax
jne 0x65d9d5
lea esi, [esp + 0x3a0]
call fcn.00451b8c
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x65d3c8
lea eax, [0x78d9e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x3a0]
mov dword [esp + 8], eax
call fcn.004107a0
jmp 0x65d9bb
lea ebp, [0x78d9e0]
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.0043c860
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 0x65d995
lea eax, [0x78d9e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x238]
mov dword [esp + 8], eax
call fcn.004107a0
jmp 0x65d920
lea ebp, [0x78d9e0]
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.0043c860
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 0x65d8f6
mov edx, dword [esp + 0xb8]
mov ebx, ecx
jmp 0x65d664
mov eax, dword [esp + 0x74]
mov dword [esp + 0xe8], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xec], ecx
lea edx, [0x74b600]
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.0040bb00
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, [0x74b600]
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.0040b4e0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
je 0x65db49
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 0x65d3c8
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.0045171e
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 0x65dc58
mov ebp, dword [esp + 0xd8]
lea ecx, [ecx + ecx*8]
lea edi, [ebp + ecx*8]
mov ecx, dword [0xa918d0]
test ecx, ecx
jne 0x65dc0d
lea esi, [esp + 0x358]
call fcn.00451b8c
mov eax, ebp
mov ecx, edx
mov edx, ebx
jmp 0x65db3c
mov dword [esp + 0xac], ebp
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ebx
lea eax, [0x78d9e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x358]
mov dword [esp + 8], eax
call fcn.004107a0
xor eax, eax
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0xac]
jmp 0x65dc02
lea eax, [0x78d9e0]
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.0043c860
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 0x65dbe5
movzx edx, byte [esp + 0x15c]
test dl, dl
jne 0x65dcb0
mov edx, 1
jmp 0x65d646
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 0x65d646
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 0x65dd02
mov eax, 1
jmp 0x65d631
cmp eax, 0x18
je 0x65dcf8
xor eax, eax
jmp 0x65d631
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 0x65d5ee
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 0x65d5db
mov edx, ebx
jmp 0x65d56d
xor eax, eax
xor ecx, ecx
jmp 0x65d522
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 0x65ddd9
mov eax, dword [esp + 0x8c]
test eax, eax
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x40]
jne 0x65ddc7
xor eax, eax
test al, al
je 0x65d474
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0xd8]
jmp 0x65d3c8
mov ecx, dword [ecx + 0x50]
mov dword [esp], eax
call ecx
cmp dword [esp + 4], 0x19
setne al
jmp 0x65dda5
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 0x65dda1
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
jmp 0x65d2f8
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.00407f00
mov eax, dword [esp + 0xc]
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x6626a0]
mov dword [esp + 0xe0], ecx
lea ecx, [esp + 0xf0]
mov dword [esp + 0xe4], ecx
lea ecx, [0x72eac0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0xe0]
mov dword [esp + 8], eax
call fcn.0048bdf0
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xf0]
xor edx, edx
xor ebx, ebx
jmp 0x65dfbb
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 0x65df64
jae 0x65e4c8
lea ebx, [ebp + ebp*8]
mov ebp, dword [esp + 0xcc]
lea ebx, [ebp + ebx*8]
lea edi, [esp + 0x1a8]
mov esi, ebx
call fcn.00451b8c
mov ecx, dword [esp + 0x1ac]
mov ebx, dword [esp + 0x1a8]
mov ebp, dword [esp + 0x5c]
cmp ecx, ebp
jne 0x65df64
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 0x65dea7
mov ebx, dword [esp + 0x78]
cmp ebx, 1
jne 0x65e0b3
mov ecx, dword [esp + 0x98]
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
ja 0x65e073
mov eax, dword [esp + 0xd8]
lea ecx, [ecx + ecx*8]
lea edi, [eax + ecx*8]
mov ecx, dword [0xa918d0]
test ecx, ecx
jne 0x65e02d
lea esi, [esp + 0x280]
call fcn.00451b8c
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 0x65e265
jae 0x65e4d1
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.00451b8c
mov ecx, dword [esp + 0x280]
mov dword [esp + 0xb4], ecx
mov ebx, dword [esp + 0x284]
mov dword [esp + 0x5c], ebx
mov esi, 1
jmp 0x65ded2
mov dword [esp + 0xa0], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x80], ebp
lea eax, [0x78d9e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x280]
mov dword [esp + 8], eax
call fcn.004107a0
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x80]
jmp 0x65dfae
lea eax, [0x78d9e0]
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.0043c860
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 0x65df8e
mov ebp, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x90]
cmp ecx, edx
ja 0x65e4c3
mov eax, dword [esp + 0x64]
cmp eax, ecx
ja 0x65e4be
lea edi, [esp + 0x160]
mov esi, eax
xor eax, eax
call fcn.0045171e
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 0x65e261
mov edx, ebx
mov ebx, dword [ebp + ecx + 0x78]
cmp dword [esi + 0x30], ebx
jne 0x65e243
movzx ebx, byte [ebp + ecx + 0x28]
movzx ebp, byte [ebp + ecx + 0x70]
xchg ebp, eax
cmp bl, al
xchg ebp, eax
jne 0x65e243
lea edi, [esp + 0x160]
lea esi, [0x834b40]
call fcn.00451b8c
xor ecx, ecx
mov byte [esp + 0x3f], cl
lea edi, [esp + 0x310]
lea esi, [esp + 0x160]
call fcn.00451b8c
movzx ecx, byte [esp + 0x3f]
test cl, cl
je 0x65e22c
mov ecx, dword [esp + 0x98]
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x48]
cmp ebx, ebp
ja 0x65e1ea
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x98], ebx
lea ecx, [ecx + ecx*8]
mov ebx, dword [0xa918d0]
lea edi, [edx + ecx*8]
test ebx, ebx
jne 0x65e1b3
lea esi, [esp + 0x310]
call fcn.00451b8c
mov ecx, dword [esp + 0x98]
mov eax, edx
mov ebx, ecx
jmp 0x65dfae
mov dword [esp + 0xc0], edx
mov dword [esp + 0x7c], ebp
lea eax, [0x78d9e0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x310]
mov dword [esp + 8], eax
call fcn.004107a0
xor eax, eax
mov edx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x7c]
jmp 0x65e1a3
lea eax, [0x78d9e0]
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.0043c860
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 0x65e180
mov edx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x98]
jmp 0x65e1aa
test edx, edx
jbe 0x65e4b5
lea edi, [esp + 0x160]
call fcn.00451b8c
mov ecx, 1
jmp 0x65e143
mov edx, ebx
jmp 0x65e243
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.00407f00
mov eax, dword [esp + 0xc]
lea ecx, [0x830fe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0048c950
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x518]
mov edx, dword [esp + 0x51c]
xor ebx, ebx
jmp 0x65e2e2
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 0x65e3a1
mov ebp, dword [esp + 0xf4]
mov esi, dword [esp + 0xf0]
cmp ebx, ebp
jae 0x65e4ac
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.0065c2b0
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.00658e30
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xcc]
lea edi, [ecx + eax*8 + 0x44]
mov eax, dword [0xa918d0]
mov edx, dword [esp + 8]
test eax, eax
jne 0x65e395
mov ebx, dword [esp + 0x90]
mov dword [ecx + ebx + 0x44], edx
jmp 0x65e2c0
mov eax, edx
call fcn.00451480
jmp 0x65e2c0
mov eax, dword [esp + 0xf4]
lea ecx, [0x74bb80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.0040b150
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
test ecx, ecx
jle 0x65e46d
mov dword [esp + 0x98], ecx
xor ebx, ebx
jmp 0x65e401
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.00451b8c
lea edi, [esp + 0x1f0]
lea esi, [esp + 0x478]
call fcn.00451b8c
lea ecx, [0x74bb80]
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.0040fcb0
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 0x65e3ee
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.00451500
xor eax, eax
mov ecx, edx
call fcn.00451500
call fcn.00451560
call fcn.00451540
mov eax, ebp
mov ecx, ebx
call fcn.00451500
mov eax, edx
mov ecx, ebp
call fcn.00451500
call fcn.00451500
mov eax, ecx
mov ecx, edx
call fcn.00451560
call fcn.00451500
nop
call fcn.0044fc40
jmp fcn.0065d170