Function at 0x41ea90
Capabilities:
Create process on windows
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x422c2b
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
mov ebp, dword [esp + 0xb0]
push esi
push edi
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x41ebd2
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x41eadb
mov eax, dword [ebp + 0x3c]
test eax, eax
jne 0x41ead4
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x44]
lea esi, [ebp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x14]
lea ecx, [esp + 0x34]
push eax
mov ebx, 1
push esi
push ecx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x50], 0x44
mov dword [esp + 0x7c], ebx
mov word [esp + 0x80], bx
call fcn.0041f560
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb0], 0
test eax, eax
jne 0x41eb36
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
push edx
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41ebf7
mov edx, dword [esp + 0x14]
push 0xea60
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41eb9f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, 0x103
push 0x1f4
call esi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
cmp dword [esp + 0x10], ebx
je 0x41eb86
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0x10]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x41ebd2
mov al, byte [ecx - 1]
test al, al
je 0x41ebeb
cmp al, 0xff
je 0x41ebeb
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
dec ecx
push ecx
call fcn.004020d0
add esp, 4
jmp 0x41ebd2
push esi
lea edx, [esp + 0x9c]
push str.Kommando_
push edx
call fcn.0041f400
push str._konnte_nicht_gestartet_werden.
push eax
lea eax, [esp + 0x9c]
mov byte [esp + 0xc4], bl
push eax
call fcn.0041f6a0
add esp, 0x18
mov esi, eax
mov cl, byte [esi]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x24]
mov eax, dword [edx]
push eax
push 0
push esi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea ecx, [esp + 0x24]
push 0x426a10
push ecx
call sub.MSVCRT.dll__CxxThrowException
nop
nop
nop
nop
nop
nop
nop
nop