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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x64e2c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x58ac25
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x58ac25
push ebx
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x58ac24
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
push edi
lea eax, [edx - 4]
neg edx
sbb edx, edx
and edx, eax
lea eax, [ecx - 4]
neg ecx
mov dword [ebp - 0x20], edx
mov edx, 0xc
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x3c]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], ebx
lea ecx, [eax + 8]
mov eax, 0x92492493
cmove ecx, edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x58a922
mov edx, eax
nop dword [eax + eax]
mov eax, dword [edi]
xor ecx, ecx
cmp eax, 5
je 0x58a910
cmp eax, 4
je 0x58a910
test eax, eax
je 0x58a910
cmp eax, 1
jne 0x58a8fc
lea ecx, [eax + 7]
jmp 0x58a915
cmp eax, 2
jne 0x58a906
lea ecx, [eax + 0xa]
jmp 0x58a915
cmp eax, 3
jne 0x58a915
lea ecx, [eax + 0xd]
jmp 0x58a915
mov ecx, 4
add ebx, ecx
add edi, 0x38
mov dword [ebp - 0x1c], ebx
sub edx, 1
jne 0x58a8e0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 8], 0
push edx
mov eax, dword [eax + 0x18]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xc]
push edx
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov edi, dword [ebp - 0x24]
mov ecx, dword [esi + 0xc]
push 0
mov dword [ebp - 0xc], 0x39
mov eax, dword [edi + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], 0x2a
push dword [ebp + eax*4 - 0xc]
push dword [edi + 0x20]
push ecx
call dword [edx + 0x4c]
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x58a9b6
cmp byte [edi + 0x20], 0
je 0x58a99f
mov eax, dword [edi + 0xc]
push 0
push 0
push dword [edi + 0x14]
mov byte [edi + 0x20], 0
mov eax, dword [eax + 0xc]
push 0
push 0
push dword [edi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc0]
mov eax, dword [edi + 0x10]
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
push edx
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x58a9fb
cmp byte [edi + 0x20], 0
je 0x58a9e4
mov eax, dword [edi + 0xc]
push 0
push 0
push dword [edi + 0x14]
mov byte [edi + 0x20], 0
mov eax, dword [eax + 0xc]
push 0
push 0
push dword [edi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc0]
mov eax, dword [edi + 0x10]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0xc]
push edx
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ebx, dword [ebp - 0x34]
mov edi, 0x1c
mov ecx, dword [esi + 0xc]
test ebx, ebx
push 0
push 0
lea eax, [ebx + 0x18]
mov edx, dword [ecx]
cmove eax, edi
push dword [eax]
push ecx
call dword [edx + 0x2c]
mov ecx, dword [esi + 0xc]
lea eax, [ebx + 0x1c]
test ebx, ebx
mov edi, 0x20
push 0
cmove eax, edi
mov edx, dword [ecx]
push 0
push dword [eax]
push ecx
call dword [edx + 0x24]
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x30]
push 0
mov ecx, dword [eax]
push dword [ebx + 0x48]
push eax
call dword [ecx + 0x90]
mov eax, dword [esi + 0xc]
push dword [ebx + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xac]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x14]
push 0xffffffffffffffff
xorps xmm0, xmm0
push edx
push dword [ebx + 0x4c]
movups xmmword [ebp - 0x14], xmm0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x28]
xor ebx, ebx
mov edi, dword [eax + 0x14]
test edi, edi
jle 0x58ab4e
lea edx, [eax + 0x58]
mov dword [ebp - 8], edx
nop dword [eax + eax]
mov edi, dword [edx - 0x40]
lea eax, [edi - 4]
neg edi
sbb edi, edi
and edi, eax
je 0x58aae8
mov ecx, dword [edx]
mov eax, dword [edx - 0x20]
lea edx, [ebp - 0x1c]
push edx
push 1
push ebx
lea eax, [eax + ecx*2]
mov eax, dword [esi + eax*4 + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x1c]
push edx
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [edi + 0x34]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
push edx
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
lea edx, [ebp - 0x20]
jmp 0x58ab29
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x24]
push edx
push 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x68]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x24]
push edx
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x18]
push edx
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0xc]
push edx
push 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x28]
inc ebx
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov edi, dword [eax + 0x14]
cmp ebx, edi
jl 0x58aa90
cmp edi, 8
jge 0x58aba7
mov eax, dword [esi + 0xc]
lea edx, [ebp - 8]
push edx
push 1
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x68]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 8]
push edx
push 1
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x18]
push edx
push 1
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x64]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x18]
push edx
push 1
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
inc edi
cmp edi, 8
jl 0x58ab53
mov ebx, dword [ebp - 0x30]
xor edi, edi
mov eax, dword [ebx + 0xc]
cmp eax, 2
jne 0x58abba
lea edi, [eax - 1]
push edi
jmp 0x58abce
cmp eax, 1
jne 0x58abc5
lea edi, [eax + 1]
push edi
jmp 0x58abce
test eax, eax
jne 0x58abd7
lea edi, [eax + 3]
push 4
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [esi + 0xc]
push dword [ebx + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x28]
mov ecx, dword [esi + 0xc]
push 0
mov ebx, dword [eax + 0x7c]
mov edx, dword [eax + 0x80]
mov eax, dword [eax + 0x78]
mov esi, dword [ecx]
imul eax, edi
cmp ebx, 1
jne 0x58ac1a
push edx
push eax
push ecx
call dword [esi + 0x30]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b26e6
mov esp, ebp
pop ebp
ret 4
push 0
push edx
push ebx
push eax
push ecx
call dword [esi + 0x50]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b26e6
mov esp, ebp
pop ebp
ret 4