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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x13c]
cmp eax, dword [ecx + 8]
jbe 0x595c7f
sub esp, 0x1bc
mov edx, dword [esp + 0x1c8]
test edx, edx
je 0x5948b5
test edx, 0x200
jne 0x5948b5
lea eax, [0x70c3b8]
mov ecx, dword [esp + 0x1c0]
jmp 0x5948e2
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b8ad0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], ecx
mov ebx, dword [0x8bc67c]
cmp dword [0x8bc678], eax
jne 0x594924
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x595240
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x8bc69c]
cmp dword [0x8bc698], eax
jne 0x59495e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x595110
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x8bc66c]
cmp dword [0x8bc668], eax
jne 0x594998
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59505b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x8bc684]
cmp dword [0x8bc680], eax
jne 0x5949d2
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x594f7d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x8bc664]
cmp dword [0x8bc660], eax
jne 0x594a04
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x594f02
mov edx, dword [esp + 0x1c8]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 6
jbe 0x594d6b
cmp edx, 0x17
je 0x594b55
cmp edx, 0x18
jne 0x594af9
mov edx, dword [esp + 0x1d8]
cmp edx, 0x12
jne 0x594a44
mov edx, dword [esp + 0x1c4]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x595bde
cmp edx, 0x13
je 0x594aae
cmp edx, 0x16
jne 0x594a61
mov edx, dword [esp + 0x1c4]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x595b48
mov eax, dword [esp + 0x1c4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x70b494]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00593a20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
cmp edx, 0x19
jne 0x594e9e
test ebx, 0x200
jne 0x594b19
lea eax, [0x70c3b8]
mov ecx, dword [esp + 0x1c0]
jmp 0x594b46
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b8ad0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], eax
xor edx, edx
jmp 0x59549e
test ebx, 0x200
jne 0x594b6c
lea eax, [0x70c3b8]
mov ecx, dword [esp + 0x1c0]
jmp 0x594b92
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b8ad0
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 0x594cdc
lea edi, [esp + 0xf0]
xor eax, eax
call fcn.00462cfa
mov ecx, dword [esp + 0x1c4]
mov edx, dword [ecx + 4]
test edx, edx
je 0x594c8b
cmp edx, 1
je 0x594c06
mov dword [esp + 0x4c], edx
lea eax, [0x66e140]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044b410
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x5952ee
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004b7040
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.004631d4
call fcn.00595c90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b41c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
cmp dword [0x8bc168], eax
jne 0x594cfc
mov eax, dword [esp + 0x1c4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x594d26
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
call fcn.004b5a20
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.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b41c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
cmp edx, 1
jne 0x594dec
mov eax, dword [esp + 0x1c4]
movzx eax, byte [eax]
test al, al
je 0x594db5
mov eax, dword [0x8b6a08]
mov ecx, dword [0x8b6a0c]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [0x8b6a00]
mov ecx, dword [0x8b6a04]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
cmp edx, 2
jb 0x594e9e
cmp edx, 3
ja 0x594e20
cmp edx, 2
jne 0x594e0f
mov eax, dword [esp + 0x1c4]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x594e5d
mov ecx, dword [esp + 0x1c4]
movsx eax, byte [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x594e5d
cmp edx, 4
jne 0x594e36
mov ecx, dword [esp + 0x1c4]
movsx eax, word [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x594e5d
cmp edx, 5
jne 0x594e4b
mov ecx, dword [esp + 0x1c4]
mov eax, dword [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x594e5d
mov ecx, dword [esp + 0x1c4]
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.004090f0
mov eax, dword [esp + 8]
lea ecx, [0x70b434]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
lea eax, [0x69ee6c]
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.004091a0
mov eax, dword [esp + 8]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
lea ecx, [0x70ae9c]
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b71f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x6983c0]
cmp ecx, edx
jne 0x5952d3
mov dword [esp], eax
call fcn.00592b20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b71f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x670a60]
cmp ecx, edx
jne 0x5952bd
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 2
jl 0x594fd9
mov ebx, dword [ecx]
cmp ebx, 2
jg 0x594fd9
jge 0x595018
cmp dword [ecx + 4], 0x28
jl 0x595018
lea eax, [0x6a4b44]
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.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x70ae9c]
xor edx, edx
xor ebx, ebx
jmp 0x595038
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409220
mov eax, dword [esp + 0xc]
xor ecx, ecx
lea edx, [0x70b464]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1e4], edx
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b71f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x682080]
cmp ecx, edx
jne 0x5952a7
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, [0x682100]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00408f50
mov eax, dword [esp + 8]
lea ecx, [0x70b3ec]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b71f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.00462cfb
mov eax, dword [esp + 0x88]
lea ecx, [0x6972a0]
cmp eax, ecx
jne 0x595291
lea edi, [esp + 0xdc]
call fcn.004631de
lea edi, [esp + 0xc8]
lea esi, [esp + 0xdc]
call fcn.004631de
cmp dword [esp + 0x1dc], 0x18
je 0x5951b2
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.004631de
call fcn.00593b40
movzx eax, byte [esp + 0x14]
test al, al
je 0x5951f9
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.004631de
call fcn.00593c80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.004631de
call fcn.00593ba0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b41c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x662460]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x662460]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x662460]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x662460]
mov dword [esp + 8], eax
call fcn.00408df0
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jge 0x5953f0
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov edx, dword [esp + 0x1c4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x1c8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004b7040
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.004631d4
call fcn.00595c90
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 0x595486
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 [0x8e4520]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x5953a4
mov dword [ebx], eax
jmp 0x5953af
mov ecx, edi
mov edi, ebx
call fcn.00462a70
mov edi, ecx
test edx, edx
je 0x5952e9
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
movzx ecx, byte [esp + 0x1e0]
test cl, cl
je 0x595441
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b47c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b44c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, esi
mov ecx, edi
call fcn.00462af0
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 0x59555e
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.0046318e
lea edi, [esp + 0x120]
lea esi, [esp + 0x154]
call fcn.0046318e
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x59548f
lea eax, [0x6a8fb3]
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.004091a0
mov eax, dword [esp + 8]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
lea ecx, [0x70ae9c]
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
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 0x5958fb
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 + 0x188]
lea esi, [esp + 8]
call fcn.0046318e
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x19c]
mov edx, dword [0x8bc68c]
cmp dword [0x8bc688], eax
jne 0x5955db
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5955e2
xor eax, eax
jmp 0x59566f
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.004b6af0
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 0x59562a
mov edx, dword [ecx + 4]
jmp 0x595662
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.004b73e0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x6c]
test edx, edx
jg 0x595827
mov eax, 1
mov ecx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
je 0x5957d6
mov dword [esp + 0x50], eax
cmp ecx, 1
je 0x5956b2
mov dword [esp + 0x54], ecx
lea eax, [0x66e140]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b410
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x595956
mov ecx, dword [esp + 0x1c0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004b6af0
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 + 0x188]
lea esi, [esp + 8]
call fcn.0046318e
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x69a1ce]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b2420
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00591990
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.004631d4
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.004631d4
call fcn.00595c90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b41c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
cmp dword [0x8bc168], eax
jne 0x595839
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x595855
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b5a20
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.0058e030
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x595893
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
jmp 0x5958b6
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x59594c
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.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b41c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b41c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
call fcn.00462b50
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x595af9
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov edx, dword [esp + 0x1c4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x1c8]
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.004b6af0
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 + 0x188]
lea esi, [esp + 8]
call fcn.0046318e
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x69a1ce]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b2420
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00591990
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.004631d4
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.004631d4
call fcn.00595c90
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 0x595b3e
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 [0x8e4520]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x595aad
mov dword [ebx], eax
jmp 0x595ab8
mov ecx, edi
mov edi, ebx
call fcn.00462a70
mov edi, ecx
test edx, edx
je 0x595951
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x70b44c]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, esi
mov ecx, edi
call fcn.00462af0
inc eax
cmp eax, ecx
jge 0x595b99
jae 0x595bd8
lea ebx, [eax + edx]
cmp byte [ebx], 0x7f
jbe 0x595b47
lea eax, [0x6a9e36]
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.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x70ae9c]
xor edx, edx
xor ebx, ebx
jmp 0x595bb5
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004091a0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x70b494]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1e4], edx
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
call fcn.00462af0
inc eax
cmp eax, ecx
jge 0x595c3a
jae 0x595c79
movzx ebx, byte [edx + eax]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x595bdd
cmp bl, 0x20
je 0x595bdd
lea eax, [0x6ab34a]
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.004091a0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x70ae9c]
xor ebx, ebx
jmp 0x595c56
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x70b494]
xor edx, edx
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1ec], edx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
call fcn.00462af0
nop
call fcn.00461660
jmp fcn.00594870