Function at 0x599c20
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 0x59b02f
sub esp, 0x1bc
mov edx, dword [esp + 0x1c8]
test edx, edx
je 0x599c65
test edx, 0x200
jne 0x599c65
lea eax, [0x72be58]
mov ecx, dword [esp + 0x1c0]
jmp 0x599c92
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.004bd3b0
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 [0x11082d4]
cmp dword [0x11082d0], eax
jne 0x599cd4
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 0x59a5f0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x11082f4]
cmp dword [0x11082f0], eax
jne 0x599d0e
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 0x59a4c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x11082c4]
cmp dword [0x11082c0], eax
jne 0x599d48
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 0x59a40b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x11082dc]
cmp dword [0x11082d8], eax
jne 0x599d82
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 0x59a32d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x11082bc]
cmp dword [0x11082b8], eax
jne 0x599db4
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 0x59a2b2
mov edx, dword [esp + 0x1c8]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 6
jbe 0x59a11b
cmp edx, 0x17
je 0x599f05
cmp edx, 0x18
jne 0x599ea9
mov edx, dword [esp + 0x1d8]
cmp edx, 0x12
jne 0x599df4
mov edx, dword [esp + 0x1c4]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x59af8e
cmp edx, 0x13
je 0x599e5e
cmp edx, 0x16
jne 0x599e11
mov edx, dword [esp + 0x1c4]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x59aef8
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.004091d0
mov eax, dword [esp + 8]
lea ecx, [0x72ac88]
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.00598dd0
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 0x59a24e
test ebx, 0x200
jne 0x599ec9
lea eax, [0x72be58]
mov ecx, dword [esp + 0x1c0]
jmp 0x599ef6
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.004bd3b0
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 0x59a84e
test ebx, 0x200
jne 0x599f1c
lea eax, [0x72be58]
mov ecx, dword [esp + 0x1c0]
jmp 0x599f42
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.004bd3b0
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 0x59a08c
lea edi, [esp + 0xf0]
xor eax, eax
call fcn.004630ea
mov ecx, dword [esp + 0x1c4]
mov edx, dword [ecx + 4]
test edx, edx
je 0x59a03b
cmp edx, 1
je 0x599fb6
mov dword [esp + 0x4c], edx
lea eax, [0x683a80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044b6a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x59a69e
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.004bb530
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.004635c4
call fcn.0059b040
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac10]
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 [0x1107d84], eax
jne 0x59a0ac
mov eax, dword [esp + 0x1c4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x59a0d6
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.004b83b0
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac10]
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 0x59a19c
mov eax, dword [esp + 0x1c4]
movzx eax, byte [eax]
test al, al
je 0x59a165
mov eax, dword [0x11022d8]
mov ecx, dword [0x11022dc]
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 [0x11022d0]
mov ecx, dword [0x11022d4]
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 0x59a24e
cmp edx, 3
ja 0x59a1d0
cmp edx, 2
jne 0x59a1bf
mov eax, dword [esp + 0x1c4]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x59a20d
mov ecx, dword [esp + 0x1c4]
movsx eax, byte [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x59a20d
cmp edx, 4
jne 0x59a1e6
mov ecx, dword [esp + 0x1c4]
movsx eax, word [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x59a20d
cmp edx, 5
jne 0x59a1fb
mov ecx, dword [esp + 0x1c4]
mov eax, dword [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x59a20d
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.00409120
mov eax, dword [esp + 8]
lea ecx, [0x72ac28]
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, [0x6b7292]
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.004091d0
mov eax, dword [esp + 8]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
lea ecx, [0x72a62c]
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.004bb6e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x6aea40]
cmp ecx, edx
jne 0x59a683
mov dword [esp], eax
call fcn.00597ed0
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.004bb6e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x6862e0]
cmp ecx, edx
jne 0x59a66d
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 2
jl 0x59a389
mov ebx, dword [ecx]
cmp ebx, 2
jg 0x59a389
jge 0x59a3c8
cmp dword [ecx + 4], 0x28
jl 0x59a3c8
lea eax, [0x6bd67f]
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.004091d0
mov eax, dword [esp + 8]
lea ecx, [0x72a62c]
xor edx, edx
xor ebx, ebx
jmp 0x59a3e8
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409250
mov eax, dword [esp + 0xc]
xor ecx, ecx
lea edx, [0x72ac58]
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.004bb6e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x6967e0]
cmp ecx, edx
jne 0x59a657
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, [0x696860]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00408f80
mov eax, dword [esp + 8]
lea ecx, [0x72abe0]
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.004bb6e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.004630eb
mov eax, dword [esp + 0x88]
lea ecx, [0x6ad920]
cmp eax, ecx
jne 0x59a641
lea edi, [esp + 0xdc]
call fcn.004635ce
lea edi, [esp + 0xc8]
lea esi, [esp + 0xdc]
call fcn.004635ce
cmp dword [esp + 0x1dc], 0x18
je 0x59a562
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.004635ce
call fcn.00598ef0
movzx eax, byte [esp + 0x14]
test al, al
je 0x59a5a9
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.004635ce
call fcn.00599030
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.004635ce
call fcn.00598f50
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac10]
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, [0x677aa0]
mov dword [esp + 8], eax
call fcn.00408e20
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x677aa0]
mov dword [esp + 8], eax
call fcn.00408e20
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x677aa0]
mov dword [esp + 8], eax
call fcn.00408e20
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x677aa0]
mov dword [esp + 8], eax
call fcn.00408e20
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jge 0x59a7a0
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.004bb530
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.004635c4
call fcn.0059b040
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 0x59a836
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 [0x112f780]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x59a754
mov dword [ebx], eax
jmp 0x59a75f
mov ecx, edi
mov edi, ebx
call fcn.00462e70
mov edi, ecx
test edx, edx
je 0x59a699
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 0x59a7f1
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac70]
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac40]
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.00462ef0
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 0x59a90e
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.0046357e
lea edi, [esp + 0x120]
lea esi, [esp + 0x154]
call fcn.0046357e
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x59a83f
lea eax, [0x6c19e0]
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.004091d0
mov eax, dword [esp + 8]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
lea ecx, [0x72a62c]
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 0x59acab
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.0046357e
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x19c]
mov edx, dword [0x11082e4]
cmp dword [0x11082e0], eax
jne 0x59a98b
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 0x59a992
xor eax, eax
jmp 0x59aa1f
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.004bafe0
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 0x59a9da
mov edx, dword [ecx + 4]
jmp 0x59aa12
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.004bb8d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x6c]
test edx, edx
jg 0x59abd7
mov eax, 1
mov ecx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
je 0x59ab86
mov dword [esp + 0x50], eax
cmp ecx, 1
je 0x59aa62
mov dword [esp + 0x54], ecx
lea eax, [0x683a80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b6a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x59ad06
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.004bafe0
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.0046357e
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6b199c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b4c60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00596d40
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.004635c4
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.004635c4
call fcn.0059b040
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac10]
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 [0x1107d84], eax
jne 0x59abe9
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x59ac05
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b83b0
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.005933e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x59ac43
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
jmp 0x59ac66
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x59acfc
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac10]
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac10]
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.00462f50
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x59aea9
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.004bafe0
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.0046357e
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6b199c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b4c60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00596d40
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.004635c4
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.004635c4
call fcn.0059b040
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 0x59aeee
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 [0x112f780]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x59ae5d
mov dword [ebx], eax
jmp 0x59ae68
mov ecx, edi
mov edi, ebx
call fcn.00462e70
mov edi, ecx
test edx, edx
je 0x59ad01
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x72ac40]
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.00462ef0
inc eax
cmp eax, ecx
jge 0x59af49
jae 0x59af88
lea ebx, [eax + edx]
cmp byte [ebx], 0x7f
jbe 0x59aef7
lea eax, [0x6c283e]
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.004091d0
mov eax, dword [esp + 8]
lea ecx, [0x72a62c]
xor edx, edx
xor ebx, ebx
jmp 0x59af65
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004091d0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x72ac88]
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.00462ef0
inc eax
cmp eax, ecx
jge 0x59afea
jae 0x59b029
movzx ebx, byte [edx + eax]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x59af8d
cmp bl, 0x20
je 0x59af8d
lea eax, [0x6c3dbc]
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.004091d0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x72a62c]
xor ebx, ebx
jmp 0x59b006
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004091d0
mov eax, dword [esp + 8]
lea ecx, [0x72ac88]
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.00462ef0
nop
call fcn.00461a60
jmp fcn.00599c20