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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x67c616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0064dc20
lea ecx, [esp + 0x58]
call fcn.0064dc20
lea ecx, [esp + 0x28]
call fcn.0064dc20
lea ecx, [esp + 0x40]
call fcn.0064dc20
lea ecx, [esp + 0xb8]
call fcn.00654ac0
mov eax, dword [esi + 0x54]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1b0], ebx
jne 0x586fe2
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0x70]
push eax
call fcn.0048f0e0
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x70]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x48]
push eax
mov dword [esp + 0x28], edx
call fcn.0048f100
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
jmp 0x58705c
mov ecx, dword [esi + 0x48]
lea eax, [esp + 0x70]
push eax
call fcn.0048f0e0
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x70]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x48]
push eax
mov dword [esp + 0x70], edx
call fcn.0048f100
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
cmp dword [esi + 0x58], ebx
jne 0x5870dd
mov ecx, dword [esi + 0x50]
lea eax, [esp + 0x70]
push eax
call fcn.0048f0e0
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x70]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x50]
push eax
mov dword [esp + 0x40], edx
call fcn.0048f100
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jmp 0x587157
mov ecx, dword [esi + 0x50]
lea eax, [esp + 0x70]
push eax
call fcn.0048f0e0
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x70]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x50]
push eax
mov dword [esp + 0x58], edx
call fcn.0048f100
mov ecx, eax
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fld qword [esp + 0x58]
fsub qword [esp + 0x10]
fld qword [esp + 0x60]
fsub qword [esp + 0x18]
fstp qword [esp + 0x90]
fld qword [esp + 0x68]
fsub qword [esp + 0x20]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
fstp qword [esp + 0x98]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
fstp qword [esp + 0xa0]
fld qword [esp + 0x40]
fsub qword [esp + 0x28]
fld qword [esp + 0x48]
fsub qword [esp + 0x30]
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], eax
fstp qword [esp + 0x90]
fld qword [esp + 0x50]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
fsub qword [esp + 0x38]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
lea edx, [esp + 0xa0]
push edx
lea edx, [esp + 0x2c]
fstp qword [esp + 0x9c]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
fstp qword [esp + 0x74]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x74]
push eax
push ecx
lea eax, [esp + 0x13c]
push edx
push eax
call fcn.006567f0
add esp, 0x14
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1b4], 1
call fcn.00654de0
lea ecx, [esp + 0x130]
mov byte [esp + 0x1b0], 0
call fcn.00456760
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, ebx
jne 0x58729f
sub esp, 0x78
lea edx, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.00654cc0
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
mov edi, dword [esi + 0x4c]
push ebx
push ecx
mov ecx, dword [esi + 0x50]
jmp 0x587308
cmp eax, 1
jne 0x58730d
mov ecx, dword [esi + 0x4c]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x68]
mov edi, eax
sub esp, 0x78
lea eax, [esp + 0x130]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00654cc0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov ecx, dword [esi + 0x4c]
call fcn.004d8ca0
test eax, eax
mov dword [esp + 0xc], eax
jle 0x58730d
mov ecx, dword [esi + 0x4c]
push ebx
call fcn.004d8cb0
cmp eax, dword [esi + 0x50]
je 0x5872f8
mov eax, dword [esp + 0xc]
inc ebx
cmp ebx, eax
jl 0x5872df
jmp 0x58730d
push ebx
mov ecx, edi
call fcn.004d8cb0
mov ecx, dword [ebp + 8]
push 0
push ecx
mov ecx, eax
call fcn.004933f0
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
push 0
push edx
push eax
push edi
call fcn.004e9620
mov ebx, dword [esi + 0x64]
mov ecx, dword [esi + 0x44]
lea edi, [esi + 0x5c]
mov dword [esp + 0xc], ecx
lea edx, [ebx + 1]
push 0xffffffffffffffff
push edx
mov ecx, edi
call fcn.0048b670
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0xc]
mov dword [eax + ebx*4], ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x587352
mov dword [esi + 0x4c], 0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.00456760
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8