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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 3
je 0x423051
cmp dword [ebp - 0x1c], 3
ja 0x42304b
cmp dword [ebp - 0x1c], 2
je 0x422ffc
cmp dword [ebp - 0x1c], 2
ja 0x42304b
cmp dword [ebp - 0x1c], 0
je 0x422e7f
cmp dword [ebp - 0x1c], 1
je 0x423039
jmp 0x42304b
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x20]
mov esi, dword [eax]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax]
mov dword [ebp - 0x54], edi
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
fldz
fstp qword [esp + 0x94]
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], esi
mov ebx, dword [ebp - 0x2c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], 5
mov dword [esp + 0x78], 0x10f
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x74], esi
mov ebx, dword [ebp - 0x34]
mov dword [esp + 0x70], ebx
fld qword [0x58fa70]
fstp qword [esp + 0x68]
mov esi, dword [ebp - 0x38]
mov dword [esp + 0x64], esi
fld qword [0x58fa60]
fstp qword [esp + 0x5c]
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 0x58], ebx
fldz
fstp qword [esp + 0x50]
mov esi, dword [ebp - 0x40]
mov dword [esp + 0x4c], esi
fld qword [0x58fa60]
fstp qword [esp + 0x44]
mov ebx, dword [ebp - 0x44]
mov dword [esp + 0x40], ebx
mov esi, dword [ebp - 0x48]
mov dword [esp + 0x3c], esi
mov edx, dword [ebp - 0x4c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], 7
fld qword [0x58fa48]
fstp qword [esp + 0x2c]
mov ebx, dword [ebp - 0x50]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 1
mov esi, dword [ebp - 0x54]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 6
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x38
fld qword [0x58fa58]
fstp qword [esp]
call sym._ExportWinAPI
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x42304c
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], str._wS___wS_
mov dword [esp + 4], 0x400
mov dword [esp], eax
call ecx
mov edx, dword [ebp + 0x20]
mov dword [edx], eax
mov dword [ebp - 0x1c], 3
jmp 0x42304c
mov eax, dword [ebp + 0x20]
mov dword [eax], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x42304c
nop
jmp 0x422e42
nop
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret