Function at 0x510691
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], 0
cmp dword [ebp - 0x1c], 0
je 0x5106b9
cmp dword [ebp - 0x1c], 1
jne 0x510881
jmp 0x510887
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x30]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x54]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x4c]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x60], esi
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x50]
mov edi, dword [eax]
mov dword [ebp - 0x64], edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0x48]
mov ebx, dword [eax]
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0x5c]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
mov eax, dword [ebp + 0x48]
mov edi, dword [eax]
mov dword [ebp - 0x78], edi
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov edi, dword [eax]
mov eax, dword [ebp + 0x2c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x44]
fld qword [eax]
fxch st(5)
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x5c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x58]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x94], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x90], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x8c], edx
fstp qword [esp + 0x84]
fxch st(3)
fstp qword [esp + 0x7c]
fxch st(1)
mov edx, dword [ebp - 0x38]
mov dword [esp + 0x78], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [ebp - 0x40]
mov dword [esp + 0x70], edx
mov edx, dword [ebp - 0x44]
mov dword [esp + 0x6c], edx
fstp qword [esp + 0x64]
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x60], edx
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x5c], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x50], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x48], edx
fstp qword [esp + 0x40]
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x38], edx
mov edx, dword [ebp - 0x6c]
mov dword [esp + 0x34], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x28], edx
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
fstp qword [esp + 0x10]
fstp qword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._StrStriW
mov edx, dword [ebp + 0x60]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x510882
nop
jmp 0x5106a4
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret