Function at 0x586d40
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 0x5881db
sub esp, 0x1d0
lea eax, [0x673560]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
lea ecx, [0x673560]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
lea ecx, [0x673560]
mov dword [esp], ecx
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x1e0]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x586db9
xor edx, edx
jmp 0x586dcc
movzx edx, byte [ecx]
test dl, dl
je 0x586dc7
mov edx, 0xffffffff
jmp 0x586dcc
mov edx, 1
mov dword [esp + 0xac], eax
test edx, edx
jne 0x587217
nop
mov ecx, dword [esp + 0x1e4]
mov edx, dword [esp + 0xdc]
cmp ecx, edx
je 0x586f38
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 esi, ebx
jle 0x586ead
mov dword [esp + 0xfc], ecx
cmp esi, 1
jne 0x586e65
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x586ead
lea eax, [0x6625a0]
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.0044b410
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 0x586ec1
mov ebx, esi
cmp ebp, ecx
je 0x586f03
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.004633f0
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 [0x8e4520]
test ecx, ecx
jne 0x586f1f
mov dword [edx + 4], ebp
jmp 0x586f33
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.00462a70
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 0x58709e
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 0x58700a
mov dword [esp + 0xf8], ecx
cmp edx, 1
jne 0x586fc2
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x58700a
lea eax, [0x6625a0]
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.0044b410
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 0x58701e
mov ebp, edx
cmp esi, ecx
je 0x587060
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.004633f0
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 [0x8e4520]
test ecx, ecx
jne 0x58707c
mov dword [ebx + 4], esi
jmp 0x587090
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.00462a70
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1e8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x5870a0
mov edi, edx
nop
mov ecx, dword [esp + 0x1ec]
cmp ecx, eax
je 0x5871fb
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 0x587169
mov dword [esp + 0xf4], ebx
cmp esi, 1
jne 0x587121
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x587169
lea eax, [0x6625a0]
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.0044b410
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 0x587176
mov ecx, esi
cmp ebp, ebx
je 0x5871bf
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.004633f0
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 [0x8e4520]
test ecx, ecx
jne 0x5871d4
mov dword [eax + 4], ebp
jmp 0x5871e8
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.00462a70
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 0x587229
xor ebx, ebx
jmp 0x58723c
movzx ebx, byte [edx]
test bl, bl
je 0x587237
mov ebx, 0xffffffff
jmp 0x58723c
mov ebx, 1
test ebx, ebx
jne 0x587673
nop
mov edx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
cmp edx, ebx
je 0x5873a4
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 ebp, ecx
jge 0x587316
mov dword [esp + 0xf0], edx
cmp ecx, 1
jne 0x5872ce
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x587316
lea eax, [0x6625a0]
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.0044b410
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 0x587327
mov ebp, ecx
cmp esi, edx
je 0x587369
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.004633f0
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 [0x8e4520]
test ecx, ecx
jne 0x587382
mov dword [ebx + 4], esi
jmp 0x587396
lea ecx, [ebx + 4]
mov edx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.00462a70
mov eax, ebp
mov edi, edx
mov ecx, dword [esp + 0x1d8]
movzx ecx, byte [ecx]
mov byte [ebx], cl
jmp 0x5873a6
mov edi, ecx
nop
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xd8]
cmp ecx, edx
je 0x587509
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 0x587476
mov dword [esp + 0xec], ecx
cmp ebx, 1
jne 0x58742e
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x587476
lea eax, [0x6625a0]
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.0044b410
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 0x587487
mov ebp, ebx
cmp esi, ecx
je 0x5874c9
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.004633f0
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 [0x8e4520]
test ecx, ecx
jne 0x5874e2
mov dword [edx + 4], esi
jmp 0x5874f6
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, esi
call fcn.00462a70
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 0x587657
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 0x5875cb
mov dword [esp + 0xe8], edx
cmp esi, 1
jne 0x587583
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x5875cb
lea eax, [0x6625a0]
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.0044b410
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 0x5875d8
mov ebx, esi
cmp ebp, edx
je 0x58761b
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.004633f0
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 [0x8e4520]
test ecx, ecx
jne 0x587630
mov dword [eax + 4], ebp
jmp 0x587644
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, ebp
call fcn.00462a70
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.005221d0
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.00522550
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.005221d0
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.00522550
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.005221d0
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.00522550
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.005221d0
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.00522550
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.00521f90
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x587886
mov ecx, 0
jmp 0x58789d
movzx edx, byte [eax]
test dl, dl
je 0x587896
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x58789d
test ecx, ecx
mov ecx, 1
jne 0x5878a3
xor edx, edx
jmp 0x5878b6
movzx edx, byte [eax]
test dl, dl
je 0x5878b1
mov edx, 0xffffffff
jmp 0x5878b6
mov edx, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x48], ecx
cmp edx, 0xffffffff
jne 0x5878e6
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.00521d50
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.00528e00
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.005221d0
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.005221d0
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.005221d0
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.005221d0
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.00522550
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.005221d0
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.005221d0
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.00522550
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.00521f90
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x587b67
xor ecx, ecx
jmp 0x587b7a
movzx ecx, byte [eax]
test cl, cl
je 0x587b75
mov ecx, 0xffffffff
jmp 0x587b7a
mov ecx, 1
mov dword [esp + 0x118], eax
cmp ecx, 0xffffffff
jne 0x587ba6
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.00521d50
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
test ecx, ecx
jne 0x587bb7
xor ebp, ebp
jmp 0x587bcc
movzx ebp, byte [eax]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x587bc7
mov ebp, 0xffffffff
jmp 0x587bcc
mov ebp, 1
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x587c30
test ebp, ebp
jne 0x587c30
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.005881f0
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.00528e00
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 [0x8e4520]
test ecx, ecx
jne 0x587c7d
mov dword [ebx + 4], eax
jmp 0x587c85
lea edi, [ebx + 4]
call fcn.00462a70
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.005221d0
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 0x587e35
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 0x587db0
mov dword [esp + 0xe4], ecx
cmp esi, 1
jne 0x587d68
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x587db0
lea eax, [0x6625a0]
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.0044b410
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 0x587dc1
mov ebx, esi
cmp ebp, ecx
je 0x587e03
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.004633f0
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 [0x8e4520]
test ecx, ecx
jne 0x587e1c
mov dword [edx + 4], ebp
jmp 0x587e30
lea ecx, [edx + 4]
mov ebx, edi
mov edi, ecx
mov esi, eax
mov eax, ebp
call fcn.00462a70
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.005221d0
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.00521f90
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.00521f90
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.00521f90
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.00522550
nop
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
je 0x587ffe
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp edx, ebp
jl 0x587eed
mov edi, ebp
jmp 0x587f8d
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xe0], esi
cmp ebp, 1
jne 0x587f4a
lea eax, [0x6625a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044b410
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 0x587f8d
lea eax, [0x6625a0]
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.0044b410
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 0x587f93
mov edi, ebp
cmp ebx, esi
je 0x587fd6
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.004633f0
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 [0x8e4520]
test edx, edx
jne 0x587feb
mov dword [ecx + 4], ebx
jmp 0x587ff9
lea edi, [ecx + 4]
mov edx, eax
mov eax, ebx
call fcn.00462a70
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.00521f90
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.005221d0
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.005221d0
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.00528e00
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 [0x8e4520]
test ecx, ecx
jne 0x5880b5
mov dword [ebx + 4], eax
jmp 0x5880bd
lea edi, [ebx + 4]
call fcn.00462a70
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00521f90
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.00522550
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.00521d50
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.005221d0
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.00521f90
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.00521f90
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.005221d0
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.00522550
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.00461660
jmp fcn.00586d40