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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x12c
mov eax, dword [esp + 0x140]
mov ebp, dword [esp + 0x16c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x178]
mov edi, dword [esp + 0x17c]
mov ecx, dword [esp + 0x190]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x180]
mov edx, dword [edi]
mov ebx, dword [esp + 0x18c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x184]
mov esi, dword [esp + 0x198]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x10c], eax
mov eax, dword [0xd3b044]
mov dword [esp + 0x11c], eax
xor eax, eax
cmp byte [ecx], 0
mov eax, dword [edx + 0x6af74]
je 0x501fc3
movzx eax, byte [edx + eax + 0x1af63]
call fcn.00580c10
mov edx, dword [edi]
mov ecx, dword [edx + 0x6af68]
mov eax, dword [edx + 0x6af74]
xor edi, edi
fld qword [ebp]
fld qword [ebx]
test ecx, ecx
mov dword [esp + 0xcc], eax
lea eax, [edx + ecx + 0x1af64]
mov ebx, dword [esp + 0xf8]
cmovs eax, edi
mov dword [esi], eax
mov esi, dword [esp + 0xb8]
mov ebp, dword [ebx]
mov edi, dword [esi]
mov esi, dword [esp + 0xc8]
mov ebx, dword [esi]
mov esi, dword [esp + 0xe8]
fld qword [esi]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0xc8], ebx
mov ebx, dword [esp + 0x104]
fstp qword [esp + 0xb8]
fld qword [esi]
mov ebx, dword [ebx]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0xc8]
fstp qword [esp + 0xc0]
fxch st(1)
fst qword [esp + 0xa8]
fxch st(1)
fst qword [esp + 0x9c]
fst qword [esp + 0x94]
fstp qword [esp + 0xe8]
fstp qword [esp + 0x8c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0x80], ebp
mov esi, dword [esp + 0x10c]
mov eax, dword [esi]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x78], eax
vmovsd xmm2, qword [esi]
mov esi, dword [esp + 0xdc]
vmovsd qword [esp + 0x70], xmm2
mov eax, dword [esi]
mov dword [esp + 4], ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x64], edx
mov dword [esp], eax
call fcn.004026d0
fld qword [esp + 0xe8]
vmovsd xmm0, qword [esp + 0xb8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xfc]
mov eax, dword [eax]
vmovsd qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax]
mov dword [esp + 0x44], edi
fstp qword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xd4]
mov eax, dword [eax]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax]
mov dword [esp + 0x30], 1
vmovsd qword [esp + 0x28], xmm0
mov dword [esp + 0x34], eax
vmovsd xmm1, qword [esp + 0xc0]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x14], ebx
vmovsd qword [esp + 0x20], xmm1
vmovsd qword [esp + 0x18], xmm1
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xf0]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xf4]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xe4]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x108]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.005821b0
mov eax, dword [esp + 0x11c]
sub eax, dword [0xd3b044]
jne 0x5021ae
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop