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

Disassembly:
mov ecx, dword [0x14a5898]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c8]
cmp eax, dword [ecx + 8]
jbe 0x59c354
sub esp, 0x348
mov eax, dword [esp + 0x354]
test eax, eax
je 0x599a02
test eax, 0x200
jne 0x599a02
lea ecx, [0xef7344]
mov edx, dword [esp + 0x34c]
jmp 0x599a33
mov ecx, dword [esp + 0x34c]
mov dword [esp], ecx
mov edx, dword [esp + 0x350]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004c4a50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x354]
mov ebx, dword [esp + 0x35c]
mov ebp, dword [esp + 0x364]
cmp ebx, ebp
jne 0x599ae4
mov ecx, dword [esp + 0x34c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x350]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x368]
call fcn.0046f6e4
call fcn.0059c360
movzx eax, byte [esp + 0x24]
test al, al
je 0x599a86
xor eax, eax
xor ecx, ecx
jmp 0x599ac1
lea eax, [0xd8c271]
mov dword [esp + 0x2a0], eax
mov dword [esp + 0x2a4], 0x12
mov eax, dword [esp + 0x2a0]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, eax
lea eax, [0xeec8cc]
mov edx, dword [esp + 0x364]
mov dword [esp + 0x380], edx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], ecx
add esp, 0x348
ret
mov dword [esp + 0xc4], edx
mov dword [esp + 0x44], ecx
mov eax, dword [ecx + 0x50]
mov dword [esp], edx
call eax
cmp dword [esp + 4], 0x14
je 0x599b02
xor eax, eax
jmp 0x599b1e
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x6c]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
sete al
test al, al
je 0x59a225
mov eax, dword [esp + 0x358]
mov dword [esp], eax
mov ecx, dword [esp + 0x35c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x360]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x364]
mov dword [esp + 0xc], ebx
call fcn.00598f70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x59a209
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x18]
lea ebp, [ebx + ecx]
cmp ecx, ebp
jg 0x59a1b0
mov esi, dword [esp + 0x35c]
cmp esi, ebp
jl 0x59a1b0
mov dword [esp + 0xb0], ebp
movzx esi, byte [esp + 0x1c]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x59a1a7
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x59a19e
mov esi, dword [esp + 0x360]
cmp esi, ebp
jb 0x59c34a
cmp ecx, ebp
ja 0x59c341
mov edi, dword [esp + 0x14]
sub esi, ecx
mov dword [esp + 0x68], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ecx
mov ebp, dword [esp + 0x358]
lea ecx, [ebp + esi]
mov dword [esp + 0xcc], ecx
cmp edi, 0x12
jg 0x599f34
cmp edi, 4
jle 0x599d36
cmp edi, 6
je 0x599cd1
cmp edi, 0xc
je 0x599c1c
cmp edi, 0x12
jne 0x59a004
xor eax, eax
jmp 0x59c292
mov dword [esp + 0x60], ebx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.0047c1e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x599c6a
mov dword [esp], 0
mov eax, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.00456240
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
xor ebx, ebx
jmp 0x599c98
nop
lea eax, [0xc99640]
mov dword [esp], eax
call fcn.0040d3b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0xd96ee0]
mov dword [eax], ecx
xor ecx, ecx
lea edx, [0xeeb34c]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x168], ebx
mov dword [esp + 0x90], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov eax, dword [esp + 8]
lea ecx, [0xc68880]
mov edx, dword [esp + 0x168]
mov ebx, eax
mov eax, dword [esp + 0x90]
jmp 0x59c1e0
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.00598300
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xac], ebx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x1a4], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040acc0
mov eax, dword [esp + 0xc]
lea ecx, [0xcae440]
mov edx, dword [esp + 0x1a4]
mov ebx, eax
mov eax, dword [esp + 0xac]
jmp 0x59c1e0
cmp edi, 2
je 0x599ed7
cmp edi, 3
jne 0x599e8d
test ebx, ebx
je 0x599dea
movzx eax, byte [ebp + esi]
movzx edx, al
cmp edx, 7
jg 0x599d81
cmp ebx, 1
jne 0x599d66
test edx, edx
jne 0x599d81
movzx ebp, byte [ebx + ecx - 1]
mov esi, ecx
mov ecx, eax
mov edi, 1
shl edi, cl
lea eax, [edi - 1]
xchg ebp, ebx
test al, bl
xchg ebp, ebx
je 0x599dc4
lea eax, [0xda1951]
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], 0x22
mov eax, dword [esp + 0x264]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.0040ac40
mov eax, dword [esp + 8]
xor edi, edi
xor ebx, ebx
xor ecx, ecx
xor edx, edx
lea ebp, [0xeec8cc]
jmp 0x599e2b
lea ecx, [ebx - 1]
mov ebx, ecx
shl ecx, 3
mov ebp, dword [esp + 0x68]
dec ebp
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
sub ecx, edx
lea edx, [esi + ebp]
xor ebp, ebp
xor eax, eax
jmp 0x599e2b
lea eax, [0xd9129b]
mov dword [esp + 0x280], eax
mov dword [esp + 0x284], 0x16
mov eax, dword [esp + 0x280]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.0040ac40
mov eax, dword [esp + 8]
xor edi, edi
xor ebx, ebx
xor ecx, ecx
xor edx, edx
lea ebp, [0xeec8cc]
mov dword [esp + 0x164], eax
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x338], edx
mov dword [esp + 0x33c], ebx
mov dword [esp + 0x340], edi
mov dword [esp + 0x344], ecx
lea ecx, [0xcf77a0]
mov dword [esp], ecx
lea edx, [esp + 0x338]
mov dword [esp + 4], edx
call fcn.0040aa10
mov eax, dword [esp + 8]
lea ecx, [0xcf77a0]
mov edx, dword [esp + 0x164]
mov ebx, eax
mov eax, dword [esp + 0x8c]
jmp 0x59c1e0
cmp edi, 4
jne 0x59a004
mov dword [esp + 0x1a4], edx
mov dword [esp + 0xac], eax
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.0040acc0
mov eax, dword [esp + 0xc]
lea ecx, [0xc416a0]
mov edx, dword [esp + 0x1a4]
mov ebx, eax
mov eax, dword [esp + 0xac]
jmp 0x59c1e0
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.00597900
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xac], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1a4], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040aba0
mov eax, dword [esp + 8]
lea ecx, [0xc68a40]
mov edx, dword [esp + 0x1a4]
mov ebx, eax
mov eax, dword [esp + 0xac]
jmp 0x59c1e0
cmp edi, 0x16
jg 0x599ff1
cmp edi, 0x13
je 0x599f94
cmp edi, 0x14
je 0x599f57
cmp edi, 0x16
jne 0x59a004
xor eax, eax
jmp 0x59c1ed
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00456240
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov eax, dword [esp + 8]
lea ecx, [0xc68880]
xor edx, edx
mov ebx, eax
xor eax, eax
jmp 0x59c1e0
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.00598c30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xac], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1a4], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov eax, dword [esp + 8]
lea ecx, [0xc68880]
mov edx, dword [esp + 0x1a4]
mov ebx, eax
mov eax, dword [esp + 0xac]
jmp 0x59c1e0
cmp edi, 0x17
je 0x59a104
cmp edi, 0x18
je 0x59a06a
cmp edi, 0x1e
je 0x59a00d
xor ecx, ecx
xor ebx, ebx
jmp 0x59c1e0
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
call fcn.00598d40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xac], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1a4], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov eax, dword [esp + 8]
lea ecx, [0xc68880]
mov edx, dword [esp + 0x1a4]
mov ebx, eax
mov eax, dword [esp + 0xac]
jmp 0x59c1e0
lea edi, [esp + 0x324]
xor eax, eax
call fcn.0046f20b
mov ecx, dword [esp + 0xcc]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
call fcn.00598a40
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1a4], edx
lea edi, [esp + 0x324]
lea esi, [esp + 0xc]
call fcn.0046f6ee
lea edi, [esp + 0x238]
lea esi, [esp + 0x324]
call fcn.0046f6ee
lea ecx, [0xd75660]
mov dword [esp], ecx
lea ecx, [esp + 0x238]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov eax, dword [esp + 8]
lea ecx, [0xd75660]
mov edx, dword [esp + 0x1a4]
mov ebx, eax
mov eax, dword [esp + 0xac]
jmp 0x59c1e0
lea edi, [esp + 0x324]
xor eax, eax
call fcn.0046f20b
mov ecx, dword [esp + 0xcc]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x68]
mov dword [esp + 8], ecx
call fcn.00598760
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1a4], edx
lea edi, [esp + 0x324]
lea esi, [esp + 0xc]
call fcn.0046f6ee
lea edi, [esp + 0x26c]
lea esi, [esp + 0x324]
call fcn.0046f6ee
lea ecx, [0xd75660]
mov dword [esp], ecx
lea ecx, [esp + 0x26c]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov eax, dword [esp + 8]
lea ecx, [0xd75660]
mov edx, dword [esp + 0x1a4]
mov ebx, eax
mov eax, dword [esp + 0xac]
jmp 0x59c1e0
xor ecx, ecx
xor ebx, ebx
jmp 0x59c105
xor ecx, ecx
xor ebx, ebx
jmp 0x59c105
lea eax, [0xd87fb2]
mov dword [esp + 0x298], eax
mov dword [esp + 0x29c], 0xe
mov eax, dword [esp + 0x298]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x380], ecx
lea ecx, [0xeec8cc]
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov dword [esp + 0x380], ecx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], edx
add esp, 0x348
ret
mov eax, dword [esp + 0x358]
mov dword [esp], eax
mov ecx, dword [esp + 0x35c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x360]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x364]
mov dword [esp + 0xc], ebx
call fcn.00598f70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x59babd
mov dword [esp + 0xac], eax
movzx ebx, byte [esp + 0x369]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov eax, dword [esp + 0x14]
test bl, bl
je 0x59a5eb
movzx ebx, byte [esp + 0x36a]
test bl, bl
je 0x59a2a4
mov ebx, 1
jmp 0x59a2a9
mov ebx, 2
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x1a4], edx
mov edx, dword [esp + 0x35c]
cmp edx, ecx
je 0x59a58f
cmp ebx, ebp
jne 0x59a4de
mov ebx, dword [esp + 0x370]
cmp dword [ebx], eax
jne 0x59a4de
test esi, esi
je 0x59a2eb
xchg edi, eax
test al, al
xchg edi, eax
je 0x59a4de
mov ebx, dword [esp + 0x44]
cmp dword [0x1463540], ebx
jne 0x59a38d
xchg edi, eax
mov byte [esp + 0x43], al
xchg edi, eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], eax
mov eax, dword [0x1463544]
mov dword [esp], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00404d80
movzx eax, byte [esp + 0xc]
test al, al
je 0x59a370
mov esi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
movzx edi, byte [esp + 0x43]
mov edx, dword [esp + 0x1a4]
jmp 0x59a5f4
mov eax, dword [esp + 0xa4]
test eax, eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x35c]
mov ebx, dword [esp + 0x44]
jmp 0x59a38f
test esi, esi
jg 0x59a47a
cmp dword [0x1463530], ebx
jne 0x59a3c3
mov eax, dword [0x1463534]
mov dword [esp], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00404d80
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59a41f
lea eax, [0xdad42f]
mov dword [esp + 0x254], eax
mov dword [esp + 0x258], 0x2d
mov eax, dword [esp + 0x254]
mov dword [esp], eax
mov dword [esp + 4], 0x2d
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x380], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x354]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004c3c40
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x384], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov eax, dword [esp + 0x358]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x360]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00598f70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x59a4c2
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
jmp 0x59a5f4
mov dword [esp + 0x380], ecx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], edx
add esp, 0x348
ret
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x354]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x368]
call fcn.0046f6e4
call fcn.0059c360
movzx eax, byte [esp + 0x24]
test al, al
je 0x59a533
mov eax, dword [esp + 0x364]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x1a4]
jmp 0x59a573
lea eax, [0xda50b0]
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], 0x25
mov eax, dword [esp + 0x24c]
mov dword [esp], eax
mov dword [esp + 4], 0x25
call fcn.0040ac40
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xb0]
lea ecx, [0xeecb74]
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], edx
add esp, 0x348
ret
lea eax, [0xd9553b]
mov dword [esp + 0x25c], eax
mov dword [esp + 0x260], 0x19
mov eax, dword [esp + 0x25c]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x380], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov ebx, eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1a4], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebp
xchg edi, eax
mov byte [esp + 0x42], al
xchg edi, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
call fcn.0059cc30
movzx eax, byte [esp + 0x11]
test al, al
je 0x59b9ff
mov ebx, dword [esp + 0xc]
cmp ebx, 0x13
jne 0x59a699
mov ebx, dword [esp + 0x50]
test ebx, ebx
jne 0x59a683
mov ebp, dword [esp + 0x48]
cmp ebp, 0x14
jg 0x59a667
cmp ebp, 0xc
je 0x59a676
cmp ebp, 0x12
je 0x59a676
cmp ebp, 0x14
je 0x59a676
jmp 0x59a67a
cmp ebp, 0x16
je 0x59a676
cmp ebp, 0x1b
je 0x59a676
cmp ebp, 0x1e
jne 0x59a67a
mov eax, ebp
jmp 0x59a6a3
mov eax, ebp
mov ebp, 0x13
jmp 0x59a6a3
mov ebp, dword [esp + 0x374]
test ebp, ebp
jne 0x59a693
mov ebp, 0x13
mov eax, dword [esp + 0x48]
jmp 0x59a6a3
mov eax, dword [esp + 0x48]
mov ebp, ebx
mov ebx, dword [esp + 0x50]
cmp ebp, 0x17
jne 0x59a6b6
cmp eax, 0x18
jne 0x59a6b6
test ebx, ebx
jne 0x59a6b6
mov ebp, 0x18
movzx ecx, byte [esp + 0x37c]
test cl, cl
je 0x59a6c7
mov ebp, 0x11
movzx ecx, byte [esp + 0x369]
movzx edx, byte [esp + 8]
test cl, cl
je 0x59a6e9
mov esi, ebp
mov edi, edx
mov edx, 0
mov dword [esp + 0x78], edx
mov edx, edi
jmp 0x59a726
mov esi, dword [esp + 0x370]
test esi, esi
je 0x59a715
mov esi, dword [esi]
test cl, cl
mov edi, edx
mov edx, 2
mov dword [esp + 0x78], edx
mov edx, 0
mov edx, esi
mov esi, ebp
mov ebp, edx
mov edx, 0
jmp 0x59a726
test cl, cl
mov esi, ebp
mov edi, edx
mov edx, 0
mov dword [esp + 0x78], edx
mov edx, edi
mov dword [esp + 0xb0], esi
je 0x59a735
mov ecx, dword [esp + 0x78]
jmp 0x59a781
movzx esi, byte [esp + 0x36a]
xchg esi, eax
test al, al
xchg esi, eax
je 0x59a774
mov esi, dword [esp + 0x370]
test esi, esi
je 0x59a765
mov ebp, dword [esi]
test cl, cl
mov esi, dword [esp + 0xb0]
mov ecx, 1
mov edx, 0
jmp 0x59a781
test cl, cl
mov esi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x78]
jmp 0x59a781
test cl, cl
mov esi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x78]
jne 0x59a7be
movzx esi, byte [esp + 0x36b]
xchg esi, eax
test al, al
xchg esi, eax
je 0x59a7b7
mov esi, dword [esp + 0x370]
test esi, esi
je 0x59a7ae
mov ebp, dword [esi]
mov esi, dword [esp + 0xb0]
xor edx, edx
mov ecx, 3
jmp 0x59a7be
mov esi, dword [esp + 0xb0]
jmp 0x59a7be
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x74], ebp
test dl, dl
jne 0x59a7d6
cmp ecx, ebx
jne 0x59b7e3
cmp ebp, eax
jne 0x59b7e3
xchg edi, eax
test al, al
xchg edi, eax
je 0x59a7e3
movzx ebp, byte [esp + 0x42]
jmp 0x59a7f7
movzx ecx, byte [esp + 0x10]
movzx ebp, byte [esp + 0x42]
xchg ebp, eax
cmp al, cl
xchg ebp, eax
jne 0x59b7e3
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x54]
lea edx, [ebp + edi]
cmp ebp, edx
jg 0x59b78a
mov ebx, dword [esp + 0x35c]
cmp ebx, edx
jl 0x59b78a
mov ebx, dword [esp + 0x360]
cmp ebx, edx
jb 0x59c0fc
cmp ebp, edx
ja 0x59c0f3
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov ecx, dword [esp + 0x350]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x354]
mov dword [esp + 8], edx
call fcn.004beed0
mov eax, dword [esp + 0x360]
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov dword [esp + 0x64], eax
neg eax
sar eax, 0x1f
and eax, ecx
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x358]
lea edx, [edi + eax]
mov dword [esp + 0xc8], edx
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call fcn.004c1f30
mov eax, dword [esp + 0x10]
test eax, eax
je 0x59af39
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xd0], ebx
cmp edx, 0xb0201730
ja 0x59acb4
cmp edx, 0x423e791d
jne 0x59aa41
lea edx, [0xcae380]
cmp eax, edx
jne 0x59af39
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x59a9af
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x358]
movzx ecx, byte [ebp + edx]
movzx edx, cl
cmp edx, 7
jg 0x59a93c
cmp eax, 1
jne 0x59a91e
test edx, edx
jne 0x59a93c
mov ebp, dword [esp + 0xc8]
movzx esi, byte [eax + ebp - 1]
mov edi, 1
shl edi, cl
dec edi
xchg esi, eax
xchg edi, ebx
test bl, al
xchg edi, ebx
xchg esi, eax
je 0x59a988
lea eax, [0xda1951]
mov dword [esp + 0x1ec], eax
mov dword [esp + 0x1f0], 0x22
mov eax, dword [esp + 0x1ec]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xd0]
xor ecx, ecx
xor esi, esi
xor edx, edx
lea ebp, [0xeec8cc]
mov edi, eax
xor eax, eax
jmp 0x59a9f9
lea ecx, [eax - 1]
mov esi, ecx
shl ecx, 3
mov edi, dword [esp + 0x64]
dec edi
mov eax, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
sub ecx, edx
lea edx, [ebp + edi]
xor ebp, ebp
xor edi, edi
jmp 0x59a9f9
lea eax, [0xd9129b]
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], 0x16
mov eax, dword [esp + 0x1f4]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xd0]
xor ecx, ecx
xor esi, esi
xor edx, edx
lea ebp, [0xeec8cc]
mov edi, eax
xor eax, eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x14a59f0]
test eax, eax
je 0x59aa1c
mov eax, edi
call fcn.0046ef80
mov dword [edi], edx
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov edi, eax
mov dword [ebx], edx
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], ebp
mov dword [esp + 0x388], edi
add esp, 0x348
ret
cmp edx, 0x8ed6f7a2
jne 0x59ac1f
lea ecx, [0xd79420]
cmp eax, ecx
jne 0x59af39
mov ecx, dword [esp + 0xb0]
cmp ecx, 0x17
jne 0x59ab45
lea edi, [esp + 0x324]
xor eax, eax
call fcn.0046f20b
mov ecx, dword [esp + 0xc8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.00598760
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x324]
lea esi, [esp + 0xc]
call fcn.0046f6ee
lea edi, [esp + 0x188]
lea esi, [esp + 0x324]
call fcn.0046f6ee
mov edi, dword [esp + 0xd0]
test byte [edi], al
mov ecx, dword [0x14a59f0]
test ecx, ecx
je 0x59ab0f
mov dword [esp + 0x1a4], edx
lea eax, [0xd75660]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x188]
mov dword [esp + 8], eax
call fcn.00412b20
mov edx, dword [esp + 0x1a4]
mov edi, dword [esp + 0xd0]
lea esi, [esp + 0x188]
call fcn.0046f6ee
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], edx
add esp, 0x348
ret
lea edi, [esp + 0x324]
xor eax, eax
call fcn.0046f20b
mov ecx, dword [esp + 0xc8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.00598a40
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x324]
lea esi, [esp + 0xc]
call fcn.0046f6ee
lea edi, [esp + 0x174]
lea esi, [esp + 0x324]
call fcn.0046f6ee
mov edi, dword [esp + 0xd0]
test byte [edi], al
mov ecx, dword [0x14a59f0]
test ecx, ecx
je 0x59abe9
mov dword [esp + 0x1a4], edx
lea eax, [0xd75660]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x174]
mov dword [esp + 8], eax
call fcn.00412b20
mov edx, dword [esp + 0x1a4]
mov edi, dword [esp + 0xd0]
lea esi, [esp + 0x174]
call fcn.0046f6ee
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], edx
add esp, 0x348
ret
cmp edx, 0xb0201730
jne 0x59af39
lea ecx, [0xcae3e0]
cmp eax, ecx
jne 0x59af39
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00598300
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0xd0]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov eax, dword [0x14a59f0]
test eax, eax
je 0x59ac8f
call fcn.0046ef80
mov dword [edi], edx
mov eax, dword [esi]
mov dword [edi + 4], eax
mov dword [esi], edx
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], ebx
mov dword [esp + 0x388], ebp
add esp, 0x348
ret
cmp edx, 0xc34a524e
ja 0x59ae82
cmp edx, 0xba8d6a2a
jne 0x59adf5
lea edx, [0xc39d60]
cmp eax, edx
jne 0x59af39
mov eax, dword [esp + 0x364]
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
ja 0x59c0ee
mov edx, dword [esp + 0x360]
sub edx, eax
mov ebp, ecx
sub ecx, eax
mov dword [esp + 0xb0], ecx
mov esi, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x358]
add edx, eax
lea edi, [esp + 0x1fc]
xor eax, eax
call fcn.0046f207
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1fc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x200], ecx
movzx ecx, byte [esp + 0x42]
mov byte [esp + 0x204], cl
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x208], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x210], ecx
mov dword [esp + 0x214], edx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x218], ecx
mov dword [esp + 0x21c], esi
test byte [ebx], al
mov ecx, dword [0x14a59f0]
test ecx, ecx
je 0x59adbd
lea eax, [0xcfcd60]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [esp + 0x1fc]
mov dword [esp + 8], eax
call fcn.00412b20
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xa8]
mov edi, ebx
lea esi, [esp + 0x1fc]
call fcn.0046f6c6
mov dword [esp + 0x380], ebp
mov eax, dword [esp + 0xac]
mov dword [esp + 0x384], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x388], eax
add esp, 0x348
ret
cmp edx, 0xc34a524e
jne 0x59af39
lea ecx, [0xc476a0]
cmp eax, ecx
jne 0x59af39
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00597ce0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x59ae5f
mov edx, dword [esp + 0xd0]
test byte [edx], al
mov ebx, dword [0x14a59f0]
mov ebp, dword [esp + 0xc]
test ebx, ebx
je 0x59ae5d
call fcn.0046ef80
mov dword [edi], ebp
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], ebp
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x380], edx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], ecx
add esp, 0x348
ret
cmp edx, 0xf13fb4fb
jne 0x59aef3
lea ecx, [0xc39ce0]
cmp eax, ecx
jne 0x59af39
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00597b40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x59aed0
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xd0]
mov dword [ebx], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x380], edx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], ecx
add esp, 0x348
ret
cmp edx, 0xfb797281
jne 0x59af39
lea ecx, [0xc39e20]
cmp eax, ecx
jne 0x59af39
mov byte [ebx], 1
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x384], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov eax, dword [esp + 0x354]
mov ecx, eax
and eax, 0x1f
nop
cmp eax, 6
jbe 0x59b417
cmp eax, 0x17
je 0x59b1e2
cmp eax, 0x18
jne 0x59b1cf
mov eax, dword [esp + 0xb0]
cmp eax, 0x13
jg 0x59b05b
cmp eax, 0xc
je 0x59afd0
cmp eax, 0x12
jne 0x59af8d
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xc8]
xor ebx, ebx
jmp 0x59c069
cmp eax, 0x13
jne 0x59b0c0
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00598c30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, edx
mov edx, ecx
mov ecx, ebp
jmp 0x59bf7e
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
call fcn.0047c1e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x59b028
mov dword [esp], 0
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00456240
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
xor ebx, ebx
jmp 0x59bf7e
nop
lea eax, [0xc99640]
mov dword [esp], eax
call fcn.0040d3b0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1a
lea ecx, [0xd96ee0]
mov dword [eax], ecx
xor ecx, ecx
lea edx, [0xeeb34c]
mov ebx, eax
xor eax, eax
jmp 0x59bf7e
cmp eax, 0x16
jg 0x59b0ae
cmp eax, 0x14
je 0x59b07c
cmp eax, 0x16
jne 0x59b0c0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xc8]
xor ebx, ebx
jmp 0x59bfef
mov dword [esp], 0
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00456240
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, edx
xor ebx, ebx
xor edx, edx
jmp 0x59bf7e
cmp eax, 0x1b
je 0x59b19d
cmp eax, 0x1e
je 0x59b163
mov dword [esp + 0x31c], 0
mov dword [esp + 0x320], 0
mov dword [esp], eax
call fcn.0040ab40
mov eax, dword [esp + 4]
lea ecx, [0xc68ac0]
mov dword [esp + 0x31c], ecx
mov dword [esp + 0x320], eax
lea eax, [0xda646f]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x31c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e27c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
mov eax, dword [esp + 0x1b0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov ebx, dword [esp + 8]
lea edx, [0xeec8cc]
xor ecx, ecx
xor eax, eax
jmp 0x59bf7e
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00598d40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, edx
mov edx, ecx
mov ecx, ebp
jmp 0x59bf7e
mov dword [esp], 0
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00456240
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, edx
xor ebx, ebx
xor edx, edx
jmp 0x59bf7e
cmp eax, 0x19
jne 0x59b1db
xor eax, eax
jmp 0x59bae0
test ecx, ecx
jmp 0x59b6bc
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
call ecx
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
jne 0x59b340
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.004c5410
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x34c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x350]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x354]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c3b20
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1cc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1d0], eax
lea eax, [0xc416a0]
mov dword [esp + 0xd4], eax
lea eax, [esp + 0x1c8]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x59b2d8
movzx ecx, byte [eax + 0xf]
nop
mov edx, ecx
and ecx, 0x1f
test dl, 0x20
jne 0x59b2cf
or ecx, 0x80
mov edx, dword [esp + 0xd8]
jmp 0x59b2de
xor ecx, ecx
xor eax, eax
xor edx, edx
mov ebx, dword [esp + 0x34c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x350]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x354]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.004c5060
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x384], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc8]
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00599560
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x59b3f4
mov dword [esp + 0x154], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x350]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x354]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c3b20
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x380], edx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], ecx
add esp, 0x348
ret
cmp eax, 1
jne 0x59b54a
mov eax, dword [esp + 0x4c]
cmp eax, 1
jne 0x59b4a3
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x358]
movzx eax, byte [edx + eax]
test al, al
jne 0x59b44a
xor eax, eax
xor edx, edx
xor ebx, ebx
jmp 0x59b4e5
cmp al, 0xff
jne 0x59b45d
mov eax, 1
xor edx, edx
xor ebx, ebx
jmp 0x59b4e5
lea eax, [0xd88dfa]
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], 0xf
mov eax, dword [esp + 0x1dc]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x354]
lea edx, [0xeec8cc]
mov ebx, eax
xor eax, eax
jmp 0x59b4e5
lea eax, [0xd88dfa]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], 0xf
mov eax, dword [esp + 0x1e4]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.0040ac40
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0x354]
lea edx, [0xeec8cc]
xor eax, eax
test edx, edx
jne 0x59b527
mov dword [esp + 0x88], edx
mov dword [esp + 0x160], ebx
mov edx, dword [esp + 0x34c]
mov dword [esp], edx
mov edx, dword [esp + 0x350]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], al
call fcn.004c3c40
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x160]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], edx
mov dword [esp + 0x388], ebx
add esp, 0x348
ret
cmp eax, 2
jne 0x59b553
test ecx, ecx
jmp 0x59b55e
cmp eax, 5
jb 0x59b6ba
test ecx, ecx
je 0x59b577
test ecx, 0x200
jne 0x59b577
lea eax, [0xef7344]
mov edx, dword [esp + 0x34c]
jmp 0x59b59f
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov edx, dword [esp + 0x350]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004c4a50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov eax, dword [eax + 0x7c]
mov dword [esp], edx
call eax
cmp dword [esp + 4], 4
jne 0x59b62b
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00597b40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x59b697
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x350]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x354]
mov dword [esp + 8], ecx
sar eax, 0x1f
mov dword [esp + 0x10], eax
call fcn.004c4130
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x15c]
jmp 0x59b697
mov eax, dword [esp + 0xc8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00597900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jne 0x59b697
mov dword [esp + 0x158], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x354]
mov dword [esp + 8], eax
call fcn.004c4130
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x380], edx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], ecx
add esp, 0x348
ret
test ecx, ecx
je 0x59b6d5
test ecx, 0x200
jne 0x59b6d5
lea eax, [0xef7344]
mov ecx, dword [esp + 0x34c]
jmp 0x59b6fb
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004c4a50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0xd87109]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xd
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00455fa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], ecx
mov eax, dword [esp + 0x1a8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x380], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], eax
add esp, 0x348
ret
lea eax, [0xd87fb2]
mov dword [esp + 0x220], eax
mov dword [esp + 0x224], 0xe
mov eax, dword [esp + 0x220]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x380], ecx
lea ecx, [0xeec8cc]
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x354]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x368]
call fcn.0046f6e4
call fcn.0059c360
movzx eax, byte [esp + 0x24]
test al, al
je 0x59b83b
mov eax, dword [esp + 0x364]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x1a4]
jmp 0x59b9e3
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x60]
mov ecx, dword [esp + 0xc4]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1a4], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xb0], ecx
lea edi, [esp + 0x2f4]
xor eax, eax
call fcn.0046f206
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0040ab40
mov eax, dword [esp + 4]
lea ecx, [0xc68ac0]
mov dword [esp + 0x2f4], ecx
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xbc], eax
movzx eax, byte [esp + 0x42]
mov byte [esp + 0xc0], al
lea eax, [0xcedea0]
mov dword [esp], eax
lea edx, [esp + 0xb4]
mov dword [esp + 4], edx
call fcn.0040aa70
mov eax, dword [esp + 8]
lea ecx, [0xcedea0]
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], eax
lea eax, [0xd2a600]
mov dword [esp], eax
lea ecx, [esp + 0x368]
mov dword [esp + 4], ecx
call fcn.0040aa10
mov eax, dword [esp + 8]
lea ecx, [0xd2a600]
mov dword [esp + 0x304], ecx
mov dword [esp + 0x308], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.0040ac40
mov eax, dword [esp + 8]
lea ecx, [0xc68880]
mov dword [esp + 0x30c], ecx
mov dword [esp + 0x310], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0040ab40
mov eax, dword [esp + 4]
lea ecx, [0xc68ac0]
mov dword [esp + 0x314], ecx
mov dword [esp + 0x318], eax
lea eax, [0xda77f7]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x2f4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 5
call fcn.004e27c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x228], eax
mov dword [esp + 0x22c], ecx
mov eax, dword [esp + 0x228]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x54]
lea ecx, [0xeecb74]
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], edx
add esp, 0x348
ret
mov dword [esp + 0x31c], 0
mov dword [esp + 0x320], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x59ba22
mov ecx, dword [eax + 4]
jmp 0x59ba24
mov ecx, eax
mov dword [esp + 0x31c], ecx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x320], eax
lea eax, [0xd8d6cf]
mov dword [esp], eax
mov dword [esp + 4], 0x13
lea eax, [esp + 0x31c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004e27c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], ecx
mov eax, dword [esp + 0x230]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x380], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov dword [esp + 0x380], ecx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], edx
add esp, 0x348
ret
mov ecx, dword [esp + 0x70]
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x64]
mov ebx, dword [esp + 0xc4]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 0x70]
cmp dword [esp + 4], eax
jle 0x59bba6
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0xc4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
lea edi, [esp + 0x2c0]
lea esi, [esp + 8]
call fcn.0046f69e
lea edi, [esp + 0x120]
lea esi, [esp + 0x2c0]
call fcn.0046f69e
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x59bad9
lea eax, [0xda055e]
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], 0x21
mov eax, dword [esp + 0x1d4]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0040ac40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x380], ecx
lea ecx, [0xeecb74]
mov dword [esp + 0x384], ecx
mov dword [esp + 0x388], eax
add esp, 0x348
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
jg 0x59bbc5
xor eax, eax
jmp 0x59bc25
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc4]
mov dword [esp], edx
mov dword [esp + 4], 0
call ecx
lea edi, [esp + 0x2c0]
lea esi, [esp + 8]
call fcn.0046f69e
mov eax, dword [esp + 0x2d0]
cmp dword [0x1463548], eax
je 0x59bc03
xor eax, eax
jmp 0x59bc25
mov ecx, dword [esp + 0x2d4]
mov edx, dword [0x146354c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404d80
movzx eax, byte [esp + 0xc]
test al, al
je 0x59bd3d
mov eax, dword [esp + 0x364]
mov ecx, dword [esp + 0xa8]
cmp eax, ecx
ja 0x59bf79
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov ecx, dword [esp + 0x350]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x354]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.004c1c90
mov eax, dword [esp + 0x360]
mov ecx, dword [esp + 0x364]
sub eax, ecx
mov edx, dword [esp + 0xa8]
sub edx, ecx
mov ebp, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x358]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1a0], ecx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x19c], esi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x9c], edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.0040acc0
mov eax, dword [esp + 0xc]
lea ecx, [0xc71b00]
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x59bd06
movzx edx, byte [ecx + 0xf]
nop
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x59bd0c
or edx, 0x80
jmp 0x59bd0c
xor edx, edx
xor ecx, ecx
xor eax, eax
mov ebx, dword [esp + 0x1a0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x19c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.004c3b20
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x1a4]
jmp 0x59bd5e
mov esi, dword [esp + 0x6c]
inc esi
mov edx, eax
mov ebx, ecx
mov eax, esi
mov ecx, ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x1a4], ebx
mov ebp, dword [esp + 0x44]
mov esi, dword [ebp + 0x64]
mov edi, dword [esp + 0xc4]
mov dword [esp], edi
call esi
mov eax, dword [esp + 0x6c]
cmp dword [esp + 4], eax
jle 0x59bf48
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0xc4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
lea edi, [esp + 0xec]
lea esi, [esp + 8]
call fcn.0046f69e
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x59be01
mov ecx, dword [esp + 0xfc]
cmp dword [0x1463548], ecx
je 0x59bdd7
xor ecx, ecx
jmp 0x59be03
mov eax, dword [esp + 0x100]
mov edx, dword [0x146354c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00404d80
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x6c]
jmp 0x59be03
xor ecx, ecx
test cl, cl
je 0x59be1e
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x1a4]
jmp 0x59bd51
mov ecx, dword [esp + 0x34c]
mov dword [esp], ecx
mov edx, dword [esp + 0x350]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x354]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004c1c90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x19c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x104]
mov ebp, dword [esp + 0x108]
mov dword [esp], ebx
mov dword [esp + 4], ebp
lea ebx, [0xd8108c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 4
call fcn.004bc280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0059c770
lea edi, [esp + 0x2a8]
lea esi, [esp + 8]
call fcn.0046f6e4
mov eax, dword [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0x19c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x2a8]
call fcn.0046f6e4
call fcn.005999c0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test eax, eax
jne 0x59bf25
mov ebp, dword [esp + 0x34]
jmp 0x59bd51
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x380], edx
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], ecx
add esp, 0x348
ret
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x384], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x388], eax
add esp, 0x348
ret
call fcn.0046f050
test edx, edx
jne 0x59bfcb
mov dword [esp + 0xac], edx
mov dword [esp + 0x1a4], ebx
mov edx, dword [esp + 0x34c]
mov dword [esp], edx
mov edx, dword [esp + 0x350]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x354]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004c4810
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x1a4]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x380], eax
mov dword [esp + 0x384], edx
mov dword [esp + 0x388], ebx
add esp, 0x348
ret
inc ebx
cmp ebx, eax
jge 0x59c03b
lea ebp, [ebx + edx]
cmp byte [ebp], 0x80
jb 0x59bfee
lea eax, [0xda3eb0]
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0x24
mov eax, dword [esp + 0x1b8]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0040ac40
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0xeec8cc]
xor ebx, ebx
jmp 0x59c05d
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00456240
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
xor eax, eax
mov ebp, ebx
mov ebx, eax
mov eax, ebp
jmp 0x59bf7e
inc ebx
cmp ebx, eax
jge 0x59c0c1
movzx ebp, byte [ebx + edx]
lea esi, [ebp - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x59c068
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
je 0x59c068
lea eax, [0xda8847]
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], 0x28
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.0040ac40
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0xeec8cc]
xor ebx, ebx
jmp 0x59c0e3
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00456240
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
xor eax, eax
mov ebp, ebx
mov ebx, eax
mov eax, ebp
jmp 0x59bf7e
call fcn.0046f050
mov eax, ebp
mov ecx, edx
call fcn.0046f050
mov ecx, edx
mov edx, ebx
call fcn.0046f030
test eax, eax
jne 0x59c1c4
test ecx, ecx
je 0x59c1a8
mov dword [esp + 0x1a4], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ebx
mov ecx, dword [esp + 0xe4]
test ecx, ecx
je 0x59c15c
movzx ebx, byte [ecx + 0xf]
nop
mov esi, ebx
and ebx, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x59c153
or ebx, 0x80
mov esi, dword [esp + 0xe8]
jmp 0x59c162
xor ebx, ebx
xor ecx, ecx
xor esi, esi
mov eax, dword [esp + 0x34c]
mov dword [esp], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x354]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebx
call fcn.004c3b20
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x1a4]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x380], ebp
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], edx
add esp, 0x348
ret
mov dword [esp + 0x380], ebp
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], edx
add esp, 0x348
ret
mov ebp, dword [esp + 0xb0]
jmp 0x59c105
inc eax
cmp eax, ebx
jge 0x59c238
lea edx, [eax + ecx]
cmp byte [edx], 0x80
jb 0x59c1ec
lea eax, [0xda3eb0]
mov dword [esp + 0x288], eax
mov dword [esp + 0x28c], 0x24
mov eax, dword [esp + 0x288]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0040ac40
mov eax, dword [esp + 8]
xor ecx, ecx
xor edx, edx
lea ebx, [0xeec8cc]
jmp 0x59c25a
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00456240
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x94], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040ac40
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x94]
lea ecx, [0xc68880]
mov edx, dword [esp + 0x16c]
jmp 0x59c1e0
inc eax
cmp eax, ebx
jge 0x59c2e8
movzx edx, byte [eax + ecx]
lea ebp, [edx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x59c291
cmp dl, 0x20
je 0x59c291
lea eax, [0xda8847]
mov dword [esp + 0x290], eax
mov dword [esp + 0x294], 0x28
mov eax, dword [esp + 0x290]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.0040ac40
mov eax, dword [esp + 8]
xor ecx, ecx
xor edx, edx
lea ebx, [0xeec8cc]
jmp 0x59c30a
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00456240
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x170], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040ac40
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x98]
lea ecx, [0xc68880]
mov edx, dword [esp + 0x170]
jmp 0x59c1e0
mov eax, ecx
mov ecx, ebp
call fcn.0046f050
mov ecx, ebp
mov edx, esi
call fcn.0046f030
nop
call fcn.0046db70
jmp fcn.005999c0