Function at 0x4106f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41c681
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be5d0]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov edi, dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push ebx
push 0x41ee9a
mov dword [esp + 0xdc], ebx
call edi
add esp, 8
mov dword [esp + 0x24], eax
mov byte [esp + 0xd4], 1
mov dword [esp + 0x1c], 1
cmp dword [eax + 4], ebx
jle 0x410771
push 0x41ee9a
lea ecx, [esp + 0xe0]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
mov byte [esp + 0x17], 1
test al, al
jne 0x410776
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0xd4], ebx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x410820
mov ecx, esi
call fcn.0040e790
push ecx
mov dword [esp + 0x1c], esp
mov ebp, esp
push 7
push str.add.bat
call edi
mov dword [ebp], eax
add esp, 4
mov dword [esp + 0x24], esp
mov ebp, esp
push ebx
push 0x41ee9a
mov byte [esp + 0xe4], 2
call edi
mov dword [ebp], eax
add esp, 8
mov ecx, esi
mov byte [esp + 0xdc], 0
call fcn.00418140
push ecx
mov dword [esp + 0x1c], esp
mov ebp, esp
push 0x10
push str.GameManifest.xml
call edi
mov dword [ebp], eax
add esp, 4
mov dword [esp + 0x24], esp
mov ebp, esp
push ebx
push 0x41ee9a
mov byte [esp + 0xe4], 3
call edi
mov dword [ebp], eax
add esp, 8
mov ecx, esi
mov byte [esp + 0xdc], 0
call fcn.00418140
jmp 0x410cf3
push str.GameManifest.xml
lea ecx, [esp + 0xe0]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x410bda
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QSysInfo::productVersion_void_]
add esp, 4
push 0x421c54
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 4
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator__char_const__const]
test al, al
je 0x410bbc
push 0x24
push str.C:Program_Files__x86_Kaspersky_Lab
call edi
add esp, 8
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 5
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], 7
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QDir::exists_void_const]
test al, al
jne 0x410baa
push 8
push str.host.ini
call edi
add esp, 8
mov dword [esp + 0x3c], eax
push ebx
push 1
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0xe0], 8
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xd4], 0xa
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 8
push str.Download
call edi
add esp, 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xd8], 0xb
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::beginGroup_class_QString_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 0xa
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 7
push str.ADDDEF2
call edi
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x44]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0xe0], 0xd
call dword [sym.imp.QL_Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
mov byte [esp + 0xd8], 0xe
call dword [sym.imp.QL_Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
mov ebp, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xd4], 0x10
call ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0xd4], 0x11
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 0x12
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QDir::currentPath_void_]
lea edx, [esp + 0x28]
push edx
call ebx
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xe0], 0x13
call dword [sym.imp.QL_Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
add esp, 0xc
test al, al
lea ecx, [esp + 0x28]
sete byte [esp + 0x17]
mov byte [esp + 0xd4], 0x12
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x410b86
lea ecx, [esp + 0x18]
push ecx
call ebx
add esp, 4
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0xd8], 0x14
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push 7
mov bl, 0x15
push str.ADDDEF2
mov byte [esp + 0xdc], bl
call edi
add esp, 8
mov dword [esp + 0x34], eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xdc], 0x16
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::setValue_class_QString_const___class_QVariant_const__]
lea ecx, [esp + 0x34]
mov byte [esp + 0xd4], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 0x14
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0x12
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::endGroup_void_]
push 7
push str.add.bat
call edi
add esp, 8
mov dword [esp + 0x28], eax
mov bl, 0x17
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], bl
call dword [sym.imp.QL_Core.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push 0x40
lea ecx, [esp + 0x90]
push 0
push ecx
mov edi, eax
mov dword [esp + 0x94], 0x44
call sub.QL_CR100.dll_memset
or dword [esp + 0xc0], 1
add esp, 0xc
xor edx, edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x8c]
push ecx
push edx
push edx
push 0x8000000
push edx
push edx
push edx
push edi
push edx
mov word [esp + 0xe0], dx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x410b0e
mov edx, dword [esp + 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x6c]
push eax
call edi
jmp 0x410b74
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
lea ecx, [esp + 0x64]
mov ebp, eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.QL_Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.Failed_to_create_process._Error_code:
mov ecx, eax
mov byte [esp + 0xd8], 0x18
call dword [sym.imp.QL_Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov edi, eax
mov ecx, dword [edi]
push ebp
call dword [sym.imp.QL_Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___unsigned_long_int_]
mov ecx, dword [edi]
cmp byte [ecx + 0x14], 0
je 0x410b63
push 0x20
call dword [sym.imp.QL_Core.dll_public:_class_QTextStream____thiscall_QTextStream::operator___char_]
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0xd4], 0x12
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0xd4], 0xa
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xd4], 7
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0xd4], 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::destructor_void_]
mov ecx, esi
call fcn.00410330
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x410cf3
push 0x41ec58
lea ecx, [esp + 0xe0]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
jne 0x410cec
push ebx
push ecx
mov edx, esp
lea eax, [esi + 0x50]
mov dword [esp + 0x20], esp
push eax
lea edi, [esi + 0x4c]
push edi
push edx
call fcn.00401000
add esp, 0xc
mov ecx, esi
call fcn.004072d0
mov eax, dword [esi + 0x70]
mov ebp, dword [sym.imp.QL_Widgets.dll_public:_void___thiscall_QProgressBar::setValue_int_]
mov dword [esi + 0x24], ebx
mov ecx, dword [eax + 4]
push ebx
call ebp
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x70]
push ecx
mov ecx, dword [edx + 4]
push ebx
mov ebx, dword [sym.imp.QL_Widgets.dll_public:_void___thiscall_QProgressBar::setRange_int__int_]
call ebx
mov eax, dword [esi + 0x60]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
lea ecx, [esi + 0x60]
test edx, edx
jle 0x410cb4
lea eax, [esp + 0x44]
push eax
call fcn.0040fef0
mov ebx, eax
push ebx
mov ecx, edi
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebx + 4]
push ecx
lea ecx, [edi + 4]
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov edx, dword [ebx + 8]
mov dword [edi + 8], edx
mov al, byte [ebx + 0xc]
lea ecx, [esp + 0x44]
mov byte [edi + 0xc], al
call fcn.00406d00
push ecx
lea eax, [esi + 0x50]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, esi
call fcn.00418140
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x70]
push ecx
mov ecx, dword [edx + 4]
call ebp
jmp 0x410cf3
call fcn.0040bbd0
mov eax, dword [esi + 0x70]
push 0x64
mov byte [esi + 0x8d], 0
mov ecx, dword [eax + 4]
push 0
call ebx
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + 4]
push 0x64
call ebp
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 0x1c]
push 0x64
push 0
call ebx
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x1c]
push 0x64
call ebp
mov ecx, esi
call fcn.0040f9a0
lea ecx, [esp + 0xdc]
mov dword [esp + 0xd4], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 4