Function at 0x41a4a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b12c5
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4d8c20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x34], ebx
mov esi, edx
cmp ebx, edi
jne 0x41a547
push 0x278
push str.env.cpp
lea esi, [ebp - 0x128]
call fcn.00414f70
mov esi, eax
mov dword [ebp - 4], edi
cmp esi, edi
je 0x41a52e
lea edi, [esi + 0x10]
test edi, edi
je 0x41a505
lea eax, [esi + 0x20]
jmp 0x41a507
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
test edi, edi
je 0x41a51e
lea eax, [esi + 0x20]
jmp 0x41a520
xor eax, eax
push str.application_is_not_specified
push eax
call fcn.00407256
add esp, 8
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00415130
xor al, al
jmp 0x41a89c
push 0x38
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.0047f860
mov ecx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x70]
push edx
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], 0x140
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], str.open
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41a662
lea esi, [ebp - 0x2c]
call fcn.0041ab40
mov dword [ebp - 0x30], eax
push 0x288
push str.env.cpp
lea esi, [ebp - 0x128]
mov dword [ebp - 4], 1
call fcn.00414f70
mov edi, eax
mov byte [ebp - 4], 2
test edi, edi
je 0x41a63a
lea esi, [edi + 0x10]
test esi, esi
je 0x41a5cc
lea eax, [edi + 0x20]
jmp 0x41a5ce
xor eax, eax
push str.ERROR:
push eax
call fcn.00407256
add esp, 8
test esi, esi
je 0x41a5e5
lea eax, [edi + 0x20]
jmp 0x41a5e7
xor eax, eax
push str.failed_to_ShellExecuteEx_error:
push eax
call fcn.00407256
add esp, 8
test esi, esi
je 0x41a5fe
lea eax, [edi + 0x20]
jmp 0x41a600
xor eax, eax
mov ecx, dword [ebp - 0x30]
push eax
call fcn.0040741c
add esp, 4
test esi, esi
je 0x41a615
lea eax, [edi + 0x20]
jmp 0x41a617
xor eax, eax
push str._app:
push eax
call fcn.00407256
add esp, 8
test esi, esi
je 0x41a62e
lea eax, [edi + 0x20]
jmp 0x41a630
xor eax, eax
push ebx
push eax
call fcn.00407256
add esp, 8
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.00415130
cmp dword [ebp - 0x18], 8
jb 0x41a65b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00475dcb
add esp, 4
xor al, al
jmp 0x41a89c
mov eax, dword [ebp - 0x38]
xor bl, bl
cmp eax, edi
jne 0x41a6b5
push 0x291
push str.env.cpp
lea esi, [ebp - 0x128]
call fcn.00414f70
push str.failed_to_get_lpExecInfo.hProcess
push ecx
mov esi, eax
mov dword [ebp - 4], 3
call fcn.00405810
add esp, 4
mov esi, eax
call fcn.00405900
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00415130
jmp 0x41a88c
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x41a71f
push 0x298
push str.env.cpp
lea esi, [ebp - 0x128]
call fcn.00414f70
push str.failed_to_wait_process:
push ecx
mov esi, eax
mov dword [ebp - 4], 4
call fcn.00405810
add esp, 4
mov esi, eax
call fcn.00405900
cmp eax, edi
je 0x41a708
mov edx, dword [ebp - 0x38]
push edx
add eax, 0x20
push eax
call fcn.0041eb00
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00415130
jmp 0x41a88c
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x30]
push eax
push ecx
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x41a79c
push 0x29f
push str.env.cpp
lea esi, [ebp - 0x128]
call fcn.00414f70
mov esi, eax
mov dword [ebp - 4], 5
call fcn.00405810
mov ecx, str.failed_to_get_exit_code_for_app:
mov esi, eax
call fcn.0041e090
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00405834
mov esi, eax
call fcn.0041e0c0
cmp eax, edi
je 0x41a785
mov edx, dword [ebp - 0x38]
push edx
add eax, 0x20
push eax
call fcn.0041eb00
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
call fcn.00415130
jmp 0x41a88c
mov eax, dword [ebp - 0x30]
cmp eax, 0x103
jne 0x41a7f7
push 0x2a5
push str.env.cpp
lea esi, [ebp - 0x128]
call fcn.00414f70
mov esi, eax
mov dword [ebp - 4], 6
call fcn.00405810
mov ecx, str.failed_to_waiting_end_app:
mov esi, eax
call fcn.0041e090
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00405834
mov esi, eax
call fcn.0041e0c0
cmp eax, edi
je 0x41a708
mov ecx, dword [ebp - 0x38]
push ecx
jmp 0x41a6ff
cmp eax, edi
je 0x41a88a
cmp eax, 7
jne 0x41a80d
call fcn.0041a170
test al, al
jne 0x41a88c
push 0x2b0
push str.env.cpp
lea esi, [ebp - 0x1e0]
call fcn.00414f70
mov esi, eax
mov dword [ebp - 4], 7
call fcn.00405810
mov esi, eax
call fcn.0041e100
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00405834
mov esi, eax
call fcn.0041e0c0
mov esi, eax
cmp esi, edi
je 0x41a85b
mov edx, dword [ebp - 0x38]
push edx
lea eax, [esi + 0x20]
push eax
call fcn.0041eb00
push str._exitcode:
call fcn.00405900
cmp eax, edi
je 0x41a876
mov ecx, dword [ebp - 0x30]
push ecx
add eax, 0x20
push eax
call fcn.0040a3e8
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
call fcn.00415130
jmp 0x41a88c
mov bl, 1
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x41a89a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret