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

Disassembly:
push 0xfc
mov eax, 0x620ffd
call fcn.005a8f2c
mov edi, dword [ebp + 8]
or dword [edi + 0x2da0], 0xffffffff
xor ebx, ebx
lea esi, [edi + 0x1998]
mov eax, dword [esi]
call fcn.0059eb4b
test al, al
jne 0x586106
mov eax, dword [esi]
cmp ebx, dword [ebp + 0xc]
jne 0x586101
call fcn.0059eada
jmp 0x586106
call fcn.0059eae9
inc ebx
add esi, 4
cmp ebx, 0xa
jl 0x5860e8
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2d9c], eax
xor edx, edx
lea ecx, [edi + 0x1ad8]
mov eax, dword [ecx]
test eax, eax
je 0x586146
mov esi, dword [edi + 0x2d98]
imul esi, esi, 0xa
add esi, dword [edi + 0x2d9c]
cmp edx, esi
jne 0x586142
mov dword [eax + 0x2c], 0xff
jmp 0x586146
and dword [eax + 0x2c], 0
inc edx
add ecx, 4
cmp edx, 0x64
jb 0x586120
lea eax, [edi + 0x1b8]
mov ebx, 0x1f4
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.0059ea60
add dword [ebp + 0xc], 4
dec dword [ebp - 0x10]
jne 0x586160
lea eax, [edi + 0x988]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.0059ea60
add dword [ebp + 0xc], 4
dec dword [ebp - 0x10]
jne 0x58617f
lea eax, [edi + 0x1158]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.0059f0f2
add dword [ebp + 0xc], 4
dec dword [ebp - 0x10]
jne 0x58619e
lea esi, [edi + 0x2dcc]
call fcn.004666eb
add esi, 0x5ebe4
dec ebx
jne 0x5861b7
mov eax, dword [edi + 0x1c]
imul eax, dword [edi + 0x18]
and dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x5864d8
lea eax, [edi + 0x3c]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x20]
mov dword [ebp - 0x20], eax
lea esi, [edi + 0x1b8]
lea eax, [edi + 0x2dd0]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
jmp 0x586200
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
push dword [edi + 0xb4]
mov ebx, dword [esi]
push dword [edi + 0xb0]
push dword [edi + 0xac]
push dword [edi + 0xa8]
push dword [edi + 0xa4]
push dword [edi + 0xa0]
push dword [edi + 0x9c]
push dword [edi + 0x98]
push dword [edi + 0x94]
push dword [edi + 0x90]
push dword [edi + 0x64]
push dword [edi + 0x60]
push 1
push dword [ebp - 0x1c]
push 0
call fcn.0059e7f8
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x18]
cdq
idiv ecx
mov ecx, dword [edi + 0xd0]
imul ecx, edx
mov edx, dword [edi + 0xd4]
add ecx, dword [edi + 0xc8]
imul edx, eax
add edx, dword [edi + 0xcc]
mov eax, dword [esi]
push edx
push ecx
call fcn.0059eb5c
mov eax, dword [esi]
mov dword [eax + 0x20], 0xff
push dword [edi + 0x8c]
mov ebx, dword [esi + 0x7d0]
push dword [edi + 0x88]
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 0x7c]
push dword [edi + 0x78]
push dword [edi + 0x74]
push dword [edi + 0x70]
push dword [edi + 0x6c]
push dword [edi + 0x68]
push dword [edi + 0x5c]
push dword [edi + 0x58]
push 1
push dword [ebp - 0x20]
push 0
call fcn.0059e7f8
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x18]
mov eax, ebx
cdq
idiv ecx
mov ecx, dword [edi + 0xc0]
imul ecx, edx
mov edx, dword [edi + 0xc4]
add ecx, dword [edi + 0xb8]
imul edx, eax
add edx, dword [edi + 0xbc]
mov eax, dword [esi + 0x7d0]
push edx
push ecx
call fcn.0059eb5c
mov esi, dword [esi + 0x7d0]
mov dword [esi + 0x20], 0xff
mov eax, dword [edi + 0x2d9c]
imul eax, dword [ebp - 0x10]
lea eax, [eax + ebx + 1]
push eax
push 0x63ef28
lea esi, [ebp - 0xb4]
call fcn.00488abf
mov esi, eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.0048920c
mov byte [ebp - 4], 1
push esi
push eax
lea edi, [ebp - 0x7c]
call fcn.00413200
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00488cf7
add esp, 0x14
mov edi, dword [ebp - 0x18]
push eax
lea ecx, [edi - 4]
mov byte [ebp - 4], 3
call fcn.0046676f
lea ecx, [ebp - 0x44]
call fcn.00401370
lea ecx, [ebp - 0x7c]
call fcn.00401370
lea ecx, [ebp - 0xec]
call fcn.00401370
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00401370
cmp byte [edi], 0
mov ebx, dword [ebp + 8]
je 0x58649a
mov eax, dword [ebx + 0x2d9c]
imul eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
lea eax, [eax + ecx + 1]
push eax
push 0x63ef3c
lea esi, [ebp - 0x108]
mov dword [ebp - 0x24], 1
call fcn.00488abf
mov esi, eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 4
call fcn.0048920c
push esi
push eax
lea edi, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.00413200
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.00488cf7
add esp, 0x14
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 7
push dword [ebp - 0x24]
xor ecx, ecx
inc ecx
push ecx
push 0
push eax
mov eax, dword [esi + 0xfa0]
call fcn.0059f04e
lea ecx, [ebp - 0x60]
call fcn.00401370
mov ecx, edi
call fcn.00401370
lea ecx, [ebp - 0xd0]
call fcn.00401370
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00401370
mov eax, dword [esi + 0xfa0]
xor ecx, ecx
mov dword [eax + 0x54], ecx
xor edx, edx
mov dword [eax + 0x58], edx
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebp + 0xc]
cdq
idiv ecx
mov ecx, dword [ebx + 0xe0]
mov edi, dword [ebp - 0x18]
imul ecx, edx
mov edx, dword [ebx + 0xe4]
add ecx, dword [ebx + 0xd8]
imul edx, eax
add edx, dword [ebx + 0xdc]
mov eax, dword [esi + 0xfa0]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
mov eax, dword [esi + 0xfa0]
mov dword [eax + 0x2c], 0xff
jmp 0x58649d
mov esi, dword [ebp - 0x14]
cmp byte [ebx + 0x14], 0
je 0x5864ba
cmp byte [edi], 0
jne 0x5864ba
mov eax, dword [esi]
call fcn.0059eaf8
mov eax, dword [esi + 0x7d0]
call fcn.0059eaf8
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add esi, 4
add edi, 0x5ebe4
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
jl 0x5861fa
call fcn.005a9004
ret 8