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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ddf20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, 0x5e2984
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov edx, dword [ebx + 0x7c]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x78]
push ecx
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x60], 1
call fcn.005847e0
mov eax, dword [esp + 0x28]
lea esi, [ebx + 0x48]
cmp eax, 0xffffffff
je 0x5855a4
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
cmp eax, edi
je 0x5855b7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esp + 0x24]
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, edi
mov ecx, dword [esp + 0x18]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040c860
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0x18], edx
mov ecx, edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040c860
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [esp + 0x18], edx
mov ecx, edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040c860
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0x18], edx
mov ecx, edx
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040c860
mov eax, dword [esp + 0x28]
mov edi, 1
cmp eax, edi
jle 0x585721
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x4c]
mov ebp, dword [esp + 0x24]
fld qword [edx + ecx*8 - 0x10]
fcomp qword [ebp + edi*8]
fnstsw ax
test ah, 1
jne 0x5856a2
fld qword [ebp + edi*8]
fadd qword [0x5e2788]
fcomp qword [edx + ecx*8 - 0x10]
fnstsw ax
test ah, 0x41
jne 0x5856a2
mov eax, dword [esp + 0x38]
lea eax, [eax + edi*8 + 8]
mov ebp, dword [eax]
mov dword [edx + ecx*8 - 8], ebp
mov eax, dword [eax + 4]
mov dword [edx + ecx*8 - 4], eax
jmp 0x585714
fld qword [ebp + edi*8]
mov eax, dword [esi + 8]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040c860
mov eax, dword [esp + 0x38]
fld qword [eax + edi*8]
mov eax, dword [esi + 8]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040c860
mov eax, dword [esp + 0x24]
fld qword [eax + edi*8]
mov eax, dword [esi + 8]
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0040c860
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + edi*8 + 0xc]
mov edx, dword [eax + edi*8 + 8]
push ecx
push edx
mov ecx, esi
call fcn.0040a870
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x58565d
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 0
call fcn.0040a9d0
lea ecx, [esp + 0x20]
mov dword [esp + 0x50], 0xffffffff
call fcn.0040a9d0
mov ecx, dword [esp + 0x48]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret