Function at 0x47798a
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], 0
cmp dword [ebp - 0x1c], 3
je 0x477bcb
cmp dword [ebp - 0x1c], 3
ja 0x477bde
cmp dword [ebp - 0x1c], 2
je 0x4779d6
cmp dword [ebp - 0x1c], 2
ja 0x477bde
cmp dword [ebp - 0x1c], 0
je 0x477a18
cmp dword [ebp - 0x1c], 1
je 0x477be4
jmp 0x477bde
mov eax, dword [ebp + 0x50]
mov eax, dword [eax]
mov edx, eax
mov eax, dword [ebp + 0x44]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x48]
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 + 0x54]
mov dword [edx], eax
mov dword [ebp - 0x1c], 3
jmp 0x477bdf
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x50]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 0x58]
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
mov dword [ebp - 0x60], edi
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp + 0x34]
fld qword [eax]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x28]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x34]
fld qword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0x40]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x9c], eax
fstp qword [esp + 0x94]
fxch st(5)
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x88], eax
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
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], 0x34
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], 0x18a
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x54], eax
fstp qword [esp + 0x4c]
fxch st(3)
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x48], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x44], eax
fstp qword [esp + 0x3c]
fxch st(1)
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
fstp qword [esp + 0x28]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
fstp qword [esp + 0x10]
fstp qword [esp + 8]
fstp qword [esp]
call sym._ExportWinAPI
mov edx, dword [ebp + 0x50]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x477bdf
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
mov eax, dword [ebp + 0x4c]
mov dword [eax], edx
mov dword [ebp - 0x1c], 1
jmp 0x477bdf
nop
jmp 0x47799d
nop
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret