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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 3
je 0x519a9f
cmp dword [ebp - 0x1c], 3
ja 0x519c1e
cmp dword [ebp - 0x1c], 2
je 0x519abc
cmp dword [ebp - 0x1c], 2
ja 0x519c1e
cmp dword [ebp - 0x1c], 0
je 0x51992a
cmp dword [ebp - 0x1c], 1
jne 0x519c1e
jmp 0x519c24
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x44]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x40]
mov esi, dword [eax]
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
fld qword [0x586b38]
fstp qword [esp + 0x98]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], 0x88
fld qword [0x586b30]
fstp qword [esp + 0x84]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x80], ecx
fld qword [0x586b30]
fstp qword [esp + 0x78]
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x74], ebx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x70], ecx
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0x6c], ebx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], 0x34
mov ebx, dword [ebp - 0x40]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], 9
mov dword [esp + 0x58], 9
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x54], ecx
fld qword [0x586b28]
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 8
fld qword [0x586b08]
fstp qword [esp + 0x40]
mov dword [esp + 0x3c], 8
fld qword [0x586b10]
fstp qword [esp + 0x34]
mov ebx, dword [ebp - 0x48]
mov dword [esp + 0x30], ebx
fld qword [0x586b38]
fstp qword [esp + 0x28]
mov dword [esp + 0x24], 9
fld qword [0x586b38]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x519c1f
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [esp], 0xc8
call eax
sub esp, 4
mov dword [ebp - 0x1c], 0
jmp 0x519c1f
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x3c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x44]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x40]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x40], esi
mov eax, dword [ebp + 0x40]
mov edi, dword [eax]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp + 0x34]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
fld qword [0x586b40]
fstp qword [esp + 0x98]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], 0x192
fld1
fstp qword [esp + 0x84]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x80], ecx
fld qword [0x586b10]
fstp qword [esp + 0x78]
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x74], ebx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x70], ecx
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0x6c], ebx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], 0x34
mov ebx, dword [ebp - 0x40]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], 9
mov dword [esp + 0x58], 0
mov ecx, dword [ebp - 0x44]
mov dword [esp + 0x54], ecx
fldz
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], 5
fld qword [0x586b38]
fstp qword [esp + 0x40]
mov dword [esp + 0x3c], 9
fld qword [0x586b20]
fstp qword [esp + 0x34]
mov ebx, dword [ebp - 0x48]
mov dword [esp + 0x30], ebx
fld1
fstp qword [esp + 0x28]
mov dword [esp + 0x24], 7
fld1
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], esi
mov dword [esp + 8], 6
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
mov dword [ebp - 0x1c], 3
jmp 0x519c1f
nop
jmp 0x5198ed
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret