Function at 0x418ea4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a705
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2190
call fcn.004fc040
mov eax, dword [0x571268]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x207c], esi
mov dword [ebp - 0x2078], eax
mov dword [ebp - 0x2080], edi
cmp esi, edi
je 0x419882
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x418f00
sub eax, edx
sar eax, 1
je 0x419882
call fcn.00411dd9
cmp byte [eax], 0
jne 0x418fc5
lea eax, [ebp - 0x2128]
push eax
call fcn.004071c6
push dword [ebp - 0x207c]
lea esi, [ebp - 0x209c]
mov dword [ebp - 4], 9
call fcn.004076aa
push eax
push ecx
mov ebx, 0x525218
push ebx
push ecx
lea eax, [ebp - 0x2120]
push str.CSystemCommands::RunProgram___filename
push eax
mov byte [ebp - 4], 0xa
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00405173
pop ecx
pop ecx
push 0
push 1
mov byte [ebp - 4], 9
call fcn.0040754f
lea eax, [ebp - 0x2034]
push eax
lea ecx, [ebp - 0x2128]
call fcn.0040574e
lea edi, [ebp - 0x2034]
mov byte [ebp - 4], 0xb
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2128]
call fcn.00405a60
jmp 0x419134
lea eax, [ebp - 0x2120]
push eax
mov dword [ebp - 4], 0xc
call fcn.00405430
push esi
lea esi, [ebp - 0x2144]
mov byte [ebp - 4], 0xd
call fcn.004076aa
mov edi, eax
mov byte [ebp - 4], 0xe
call fcn.00411dd9
lea ecx, [ebp - 0x209c]
call fcn.00405346
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x18], 8
jb 0x41900d
mov esi, dword [eax + 4]
jmp 0x419010
lea esi, [eax + 4]
lea eax, [ebp - 0x2120]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CSystemCommands::RunProgram___filename
push eax
call fcn.004058d5
pop ecx
pop ecx
mov ebx, 0x525218
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push edi
push eax
call fcn.00405173
pop ecx
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x209c]
call fcn.0040754f
push edi
push 1
lea esi, [ebp - 0x2144]
mov byte [ebp - 4], 0xd
call fcn.0040754f
lea eax, [ebp - 0x2074]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x10
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4190dd
lea eax, [ebp - 0x209c]
push eax
lea ecx, [ebp - 0x2120]
call fcn.0040532c
push 0x31
push str..SystemCommands.cpp
push eax
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x11
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push edi
push 1
lea esi, [ebp - 0x209c]
call fcn.0040754f
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0xd
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x2120]
mov byte [ebp - 4], 0xc
call fcn.0040539b
or dword [ebp - 4], 0xffffffff
jmp 0x419134
call fcn.00411dd9
cmp byte [eax], 0
jne 0x4191ea
lea eax, [ebp - 0x2128]
push eax
call fcn.004071c6
mov eax, dword [ebp - 0x2078]
mov dword [ebp - 4], 0x14
test eax, eax
jne 0x419164
mov eax, 0x525140
push eax
lea esi, [ebp - 0x209c]
call fcn.004076aa
push eax
push ecx
push ebx
push ecx
lea eax, [ebp - 0x2120]
push str.CSystemCommands::RunProgram___parameters
push eax
mov byte [ebp - 4], 0x15
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00405173
pop ecx
pop ecx
push 0
push 1
mov byte [ebp - 4], 0x14
call fcn.0040754f
lea eax, [ebp - 0x2034]
push eax
lea ecx, [ebp - 0x2128]
call fcn.0040574e
lea edi, [ebp - 0x2034]
mov byte [ebp - 4], 0x16
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2128]
call fcn.00405a60
jmp 0x419363
lea eax, [ebp - 0x2120]
push eax
mov dword [ebp - 4], 0x17
call fcn.00405430
mov eax, dword [ebp - 0x2078]
mov byte [ebp - 4], 0x18
test eax, eax
jne 0x419210
mov eax, 0x525140
push eax
lea esi, [ebp - 0x2144]
call fcn.004076aa
mov edi, eax
mov byte [ebp - 4], 0x19
call fcn.00411dd9
lea ecx, [ebp - 0x209c]
call fcn.00405346
mov byte [ebp - 4], 0x1a
cmp dword [eax + 0x18], 8
jb 0x419241
mov esi, dword [eax + 4]
jmp 0x419244
lea esi, [eax + 4]
lea eax, [ebp - 0x2120]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CSystemCommands::RunProgram___parameters
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push edi
push eax
call fcn.00405173
pop ecx
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x209c]
call fcn.0040754f
push edi
push 1
lea esi, [ebp - 0x2144]
mov byte [ebp - 4], 0x18
call fcn.0040754f
lea eax, [ebp - 0x2074]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x1b
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x41930c
lea eax, [ebp - 0x209c]
push eax
lea ecx, [ebp - 0x2120]
call fcn.0040532c
push 0x32
push str..SystemCommands.cpp
push eax
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x1c
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push edi
push 1
lea esi, [ebp - 0x209c]
call fcn.0040754f
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x18
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x2120]
mov byte [ebp - 4], 0x17
call fcn.0040539b
or dword [ebp - 4], 0xffffffff
jmp 0x419363
xor eax, eax
lea edi, [ebp - 0x2154]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop esi
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0x21a0]
push 0
push eax
call fcn.004ef370
add esp, 0xc
mov dword [ebp - 0x21a0], esi
xor eax, eax
mov edi, 0x52823c
push edi
lea esi, [ebp - 0x206c]
mov dword [ebp - 0x2174], 1
mov word [ebp - 0x2170], ax
call fcn.004076aa
push dword [ebp - 0x207c]
mov eax, esi
push eax
mov dword [ebp - 4], 0x1f
call fcn.0040512d
push edi
mov eax, esi
push eax
call fcn.0040512d
mov eax, esi
push eax
lea esi, [ebp - 0x2050]
call fcn.00405639
cmp dword [ebp - 0x2078], 0
mov byte [ebp - 4], 0x20
je 0x419402
push 0x528240
mov eax, esi
push eax
call fcn.0040512d
push dword [ebp - 0x2078]
mov eax, esi
push eax
call fcn.0040512d
mov ecx, dword [ebp - 0x204c]
xor eax, eax
cmp dword [ebp - 0x2038], 8
mov word [ebp - 0x2018], ax
jae 0x419420
lea ecx, [ebp - 0x204c]
lea edx, [ebp - 0x2018]
xor edi, edi
movzx eax, word [ecx]
inc ecx
mov word [edx], ax
inc ecx
inc edx
inc edx
cmp ax, di
jne 0x419428
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 0x2154]
push eax
lea eax, [ebp - 0x21a0]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x2018]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x2078], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x207c], eax
call fcn.00411dd9
cmp byte [eax], 0
jne 0x4194f9
lea eax, [ebp - 0x2128]
push eax
call fcn.004071c6
push dword [ebp - 0x207c]
lea eax, [ebp - 0x2120]
push ecx
push ebx
push ecx
push str.CSystemCommands::RunProgram___CreateProcess_last_error
push eax
mov byte [ebp - 4], 0x21
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00403746
lea eax, [ebp - 0x2034]
push eax
lea ecx, [ebp - 0x2128]
call fcn.0040574e
lea edi, [ebp - 0x2034]
mov byte [ebp - 4], 0x22
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
lea eax, [ebp - 0x2128]
mov byte [ebp - 4], 0x20
call fcn.00405a60
jmp 0x419647
lea eax, [ebp - 0x2120]
push eax
mov byte [ebp - 4], 0x23
call fcn.00405430
mov byte [ebp - 4], 0x24
call fcn.00411dd9
lea ecx, [ebp - 0x209c]
call fcn.00405346
mov byte [ebp - 4], 0x25
cmp dword [eax + 0x18], 8
jb 0x41952c
mov esi, dword [eax + 4]
jmp 0x41952f
lea esi, [eax + 4]
lea eax, [ebp - 0x2120]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CSystemCommands::RunProgram___CreateProcess_last_error
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push dword [ebp - 0x207c]
push eax
call fcn.00403746
push edi
push 1
lea esi, [ebp - 0x209c]
mov byte [ebp - 4], 0x24
call fcn.0040754f
lea eax, [ebp - 0x2074]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x26
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4195ea
lea eax, [ebp - 0x209c]
push eax
lea ecx, [ebp - 0x2120]
call fcn.0040532c
push 0x56
push str..SystemCommands.cpp
push eax
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x27
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push edi
push 1
lea esi, [ebp - 0x209c]
call fcn.0040754f
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x24
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x2120]
mov byte [ebp - 4], 0x23
call fcn.0040539b
mov dword [ebp - 4], 0x20
jmp 0x419647
cmp dword [ebp - 0x2078], 1
sete al
test al, al
je 0x41966d
cmp byte [ebp + 0xc], 0
je 0x419717
push 0xffffffffffffffff
push dword [ebp - 0x2154]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp + 0xc], 0
je 0x419717
lea eax, [ebp - 0x2080]
push eax
push dword [ebp - 0x2154]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x419717
call fcn.00411dd9
cmp byte [eax], 0
jne 0x419742
lea eax, [ebp - 0x2128]
push eax
call fcn.004071c6
mov byte [ebp - 4], 0x2a
push dword [ebp - 0x2080]
lea eax, [ebp - 0x2120]
push ecx
push ebx
push ecx
push str.CSystemCommands::RunProgram___exit_code
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.004058d5
add esp, 0xc
push eax
call fcn.00403746
lea eax, [ebp - 0x2034]
push eax
lea ecx, [ebp - 0x2128]
call fcn.0040574e
lea edi, [ebp - 0x2034]
mov byte [ebp - 4], 0x2b
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
lea eax, [ebp - 0x2128]
mov byte [ebp - 4], 0x20
call fcn.00405a60
mov edi, dword [ebp - 0x2080]
push 0
push 1
lea esi, [ebp - 0x2050]
call fcn.0040754f
push 0
push 1
lea esi, [ebp - 0x206c]
call fcn.0040754f
mov eax, edi
jmp 0x4198ed
lea eax, [ebp - 0x2120]
push eax
mov byte [ebp - 4], 0x2c
call fcn.00405430
mov byte [ebp - 4], 0x2d
call fcn.00411dd9
lea ecx, [ebp - 0x209c]
call fcn.00405346
mov byte [ebp - 4], 0x2e
cmp dword [eax + 0x18], 8
jb 0x419775
mov esi, dword [eax + 4]
jmp 0x419778
lea esi, [eax + 4]
lea eax, [ebp - 0x2120]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CSystemCommands::RunProgram___exit_code
push eax
call fcn.004058d5
pop ecx
pop ecx
push ebx
push eax
call fcn.004058d5
pop ecx
pop ecx
push dword [ebp - 0x2080]
push eax
call fcn.00403746
push 0
push 1
lea esi, [ebp - 0x209c]
mov byte [ebp - 4], 0x2d
call fcn.0040754f
lea eax, [ebp - 0x2074]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x2f
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x419835
lea eax, [ebp - 0x209c]
push eax
lea ecx, [ebp - 0x2120]
call fcn.0040532c
push 0x5e
push str..SystemCommands.cpp
push eax
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x30
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push 0
push 1
lea esi, [ebp - 0x209c]
call fcn.0040754f
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 0x2d
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x2120]
mov byte [ebp - 4], 0x2c
call fcn.0040539b
jmp 0x419717
call fcn.00411dd9
cmp byte [eax], 0
jne 0x419907
lea eax, [ebp - 0x2128]
push eax
call fcn.004071c6
and dword [ebp - 4], 0
lea eax, [ebp - 0x2120]
push str.CSystemCommands::RunProgram_szFileName_is_empty.
push eax
call fcn.004058d5
pop ecx
pop ecx
lea eax, [ebp - 0x2034]
push eax
lea ecx, [ebp - 0x2128]
call fcn.0040574e
lea edi, [ebp - 0x2034]
mov byte [ebp - 4], 1
call fcn.00405549
push 0
push 1
mov esi, edi
call fcn.0040754f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2128]
call fcn.00405a60
push 2
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e6e1c
leave
ret
lea eax, [ebp - 0x2120]
push eax
mov dword [ebp - 4], 2
call fcn.00405430
mov byte [ebp - 4], 3
call fcn.00411dd9
lea ecx, [ebp - 0x209c]
call fcn.00405346
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x41993d
mov esi, dword [eax + 4]
jmp 0x419940
lea esi, [eax + 4]
lea eax, [ebp - 0x2120]
push 0x5251c8
push eax
call fcn.004058d5
pop ecx
pop ecx
push esi
push eax
call fcn.004058d5
pop ecx
pop ecx
push 0x5251c0
push eax
call fcn.004058d5
pop ecx
pop ecx
push str.CSystemCommands::RunProgram_szFileName_is_empty.
push eax
call fcn.004058d5
pop ecx
pop ecx
push edi
push 1
lea esi, [ebp - 0x209c]
mov byte [ebp - 4], 3
call fcn.0040754f
lea eax, [ebp - 0x2074]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
pop ecx
mov esi, 0x2710
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4199e6
lea eax, [ebp - 0x209c]
push eax
lea ecx, [ebp - 0x2120]
call fcn.0040532c
push 0x2d
push str..SystemCommands.cpp
push eax
push esi
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
push edi
push 1
lea esi, [ebp - 0x209c]
call fcn.0040754f
lea ecx, [ebp - 0x2074]
mov byte [ebp - 4], 3
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea eax, [ebp - 0x2120]
mov byte [ebp - 4], 2
call fcn.0040539b
jmp 0x4198ea