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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x5877d6
sub esp, 0x1d0
lea eax, [0x65c2e0]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
lea ecx, [0x65c2e0]
mov dword [esp], ecx
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
lea ecx, [0x65c2e0]
mov dword [esp], ecx
call fcn.0040c880
mov eax, dword [esp + 0x1e0]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x586403
xor ecx, ecx
jmp 0x586416
movzx ecx, byte [eax]
test cl, cl
je 0x586411
mov ecx, 0xffffffff
jmp 0x586416
mov ecx, 1
mov edx, dword [esp + 4]
mov dword [esp + 0xac], edx
test ecx, ecx
jne 0x586849
nop
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
cmp eax, ecx
je 0x586580
mov ebx, dword [ecx + 0xc]
mov ebp, dword [eax + 8]
mov dword [esp + 0xa8], ebp
mov esi, dword [eax + 4]
cmp ebx, ebp
jl 0x58645c
mov edi, dword [ecx + 4]
jmp 0x5864fa
mov dword [esp + 0xfc], esi
cmp ebp, 1
jne 0x5864b2
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xfc]
mov ebp, 1
mov ebx, 1
jmp 0x5864fa
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.0044f930
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xfc]
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xa8]
cmp ebp, edx
jg 0x586507
mov edx, ebp
cmp edi, esi
je 0x586550
mov dword [esp + 0x68], ebp
mov dword [esp + 0xd4], edi
mov dword [esp + 0x88], ebx
mov dword [esp], edi
mov dword [esp + 4], esi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0046af80
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x68]
mov edi, dword [esp + 0xd4]
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov edx, dword [0x8489b0]
test edx, edx
je 0x586571
mov edx, edi
call fcn.0046a610
mov dword [edi], edx
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
mov edi, edx
mov dword [ecx + 4], edi
movzx eax, byte [eax]
mov byte [ecx], al
mov edx, dword [esp + 0xac]
nop
mov eax, dword [esp + 0x1e8]
mov ebx, dword [esp + 0xd8]
cmp eax, ebx
je 0x5866da
mov ebp, dword [ebx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0xa4], esi
mov edi, dword [eax + 4]
cmp ebp, esi
jl 0x5865b3
mov ecx, dword [ebx + 4]
jmp 0x586651
mov dword [esp + 0xf8], edi
cmp esi, 1
jne 0x586609
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1e8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xf8]
mov esi, 1
mov ebp, 1
jmp 0x586651
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 8], ecx
call fcn.0044f930
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1e8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0xf8]
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0xa4]
cmp esi, edx
jg 0x58665e
mov edx, esi
cmp ecx, edi
je 0x5866a7
mov dword [esp + 0x84], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0xd0], ecx
mov dword [esp], ecx
mov dword [esp + 4], edi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0046af80
mov eax, dword [esp + 0x1e8]
mov ecx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x64]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ebp
mov edx, dword [0x8489b0]
test edx, edx
je 0x5866c4
call fcn.0046a610
mov dword [edi], ecx
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
mov dword [ebx + 4], ecx
movzx eax, byte [eax]
mov byte [ebx], al
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
nop
mov eax, dword [esp + 0x1ec]
cmp eax, edx
je 0x58682d
mov ebp, dword [edx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0xa0], esi
mov edi, dword [eax + 4]
cmp ebp, esi
jl 0x586706
mov ebx, dword [edx + 4]
jmp 0x5867a4
mov dword [esp + 0xf4], edi
cmp esi, 1
jne 0x58675c
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xf4]
mov esi, 1
mov ebp, 1
jmp 0x5867a4
lea eax, [0x64cc60]
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.0044f930
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x1ec]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xf4]
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa0]
cmp esi, ecx
jg 0x5867b1
mov ecx, esi
cmp ebx, edi
je 0x5867fa
mov dword [esp + 0x80], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0xcc], ebx
mov dword [esp], ebx
mov dword [esp + 4], edi
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.0046af80
mov eax, dword [esp + 0x1ec]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x60]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebp
mov ecx, dword [0x8489b0]
test ecx, ecx
je 0x586817
call fcn.0046a610
mov dword [edi], ebx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], ebx
movzx eax, byte [eax]
mov byte [edx], al
mov ecx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x1f0], ecx
mov dword [esp + 0x1f4], ebx
mov dword [esp + 0x1f8], edx
add esp, 0x1d0
ret
mov ecx, dword [esp + 0x1ec]
mov ebx, dword [ecx + 8]
test ebx, ebx
jne 0x58685b
xor ebx, ebx
jmp 0x58686e
movzx ebx, byte [ecx]
test bl, bl
je 0x586869
mov ebx, 0xffffffff
jmp 0x58686e
mov ebx, 1
test ebx, ebx
jne 0x586c88
nop
mov ecx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
cmp ecx, ebx
je 0x5869ca
mov ebp, dword [ebx + 0xc]
mov esi, dword [ecx + 8]
mov dword [esp + 0x9c], esi
mov edi, dword [ecx + 4]
cmp esi, ebp
jg 0x5868a9
mov eax, dword [ebx + 4]
jmp 0x586947
mov dword [esp + 0xf0], edi
cmp esi, 1
jne 0x5868ff
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xf0]
mov esi, 1
mov ebp, 1
jmp 0x586947
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 8], ecx
call fcn.0044f930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xf0]
mov esi, dword [esp + 0x9c]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x9c]
cmp esi, edx
jg 0x586954
mov edx, esi
cmp eax, edi
je 0x586997
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0xc8], eax
mov dword [esp], eax
mov dword [esp + 4], edi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0046af80
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x5c]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ebp
mov edx, dword [0x8489b0]
test edx, edx
je 0x5869b4
call fcn.0046a610
mov dword [edi], eax
mov edx, dword [ebx + 4]
mov dword [edi + 4], edx
mov dword [ebx + 4], eax
movzx eax, byte [ecx]
mov byte [ebx], al
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
nop
mov ecx, dword [esp + 0x1dc]
mov ebp, dword [esp + 0xd8]
cmp ecx, ebp
je 0x586b26
mov esi, dword [ebp + 0xc]
mov edi, dword [ecx + 8]
mov dword [esp + 0x98], edi
mov ebx, dword [ecx + 4]
cmp esi, edi
jl 0x5869fd
mov eax, dword [ebp + 4]
jmp 0x586a9b
mov dword [esp + 0xec], ebx
cmp edi, 1
jne 0x586a53
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xd8]
mov edi, 1
mov esi, 1
jmp 0x586a9b
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [edi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ecx
call fcn.0044f930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1dc]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xd8]
mov edi, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x98]
cmp edi, edx
jg 0x586aa8
mov edx, edi
cmp eax, ebx
je 0x586aeb
mov dword [esp + 0x78], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0xc4], eax
mov dword [esp], eax
mov dword [esp + 4], ebx
shl edx, 2
mov dword [esp + 8], edx
call fcn.0046af80
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x1dc]
mov ebp, dword [esp + 0xd8]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x58]
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], esi
mov edx, dword [0x8489b0]
test edx, edx
je 0x586b08
call fcn.0046a610
mov dword [edi], eax
mov edx, dword [ebp + 4]
mov dword [edi + 4], edx
mov dword [ebp + 4], eax
movzx eax, byte [ecx]
mov byte [ebp], al
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
nop
cmp eax, edx
je 0x586c6c
mov ecx, dword [edx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0x94], esi
mov edi, dword [eax + 4]
cmp ecx, esi
jl 0x586b4b
mov ebp, dword [edx + 4]
jmp 0x586be9
mov dword [esp + 0xe8], edi
cmp esi, 1
jne 0x586ba1
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe8]
mov esi, 1
mov ecx, 1
jmp 0x586be9
lea eax, [0x64cc60]
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.0044f930
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x94]
cmp esi, ebx
jg 0x586bf6
mov ebx, esi
cmp ebp, edi
je 0x586c39
mov dword [esp + 0x74], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0xc0], ebp
mov dword [esp], ebp
mov dword [esp + 4], edi
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0046af80
mov eax, dword [esp + 0x1e0]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0xc0]
mov esi, dword [esp + 0x54]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov ecx, dword [0x8489b0]
test ecx, ecx
je 0x586c56
call fcn.0046a610
mov dword [edi], ebp
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], ebp
movzx eax, byte [eax]
mov byte [edx], al
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x1f4], ebp
mov dword [esp + 0x1f8], edx
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 ecx, [esp + 0x1c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004ea1c0
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.004ea530
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.004ea1c0
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.004ea530
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.004ea1c0
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.004ea530
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.004ea1c0
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.004ea530
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.004e9f70
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x586e9b
mov ecx, 0
jmp 0x586eb2
movzx edx, byte [eax]
test dl, dl
je 0x586eab
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x586eb2
test ecx, ecx
mov ecx, 1
jne 0x586eb8
xor edx, edx
jmp 0x586ecb
movzx edx, byte [eax]
test dl, dl
je 0x586ec6
mov edx, 0xffffffff
jmp 0x586ecb
mov edx, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x48], ecx
cmp edx, 0xffffffff
jne 0x586efb
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.004e9d20
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.004f0d20
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.004ea1c0
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.004ea1c0
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.004ea1c0
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.004ea1c0
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.004ea530
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.004ea1c0
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.004ea1c0
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.004ea530
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.004e9f70
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x58717c
xor ecx, ecx
jmp 0x58718f
movzx ecx, byte [eax]
test cl, cl
je 0x58718a
mov ecx, 0xffffffff
jmp 0x58718f
mov ecx, 1
mov dword [esp + 0x118], eax
cmp ecx, 0xffffffff
jne 0x5871bb
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.004e9d20
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5871c6
xor edx, edx
jmp 0x5871d9
movzx edx, byte [eax]
test dl, dl
je 0x5871d4
mov edx, 0xffffffff
jmp 0x5871d9
mov edx, 1
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x58723d
test edx, edx
jne 0x58723d
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.005877e0
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
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
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.004f0d20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x118]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x8489b0]
test eax, eax
je 0x587298
call fcn.0046a610
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
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.004ea1c0
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 0x587430
mov ebx, dword [edx + 0xc]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x90], ebp
mov esi, dword [ecx + 4]
cmp ebx, ebp
jl 0x587327
mov edi, dword [edx + 4]
jmp 0x5873b7
mov dword [esp + 0xe4], esi
cmp ebp, 1
jne 0x587376
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe4]
mov ebp, 1
mov ebx, 1
jmp 0x5873b7
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.0044f930
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe4]
mov ebp, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x90]
cmp ebp, eax
jg 0x5873c4
mov eax, ebp
cmp edi, esi
je 0x587407
mov dword [esp + 0x70], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0xbc], edi
mov dword [esp], edi
mov dword [esp + 4], esi
shl eax, 2
mov dword [esp + 8], eax
call fcn.0046af80
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0xbc]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], ebx
mov eax, dword [0x8489b0]
test eax, eax
je 0x587428
mov eax, edi
call fcn.0046a610
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edi, eax
mov dword [edx + 4], edi
movzx eax, byte [ecx]
mov byte [edx], al
mov dword [esp], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004ea1c0
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.004e9f70
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.004e9f70
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.004e9f70
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.004ea530
nop
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
je 0x5875f6
mov edx, dword [ecx + 0xc]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp edx, ebx
jl 0x5874e8
mov esi, dword [ecx + 4]
mov edi, ebx
jmp 0x587588
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xe0], ebp
cmp ebx, 1
jne 0x587545
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044f930
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebx, 1
mov edx, 1
jmp 0x587588
lea eax, [0x64cc60]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
call fcn.0044f930
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0x8c]
mov ebx, edi
mov edx, dword [esp + 0x28]
cmp ebx, edi
jg 0x58758e
mov edi, ebx
cmp esi, ebp
je 0x5875d1
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xb8], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.0046af80
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0xb8]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [0x8489b0]
test edx, edx
je 0x5875ee
call fcn.0046a610
mov dword [edi], esi
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], esi
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.004e9f70
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.004ea1c0
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.004ea1c0
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
nop
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.004f0d20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x114]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x8489b0]
test eax, eax
je 0x5876b5
call fcn.0046a610
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004e9f70
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.004ea530
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.004e9d20
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004ea1c0
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.004e9f70
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.004e9f70
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.004ea1c0
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.004ea530
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.00469200
jmp fcn.00586390