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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov dword [ebp - 0x1c], 3
cmp dword [ebp - 0x1c], 3
je 0x51f7ad
cmp dword [ebp - 0x1c], 3
ja 0x51f988
cmp dword [ebp - 0x1c], 2
je 0x51f98e
cmp dword [ebp - 0x1c], 2
ja 0x51f988
cmp dword [ebp - 0x1c], 0
je 0x51f5ea
cmp dword [ebp - 0x1c], 1
je 0x51f7c3
jmp 0x51f988
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x60]
fld qword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x4c]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [0xa09000]
shl eax, 0xa
add eax, 0xa09000
lea edi, [eax + 4]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x34]
mov edi, dword [eax]
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x68]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x9c], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x98], edx
fstp qword [esp + 0x90]
fxch st(5)
fstp qword [esp + 0x88]
fxch st(3)
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x80], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x74], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x70], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x6c], edx
fstp qword [esp + 0x64]
fxch st(1)
fstp qword [esp + 0x5c]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x58], edx
fstp qword [esp + 0x50]
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x44], edx
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
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ebx
fstp qword [esp + 0xc]
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x70]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._StrCpyW
mov dword [ebp - 0x1c], 1
jmp 0x51f989
mov eax, dword [0xa09000]
mov dword [0xa09000], eax
mov dword [ebp - 0x1c], 0
jmp 0x51f989
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0x58]
fld qword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x64]
mov edi, dword [eax]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x54]
fld qword [eax]
mov eax, dword [0xa09000]
add eax, 0x100
shl eax, 0xa
add eax, 0xa09000
lea ebx, [eax + 4]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 0x60]
fld qword [eax]
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x50]
mov esi, dword [eax]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x58], edi
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp + 0x40]
mov ebx, dword [eax]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x68], esi
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax]
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov eax, dword [ebp + 0x40]
mov esi, dword [eax]
mov eax, dword [ebp + 0x60]
fld qword [eax]
mov eax, dword [ebp + 0x6c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x60]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x9c], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x98], edx
fstp qword [esp + 0x90]
fxch st(5)
fstp qword [esp + 0x88]
fxch st(3)
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x84], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x80], edx
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x7c], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x74], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x70], edx
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x6c], edx
fstp qword [esp + 0x64]
fxch st(1)
fstp qword [esp + 0x5c]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x58], edx
fstp qword [esp + 0x50]
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x44], edx
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
fstp qword [esp + 0x2c]
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ebx
fstp qword [esp + 0xc]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x70]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._StrCpyW
mov dword [ebp - 0x1c], 2
jmp 0x51f989
nop
jmp 0x51f5ad
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret