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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, ecx
cmp dword [ebx + 0x24], 0
push esi
push edi
je 0x5901cd
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp dword [esp + 0xc], edi
je 0x58fec5
cmp dword [esp + 0xc], eax
je 0x58feca
call fcn.005a87af
cmp dword [esp + 0x10], esi
je 0x58ff58
lea esi, [esp + 0xc]
call fcn.00561295
cmp byte [eax + 0x138], 0
jne 0x58ff4a
call fcn.00561295
lea ecx, [eax + 0x24]
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.00561295
lea ecx, [eax + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
je 0x58ff10
call fcn.00561295
mov byte [eax + 0x138], 1
mov dword [esp + 0x18], 5
lea esi, [esp + 0xc]
call fcn.00561295
add eax, 0x14c
add dword [eax], 2
xor edi, edi
call fcn.00561295
cmp dword [eax + 0x74], edi
jle 0x58ff44
lea esi, [esp + 0xc]
inc edi
call fcn.00561295
cmp edi, dword [eax + 0x74]
jl 0x58ff35
dec dword [esp + 0x18]
jne 0x58ff18
lea esi, [esp + 0xc]
call fcn.004bce51
jmp 0x58feb1
mov eax, dword [ebx + 4]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0xc]
je 0x58ff91
cmp dword [esp + 0xc], eax
je 0x58ff96
call fcn.005a87af
cmp dword [esp + 0x10], esi
je 0x5901cd
lea esi, [esp + 0xc]
call fcn.00561295
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x70]
push eax
call fcn.00561295
add eax, 0x54
push eax
lea eax, [esp + 0xb8]
push eax
call dword [0x62c30c]
call fcn.00561295
cmp byte [eax + 9], 0
je 0x5900c3
call fcn.00561295
mov esi, eax
add esi, 0x64
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fild dword [esp + 0x40]
lea esi, [esp + 0xc]
fstp dword [esp + 0x20]
fild dword [esp + 0x44]
fstp dword [esp + 0x24]
fild dword [esp + 0x48]
fstp dword [esp + 0x28]
fild dword [esp + 0x4c]
fstp dword [esp + 0x2c]
call fcn.00561295
mov eax, dword [eax + 0x60]
add eax, dword [ebx + 0x3c8]
mov dword [esp + 0x14], eax
call fcn.00561295
mov eax, dword [eax + 0x5c]
add eax, dword [ebx + 0x3c4]
mov dword [esp + 0x1c], eax
call fcn.00561295
mov eax, dword [eax + 0x58]
add eax, dword [ebx + 0x3c8]
mov dword [esp + 0x18], eax
call fcn.00561295
mov eax, dword [eax + 0x54]
add eax, dword [ebx + 0x3c4]
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
fstp dword [esp + 0x60]
fild dword [esp + 0x18]
fstp dword [esp + 0x64]
fild dword [esp + 0x1c]
fstp dword [esp + 0x68]
fild dword [esp + 0x14]
fstp dword [esp + 0x6c]
call fcn.00561295
lea ecx, [eax + 0xc]
mov eax, dword [ebx + 0x1e8]
add eax, 0x7c
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 4]
shl eax, 0x18
or eax, 0xffffff
push eax
mov eax, dword [esp + 0x18]
sub esp, 0x10
lea esi, [esp + 0x34]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x74]
lea ecx, [ebx + 0x1e8]
jmp 0x5901b4
call fcn.00561295
mov esi, eax
add esi, 0x64
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fild dword [esp + 0x80]
lea esi, [esp + 0xc]
fstp dword [esp + 0x30]
fild dword [esp + 0x84]
fstp dword [esp + 0x34]
fild dword [esp + 0x88]
fstp dword [esp + 0x38]
fild dword [esp + 0x8c]
fstp dword [esp + 0x3c]
call fcn.00561295
mov eax, dword [eax + 0x60]
add eax, dword [ebx + 0x3c8]
mov dword [esp + 0x18], eax
call fcn.00561295
mov eax, dword [eax + 0x5c]
add eax, dword [ebx + 0x3c4]
mov dword [esp + 0x1c], eax
call fcn.00561295
mov eax, dword [eax + 0x58]
add eax, dword [ebx + 0x3c8]
mov dword [esp + 0x14], eax
call fcn.00561295
mov eax, dword [eax + 0x54]
add eax, dword [ebx + 0x3c4]
mov dword [esp + 0xa0], eax
fild dword [esp + 0xa0]
fstp dword [esp + 0x50]
fild dword [esp + 0x14]
fstp dword [esp + 0x54]
fild dword [esp + 0x1c]
fstp dword [esp + 0x58]
fild dword [esp + 0x18]
fstp dword [esp + 0x5c]
call fcn.00561295
lea ecx, [eax + 0xc]
mov eax, dword [ebx + 0x2c8]
add eax, 0x7c
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 4]
shl eax, 0x18
or eax, 0xffffff
push eax
mov eax, dword [esp + 0x18]
sub esp, 0x10
lea esi, [esp + 0x44]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x64]
lea ecx, [ebx + 0x2c8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax]
lea esi, [esp + 0xc]
call fcn.004bce51
jmp 0x58ff7e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret