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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 2
je 0x517b8d
cmp dword [ebp - 0x1c], 2
ja 0x517d43
cmp dword [ebp - 0x1c], 0
je 0x517d49
cmp dword [ebp - 0x1c], 1
je 0x517d19
jmp 0x517d43
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], 0x34
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 3
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], 7
mov esi, dword [ebp - 0x2c]
mov dword [esp + 0x78], esi
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x74], esi
mov esi, dword [ebp - 0x34]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], 9
mov dword [esp + 0x68], 0x176
fld qword [0x88ca70]
fstp qword [esp + 0x60]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x5c], edx
mov esi, dword [ebp - 0x3c]
mov dword [esp + 0x58], esi
fld qword [0x88ca88]
fstp qword [esp + 0x50]
fld qword [0x88ca80]
fstp qword [esp + 0x48]
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x44], edx
mov esi, dword [ebp - 0x44]
mov dword [esp + 0x40], esi
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], 2
mov esi, dword [ebp - 0x4c]
mov dword [esp + 0x34], esi
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x30], edx
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x2c], esi
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x28], edx
fld qword [0x88ca58]
fstp qword [esp + 0x20]
fld qword [0x88ca50]
fstp qword [esp + 0x18]
mov esi, dword [ebp - 0x5c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.004fe8ee
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x517d44
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call edx
sub esp, 8
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x517d44
nop
jmp 0x517b64
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret