Function at 0x846d95
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], 1
cmp dword [ebp - 0x1c], 2
je 0x846fc4
cmp dword [ebp - 0x1c], 2
ja 0x846fbe
cmp dword [ebp - 0x1c], 0
je 0x846dcd
cmp dword [ebp - 0x1c], 1
je 0x846e0e
jmp 0x846fbe
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
mov edx, dword [ebp + 0x58]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x64]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x60]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp], eax
call ecx
sub esp, 0x14
mov edx, dword [ebp + 0x50]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x846fbf
mov eax, dword [ebp + 0x54]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x6c]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov eax, dword [ebp + 0x38]
fld qword [eax]
fstp qword [ebp - 0x30]
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0x14]
fld qword [eax]
fstp qword [ebp - 0x48]
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
fld qword [eax]
fstp qword [ebp - 0x50]
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x30]
fld qword [eax]
mov eax, dword [ebp + 0x3c]
fld qword [eax]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp + 0xc]
fld qword [eax]
mov eax, dword [ebp + 0x3c]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x6c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x44]
mov eax, dword [eax]
mov dword [esp + 0xa8], ebx
fstp qword [esp + 0xa0]
fxch st(5)
mov dword [esp + 0x9c], esi
fstp qword [esp + 0x94]
mov dword [esp + 0x90], edi
fld qword [ebp - 0x30]
fstp qword [esp + 0x88]
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], 0x18e
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x7c], esi
mov edi, dword [ebp - 0x3c]
mov dword [esp + 0x78], edi
fld qword [ebp - 0x48]
fstp qword [esp + 0x70]
mov ebx, dword [ebp - 0x40]
mov dword [esp + 0x6c], ebx
fld qword [ebp - 0x50]
fstp qword [esp + 0x64]
fxch st(3)
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x60], esi
mov edi, dword [ebp - 0x58]
mov dword [esp + 0x5c], edi
mov ebx, dword [ebp - 0x5c]
mov dword [esp + 0x58], ebx
mov esi, dword [ebp - 0x60]
mov dword [esp + 0x54], esi
fstp qword [esp + 0x4c]
fxch st(1)
fstp qword [esp + 0x44]
mov edi, dword [ebp - 0x64]
mov dword [esp + 0x40], edi
mov ebx, dword [ebp - 0x68]
mov dword [esp + 0x3c], ebx
mov esi, dword [ebp - 0x6c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 0x45
mov edi, dword [ebp - 0x70]
mov dword [esp + 0x30], edi
mov ebx, dword [ebp - 0x74]
mov dword [esp + 0x2c], ebx
fstp qword [esp + 0x24]
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], ecx
fstp qword [esp + 0x10]
fstp qword [esp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ExportWinAPI
mov edx, dword [ebp + 0x68]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x846fbf
nop
jmp 0x846da8
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret