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

Disassembly:
mov ecx, dword [0x85d3cc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x150]
cmp eax, dword [ecx + 8]
jbe 0x58c486
sub esp, 0x1d0
lea eax, [0x671a20]
mov dword [esp], eax
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [esp + 0xdc], eax
lea ecx, [0x671a20]
mov dword [esp], ecx
call fcn.0040c260
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
lea ecx, [0x671a20]
mov dword [esp], ecx
call fcn.0040c260
mov eax, dword [esp + 0x1e0]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x58b0b3
xor ecx, ecx
jmp 0x58b0c6
movzx ecx, byte [eax]
test cl, cl
je 0x58b0c1
mov ecx, 0xffffffff
jmp 0x58b0c6
mov ecx, 1
mov edx, dword [esp + 4]
mov dword [esp + 0xac], edx
test ecx, ecx
jne 0x58b4f9
nop
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0xdc]
cmp eax, ecx
je 0x58b230
mov ebx, dword [ecx + 0xc]
mov ebp, dword [eax + 8]
mov dword [esp + 0xa8], ebp
mov esi, dword [eax + 4]
cmp ebx, ebp
jl 0x58b10c
mov edi, dword [ecx + 4]
jmp 0x58b1aa
mov dword [esp + 0xfc], esi
cmp ebp, 1
jne 0x58b162
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58b1aa
lea eax, [0x662560]
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.0044d740
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 0x58b1b7
mov edx, ebp
cmp edi, esi
je 0x58b200
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.00468970
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 [0x85d680]
test edx, edx
je 0x58b221
mov edx, edi
call fcn.00468040
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 0x58b38a
mov ebp, dword [ebx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0xa4], esi
mov edi, dword [eax + 4]
cmp ebp, esi
jl 0x58b263
mov ecx, dword [ebx + 4]
jmp 0x58b301
mov dword [esp + 0xf8], edi
cmp esi, 1
jne 0x58b2b9
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58b301
lea eax, [0x662560]
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.0044d740
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 0x58b30e
mov edx, esi
cmp ecx, edi
je 0x58b357
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.00468970
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 [0x85d680]
test edx, edx
je 0x58b374
call fcn.00468040
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 0x58b4dd
mov ebp, dword [edx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0xa0], esi
mov edi, dword [eax + 4]
cmp ebp, esi
jl 0x58b3b6
mov ebx, dword [edx + 4]
jmp 0x58b454
mov dword [esp + 0xf4], edi
cmp esi, 1
jne 0x58b40c
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58b454
lea eax, [0x662560]
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.0044d740
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 0x58b461
mov ecx, esi
cmp ebx, edi
je 0x58b4aa
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.00468970
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 [0x85d680]
test ecx, ecx
je 0x58b4c7
call fcn.00468040
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 0x58b50b
xor ebx, ebx
jmp 0x58b51e
movzx ebx, byte [ecx]
test bl, bl
je 0x58b519
mov ebx, 0xffffffff
jmp 0x58b51e
mov ebx, 1
test ebx, ebx
jne 0x58b938
nop
mov ecx, dword [esp + 0x1d8]
mov ebx, dword [esp + 0xdc]
cmp ecx, ebx
je 0x58b67a
mov ebp, dword [ebx + 0xc]
mov esi, dword [ecx + 8]
mov dword [esp + 0x9c], esi
mov edi, dword [ecx + 4]
cmp esi, ebp
jg 0x58b559
mov eax, dword [ebx + 4]
jmp 0x58b5f7
mov dword [esp + 0xf0], edi
cmp esi, 1
jne 0x58b5af
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58b5f7
lea eax, [0x662560]
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.0044d740
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 0x58b604
mov edx, esi
cmp eax, edi
je 0x58b647
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.00468970
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 [0x85d680]
test edx, edx
je 0x58b664
call fcn.00468040
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 0x58b7d6
mov esi, dword [ebp + 0xc]
mov edi, dword [ecx + 8]
mov dword [esp + 0x98], edi
mov ebx, dword [ecx + 4]
cmp esi, edi
jl 0x58b6ad
mov eax, dword [ebp + 4]
jmp 0x58b74b
mov dword [esp + 0xec], ebx
cmp edi, 1
jne 0x58b703
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58b74b
lea eax, [0x662560]
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.0044d740
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 0x58b758
mov edx, edi
cmp eax, ebx
je 0x58b79b
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.00468970
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 [0x85d680]
test edx, edx
je 0x58b7b8
call fcn.00468040
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 0x58b91c
mov ecx, dword [edx + 0xc]
mov esi, dword [eax + 8]
mov dword [esp + 0x94], esi
mov edi, dword [eax + 4]
cmp ecx, esi
jl 0x58b7fb
mov ebp, dword [edx + 4]
jmp 0x58b899
mov dword [esp + 0xe8], edi
cmp esi, 1
jne 0x58b851
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58b899
lea eax, [0x662560]
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.0044d740
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 0x58b8a6
mov ebx, esi
cmp ebp, edi
je 0x58b8e9
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.00468970
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 [0x85d680]
test ecx, ecx
je 0x58b906
call fcn.00468040
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.0057b0d0
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.0057b440
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.0057b0d0
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.0057b440
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.0057b0d0
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.0057b440
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.0057b0d0
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.0057b440
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.0057ae80
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x58bb4b
mov ecx, 0
jmp 0x58bb62
movzx edx, byte [eax]
test dl, dl
je 0x58bb5b
test ecx, ecx
mov ecx, 0xffffffff
jmp 0x58bb62
test ecx, ecx
mov ecx, 1
jne 0x58bb68
xor edx, edx
jmp 0x58bb7b
movzx edx, byte [eax]
test dl, dl
je 0x58bb76
mov edx, 0xffffffff
jmp 0x58bb7b
mov edx, 1
mov dword [esp + 0x100], eax
mov dword [esp + 0x48], ecx
cmp edx, 0xffffffff
jne 0x58bbab
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.0057ac30
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.00581b80
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.0057b0d0
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.0057b0d0
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.0057b0d0
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.0057b0d0
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.0057b440
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.0057b0d0
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.0057b0d0
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.0057b440
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.0057ae80
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x58be2c
xor ecx, ecx
jmp 0x58be3f
movzx ecx, byte [eax]
test cl, cl
je 0x58be3a
mov ecx, 0xffffffff
jmp 0x58be3f
mov ecx, 1
mov dword [esp + 0x118], eax
cmp ecx, 0xffffffff
jne 0x58be6b
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.0057ac30
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x58be76
xor edx, edx
jmp 0x58be89
movzx edx, byte [eax]
test dl, dl
je 0x58be84
mov edx, 0xffffffff
jmp 0x58be89
mov edx, 1
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x58beed
test edx, edx
jne 0x58beed
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.0058c490
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.00581b80
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 [0x85d680]
test eax, eax
je 0x58bf48
call fcn.00468040
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.0057b0d0
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 0x58c0e0
mov ebx, dword [edx + 0xc]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x90], ebp
mov esi, dword [ecx + 4]
cmp ebx, ebp
jl 0x58bfd7
mov edi, dword [edx + 4]
jmp 0x58c067
mov dword [esp + 0xe4], esi
cmp ebp, 1
jne 0x58c026
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58c067
lea eax, [0x662560]
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.0044d740
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 0x58c074
mov eax, ebp
cmp edi, esi
je 0x58c0b7
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.00468970
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 [0x85d680]
test eax, eax
je 0x58c0d8
mov eax, edi
call fcn.00468040
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.0057b0d0
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.0057ae80
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.0057ae80
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.0057ae80
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.0057b440
nop
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0xd8]
cmp eax, ecx
je 0x58c2a6
mov edx, dword [ecx + 0xc]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp edx, ebx
jl 0x58c198
mov esi, dword [ecx + 4]
mov edi, ebx
jmp 0x58c238
mov dword [esp + 0x8c], ebx
mov dword [esp + 0xe0], ebp
cmp ebx, 1
jne 0x58c1f5
lea eax, [0x662560]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.0044d740
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 0x58c238
lea eax, [0x662560]
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.0044d740
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 0x58c23e
mov edi, ebx
cmp esi, ebp
je 0x58c281
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.00468970
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 [0x85d680]
test edx, edx
je 0x58c29e
call fcn.00468040
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.0057ae80
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.0057b0d0
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.0057b0d0
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.00581b80
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 [0x85d680]
test eax, eax
je 0x58c365
call fcn.00468040
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.0057ae80
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.0057b440
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.0057ac30
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0057b0d0
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.0057ae80
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.0057ae80
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.0057b0d0
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.0057b440
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.00466c30
jmp fcn.0058b040