Function at 0x4ce402
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], 1
cmp dword [ebp - 0x1c], 2
je 0x4ce5ee
cmp dword [ebp - 0x1c], 2
ja 0x4ce624
cmp dword [ebp - 0x1c], 0
je 0x4ce62a
cmp dword [ebp - 0x1c], 1
je 0x4ce43e
jmp 0x4ce624
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp + 0x94], edi
mov edi, dword [ebp - 0x2c]
mov dword [esp + 0x90], edi
mov edi, dword [ebp - 0x30]
mov dword [esp + 0x8c], edi
mov edi, dword [ebp - 0x34]
mov dword [esp + 0x88], edi
mov edi, dword [ebp - 0x38]
mov dword [esp + 0x84], edi
mov edi, dword [ebp - 0x3c]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], 0x10f
mov edi, dword [ebp - 0x40]
mov dword [esp + 0x78], edi
fld qword [0x592b60]
fstp qword [esp + 0x70]
mov edi, dword [ebp - 0x44]
mov dword [esp + 0x6c], edi
fld qword [0x592b38]
fstp qword [esp + 0x64]
mov edi, dword [ebp - 0x48]
mov dword [esp + 0x60], edi
mov edi, dword [ebp - 0x4c]
mov dword [esp + 0x5c], edi
mov edi, dword [ebp - 0x50]
mov dword [esp + 0x58], edi
fld1
fstp qword [esp + 0x50]
fld qword [0x592b38]
fstp qword [esp + 0x48]
mov edi, dword [ebp - 0x54]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], 0x38
mov edi, dword [ebp - 0x58]
mov dword [esp + 0x3c], edi
mov edi, dword [ebp - 0x5c]
mov dword [esp + 0x38], edi
mov edi, dword [ebp - 0x60]
mov dword [esp + 0x34], edi
mov edi, dword [ebp - 0x64]
mov dword [esp + 0x30], edi
mov edi, dword [ebp - 0x68]
mov dword [esp + 0x2c], edi
mov edi, dword [ebp - 0x6c]
mov dword [esp + 0x28], edi
mov edi, dword [ebp - 0x70]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
fld qword [0x592b48]
fstp qword [esp + 8]
fld qword [0x592b50]
fstp qword [esp]
call sym._ExportWinAPI
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x4ce625
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.Windows_2000__wS
mov dword [esp + 4], 0x400
mov dword [esp], eax
call ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x4ce625
nop
jmp 0x4ce415
nop
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret