Function at 0x42e110
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53da90
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x58f574]
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.0042bef0
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.0044e1c0
add esp, 0x18
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x42e171
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 0x42e1b8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e1ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e363
push edx
push ecx
call fcn.004c6c76
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [0x596118], ax
jne 0x42e239
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 0x42e21b
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e214
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 0x596118
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
call fcn.0040c500
mov ecx, eax
test ecx, ecx
je 0x42e368
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov eax, 0x596118
mov byte [ebp - 4], 4
test eax, 0xffff0000
jne 0x42e271
movzx eax, ax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0040cd70
jmp 0x42e29d
mov ecx, 0x596118
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e280
sub ecx, edx
sar ecx, 1
push ecx
push 0x596118
lea ecx, [ebp - 0x3c]
call fcn.00412300
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
push esi
push str.os
mov byte [ebp - 4], 5
call fcn.0042e810
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 0x42e2d0
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.0042be40
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0042c170
mov edx, dword [ebp - 0x34]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e303
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 0x54a090
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 0x42e333
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 0x42e348
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.004c6f1e
mov esp, ebp
pop ebp
ret
call fcn.0050d599
push 0x80004005
call fcn.00409540
int3