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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov eax, dword [esp + 0x130]
mov edi, dword [esp + 0x15c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x184]
mov ebx, dword [edi]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x170]
mov ebp, dword [esp + 0x16c]
mov esi, dword [esp + 0x18c]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x17c]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0xf8], eax
mov eax, dword [0xd44044]
mov dword [esp + 0x10c], eax
xor eax, eax
cmp byte [edx], 0
mov eax, dword [ebx + 0x6af74]
je 0x50a56a
movzx eax, byte [ebx + eax + 0x1af63]
mov edx, ebx
call fcn.005894a0
mov ebx, dword [edi]
mov eax, dword [ebx + 0x6af74]
xor edx, edx
mov dword [esp + 0xbc], eax
mov eax, dword [ebx + 0x6af68]
test eax, eax
lea edi, [ebx + eax + 0x1af64]
cmovns edx, edi
mov edi, dword [esp + 0xb0]
mov dword [esi], edx
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xfc], edx
mov ecx, dword [edi]
mov edx, dword [esi]
mov esi, dword [esp + 0xa4]
mov edi, dword [ebp]
mov dword [esp + 0xa4], ecx
mov ebp, dword [esi]
mov esi, dword [esp + 0xb8]
mov esi, dword [esi]
mov dword [esp + 0xb8], esi
mov esi, dword [esp + 0xe4]
fld qword [esi]
mov esi, dword [esp + 0xc8]
mov esi, dword [esi]
mov dword [esp + 0x9c], ecx
mov ecx, edi
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0xa8], ecx
mov edi, dword [edi]
mov dword [esp + 0x90], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0xe8]
fstp qword [esp + 0xb0]
mov edi, dword [edi]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], edx
mov edi, dword [esp + 0xd4]
vmovsd xmm1, qword [edi]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xbc]
vmovsd qword [esp + 0x80], xmm1
mov dword [esp], eax
call fcn.004026d0
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x78], ebp
vmovsd xmm0, qword [esp + 0xb0]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc4]
mov eax, dword [eax]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xdc]
vmovsd qword [esp + 0x58], xmm0
vmovsd xmm2, qword [eax]
mov eax, dword [esp + 0xf0]
vmovsd qword [esp + 0x4c], xmm2
vmovsd xmm3, qword [eax]
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x40], ebp
vmovsd qword [esp + 0x44], xmm3
mov eax, dword [eax]
mov ecx, dword [esp + 0xa4]
vmovsd qword [esp + 0x34], xmm0
mov edx, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xd8]
mov eax, dword [eax]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xcc]
mov eax, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xec]
vmovsd xmm4, qword [eax]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xfc]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x10], 1
vmovsd qword [esp + 0x14], xmm4
call fcn.0058aab0
mov eax, dword [esp + 0x10c]
sub eax, dword [0xd44044]
jne 0x50a782
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop