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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x500516
cmp dword [ebp - 0x1c], 1
je 0x500342
jmp 0x500511
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x28]
fld qword [eax]
fstp qword [ebp - 0x38]
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0x34]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0x48]
fld qword [eax]
fstp qword [ebp - 0x50]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
fstp qword [ebp - 0x58]
mov eax, dword [ebp + 0x48]
fld qword [eax]
fstp qword [ebp - 0x60]
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0x40]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov eax, dword [ebp + 0x4c]
mov edi, dword [eax + edx*4]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 0x44]
mov ebx, dword [eax]
mov dword [ebp - 0x7c], ebx
mov eax, dword [ebp + 0x28]
fld qword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x80], esi
mov eax, dword [ebp + 0x40]
mov edi, dword [eax]
mov dword [ebp - 0x84], edi
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
fxch st(7)
fstp qword [esp + 0xa8]
fxch st(5)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xa4], eax
fstp qword [esp + 0x9c]
fxch st(3)
fstp qword [esp + 0x94]
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x90], eax
fld qword [ebp - 0x38]
fstp qword [esp + 0x88]
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x78], eax
fld qword [ebp - 0x50]
fstp qword [esp + 0x70]
fld qword [ebp - 0x58]
fstp qword [esp + 0x68]
fld qword [ebp - 0x60]
fstp qword [esp + 0x60]
fxch st(1)
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x54], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x50], eax
fstp qword [esp + 0x48]
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x34]
mov eax, dword [ebp - 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
fstp qword [esp + 8]
fstp qword [esp]
call sym._StrStriW
mov edx, dword [ebp + 0x54]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
nop
jmp 0x50032d
nop
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret