Function at 0x4028a2
Capabilities:
Create process on windows

Disassembly:
push 0x108
push 0x402b98
call fcn.00402688
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xb8], ecx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xbc], 0x20
lea eax, [ebp - 0xbc]
push eax
push esi
xor eax, eax
inc eax
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x419b4f
xor ecx, ecx
inc ecx
mov dword [ebp - 0xb4], ecx
push esi
push esi
push 4
lea eax, [ebp - 0xb4]
push eax
push 0x60001
push esi
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x419b6b
push 0x48
push esi
lea eax, [ebp - 0x118]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x118], 0x48
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], esi
xor ecx, ecx
inc ecx
mov dword [ebp - 0x104], ecx
push 0x64
pop eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xec], esi
mov word [ebp - 0xe8], cx
push 0x40
push esi
lea eax, [ebp - 0x64]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x68], 0x44
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], esi
mov ecx, 0x402678
call fcn.004036cb
test eax, eax
jne 0x4029cc
mov eax, 0x4024c4
mov ecx, eax
call fcn.00402508
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x419ba7
cmp dword [0x42606c], 0
je 0x414c40
push 0x5c
pop edx
mov ecx, ebx
call fcn.00402580
test eax, eax
je 0x402a10
push 0x402b3c
push eax
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x4097af
mov eax, dword [0x426054]
test eax, eax
jne 0x405f93
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x4269e0
push esi
push 0x80000
xor eax, eax
inc eax
push eax
push esi
push esi
push edi
push ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x409779
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xa4], eax
push dword [ebp - 0xc8]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov edx, dword [ebp - 0xb0]
mov ecx, 0x402678
call fcn.004025a3
test edi, edi
je 0x40971f
mov eax, dword [ebp - 0xa4]
movzx edi, al
xor edx, edx
inc edx
and edi, edx
movzx ecx, al
shr ecx, 1
and ecx, edx
test eax, eax
je 0x416ae8
mov ebx, dword [ebp - 0xa8]
cmp dword [0x42606c], 0
je 0x40978f
push 2
pop ecx
mov dword [ebp - 0xac], esi
xor eax, eax
inc eax
mov dword [0x426128], eax
test ebx, ebx
jne 0x40ec81
mov ecx, dword [ebp - 0xa4]
call fcn.00402393
mov dword [0x4260f8], eax
mov dword [ebp - 0xa4], esi
mov esi, eax
mov dword [ebp - 0xac], esi
push esi
push 0x402b54
push 0x14
lea eax, [ebp - 0x4c]
push eax
call fcn.004026f3
add esp, 0x10
lea edx, [ebp - 0x4c]
mov ecx, 0x402b84
call fcn.004025a3
cmp esi, 0x20
jge 0x41522d
mov edx, 0x402b60
mov ecx, 0x402b64
call fcn.004025a3
test edi, edi
jne 0x4097bd
mov dword [ebp - 4], 0xfffffffe
call fcn.00402bb9
mov eax, esi
call fcn.004026d0
ret 0x10
cmp dword [eax + 0x30], 0
je 0x402a1d
jmp 0x419bd4
cmp dword [0x4260a4], 0xc1
je 0x4097a1
cmp dword [0x4260a4], 0x2e4
jne 0x40976c
call fcn.00406c17
test al, al
je 0x4097b9
push 0x4260a4
lea eax, [ebp - 0xa4]
push eax
movzx eax, word [ebp - 0xe8]
push eax
push 0x4269e0
mov eax, dword [ebp - 0xb8]
push dword [eax + 0x3c]
push ebx
push esi
call dword [sym.imp.ext_ms_win_cmd_util_l1_1_0.dll_ShellExecuteWorker]
mov edi, eax
test edi, edi
jne 0x402a7e
jmp 0x419c03
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [ebp - 0xac], eax
mov dword [0x4260a4], eax
jmp 0x402a66
cmp dword [0x426054], 0
jne 0x402aae
jmp 0x419c19
cmp byte [0x426004], 0
jne 0x409737
jmp 0x40972b
call fcn.004202bb
jmp 0x402a10
mov edi, esi
jmp 0x40976c
call fcn.004213c3
jmp 0x402b26
cmp ebx, 4
je 0x419c7a
cmp ebx, ecx
jne 0x402b26
mov eax, dword [ebp - 0xa4]
mov dword [0x4260f0], eax
jmp 0x402b26
cmp dword [0x426070], 0
jne 0x4029ee
jmp 0x419bc2
cmp esi, 0x7e
jg 0x402b0f
jmp 0x419c5e
push 2
pop ecx
jmp 0x419c56
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [0x4260a4], eax
mov ecx, ebx
call fcn.00420c1d
xor ecx, ecx
lea eax, [ecx + 1]
jmp 0x402b34
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [0x4260a4], eax
mov ecx, ebx
call fcn.00420c1d
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_DeleteProcThreadAttributeList]
jmp 0x419bba
push ebx
mov edx, 0x104
mov ecx, esi
call fcn.00401da3
mov ecx, esi
call fcn.00420c1d
mov ecx, esi
call fcn.0040128b
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x4261d4
call sub.msvcrt.dll__local_unwind4
add esp, 0xc
xor eax, eax
inc eax
jmp 0x402b34
cmp dword [0x426054], 0
jne 0x4029ee
jmp 0x402a10
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x118]
push ecx
push 0x4269e0
push esi
push 0x80000
xor ecx, ecx
inc ecx
push ecx
push esi
push esi
push edi
push ebx
push dword [eax + 0x30]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateProcessAsUserW]
jmp 0x402a44
mov ecx, 0x208
call fcn.00401e20
mov esi, eax
test esi, esi
jne 0x419b8c
jmp 0x419ba7
cmp byte [0x426004], 0
je 0x402aae
cmp dword [0x426070], 0
jne 0x402aae
test ebx, ebx
jne 0x402aae
test ecx, ecx
jne 0x416ae8
mov ecx, eax
call fcn.00420f09
push 2
pop ecx
cmp cx, ax
jne 0x402ab1
push 4
pop ebx
jmp 0x402ab1
push esi
push 0x419c9c
push 0xc
lea eax, [ebp - 0x80]
push eax
call fcn.004026f3
add esp, 0x10
lea edx, [ebp - 0x80]
jmp 0x402b14
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x402b26
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov dword [ebp - 0xa4], esi
jmp 0x402b26