Function at 0x422b40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x62608d
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], ecx
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [eax], 0
xor eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0xd0], eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
push 1
push 0x67aa38
lea ecx, [esp + 0x4c]
call fcn.004039e0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x14], 8
jb 0x422bec
mov edx, dword [eax]
jmp 0x422bee
mov edx, eax
cmp word [edx], 0
jne 0x422bf8
xor ecx, ecx
jmp 0x422c12
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422c01
sub ecx, dword [esp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.004039e0
push 2
push 0x67aa50
lea ecx, [esp + 0x4c]
call fcn.004039e0
cmp esi, edi
je 0x422c83
cmp dword [esi + 0x14], 8
jb 0x422c3b
mov edx, dword [esi]
jmp 0x422c3d
mov edx, esi
cmp word [edx], 0
jne 0x422c47
xor ecx, ecx
jmp 0x422c61
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422c50
sub ecx, dword [esp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.004039e0
push 1
push 0x679a0c
lea ecx, [esp + 0x4c]
call fcn.004039e0
add esi, 0x18
cmp esi, edi
jne 0x422c31
xor eax, eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov byte [esp + 0xd0], 1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x5c]
cmp eax, ecx
je 0x422cca
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00403b10
lea ecx, [esp + 0x5c]
call fcn.004a0980
test al, al
je 0x422dda
push 0x44
lea eax, [esp + 0x78]
push 0
push eax
call fcn.005edd10
mov ecx, dword [esp + 0x4c]
mov eax, 0x2aaaaaab
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add esp, 0xc
xorps xmm0, xmm0
mov dword [esp + 0x74], 0x44
movdqa xmmword [esp + 0x24], xmm0
add eax, edx
je 0x422d4b
push 9
push 0
push 0x67aa3c
mov ecx, esi
call fcn.0040cd50
cmp eax, 0xffffffff
je 0x422d4b
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x67aab4
push eax
call dword [ecx + 0x14]
jmp 0x422d96
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x422d84
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0xd0], 2
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0xd0], 1
mov eax, dword [0x6d66e8]
push 0x67aa58
push 0x6d66e8
call dword [eax + 0x14]
add esp, 8
cmp dword [esp + 0x70], 8
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x64]
cmovae eax, dword [esp + 0x64]
cmp dword [esp + 0x60], 8
push eax
push 0
push 0x8000000
push 0
push 0
lea ecx, [esp + 0x60]
cmovae ecx, dword [esp + 0x60]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x422df0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0
mov dword [ecx], eax
jmp 0x422eef
cmp byte [ebp + 0xc], 0
jne 0x422e09
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
mov ecx, dword [esp + 0x1c]
jmp 0x422ee4
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov ecx, dword [case.0x79a990.0]
test cl, 1
jne 0x422e52
or ecx, 1
mov dword [case.0x79a990.0], ecx
mov byte [esp + 0xd0], 3
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0xd0], 1
mov ecx, dword [case.0x79a990.0]
mov eax, dword [0x6d6d54]
cmp byte [eax + 0xba], 0
jne 0x422ece
test cl, 1
jne 0x422e96
or ecx, 1
mov dword [case.0x79a990.0], ecx
mov byte [esp + 0xd0], 4
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0xd0], 1
cmp byte [0x6d65f0], 0
jne 0x422ece
push 0x3e8
push dword [esp + 0x28]
call esi
cmp eax, 0x102
je 0x422e10
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
push dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x28]
call esi
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 1
mov dword [ecx], 0
mov byte [esp + 0xd0], 0
cmp dword [esp + 0x70], 8
jb 0x422f0a
push dword [esp + 0x5c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x422f3f
push dword [esp + 0x44]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0x44], ax
mov al, byte [esp + 0x13]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret