Function at 0x100de735
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov eax, edx
mov esi, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], esi
push edi
test eax, eax
jne 0x100de801
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
or ebx, 0xffffffff
xor edi, edi
mov dword [ebp - 0xc], eax
cmp ecx, ebx
je 0x100de870
call fcn.100290c0
test eax, eax
je 0x100de86a
cmp eax, ebx
je 0x100de7da
jmp 0x100de7d1
xor edx, edx
call fcn.1003b000
push edi
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100de7da
mov edx, eax
call fcn.1003b000
test eax, eax
jne 0x100de7be
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push dword [ebp - 4]
jmp 0x100de799
mov ecx, dword [ebp - 4]
call fcn.1003e545
push 0
call sym.ucrtbase.dll__free_base
mov eax, dword [ebp - 4]
pop ecx
imul edi, dword [ebp - 0xc], 0x364
add edi, eax
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test edi, edi
jne 0x100de7ec
mov edi, 0x101049f4
jmp 0x100de7ef
add edi, 0x10
mov dword [edi], 0x16
call sym.ucrtbase.dll__invalid_parameter_noinfo
mov eax, ebx
jmp 0x100debe7
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100de755
cmp esi, 4
jbe 0x100de9a5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
or ebx, 0xffffffff
xor edi, edi
mov dword [ebp - 0xc], eax
cmp ecx, ebx
je 0x100de8a9
call fcn.100290c0
test eax, eax
je 0x100de8a3
cmp eax, ebx
jne 0x100de911
mov dword [ebp - 8], edi
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100de922
mov eax, 0x101049f8
jmp 0x100de925
mov ecx, dword [0x101042e4]
mov edx, ebx
call fcn.1003b000
test eax, eax
je 0x100de7da
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
mov dword [ebp - 4], eax
pop ecx
pop ecx
mov ecx, dword [0x101042e4]
test eax, eax
je 0x100de791
jmp 0x100de7a1
mov ecx, dword [0x101042e4]
mov edx, ebx
call fcn.1003b000
test eax, eax
je 0x100de84b
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
mov dword [ebp - 4], eax
pop ecx
pop ecx
mov ecx, dword [0x101042e4]
test eax, eax
jne 0x100de8e2
xor edx, edx
call fcn.1003b000
push edi
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100de84b
mov edx, eax
call fcn.1003b000
test eax, eax
jne 0x100de8ff
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push dword [ebp - 4]
jmp 0x100de8d7
mov ecx, dword [ebp - 4]
call fcn.1003e545
push edi
call sym.ucrtbase.dll__free_base
mov eax, dword [ebp - 4]
pop ecx
imul ecx, dword [ebp - 0xc], 0x364
add ecx, eax
mov dword [ebp - 8], ecx
jmp 0x100de84e
add eax, 0x14
mov dword [eax], edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
mov dword [ebp - 0xc], eax
cmp ecx, ebx
je 0x100de95a
call fcn.100290c0
test eax, eax
jne 0x100de78b
mov ecx, dword [0x101042e4]
mov edx, ebx
call fcn.1003b000
test eax, eax
je 0x100de7da
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
mov dword [ebp - 4], eax
pop ecx
pop ecx
mov ecx, dword [0x101042e4]
test eax, eax
je 0x100de791
mov edx, eax
call fcn.1003b000
test eax, eax
je 0x100de7ac
mov ecx, dword [ebp - 4]
call fcn.1003e545
push edi
jmp 0x100de7c8
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
call fcn.100dbb40
or ebx, 0xffffffff
pop ecx
pop ecx
cmp eax, ebx
jne 0x100de9db
lea ecx, [ebp - 0x14]
call fcn.1002896d
lea ecx, [ebp - 4]
call fcn.1002896d
jmp 0x100de7fa
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], eax
cmp esi, 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], eax
setne byte [ebp - 0x10]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x10]
push 7
mov dword [ebp - 0x30], eax
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100dd804
test al, al
jne 0x100dea2b
lea ecx, [ebp - 0x18]
call fcn.1002896d
jmp 0x100de9c6
mov eax, edi
cmp esi, 4
jne 0x100dea35
push 8
pop eax
or eax, 0x400
mov dword [ebp - 0x1c], eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
mov dword [ebp - 0x20], eax
cmp ecx, ebx
je 0x100dea90
call fcn.100290c0
test eax, eax
je 0x100dea8a
cmp eax, ebx
jne 0x100deaf5
mov dword [ebp - 8], edi
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100deb06
mov eax, 0x101049f8
jmp 0x100deb09
mov ecx, dword [0x101042e4]
mov edx, ebx
call fcn.1003b000
test eax, eax
je 0x100dea6e
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
mov dword [ebp - 8], eax
pop ecx
pop ecx
mov ecx, dword [0x101042e4]
test eax, eax
jne 0x100deac6
xor edx, edx
call fcn.1003b000
push edi
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100dea6e
mov edx, eax
call fcn.1003b000
test eax, eax
jne 0x100deae3
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push dword [ebp - 8]
jmp 0x100deabe
mov ecx, dword [ebp - 8]
call fcn.1003e545
push edi
call sym.ucrtbase.dll__free_base
mov eax, dword [ebp - 8]
pop ecx
imul ecx, dword [ebp - 0x20], 0x364
add ecx, eax
mov dword [ebp - 8], ecx
jmp 0x100dea71
add eax, 0x14
push 0x44
pop esi
push esi
mov dword [eax], edi
lea eax, [ebp - 0x90]
push edi
push eax
call sym.ucrtbase.dll__o_memset
mov ax, word [ebp - 0x28]
add esp, 0xc
mov word [ebp - 0x5e], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], esi
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 1
push edi
push edi
push dword [ebp - 4]
push dword [ebp - 0x2c]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x100deb8f
mov eax, dword [ebp - 0x24]
cmp eax, 2
je 0x100debec
test eax, eax
jne 0x100deb9e
push ebx
push esi
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
test eax, eax
je 0x100deb8f
mov ebx, dword [ebp - 0x24]
jmp 0x100deba5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.10042889
jmp 0x100deba5
cmp eax, 4
jne 0x100debba
mov ebx, edi
lea ecx, [ebp - 0xc]
call fcn.1004a115
lea ecx, [ebp - 8]
call fcn.1004a115
jmp 0x100dea21
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], ebx
call fcn.1004a115
lea ecx, [ebp - 8]
call fcn.1004a115
lea ecx, [ebp - 0x18]
call fcn.1002896d
lea ecx, [ebp - 0x14]
call fcn.1002896d
lea ecx, [ebp - 4]
call fcn.1002896d
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
push edi
call sym.ucrtbase.dll__Exit
int3