Function at 0x423260
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x64], 0
mov al, byte [ebp - 0x64]
mov byte [ebp - 0x68], al
mov cl, byte [ebp - 0x68]
mov byte [ebp - 0x80], cl
mov edx, dword [ebp + 8]
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 4
ja case.default.0x42324b
mov eax, dword [ebp - 0x8c]
jmp dword [eax*4 + 0x423565]
mov byte [ebp - 0x80], 1
jmp 0x423284
jmp 0x423284
mov byte [ebp - 0x68], 1
jmp 0x423284
mov byte [ebp - 0x64], 1
jmp 0x423284
call fcn.0040e420
mov dword [eax], 0x16
call fcn.0040e430
mov dword [eax], 0
or eax, 0xffffffff
jmp 0x423561
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp + 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x4232c5
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
test edx, edx
je 0x4232a9
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
jmp 0x423294
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + 1]
test edx, edx
je 0x4232c3
mov eax, dword [ebp + 0x10]
mov byte [eax], 0x20
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
jmp 0x42328a
push 0x44
push 0
lea edx, [ebp - 0x58]
push edx
call fcn.0040a5f0
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov eax, dword [0x54481c]
mov dword [ebp - 0x6c], eax
jmp 0x4232ef
mov ecx, dword [ebp - 0x6c]
sub ecx, 1
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
je 0x42331c
mov edx, dword [ebp - 0x6c]
sub edx, 1
sar edx, 5
mov eax, dword [ebp - 0x6c]
sub eax, 1
and eax, 0x1f
imul eax, eax, 0x24
mov ecx, dword [edx*4 + 0x5446e0]
movsx edx, byte [ecx + eax + 4]
test edx, edx
jne 0x42331c
jmp 0x4232e6
mov eax, dword [ebp - 0x6c]
imul eax, eax, 5
add eax, 4
mov word [ebp - 0x26], ax
push 0x76
push str.dospawn.c
push 2
push 1
mov ecx, dword [ebp - 0x26]
and ecx, 0xffff
push ecx
call fcn.0040c480
add esp, 0x14
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x6c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx + 4]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x24]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 4]
mov dword [ebp - 0x78], edx
jmp 0x4233a1
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x78]
add edx, 4
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x6c]
jge 0x4233fa
mov ecx, dword [ebp - 0x74]
sar ecx, 5
mov edx, dword [ebp - 0x74]
and edx, 0x1f
imul edx, edx, 0x24
mov eax, dword [ecx*4 + 0x5446e0]
add eax, edx
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
movsx edx, byte [ecx + 4]
and edx, 0x10
test edx, edx
jne 0x4233e9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x60]
mov dl, byte [ecx + 4]
mov byte [eax], dl
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx]
mov dword [eax], edx
jmp 0x4233f8
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx], 0xffffffff
jmp 0x423386
movsx edx, byte [ebp - 0x64]
test edx, edx
je 0x423486
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x78], eax
jmp 0x423440
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x78]
add eax, 4
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x6c], 3
jge 0x423451
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x90], ecx
jmp 0x42345b
mov dword [ebp - 0x90], 3
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x90]
jge 0x423477
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx], 0xffffffff
jmp 0x423425
mov edx, dword [ebp - 0x88]
or edx, 8
mov dword [ebp - 0x88], edx
call fcn.0040e420
mov dword [eax], 0
call fcn.0040e430
mov dword [eax], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x88]
push eax
push 1
push 0
push 0
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
push 2
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040cbc0
add esp, 8
cmp dword [ebp - 0x84], 0
jne 0x4234fc
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0040e380
add esp, 4
or eax, 0xffffffff
jmp 0x423561
cmp dword [ebp + 8], 2
jne 0x423509
push 0
call fcn.00411350
cmp dword [ebp + 8], 0
jne 0x423535
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x423554
cmp dword [ebp + 8], 4
jne 0x42354e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x7c], 0
jmp 0x423554
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x7c]
mov esp, ebp
pop ebp
ret