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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x58935b
sub esp, 0x1d0
lea eax, [0x647da0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
lea ecx, [0x647da0]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
lea ecx, [0x647da0]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1e0]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x587f39
xor edx, edx
jmp 0x587f4c
movzx edx, byte [ecx]
test dl, dl
je 0x587f47
mov edx, 0xffffffff
jmp 0x587f4c
mov edx, 1
mov dword [esp + 0xac], eax
test edx, edx
jne 0x588397
nop
mov ecx, dword [esp + 0x1e4]
mov edx, dword [esp + 0xdc]
cmp ecx, edx
je 0x5880b8
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0xa8], esi
mov edi, ecx
mov ecx, dword [ecx + 4]
cmp ebx, esi
jge 0x58802d
mov dword [esp + 0xfc], ecx
cmp esi, 1
jne 0x587fe5
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e4]
mov esi, 1
mov ebx, 1
jmp 0x58802d
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e4]
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0xa8]
cmp esi, ebx
jg 0x588041
mov ebx, esi
cmp ebp, ecx
je 0x588083
mov dword [esp + 0x68], esi
mov dword [esp + 0xd4], ebp
mov dword [esp], ebp
mov dword [esp + 4], ecx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00464010
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd4]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x1e4]
mov dword [edx + 8], esi
mov ecx, dword [esp + 0x88]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x58809f
mov dword [edx + 4], ebp
jmp 0x5880b3
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.00463680
mov eax, esi
mov edi, ebx
movzx ecx, byte [edi]
mov byte [edx], cl
nop
mov ecx, dword [esp + 0x1e8]
mov ebx, dword [esp + 0xd8]
cmp ecx, ebx
je 0x58821e
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, edx
mov edx, dword [ecx + 8]
mov dword [esp + 0xa4], edx
mov ecx, dword [ecx + 4]
cmp ebp, edx
jge 0x58818a
mov dword [esp + 0xf8], ecx
cmp edx, 1
jne 0x588142
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov edx, 1
mov ebp, 1
jmp 0x58818a
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 8], ecx
call fcn.0044a8a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xf8]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xdc]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0xa4]
cmp edx, ebp
jg 0x58819e
mov ebp, edx
cmp esi, ecx
je 0x5881e0
mov dword [esp + 0x64], edx
mov dword [esp + 0xd0], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.00464010
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd0]
mov edi, dword [esp + 0xdc]
mov dword [ebx + 8], edx
mov ecx, dword [esp + 0x84]
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x5881fc
mov dword [ebx + 4], esi
jmp 0x588210
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.00463680
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1e8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x588220
mov edi, edx
nop
mov ecx, dword [esp + 0x1ec]
cmp ecx, eax
je 0x58837b
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0xa0], esi
mov ebx, dword [ecx + 4]
cmp edx, esi
jge 0x5882e9
mov dword [esp + 0xf4], ebx
cmp esi, 1
jne 0x5882a1
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [esp + 0xf4]
mov edi, dword [esp + 0xdc]
mov esi, 1
mov edx, 1
jmp 0x5882e9
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [esp + 0xf4]
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0xa0]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
cmp esi, ecx
jg 0x5882f6
mov ecx, esi
cmp ebp, ebx
je 0x58833f
mov dword [esp + 0x80], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0xcc], ebp
mov dword [esp], ebp
mov dword [esp + 4], ebx
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00464010
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0xdc]
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x588354
mov dword [eax + 4], ebp
jmp 0x588368
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.00463680
mov eax, ebx
mov edi, edx
mov ecx, dword [esp + 0x1ec]
movzx ecx, byte [ecx]
mov byte [eax], cl
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x1f0], edi
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1f8], eax
add esp, 0x1d0
ret
mov edx, dword [esp + 0x1ec]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5883a9
xor ebx, ebx
jmp 0x5883bc
movzx ebx, byte [edx]
test bl, bl
je 0x5883b7
mov ebx, 0xffffffff
jmp 0x5883bc
mov ebx, 1
test ebx, ebx
jne 0x5887f3
nop
mov edx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
cmp edx, ebx
je 0x588524
mov ebp, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x9c], ecx
mov edx, dword [edx + 4]
cmp ecx, ebp
jle 0x588496
mov dword [esp + 0xf0], edx
cmp ecx, 1
jne 0x58844e
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov ecx, 1
mov ebp, 1
jmp 0x588496
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 8], edx
call fcn.0044a8a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x7c], ebp
mov ebp, dword [esp + 0x9c]
cmp ecx, ebp
jg 0x5884a7
mov ebp, ecx
cmp esi, edx
je 0x5884e9
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xc8], esi
mov dword [esp], esi
mov dword [esp + 4], edx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.00464010
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xdc]
mov esi, dword [esp + 0xc8]
mov edi, dword [esp + 0x1e0]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x588502
mov dword [ebx + 4], esi
jmp 0x588516
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.00463680
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1d8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x588526
mov edi, ecx
nop
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xd8]
cmp ecx, edx
je 0x588689
mov ebp, dword [edx + 0xc]
mov esi, dword [edx + 4]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x98], ebx
mov ecx, dword [ecx + 4]
cmp ebp, ebx
jge 0x5885f6
mov dword [esp + 0xec], ecx
cmp ebx, 1
jne 0x5885ae
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x1e0]
mov ebx, 1
mov ebp, 1
jmp 0x5885f6
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0044a8a0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x1e0]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0x98]
cmp ebx, ebp
jg 0x588607
mov ebp, ebx
cmp esi, ecx
je 0x588649
mov dword [esp + 0x58], ebx
mov dword [esp + 0xc4], esi
mov dword [esp], esi
mov dword [esp + 4], ecx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.00464010
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0x1e0]
mov dword [edx + 8], ebx
mov ecx, dword [esp + 0x78]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x588662
mov dword [edx + 4], esi
jmp 0x588676
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.00463680
mov eax, ebp
mov edi, ebx
mov ecx, dword [esp + 0x1dc]
movzx ecx, byte [ecx]
mov byte [edx], cl
mov ebx, dword [esp + 0xdc]
nop
cmp edi, eax
je 0x5887d7
mov ecx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov esi, dword [edi + 8]
mov dword [esp + 0x94], esi
mov edx, dword [edi + 4]
cmp ecx, esi
jge 0x58874b
mov dword [esp + 0xe8], edx
cmp esi, 1
jne 0x588703
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov esi, 1
mov ecx, 1
jmp 0x58874b
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], esi
lea eax, [esi + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0x1e0]
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x94]
cmp esi, ebx
jg 0x588758
mov ebx, esi
cmp ebp, edx
je 0x58879b
mov dword [esp + 0x74], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0xc0], ebp
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00464010
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x1e0]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x5887b0
mov dword [eax + 4], ebp
jmp 0x5887c4
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.00463680
mov eax, ebx
mov edi, edx
movzx ecx, byte [edi]
mov byte [eax], cl
mov edx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], edx
mov dword [esp + 0x1f8], eax
add esp, 0x1d0
ret
mov byte [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
lea eax, [esp + 0x1c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00522a40
mov byte [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
lea eax, [esp + 0x1b0]
mov dword [esp], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00522a40
mov byte [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
lea eax, [esp + 0x1a0]
mov dword [esp], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00522a40
mov byte [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
lea eax, [esp + 0x190]
mov dword [esp], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 8], eax
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00522a40
mov byte [esp + 0x180], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
lea eax, [esp + 0x180]
mov dword [esp], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 8], eax
call fcn.00522480
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x588a06
mov ecx, 0
jmp 0x588a1d
movzx edx, byte [eax]
test dl, dl
je 0x588a16
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x588a1d
test ecx, ecx
mov ecx, 1
jne 0x588a23
xor edx, edx
jmp 0x588a36
movzx edx, byte [eax]
test dl, dl
je 0x588a31
mov edx, 0xffffffff
jmp 0x588a36
mov edx, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x48], ecx
cmp edx, 0xffffffff
jne 0x588a66
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00522240
mov eax, dword [esp + 0x100]
mov byte [esp + 0x170], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.00528e10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], edx
mov eax, dword [esp + 0x100]
movzx ecx, byte [eax]
mov byte [esp + 0x170], cl
lea ecx, [esp + 0x170]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.005226c0
mov byte [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
lea eax, [esp + 0x160]
mov dword [esp], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 4], eax
lea ecx, [esp + 0x170]
mov dword [esp + 8], ecx
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x11c], eax
mov byte [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
lea ecx, [esp + 0x150]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1ec]
mov dword [esp + 8], edx
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x114], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.005226c0
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0x114]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00522a40
mov byte [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
lea eax, [esp + 0x140]
mov dword [esp], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 8], eax
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x110], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.005226c0
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0x110]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00522a40
mov byte [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
lea eax, [esp + 0x130]
mov dword [esp], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 8], eax
call fcn.00522480
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x588ce7
xor ecx, ecx
jmp 0x588cfa
movzx ecx, byte [eax]
test cl, cl
je 0x588cf5
mov ecx, 0xffffffff
jmp 0x588cfa
mov ecx, 1
mov dword [esp + 0x118], eax
cmp ecx, 0xffffffff
jne 0x588d26
mov ecx, dword [esp + 0x1d4]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00522240
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
test ecx, ecx
jne 0x588d37
xor ebp, ebp
jmp 0x588d4c
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x588d47
mov ebp, 0xffffffff
jmp 0x588d4c
mov ebp, 1
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x588db0
test ebp, ebp
jne 0x588db0
mov eax, dword [esp + 0x1d4]
mov dword [esp], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0xc], eax
call fcn.00589370
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], ecx
mov dword [esp + 0x1f8], edx
add esp, 0x1d0
ret
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.00528e10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x118]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x588dfd
mov dword [ebx + 4], eax
jmp 0x588e05
lea edi, [ebx + 4]
call fcn.00463680
mov byte [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
lea eax, [esp + 0x120]
mov dword [esp], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 4], eax
lea eax, [esp + 0x170]
mov dword [esp + 8], eax
call fcn.005226c0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x104], eax
nop
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
cmp ecx, edx
je 0x588fb5
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 4]
mov esi, dword [ecx + 8]
mov dword [esp + 0x90], esi
mov edi, ecx
mov ecx, dword [ecx + 4]
cmp ebx, esi
jge 0x588f30
mov dword [esp + 0xe4], ecx
cmp esi, 1
jne 0x588ee8
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x118]
mov esi, 1
mov ebx, 1
jmp 0x588f30
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.0044a8a0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x90]
cmp esi, ebx
jg 0x588f41
mov ebx, esi
cmp ebp, ecx
je 0x588f83
mov dword [esp + 0x50], esi
mov dword [esp + 0xbc], ebp
mov dword [esp], ebp
mov dword [esp + 4], ecx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.00464010
mov eax, dword [esp + 0x104]
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x118]
mov dword [edx + 8], esi
mov ecx, dword [esp + 0x70]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x588f9c
mov dword [edx + 4], ebp
jmp 0x588fb0
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.00463680
mov eax, esi
mov edi, ebx
movzx ecx, byte [edi]
mov byte [edx], cl
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.005226c0
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 8], ecx
call fcn.00522480
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.00522480
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.00522480
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0xdc]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00522a40
nop
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
je 0x58917e
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp edx, ebp
jl 0x58906d
mov edi, ebp
jmp 0x58910d
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe0], esi
cmp ebp, 1
jne 0x5890ca
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044a8a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebp, 1
mov edx, 1
jmp 0x58910d
lea eax, [0x638160]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.0044a8a0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebp, edi
mov edx, dword [esp + 0x28]
cmp ebp, edi
jg 0x589113
mov edi, ebp
cmp ebx, esi
je 0x589156
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0xb8], ebx
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.00464010
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x4c]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov edx, dword [0x893c80]
test edx, edx
jne 0x58916b
mov dword [ecx + 4], ebx
jmp 0x589179
lea edi, [ecx + 4]
mov edx, eax
mov eax, ebx
call fcn.00463680
mov eax, edx
movzx eax, byte [eax]
mov byte [ecx], al
mov eax, dword [esp + 0x104]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xdc]
mov dword [esp + 8], ecx
call fcn.00522480
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x104]
mov dword [esp + 8], ecx
call fcn.005226c0
mov eax, dword [esp + 0x114]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 8], ecx
call fcn.005226c0
nop
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 1
call fcn.00528e10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x114]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [0x893c80]
test ecx, ecx
jne 0x589235
mov dword [ebx + 4], eax
jmp 0x58923d
lea edi, [ebx + 4]
call fcn.00463680
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00522480
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov edx, dword [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00522a40
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0x1e0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1ec]
mov dword [esp + 8], ecx
call fcn.00522240
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.005226c0
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], ecx
call fcn.00522480
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 8], ecx
call fcn.00522480
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x100]
mov dword [esp + 8], ecx
call fcn.005226c0
mov eax, dword [esp + 0x1d4]
mov eax, dword [eax]
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00522a40
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x1f8], eax
add esp, 0x1d0
ret
call fcn.00462270
jmp fcn.00587ec0