Function at 0x43f3d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x60]
push ebx
push ebp
xor ebx, ebx
push esi
cmp eax, 4
push edi
mov byte [esp + 0x13], bl
ja case.default.0x43f3ea
jmp dword [eax*4 + 0x43f644]
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov cl, byte [eax]
test cl, cl
je 0x43f41d
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43f404
mov cl, byte [eax + 1]
test cl, cl
je 0x43f417
mov byte [eax], 0x20
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x43f404
mov esi, dword [0x459ea0]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
test esi, esi
mov dword [esp + 0x28], 0x44
je 0x43f460
lea ecx, [esi - 1]
mov edx, ecx
mov eax, ecx
sar edx, 5
and eax, 0x1f
mov edx, dword [edx*4 + 0x459da0]
lea eax, [eax + eax*8]
cmp byte [edx + eax*4 + 4], 0
jne 0x43f460
mov esi, ecx
test esi, esi
jne 0x43f43c
lea eax, [esi + esi*4 + 4]
push 1
mov word [esp + 0x5e], ax
mov ecx, dword [esp + 0x5e]
and ecx, 0xffff
push ecx
call fcn.0043ae00
mov dword [esp + 0x64], eax
mov dword [eax], esi
mov edx, dword [esp + 0x64]
add esp, 8
xor ecx, ecx
test esi, esi
lea edi, [edx + 4]
lea ebp, [esi + edx + 4]
jle 0x43f4d4
mov edx, ecx
mov eax, ecx
sar edx, 5
and eax, 0x1f
mov edx, dword [edx*4 + 0x459da0]
lea eax, [eax + eax*8]
lea eax, [edx + eax*4]
mov dl, byte [eax + 4]
test dl, 0x10
jne 0x43f4bd
mov byte [edi], dl
mov eax, dword [eax]
mov dword [ebp], eax
jmp 0x43f4c7
mov byte [edi], 0
mov dword [ebp], 0xffffffff
inc ecx
inc edi
add ebp, 4
cmp ecx, esi
jl 0x43f495
mov edx, dword [esp + 0x5c]
mov al, byte [esp + 0x13]
test al, al
je 0x43f50a
xor edi, edi
lea eax, [edx + 4]
lea ecx, [esi + edx + 4]
cmp esi, 3
mov edx, esi
jl 0x43f4f1
mov edx, 3
cmp edi, edx
jge 0x43f505
mov byte [eax], 0
inc edi
mov dword [ecx], 0xffffffff
inc eax
add ecx, 4
jmp 0x43f4e5
mov ebx, 8
call fcn.00435b10
mov dword [eax], 0
call fcn.00435b20
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
mov dword [eax], 0
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x7c]
push 0
push eax
push ebx
push 1
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esp + 0x5c]
push eax
call fcn.004374f0
add esp, 4
test esi, esi
jne 0x43f577
push edi
call fcn.00435a90
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x70]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 2
jne 0x43f5a3
push 0
call fcn.00435ec0
mov ecx, dword [esp + 0x20]
add esp, 4
push ecx
call esi
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
test eax, eax
jne 0x43f5de
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp eax, 4
jne 0x43f605
mov edx, dword [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], 0
push ecx
call esi
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x7c], eax
call esi
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
call fcn.00435b10
mov dword [eax], 0x16
call fcn.00435b20
pop edi
pop esi
mov dword [eax], 0
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret