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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x108]
cmp eax, dword [ecx + 8]
jbe 0x59fde6
sub esp, 0x188
mov edx, dword [esp + 0x194]
test edx, edx
je 0x59ea15
test edx, 0x200
jne 0x59ea15
lea eax, [0x711e84]
mov ecx, dword [esp + 0x18c]
jmp 0x59ea42
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004bb7e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x194]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], ecx
mov ebx, dword [0x8c8dd4]
cmp dword [0x8c8dd0], eax
jne 0x59ea84
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59f3a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x8c8df4]
cmp dword [0x8c8df0], eax
jne 0x59eabe
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59f270
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x8c8dc4]
cmp dword [0x8c8dc0], eax
jne 0x59eaf8
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59f1bb
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x8c8ddc]
cmp dword [0x8c8dd8], eax
jne 0x59eb32
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59f0dd
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x8c8dbc]
cmp dword [0x8c8db8], eax
jne 0x59eb64
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59f062
mov edx, dword [esp + 0x194]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 6
jbe 0x59eecb
cmp edx, 0x17
je 0x59ecb5
cmp edx, 0x18
jne 0x59ec59
mov edx, dword [esp + 0x1a4]
cmp edx, 0x12
jne 0x59eba4
mov edx, dword [esp + 0x190]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x59fd45
cmp edx, 0x13
je 0x59ec0e
cmp edx, 0x16
jne 0x59ebc1
mov edx, dword [esp + 0x190]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x59fcaf
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x711208]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0059dc10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
cmp edx, 0x19
jne 0x59effe
test ebx, 0x200
jne 0x59ec79
lea eax, [0x711e84]
mov ecx, dword [esp + 0x18c]
jmp 0x59eca6
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004bb7e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x194]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], eax
xor edx, edx
jmp 0x59f5fe
test ebx, 0x200
jne 0x59eccc
lea eax, [0x711e84]
mov ecx, dword [esp + 0x18c]
jmp 0x59ecf2
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004bb7e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
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
cmp dword [esp + 4], 8
je 0x59ee3c
lea edi, [esp + 0xf0]
xor eax, eax
call fcn.00463d4a
mov ecx, dword [esp + 0x190]
mov edx, dword [ecx + 4]
test edx, edx
je 0x59edeb
cmp edx, 1
je 0x59ed66
mov dword [esp + 0x4c], edx
lea eax, [0x677f60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044ab50
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x59f44e
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004b9b10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xf0]
call fcn.00464224
call fcn.0059fdf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x711190]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
cmp dword [0x8c88b4], eax
jne 0x59ee5c
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x59ee86
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
call fcn.004b8410
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x711190]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
cmp edx, 1
jne 0x59ef4c
mov eax, dword [esp + 0x190]
movzx eax, byte [eax]
test al, al
je 0x59ef15
mov eax, dword [0x8c30c8]
mov ecx, dword [0x8c30cc]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [0x8c30c0]
mov ecx, dword [0x8c30c4]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
cmp edx, 2
jb 0x59effe
cmp edx, 3
ja 0x59ef80
cmp edx, 2
jne 0x59ef6f
mov eax, dword [esp + 0x190]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x59efbd
mov ecx, dword [esp + 0x190]
movsx eax, byte [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x59efbd
cmp edx, 4
jne 0x59ef96
mov ecx, dword [esp + 0x190]
movsx eax, word [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x59efbd
cmp edx, 5
jne 0x59efab
mov ecx, dword [esp + 0x190]
mov eax, dword [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x59efbd
mov ecx, dword [esp + 0x190]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409550
mov eax, dword [esp + 8]
lea ecx, [0x7111a8]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
lea eax, [0x6ab427]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0xf
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00409600
mov eax, dword [esp + 8]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
lea ecx, [0x710a98]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b9cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x6a4760]
cmp ecx, edx
jne 0x59f433
mov dword [esp], eax
call fcn.0059cd50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b9cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x67af80]
cmp ecx, edx
jne 0x59f41d
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 2
jl 0x59f139
mov ebx, dword [ecx]
cmp ebx, 2
jg 0x59f139
jge 0x59f178
cmp dword [ecx + 4], 0x28
jl 0x59f178
lea eax, [0x6b1553]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0x19
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x710a98]
xor edx, edx
xor ebx, ebx
jmp 0x59f198
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409680
mov eax, dword [esp + 0xc]
xor ecx, ecx
lea edx, [0x7111d8]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b9cc0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x68c2a0]
cmp ecx, edx
jne 0x59f407
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
lea eax, [0x68c320]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.004093b0
mov eax, dword [esp + 8]
lea ecx, [0x711160]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b9cc0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00463d4b
mov eax, dword [esp + 0x88]
lea ecx, [0x6a3520]
cmp eax, ecx
jne 0x59f3f1
lea edi, [esp + 0xdc]
call fcn.0046422e
lea edi, [esp + 0xc8]
lea esi, [esp + 0xdc]
call fcn.0046422e
cmp dword [esp + 0x1a8], 0x18
je 0x59f312
lea edi, [esp]
lea esi, [esp + 0xdc]
call fcn.0046422e
call fcn.0059dd30
movzx eax, byte [esp + 0x14]
test al, al
je 0x59f359
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.0046422e
call fcn.0059de70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.0046422e
call fcn.0059dd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x711190]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x66bb80]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x66bb80]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x66bb80]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x66bb80]
mov dword [esp + 8], eax
call fcn.00409250
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jge 0x59f550
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov edx, dword [esp + 0x190]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004b9b10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xf0]
call fcn.00464224
call fcn.0059fdf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
cmp esi, edi
jae 0x59f5e6
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x8c]
lea ebx, [ebp + esi*8]
mov dword [ebx], ecx
mov ecx, dword [0x8ef4b0]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x59f504
mov dword [ebx], eax
jmp 0x59f50f
mov ecx, edi
mov edi, ebx
call fcn.00463ab0
mov edi, ecx
test edx, edx
je 0x59f449
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
movzx ecx, byte [esp + 0x1ac]
test cl, cl
je 0x59f5a1
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x7111f0]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x7111c0]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, esi
mov ecx, edi
call fcn.00463b30
mov ebx, dword [esp + 0x64]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + 0x64]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 0x64]
cmp dword [esp + 4], eax
jle 0x59f6be
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.004641de
lea edi, [esp + 0x120]
lea esi, [esp + 0x154]
call fcn.004641de
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x59f5ef
lea eax, [0x6b596a]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x21
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00409600
mov eax, dword [esp + 8]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
lea ecx, [0x710a98]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x59fa62
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], 0
call ecx
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.004641de
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x168]
mov edx, dword [0x8c8de4]
cmp dword [0x8c8de0], eax
je 0x59f729
xor eax, eax
jmp 0x59f7d6
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59f749
xor eax, eax
jmp 0x59f7d6
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x194]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.004b95d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, edx
and edx, 0x1f
cmp edx, 0x17
jne 0x59f791
mov edx, dword [ecx + 4]
jmp 0x59f7c9
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x6c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b9eb0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x6c]
test edx, edx
jg 0x59f98e
mov eax, 1
mov ecx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
je 0x59f93d
mov dword [esp + 0x50], eax
cmp ecx, 1
je 0x59f819
mov dword [esp + 0x54], ecx
lea eax, [0x677f60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044ab50
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x59fabd
mov ecx, dword [esp + 0x18c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004b95d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
mov ebx, dword [ebx + 0x2c]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
call ebx
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.004641de
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x170]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6a65ef]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b4db0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0059bbd0
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.00464224
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x108]
call fcn.00464224
call fcn.0059fdf0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x711190]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
cmp dword [0x8c88b4], eax
jne 0x59f9a0
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x59f9bc
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b8410
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
call fcn.00598350
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x59f9fa
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
jmp 0x59fa1d
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x59fab3
mov ebx, dword [esp + 0x48]
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
mov ebx, dword [esp + 0x70]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x711190]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x711190]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
call fcn.00463b90
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x59fc60
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov edx, dword [esp + 0x190]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x50]
lea esi, [ecx + ebp]
mov dword [esp + 0x68], esi
mov dword [esp + 0xc], esi
call fcn.004b95d0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x2c]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov edi, dword [esp + 0x68]
mov dword [esp + 4], edi
call ebp
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.004641de
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x170]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6a65ef]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b4db0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0059bbd0
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.00464224
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x108]
call fcn.00464224
call fcn.0059fdf0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
cmp esi, edi
jae 0x59fca5
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x8c]
lea ebx, [ebp + esi*8]
mov dword [ebx], ecx
mov ecx, dword [0x8ef4b0]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x59fc14
mov dword [ebx], eax
jmp 0x59fc1f
mov ecx, edi
mov edi, ebx
call fcn.00463ab0
mov edi, ecx
test edx, edx
je 0x59fab8
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x7111c0]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, esi
mov ecx, edi
call fcn.00463b30
inc eax
cmp eax, ecx
jge 0x59fd00
jae 0x59fd3f
lea ebx, [eax + edx]
cmp byte [ebx], 0x7f
jbe 0x59fcae
lea eax, [0x6b6992]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0x24
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x710a98]
xor edx, edx
xor ebx, ebx
jmp 0x59fd1c
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409600
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x711208]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
call fcn.00463b30
inc eax
cmp eax, ecx
jge 0x59fda1
jae 0x59fde0
movzx ebx, byte [edx + eax]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x59fd44
cmp bl, 0x20
je 0x59fd44
lea eax, [0x6b80da]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x28
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00409600
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x710a98]
xor ebx, ebx
jmp 0x59fdbd
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x711208]
xor edx, edx
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
call fcn.00463b30
nop
call fcn.004626a0
jmp fcn.0059e9d0