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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x394]
cmp eax, dword [ecx + 8]
jbe 0x5962f1
sub esp, 0x414
mov eax, dword [esp + 0x424]
mov dword [esp], eax
mov ecx, dword [esp + 0x428]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x42c]
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x130], ecx
mov edx, dword [eax + 0x4c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
cmp eax, 0x18
je 0x594208
cmp eax, 0x14
jne 0x596183
lea edi, [esp + 0x1bc]
xor eax, eax
call fcn.0045e1f9
lea edi, [esp + 0x3a8]
call fcn.0045e1e5
lea ecx, [esp + 0x3a8]
mov dword [esp + 0x1c8], ecx
call fcn.00449280
mov ecx, dword [esp]
mov dword [esp + 0x1c4], ecx
lea edi, [esp + 0x1a0]
xor eax, eax
call fcn.0045e1f9
lea edi, [esp + 0x35c]
call fcn.0045e1ed
lea ecx, [esp + 0x35c]
mov dword [esp + 0x1ac], ecx
call fcn.00449280
mov ecx, dword [esp]
mov dword [esp + 0x1a8], ecx
mov ecx, dword [esp + 0x424]
mov dword [esp], ecx
mov edx, dword [esp + 0x428]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x42c]
mov dword [esp + 8], ebx
call fcn.00486c40
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test ecx, ecx
jle 0x5943b9
mov dword [esp + 0xd8], ecx
xor eax, eax
jmp 0x5942c0
mov ebx, dword [esp + 0x168]
lea edx, [ebx + 0xc]
mov dword [esp + 0xd4], eax
mov dword [esp + 0x168], edx
mov ecx, dword [edx + 4]
mov dword [esp + 0x164], ecx
mov ebx, dword [edx + 8]
mov dword [esp + 0xd0], ebx
mov ebp, dword [edx]
mov dword [esp + 0x160], ebp
mov dword [esp + 0x184], ebp
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], ebx
lea esi, [0x5bfd80]
mov dword [esp], esi
lea edi, [esp + 0x1bc]
mov dword [esp + 4], edi
lea edi, [esp + 0x184]
mov dword [esp + 8], edi
call fcn.0040cd70
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
lea eax, [0x5bfac0]
mov dword [esp], eax
lea ecx, [esp + 0x1a0]
mov dword [esp + 4], ecx
lea edx, [esp + 0x17c]
mov dword [esp + 8], edx
call fcn.0040cd70
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xd4]
inc eax
mov ecx, dword [esp + 0xd8]
cmp ecx, eax
jg 0x5942b6
lea eax, [0x5beac0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00444f30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x164], eax
lea edi, [esp + 0x2a0]
xor eax, eax
call fcn.0045e1f1
mov ecx, dword [esp + 0x438]
mov dword [esp + 0x2a8], ecx
mov ecx, dword [esp + 0x430]
mov dword [esp + 0x2a0], ecx
mov ecx, dword [esp + 0x434]
mov dword [esp + 0x2a4], ecx
lea ecx, [esp + 0x2a0]
mov edx, 1
mov ebx, 5
xor ebp, ebp
lea esi, [esp + 0x3c]
xor edi, edi
xor eax, eax
mov dword [esp + 0xf8], eax
xor eax, eax
mov dword [esp + 0xa4], eax
xor eax, eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x120], eax
xor eax, eax
jmp 0x594d3b
inc eax
cmp ecx, eax
jle 0x594c2e
lea ebx, [edx + eax*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ebx, 6
jne 0x594495
cmp dword [ebp], 0x61757173
jne 0x594c26
cmp word [ebp + 4], 0x6873
je 0x594c1a
cmp ebx, 6
jne 0x594463
cmp dword [ebp], 0x616d6572
jne 0x594463
cmp word [ebp + 4], 0x6e69
jne 0x594463
movzx eax, byte [esp + 0x3f]
mov ecx, 1
test al, al
je 0x5949fa
nop
mov ecx, dword [esp + 0x5c]
mov edx, ecx
and ecx, 0x1f
cmp ecx, 0x19
jne 0x594750
mov ecx, dword [esp + 0x64]
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0x68]
cmp ebx, ebp
ja 0x59470f
mov eax, dword [esp + 0xf4]
lea ecx, [ecx + ecx*2]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [0x770e60]
lea edi, [eax + ecx*4]
lea esi, [eax + ecx*4 + 4]
test edx, edx
jne 0x5946ec
mov edx, dword [esp + 0xe8]
mov dword [eax + ecx*4], edx
mov edx, dword [esp + 0xf0]
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x124]
mov edi, dword [esp + 0x80]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x8c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x124], esi
mov esi, eax
mov edx, ebx
mov ecx, ebp
mov eax, dword [esp + 0xf4]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x15c]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0xf4], eax
mov dword [esp + 0x84], edi
mov eax, dword [ebx + 0x64]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 0x7c]
cmp dword [esp + 4], eax
jle 0x594ce4
mov ecx, dword [esp + 0xcc]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0x15c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
lea edi, [esp + 0x238]
lea esi, [esp + 8]
call fcn.0045e68e
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov ecx, dword [esp + 0x164]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xd0]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
call fcn.00485d80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
nop
mov ebx, eax
and eax, 0x1f
cmp eax, 0x16
je 0x594c45
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xf0], edx
mov dword [esp + 0xe8], ecx
mov eax, dword [esp + 0x418]
mov ebp, dword [eax]
movzx esi, byte [ebp + 0xb]
xchg esi, eax
test al, al
xchg esi, eax
je 0x594c41
nop
mov esi, ebx
and ebx, 0x1f
cmp ebx, 0x19
jne 0x594c3a
movzx ebx, byte [esp + 0x268]
mov byte [esp + 0x3f], bl
mov eax, dword [esp + 0x250]
mov ecx, dword [esp + 0x254]
mov edx, dword [ebp + 0x18]
mov ebp, dword [ebp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.0047e150
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5eb2ba]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004c8060
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
cmp ecx, 1
jb 0x5962e6
lea ebx, [eax - 1]
neg ebx
sar ebx, 0x1f
and ebx, 8
add edx, ebx
dec ecx
xor eax, eax
jmp 0x594464
mov ecx, eax
mov eax, dword [esp + 0xe8]
call fcn.0045df70
mov edi, esi
mov eax, dword [esp + 0xf0]
call fcn.0045df70
mov eax, ecx
jmp 0x594518
lea eax, [0x5eada0]
mov dword [esp], eax
mov edx, dword [esp + 0xf4]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
jmp 0x5944e7
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov eax, dword [esp + 0x238]
mov ecx, dword [esp + 0x23c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
call fcn.00409030
mov eax, dword [esp + 4]
lea ecx, [0x5c1440]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [0x5f735c]
mov dword [esp], eax
mov dword [esp + 4], 0x23
lea edx, [esp + 0x190]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bdd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x594938
cmp dword [eax + 8], 0xe1bf9e84
jne 0x5949ef
lea esi, [0x639fb8]
cmp esi, ecx
jne 0x594938
mov ebx, dword [edx + 4]
mov eax, dword [esp + 0x8c]
lea ecx, [ebx + eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [edx]
mov ebp, dword [esp + 0xa0]
cmp ebp, ecx
jb 0x5948d9
mov edi, dword [esp + 0x124]
cmp eax, ecx
ja 0x5962e1
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xe0], edi
lea ecx, [0x5beac0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 3
sar ebp, 0x1f
and eax, ebp
add eax, edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004107d0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xe0]
mov ebp, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov esi, edx
mov edx, eax
mov eax, dword [esp + 0xf4]
jmp 0x59452d
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x154], edx
lea edx, [0x5beac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x124]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004450a0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x154]
mov ebx, dword [esp + 0xd8]
lea esi, [0x639fb8]
jmp 0x594869
mov eax, dword [ebx + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0xa0]
cmp ebp, ebx
jb 0x594993
mov esi, dword [esp + 0x124]
mov edi, ebx
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x770e60]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x594986
mov dword [edx], eax
mov eax, edi
mov ecx, ebp
mov edx, esi
jmp 0x5948c1
mov ecx, edi
mov edi, edx
call fcn.0045df70
mov edi, ecx
jmp 0x59497b
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x150], eax
lea eax, [0x5beac0]
mov dword [esp], eax
mov ecx, dword [esp + 0x124]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x8c]
jmp 0x594964
lea esi, [0x639fb8]
jmp 0x594938
test cl, cl
jne 0x594b5c
lea edi, [esp + 0x31c]
xor eax, eax
call fcn.0045e1f0
lea edi, [esp + 0x31c]
lea esi, [esp + 0x238]
call fcn.0045e68e
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x350], ecx
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x354], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x358], ecx
mov ecx, dword [esp + 0x80]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x84]
cmp edx, ebx
ja 0x594b1a
mov ebp, dword [esp + 0x158]
mov eax, dword [0x770e60]
shl ecx, 6
lea edi, [ebp + ecx]
test eax, eax
jne 0x594ace
lea esi, [esp + 0x31c]
call fcn.0045e670
mov eax, dword [esp + 0xf8]
mov edi, edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x158], ebp
mov dword [esp + 0xf8], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x124]
mov ebp, dword [esp + 0x68]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0xf4]
jmp 0x594534
mov dword [esp + 0x14c], ebp
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], ebx
lea eax, [0x5c9aa0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x31c]
mov dword [esp + 8], eax
call fcn.004106b0
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x14c]
jmp 0x594a87
lea eax, [0x5c9aa0]
mov dword [esp], eax
mov ebp, dword [esp + 0x158]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004450a0
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 + 0x80]
jmp 0x594a6a
lea eax, [0x5c9aa0]
mov dword [esp], eax
call fcn.0040b8e0
mov edi, dword [esp + 4]
mov dword [esp + 0xf8], edi
mov eax, dword [0x770e60]
test eax, eax
jne 0x594bf8
lea esi, [esp + 0x238]
call fcn.0045e68e
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xf8]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x594bd8
mov eax, dword [esp + 0xe8]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0xf0]
mov dword [edx + 0x38], eax
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x158]
mov eax, dword [esp + 0xf8]
jmp 0x594a8e
lea edi, [edx + 0x34]
mov eax, dword [esp + 0xe8]
call fcn.0045df70
lea edi, [edx + 0x38]
mov eax, dword [esp + 0xf0]
call fcn.0045df70
jmp 0x594bb7
lea eax, [0x5d9b40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x238]
mov dword [esp + 8], eax
call fcn.004106b0
jmp 0x594b8b
mov eax, 1
xor ecx, ecx
jmp 0x5944b2
cmp ebx, 6
jmp 0x594495
movzx eax, byte [esp + 0x3f]
xor ecx, ecx
jmp 0x5944b2
xor ebx, ebx
jmp 0x594660
mov esi, ebx
jmp 0x594c3a
mov dword [esp + 0x148], edx
mov dword [esp + 0x144], ecx
mov dword [esp + 0xc8], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00485c20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x184], ecx
mov dword [esp + 0x188], edx
mov dword [esp + 0x18c], eax
nop
and eax, 0x1f
cmp eax, 0x19
je 0x594cae
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
mov ebx, dword [esp + 0xc8]
jmp 0x594620
mov eax, dword [esp + 0x144]
mov dword [esp], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 8], eax
call fcn.00485c20
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
jmp 0x594620
xor eax, eax
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x120], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0x80], ebp
test edx, edx
jle 0x594e14
mov dword [esp + 0x84], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x114], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x164], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0xd0], edx
mov ebx, dword [ecx]
mov dword [esp + 0x160], ebx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00488490
mov eax, dword [esp + 0x68]
dec eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0xc
mov edx, dword [esp + 0xf4]
add eax, edx
mov edx, dword [esp + 0x64]
dec edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xcc], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x15c], ebp
xor esi, esi
mov edi, dword [esp + 0x84]
mov edi, dword [esp + 0x114]
mov dword [esp + 0x158], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x120]
mov dword [esp + 0x124], edi
mov edi, dword [esp + 0x84]
jmp 0x59457e
test ebp, ebp
jle 0x596169
xor ecx, ecx
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0x120]
jmp 0x594e49
mov ebp, dword [esp + 0x158]
add ebp, 0x40
mov esi, ebp
mov edi, edx
mov edx, ecx
mov ecx, ebx
mov ebx, eax
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x158], esi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x128], edi
lea edi, [esp + 0x2dc]
call fcn.0045e670
lea edi, [esp + 0x26c]
lea esi, [esp + 0x2dc]
call fcn.0045e68e
mov ecx, dword [esp + 0x418]
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x318]
mov dword [esp + 0xd0], ecx
mov eax, dword [esp + 0x310]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x314]
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x26c]
mov dword [esp + 0x118], eax
mov edx, dword [esp + 0x270]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x284]
mov ecx, dword [esp + 0x288]
mov eax, dword [ebp + 0x1c]
mov ebp, dword [ebp + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
call fcn.0047e150
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5eb2ba]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 2
call fcn.004c8060
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jbe 0x5962da
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test ecx, ecx
je 0x596156
mov dword [esp + 0x88], ecx
mov dword [esp + 0x118], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409140
mov eax, dword [esp + 8]
nop
movzx ecx, byte [0x753128]
test cl, cl
je 0x59614b
lea ecx, [0x5beac0]
mov dword [0x75312c], ecx
mov edx, dword [0x770e60]
test edx, edx
jne 0x59613b
mov dword [0x753130], eax
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
mov edx, dword [esp + 0x16c]
test edx, edx
je 0x596130
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x594fd7
or ebx, 0x80
mov dword [esp + 0x104], eax
mov dword [esp + 0x100], edx
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x424]
mov dword [esp], ecx
mov ebp, dword [esp + 0x428]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x42c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00486a50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x595f78
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
mov edi, edx
mov edx, dword [esp + 0xd0]
test edx, edx
je 0x5962c2
and edx, 0x160
cmp edx, 0x100
je 0x595c0b
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x128]
mov ebx, dword [esp + 0xd8]
inc ebx
mov ebp, dword [esp + 0x80]
cmp ebp, ebx
jg 0x594e35
mov ebx, dword [esp + 0xf8]
test ebx, ebx
je 0x5950a9
mov ebp, dword [esp + 0x1a0]
test ebp, ebp
jg 0x5957c7
lea ebx, [esp + 0x1a0]
mov dword [esp + 0x134], ebx
mov ebp, dword [esp + 0x418]
mov esi, dword [ebp]
movzx esi, byte [esi + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x59542e
test ebx, ebx
je 0x5957c0
mov esi, dword [ebx]
test esi, esi
jle 0x59542e
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x12c], edx
test ebx, ebx
je 0x5957b9
mov esi, dword [ebx]
mov dword [esp + 0x74], esi
lea eax, [0x5beac0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], esi
call fcn.00444f30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x164], eax
lea edi, [esp + 0x1d8]
xor eax, eax
call fcn.0045e1f4
lea ecx, [0x5bfac0]
mov dword [esp], ecx
mov edx, dword [esp + 0x134]
mov dword [esp + 4], edx
lea ebx, [esp + 0x1d8]
mov dword [esp + 8], ebx
call fcn.0040d650
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x74]
xor edx, edx
jmp 0x595188
lea eax, [esp + 0x1d8]
mov dword [esp], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x1d8]
test ebx, ebx
je 0x595242
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [0x5beac0]
cmp esi, ebp
jne 0x5962a2
lea ebp, [edx + 1]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ebp, ecx
ja 0x5951ee
mov dword [esp + 0x108], eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
lea ecx, [eax + edx*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x770e60]
lea edx, [eax + edx*8]
test ecx, ecx
jne 0x5951e0
mov dword [edx], esi
jmp 0x59516a
mov edi, edx
mov eax, esi
call fcn.0045df70
jmp 0x59516a
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x15c], esi
lea ebx, [0x5beac0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.004450a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0x15c]
mov ecx, edx
mov edx, dword [esp + 0x54]
jmp 0x5951ba
mov dword [esp + 0xe4], eax
mov dword [esp + 0x58], ecx
nop
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004091c0
mov eax, dword [esp + 0xc]
lea ecx, [0x63b35c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0048e400
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
lea eax, [0x5eb2fb]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004c8290
mov eax, dword [esp + 0x14]
mov dword [esp + 0x15c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov edx, dword [esp + 0x41c]
mov dword [esp], edx
mov ebx, dword [esp + 0x420]
mov dword [esp + 4], ebx
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x15c]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [0x5f2f14]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x190]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bdd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x5956f7
cmp dword [eax + 8], 0xe1bf9e84
jne 0x5957ae
lea esi, [0x639fb8]
cmp esi, ecx
jne 0x5956f7
mov ebx, dword [edx + 4]
mov eax, dword [esp + 0x98]
lea ecx, [ebx + eax]
mov dword [esp + 0x40], ecx
mov edx, dword [edx]
mov ebp, dword [esp + 0xa8]
cmp ebp, ecx
jb 0x595698
mov edi, dword [esp + 0x12c]
cmp eax, ecx
ja 0x59629d
mov dword [esp + 0xdc], edi
mov dword [esp + 0x50], ebp
lea ecx, [0x5beac0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 3
sar ebp, 0x1f
and eax, ebp
add eax, edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004107d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xdc]
test ecx, ecx
jg 0x595621
mov ecx, dword [esp + 0x418]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x595604
lea edi, [esp + 0x1d8]
xor eax, eax
call fcn.0045e1f4
lea ecx, [0x5bfac0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x134]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x1d8]
mov dword [esp + 8], ecx
call fcn.0040d650
mov ecx, dword [esp + 0x418]
mov edx, dword [esp + 0x420]
jmp 0x5954b2
lea eax, [esp + 0x1d8]
mov dword [esp], eax
call fcn.0040d8c0
mov eax, dword [esp + 0x418]
mov ecx, dword [esp + 0x420]
mov ecx, eax
mov edx, dword [esp + 0x420]
mov ebx, dword [esp + 0x1d8]
test ebx, ebx
je 0x595604
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [0x5beac0]
cmp esi, ebp
jne 0x596287
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
test edx, edx
jne 0x5955ae
mov dword [esp + 0x78], ebx
mov dword [esp + 0x10c], ebp
mov eax, ecx
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov edi, edx
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x14]
lea ebx, [edx + 1]
cmp ebp, ebx
jb 0x595543
lea ebx, [edx + 1]
mov dword [ecx + 0x10], ebx
lea ecx, [esi + edx*8 + 4]
mov ebx, dword [esp + 0x78]
mov dword [ecx], ebx
mov ecx, dword [0x770e60]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x595530
mov ecx, dword [esp + 0x10c]
mov dword [edx], ecx
jmp 0x59548c
mov edi, edx
mov eax, dword [esp + 0x10c]
call fcn.0045df70
jmp 0x59548c
mov dword [esp + 0x140], ecx
lea eax, [0x5beac0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x140]
mov dword [ebx + 0x14], edx
mov edx, dword [0x770e60]
test edx, edx
jne 0x5955a4
mov dword [ebx + 0xc], eax
mov edi, dword [esp + 0x420]
mov edx, ecx
mov esi, eax
mov eax, dword [esp + 0x418]
mov ecx, ebx
jmp 0x595505
lea edi, [ebx + 0xc]
call fcn.0045df70
jmp 0x59558b
mov dword [esp], 0
mov eax, dword [esp + 0x41c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea ecx, [0x5eb2bc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebx
call fcn.00448460
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x418]
mov edx, dword [esp + 0x420]
lea esi, [0x5beac0]
jmp 0x5954e1
mov dword [esp + 0x43c], 0
mov dword [esp + 0x440], 0
add esp, 0x414
ret
mov dword [esp + 0x120], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x5c6060]
mov dword [esp], eax
call fcn.0040b8e0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x94]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [edi + 8], eax
mov eax, dword [0x770e60]
test eax, eax
jne 0x59568a
mov eax, dword [esp + 0x120]
mov dword [edi], eax
lea eax, [0x639fb8]
mov dword [esp + 0x43c], eax
mov dword [esp + 0x440], edi
add esp, 0x414
ret
mov eax, dword [esp + 0x120]
call fcn.0045df70
jmp 0x59566f
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x154], edx
lea edx, [0x5beac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x12c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004450a0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x154]
mov ebx, dword [esp + 0xd8]
lea esi, [0x639fb8]
jmp 0x5953dc
mov eax, dword [ebx + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x98]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0xa8]
cmp ebp, ebx
jb 0x595752
mov esi, dword [esp + 0x12c]
mov edi, ebx
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x770e60]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x595745
mov dword [edx], eax
mov eax, ebp
mov ecx, edi
mov edx, esi
jmp 0x59542e
mov ecx, edi
mov edi, edx
call fcn.0045df70
mov edi, ecx
jmp 0x59573a
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x15c], eax
lea eax, [0x5beac0]
mov dword [esp], eax
mov ecx, dword [esp + 0x12c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x98]
jmp 0x595723
lea esi, [0x639fb8]
jmp 0x5956f7
xor esi, esi
jmp 0x595100
xor esi, esi
jmp 0x5950d9
mov dword [esp + 0xac], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x11c], edx
call fcn.0040c3c0
mov eax, dword [esp]
mov dword [esp + 0xfc], eax
lea edi, [esp + 0x1d8]
xor eax, eax
call fcn.0045e1f4
lea ecx, [0x5bfac0]
mov dword [esp], ecx
lea edx, [esp + 0x1a0]
mov dword [esp + 4], edx
lea edx, [esp + 0x1d8]
mov dword [esp + 8], edx
call fcn.0040d650
jmp 0x59582e
lea eax, [esp + 0x1d8]
mov dword [esp], eax
call fcn.0040d8c0
mov ecx, dword [esp + 0x1d8]
test ecx, ecx
je 0x5959b1
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x17c], edx
mov dword [esp + 0x180], eax
test edx, edx
je 0x5959a6
nop
movzx ecx, byte [0x753128]
test cl, cl
je 0x59587e
mov dword [0x75312c], edx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x595996
mov dword [0x753130], eax
mov dword [esp + 0x174], edx
mov dword [esp + 0x178], eax
mov ecx, dword [esp + 0x174]
test ecx, ecx
je 0x59598b
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x5958b0
or edx, 0x80
mov ebx, dword [esp + 0x424]
mov dword [esp], ebx
mov ebp, dword [esp + 0x428]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x42c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00486a50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], edx
mov dword [esp + 0x18c], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x110], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x15c], ecx
lea edx, [0x5bfa80]
mov dword [esp], edx
mov ebx, dword [esp + 0xfc]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x17c]
mov dword [esp + 8], ebp
call fcn.0040cd70
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x15c]
mov dword [eax], ecx
mov ecx, dword [0x770e60]
test ecx, ecx
jne 0x595977
mov ecx, dword [esp + 0x110]
mov dword [eax + 4], ecx
jmp 0x59581f
lea edi, [eax + 4]
mov eax, dword [esp + 0x110]
call fcn.0045df70
jmp 0x59581f
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5958b0
lea edi, [0x753130]
call fcn.0045df70
jmp 0x59587e
xor edx, edx
xor ecx, ecx
xor eax, eax
jmp 0x5958b0
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x34]
mov ebx, dword [esp + 0x418]
mov dword [esp], ebx
mov ebp, dword [esp + 0x41c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x420]
mov dword [esp + 8], esi
lea edi, [0x5bfa80]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xfc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.0058fac0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
test eax, eax
je 0x595bf1
test ecx, ecx
je 0x595b2f
cmp dword [ecx + 8], 0xe1bf9e84
jne 0x595be6
lea esi, [0x639fb8]
cmp edx, esi
jne 0x595b2f
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x9c]
lea ecx, [edx + eax]
mov dword [esp + 0x44], ecx
mov ebx, dword [ebx]
mov ebp, dword [esp + 0xac]
cmp ecx, ebp
ja 0x595ad0
mov edi, dword [esp + 0x11c]
cmp ecx, eax
jb 0x5962b8
mov dword [esp + 0x154], edi
mov dword [esp + 0xd8], ebp
lea ecx, [0x5beac0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 3
sar ebp, 0x1f
and eax, ebp
add eax, edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004107d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x154]
xor ebx, ebx
mov ebp, ecx
mov ecx, eax
mov eax, ebp
jmp 0x5950b0
mov dword [esp + 0x154], ebx
mov dword [esp + 0xd8], edx
lea edx, [0x5beac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x11c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004450a0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x154]
lea esi, [0x639fb8]
jmp 0x595a6b
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x9c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0xac]
cmp ebx, ebp
ja 0x595b8a
mov esi, dword [esp + 0x11c]
mov edi, ebx
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x770e60]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x595b7d
mov dword [edx], eax
mov eax, edi
mov ecx, ebp
mov edx, esi
jmp 0x595ac3
mov ecx, edi
mov edi, edx
call fcn.0045df70
mov edi, ecx
jmp 0x595b72
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x15c], eax
lea eax, [0x5beac0]
mov dword [esp], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x9c]
jmp 0x595b5b
lea esi, [0x639fb8]
jmp 0x595b2f
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x11c]
jmp 0x595ac3
mov dword [esp + 0x60], eax
mov dword [esp + 0x148], edi
mov dword [esp + 0xec], ecx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
lea eax, [0x5bfac0]
mov dword [esp], eax
lea ecx, [esp + 0x1a0]
mov dword [esp + 4], ecx
lea edx, [esp + 0x17c]
mov dword [esp + 8], edx
call fcn.0040d260
mov eax, dword [esp + 0x420]
test eax, eax
jne 0x595f28
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x118], edx
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
mov edx, dword [esp + 0x418]
mov dword [esp], edx
mov ebx, dword [esp + 0x118]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x1c], eax
call fcn.0058b9f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x24]
test eax, eax
jne 0x595d62
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x128]
jmp 0x595078
test ecx, ecx
je 0x595e66
cmp dword [ecx + 8], 0xe1bf9e84
jne 0x595f1d
lea esi, [0x639fb8]
cmp esi, edx
jne 0x595e66
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x90]
lea ecx, [edx + eax]
mov dword [esp + 0x48], ecx
mov ebx, dword [ebx]
mov ebp, dword [esp + 0xb0]
cmp ebp, ecx
jb 0x595e07
mov edi, dword [esp + 0x128]
cmp ecx, eax
jb 0x5962bd
mov dword [esp + 0x154], edi
mov dword [esp + 0xd4], ebp
lea ecx, [0x5beac0]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 3
sar ebp, 0x1f
and eax, ebp
add eax, edi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004107d0
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x154]
jmp 0x595078
mov dword [esp + 0x154], ebx
mov dword [esp + 0xd4], edx
lea edx, [0x5beac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x128]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004450a0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0x154]
lea esi, [0x639fb8]
jmp 0x595daa
mov eax, dword [eax + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x90]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0xb0]
cmp ebp, ebx
jb 0x595ec1
mov esi, dword [esp + 0x128]
mov edi, ebx
lea ebx, [esi + edx*8 + 4]
mov dword [ebx], ecx
mov ecx, dword [0x770e60]
lea edx, [esi + edx*8]
test ecx, ecx
jne 0x595eb4
mov dword [edx], eax
mov eax, ebp
mov ecx, edi
mov edx, esi
jmp 0x595078
mov ecx, edi
mov edi, edx
call fcn.0045df70
mov edi, ecx
jmp 0x595ea9
mov dword [esp + 0x15c], eax
mov dword [esp + 0xd4], ecx
lea eax, [0x5beac0]
mov dword [esp], eax
mov ecx, dword [esp + 0x128]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x90]
jmp 0x595e92
lea esi, [0x639fb8]
jmp 0x595e66
mov dword [esp], 0
mov ecx, dword [esp + 0x41c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea edx, [0x5eb2bc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov ebx, dword [esp + 0x118]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x18], ebx
call fcn.00448460
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x595c97
mov dword [esp + 0xbc], eax
mov dword [esp + 0x13c], edx
mov dword [esp + 0x138], ecx
lea edi, [esp + 0x208]
xor eax, eax
call fcn.0045e1f4
lea ecx, [0x5bfd80]
mov dword [esp], ecx
lea edx, [esp + 0x1bc]
mov dword [esp + 4], edx
lea ebx, [esp + 0x208]
mov dword [esp + 8], ebx
call fcn.0040d650
jmp 0x595fd0
lea eax, [esp + 0x208]
mov dword [esp], eax
call fcn.0040d8c0
mov ecx, dword [esp + 0x208]
test ecx, ecx
je 0x596107
mov eax, dword [ecx]
mov dword [esp + 0x144], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x148], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0xc8], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 1
call fcn.004862f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], edx
lea edx, [0x5beac0]
cmp edx, ecx
jne 0x5960f8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jne 0x595fc1
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], ecx
call fcn.004c9cc0
movzx eax, byte [esp + 0x10]
test al, al
je 0x595fc1
mov eax, dword [esp + 0x424]
mov dword [esp], eax
mov ecx, dword [esp + 0x428]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x42c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x144]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x148]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x14], esi
call fcn.00486a50
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x144]
mov esi, dword [esp + 0x148]
test eax, eax
jne 0x595040
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x128]
jmp 0x595078
mov eax, 0
mov ecx, 0
jmp 0x59603e
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
jmp 0x5960d6
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x594fd7
lea edi, [0x753130]
call fcn.0045df70
jmp 0x594fa3
lea ecx, [0x5beac0]
jmp 0x594fa3
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x118]
jmp 0x594f55
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x120]
jmp 0x59508f
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 0x4c]
mov ecx, dword [esp + 0x130]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov ecx, dword [esp + 0x41c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x420]
mov dword [esp + 4], ecx
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x5beac0]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.00409030
mov eax, dword [esp + 4]
lea ecx, [0x5c1440]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], eax
lea eax, [0x5fa5b2]
mov dword [esp], eax
mov dword [esp + 4], 0x30
lea eax, [esp + 0x190]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004bdd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x43c], eax
mov dword [esp + 0x440], ecx
add esp, 0x414
ret
mov dword [esp], ebp
mov dword [esp + 4], esi
lea eax, [0x5be3c0]
mov dword [esp + 8], eax
call fcn.00408df0
call fcn.0045e050
mov dword [esp], ebp
mov dword [esp + 4], esi
lea eax, [0x5be3c0]
mov dword [esp + 8], eax
call fcn.00408df0
call fcn.0045e050
call fcn.0045e050
lea eax, [0x5beac0]
mov dword [esp], eax
lea eax, [0x637bd0]
mov dword [esp + 4], eax
call fcn.00431a00
xor eax, eax
call fcn.0045dff0
call fcn.0045e050
mov eax, 1
call fcn.0045e050
nop
call fcn.0045ca10
jmp fcn.00594180