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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 3
je 0x51722f
cmp dword [ebp - 0x1c], 3
ja 0x517229
cmp dword [ebp - 0x1c], 2
je 0x51704d
cmp dword [ebp - 0x1c], 2
ja 0x517229
cmp dword [ebp - 0x1c], 0
je 0x517063
cmp dword [ebp - 0x1c], 1
jne 0x517229
mov eax, dword [0x901060]
add eax, 1
mov dword [0x901060], eax
mov dword [ebp - 0x1c], 2
jmp 0x51722a
mov eax, dword [0x901060]
mov dword [0x901060], eax
mov dword [ebp - 0x1c], 0
jmp 0x51722a
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x14]
fld qword [eax]
fstp qword [ebp - 0x40]
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x2c]
fld qword [eax]
fstp qword [ebp - 0x50]
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x14]
fld qword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x14]
fld qword [eax]
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
fld qword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x34]
mov edi, dword [eax]
mov eax, dword [0x901060]
shl eax, 0xa
add eax, 0x901060
lea esi, [eax + 4]
mov eax, dword [ebp + 0x38]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0xa4], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0xa0], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x9c], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x98], edx
fstp qword [esp + 0x90]
fld qword [ebp - 0x40]
fstp qword [esp + 0x88]
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x80], edx
fld qword [ebp - 0x50]
fstp qword [esp + 0x78]
fxch st(5)
fstp qword [esp + 0x70]
fxch st(3)
fstp qword [esp + 0x68]
fxch st(1)
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x64], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x5c], edx
fstp qword [esp + 0x54]
fstp qword [esp + 0x4c]
fstp qword [esp + 0x44]
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x34], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x28], edx
fstp qword [esp + 0x20]
fstp qword [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x78]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._StrCpyW
mov dword [ebp - 0x1c], 3
jmp 0x51722a
nop
jmp 0x517000
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret