Function at 0x509fb0
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 ebx, dword [esp + 0x160]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x164]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x178]
mov esi, dword [esp + 0x184]
mov edi, dword [esp + 0x188]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x17c]
mov ebp, dword [esp + 0x19c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x108], eax
mov eax, dword [0xd47044]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x194]
cmp byte [eax], 0
je 0x50a101
mov eax, dword [ebx]
mov edx, dword [eax + 0x6af74]
movzx ecx, byte [eax + edx + 0x1af63]
xor edx, edx
call fcn.0058bca0
mov ebx, dword [ebx]
xor edx, edx
mov eax, dword [ebx + 0x6af68]
test eax, eax
lea ecx, [ebx + eax + 0x1af64]
cmovns edx, ecx
mov ecx, dword [esp + 0x100]
mov dword [ebp], edx
mov ecx, dword [ecx]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0xd8]
fld qword [edx]
mov edx, dword [esp + 0xe0]
mov ecx, dword [ecx]
mov ebp, dword [edx]
mov edx, dword [esp + 0xd4]
fstp qword [esp + 0xb8]
fld qword [edi]
mov edi, dword [esp + 0xc4]
mov edx, dword [edx]
mov dword [esp + 0xd8], ecx
vmovsd xmm0, qword [esp + 0xb8]
mov edi, dword [edi]
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0xc4], edi
mov edi, dword [esp + 0xfc]
mov edx, dword [edx]
fstp qword [esp + 0xe0]
mov ecx, dword [edi]
mov edi, dword [esp + 0xd0]
mov dword [esp + 0xfc], ecx
mov edi, dword [edi]
mov dword [esp + 0xa8], edx
vmovsd qword [esp + 0xa0], xmm0
mov esi, dword [esi]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0xf8]
vmovsd xmm2, qword [esi]
mov esi, dword [esp + 0xc8]
vmovsd qword [esp + 0x94], xmm2
vmovsd xmm3, qword [esi]
mov dword [esp + 4], eax
vmovsd qword [esp + 0x8c], xmm3
mov eax, dword [ebx + 0x6af74]
mov dword [esp], eax
call fcn.004026d0
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x7c], ecx
mov esi, dword [esp + 0xc4]
vmovsd xmm1, qword [esp + 0xe0]
mov dword [esp + 0x78], ebp
vmovsd xmm0, qword [esp + 0xb8]
mov dword [esp + 0x84], edx
mov eax, dword [eax]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xec]
mov eax, dword [eax]
mov dword [esp + 0x64], esi
vmovsd qword [esp + 0x68], xmm1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xe8]
vmovsd xmm4, qword [eax]
mov dword [esp + 0x58], ecx
vmovsd qword [esp + 0x50], xmm0
vmovsd qword [esp + 0x5c], xmm4
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], 1
mov eax, dword [ebp]
mov ebp, dword [esp + 0xf4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x3c], eax
vmovsd xmm5, qword [ebp]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x104]
vmovsd qword [esp + 0x30], xmm5
vmovsd xmm6, qword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x20], edx
vmovsd qword [esp + 0x24], xmm6
vmovsd qword [esp + 0x18], xmm1
mov eax, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 0x10], eax
call fcn.0058d110
mov eax, dword [esp + 0x11c]
sub eax, dword [0xd47044]
jne 0x50a32f
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