Function at 0x41374e
Capabilities:
Create process on windows

Disassembly:
push 0x108
push 0x42bdf8
call fcn.004175cc
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xbc], 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 - 0xb4], 0x20
lea eax, [ebp - 0xb4]
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_0.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x41dde6
xor ecx, ecx
inc ecx
mov dword [ebp - 0xb8], ecx
push esi
push esi
push 4
lea eax, [ebp - 0xb8]
push eax
push 0x60001
push esi
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x41de02
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 0x44
push esi
lea eax, [ebp - 0x68]
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_0.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], esi
mov ecx, 0x402220
call fcn.00413320
test eax, eax
jne 0x413878
mov eax, 0x4024ac
mov ecx, eax
call fcn.0040df40
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x41de3e
cmp dword [0x443ccc], 0
je 0x41de59
push 0x5c
pop edx
mov ecx, ebx
call fcn.00412349
test eax, eax
je 0x4138bc
push 0x402494
push eax
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x41de78
call fcn.00414c00
mov eax, dword [0x443cc4]
test eax, eax
jne 0x4139ea
mov eax, dword [0x443cb8]
test eax, eax
je 0x41deb9
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x118]
push ecx
push eax
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_0.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x41dec3
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, 0x402220
call fcn.00413a50
test edi, edi
je 0x41ded9
mov eax, dword [ebp - 0xa4]
mov edi, eax
xor ecx, ecx
inc ecx
and edi, ecx
mov ecx, eax
push 2
pop edx
and ecx, edx
test eax, eax
je 0x41df98
mov ebx, dword [ebp - 0xa8]
cmp dword [0x443ccc], 0
je 0x4139fa
mov dword [ebp - 0xac], esi
xor eax, eax
inc eax
mov dword [0x433838], eax
test ebx, ebx
jne 0x413a0c
mov ecx, dword [ebp - 0xa4]
call fcn.00414c3e
mov dword [0x43b8b0], eax
mov dword [ebp - 0xa4], esi
mov esi, eax
mov dword [ebp - 0xac], esi
push esi
push 0x4024c4
push 0x14
lea eax, [ebp - 0x4c]
push eax
call fcn.0041274c
add esp, 0x10
lea edx, [ebp - 0x4c]
mov ecx, 0x4024b0
call fcn.00413a50
cmp esi, 0x20
jge 0x413a26
mov edx, 0x4024f0
mov ecx, 0x4024d0
call fcn.00413a50
test edi, edi
jne 0x413a49
mov dword [ebp - 4], 0xfffffffe
call fcn.00413a30
mov eax, esi
call fcn.00417614
ret 0x10
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x4138ce
jmp 0x41de82
cmp dword [0x443cc4], 0
jne 0x413967
jmp 0x41df5f
cmp ebx, 4
je 0x41dfbc
cmp ebx, edx
jne 0x4139d4
mov eax, dword [ebp - 0xa4]
mov dword [0x42d54c], eax
jmp 0x4139d4
cmp esi, 0x7e
jg 0x4139c1
jmp 0x41dfa0
call fcn.0042579a
jmp 0x4139d4
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x443cf0], eax
mov ecx, ebx
call fcn.00425011
xor ecx, ecx
lea eax, [ecx + 1]
jmp 0x4139e2
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x443cf0], eax
mov ecx, ebx
call fcn.00425011
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
jmp 0x41de51
push ebx
mov edx, 0x7fe7
mov ecx, esi
call fcn.00411040
mov ecx, esi
call fcn.00425011
mov ecx, esi
call fcn.00410040
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x42d0b4
call sub.msvcrt.dll__local_unwind4
add esp, 0xc
xor eax, eax
inc eax
jmp 0x4139e2
cmp dword [0x448058], 0
jne 0x41389a
cmp dword [0x443cc4], 0
je 0x4138bc
jmp 0x41389a
call fcn.00424478
jmp 0x4138bc
mov eax, dword [0x443cb8]
test eax, eax
jne 0x41de90
mov eax, 0x443ab0
lea edx, [ebp - 0xcc]
push edx
lea edx, [ebp - 0x118]
push edx
push eax
push esi
push 0x80000
xor eax, eax
inc eax
push eax
push esi
push esi
push edi
push ebx
push ecx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
jmp 0x4138fe
mov eax, 0x443ab0
jmp 0x4138db
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0xac], eax
mov dword [0x443cf0], eax
jmp 0x413920
cmp byte [0x443cc9], 0
je 0x41deee
cmp dword [0x443cf0], 0xc1
je 0x41defa
cmp dword [0x443cf0], 0x2e4
jne 0x41df3e
call fcn.00417797
test al, al
je 0x41df3c
mov ecx, dword [0x443cb8]
test ecx, ecx
jne 0x41df12
mov ecx, 0x443ab0
push 0x443cf0
lea eax, [ebp - 0xa4]
push eax
movzx eax, word [ebp - 0xe8]
push eax
push ecx
mov eax, dword [ebp - 0xbc]
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
jmp 0x41df3e
mov edi, esi
test edi, edi
jne 0x413938
mov ecx, 0xffce
call fcn.004100b0
mov esi, eax
test esi, esi
je 0x41de3e
jmp 0x41de23
cmp byte [0x443cc9], 0
je 0x413967
cmp dword [0x448058], 0
jne 0x413967
test ebx, ebx
jne 0x413967
test ecx, ecx
jne 0x41df98
mov ecx, eax
call fcn.004252e3
push 2
pop edx
cmp dx, ax
jne 0x413967
push 4
pop ebx
jmp 0x413967
push esi
push 0x4039bc
push 0xc
lea eax, [ebp - 0x80]
push eax
call fcn.0041274c
add esp, 0x10
lea edx, [ebp - 0x80]
jmp 0x4139c6
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4139d4
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov dword [ebp - 0xa4], esi
jmp 0x4139d4