Function at 0x4370bb
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], 2
cmp dword [ebp - 0x1c], 2
je 0x4370f7
cmp dword [ebp - 0x1c], 2
ja 0x4372e3
cmp dword [ebp - 0x1c], 0
je 0x4372a4
cmp dword [ebp - 0x1c], 1
jne 0x4372e3
jmp 0x4372e9
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x38]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x38]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x68]
mov esi, dword [eax]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x44]
fld qword [eax]
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
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 + 0x38]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov eax, dword [ebp + 0x40]
mov esi, dword [eax]
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x24]
fld qword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
fxch st(6)
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
fstp qword [esp + 0x94]
fxch st(4)
mov dword [esp + 0x90], edx
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x8c], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x88], edx
mov edx, dword [ebp - 0x34]
mov dword [esp + 0x84], edx
fstp qword [esp + 0x7c]
fxch st(2)
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 dword [esp + 0x60], 0x18a
mov edx, dword [ebp - 0x48]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], 0x34
fstp qword [esp + 0x50]
fstp qword [esp + 0x48]
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x44], edx
mov edx, dword [ebp - 0x50]
mov dword [esp + 0x40], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0x38], edx
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x34], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 0x30], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov esi, dword [ebp - 0x6c]
mov dword [esp + 0x14], esi
fstp qword [esp + 0xc]
fstp qword [esp + 4]
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x60]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x4372e4
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x54]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x58]
imul eax, eax, 0x29c
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1001
call edx
sub esp, 0xc
mov edx, dword [ebp + 0x64]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x4372e4
nop
jmp 0x4370ce
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret