Function at 0x42e0c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x594584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x29]
call fcn.0042beb0
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x28]
push 0
push 0
push 0
push 0
push edi
push eax
mov dword [ebp - 4], 0
call fcn.0044e580
add esp, 0x18
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x42e121
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406850
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x42e168
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e15e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e313
push edx
push ecx
call fcn.004cbf26
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [0x59b158], ax
jne 0x42e1e9
push str.ntdll.dll
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42e1cb
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e1c4
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x34]
push ecx
call eax
movzx eax, word [ebp - 0x38]
mov dword [ebp - 0x38], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x40]
push dword [ebp - 0x34]
push str._u._u
push 0x104
push 0x59b158
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
call fcn.0040c4c0
mov ecx, eax
test ecx, ecx
je 0x42e318
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov eax, 0x59b158
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x42e221
movzx eax, ax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0040cd30
jmp 0x42e24d
mov ecx, 0x59b158
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e230
sub ecx, edx
sar ecx, 1
push ecx
push 0x59b158
lea ecx, [ebp - 0x3c]
call fcn.004122c0
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push esi
push str.os
mov byte [ebp - 4], 5
call fcn.0042e7c0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e280
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x29]
call fcn.0042be00
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0042c130
mov edx, dword [ebp - 0x34]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e2b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0
push 0
push dword [ebp - 0x30]
push 0x54f090
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x30]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e2e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x42e2f8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cc1ce
mov esp, ebp
pop ebp
ret
call fcn.005127d9
push 0x80004005
call fcn.00409540
int3