Function at 0x40adb0
Capabilities:
Create process on windows
Get common file path
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e78ba
mov eax, dword fs:[0]
push eax
sub esp, 0x3dc
mov eax, dword [0x56e01c]
xor eax, esp
mov dword [esp + 0x3d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x3f0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [eax]
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
push eax
mov ecx, 0x56e524
call ebp
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call ebp
test eax, eax
je 0x40ae7c
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [ecx]
push eax
mov ecx, 0x56e524
call ebp
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call ebp
cmp dword [eax + 0x2c], ebx
je 0x40ae7c
mov edx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [edx]
push eax
mov ecx, 0x56e524
call ebp
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call ebp
mov eax, dword [eax + 0x2c]
lea esi, [esp + 0x84]
call fcn.0047ac90
mov eax, dword [eax]
mov dword [esp + 0x18], 1
cmp dword [eax + 8], ebx
je 0x40ae78
mov byte [esp + 0x17], bl
mov ebx, dword [esp + 0x18]
jmp 0x40ae81
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
test bl, 1
je 0x40ae9a
and ebx, 0xfffffffe
lea ecx, [esp + 0x84]
mov dword [esp + 0x18], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
jne 0x40b3c6
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [ecx]
push eax
mov ecx, 0x56e524
mov byte [esp + 0x1b], 0
call ebp
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call ebp
mov eax, dword [eax + 0x2c]
lea esi, [esp + 0x38]
call fcn.0047ac90
mov dword [esp + 0x3f8], 0
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x1c], eax
mov edx, 1
lock xadd dword [eax], edx
push 0x4f81e4
lea ecx, [esp + 0x28]
mov byte [esp + 0x3fc], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumRootWPD_
lea ecx, [esp + 0x30]
mov byte [esp + 0x3fc], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x404], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0x3fc], 4
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QSettings::childGroups_void_]
mov byte [esp + 0x3f8], 5
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x40afa8
mov edx, esi
mov eax, 1
lock xadd dword [edx], eax
mov ecx, dword [esp + 0x1c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40af8b
mov ebx, dword [esp + 0x1c]
call fcn.00409b30
mov ebx, dword [esp + 0x18]
mov eax, esi
mov dword [esp + 0x1c], eax
test byte [esi + 0x10], 1
jne 0x40afa8
mov edx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.004099e0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x3f8], 4
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x40afd2
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x40afce
mov ebx, dword [esp + 0x54]
call fcn.00409b30
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov edi, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::trimmed_void_]
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x40b328
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
mov edx, dword [eax + 8]
add edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
lea eax, [eax + edx*4 + 0x14]
push eax
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.004028f0
push 0x4f7fc4
push eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x410], 6
call fcn.004029f0
add esp, 0x18
lea ecx, [esp + 0x8c]
mov byte [esp + 0x3f8], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x6c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
push str.LocationInformation
lea ecx, [esp + 0x60]
mov byte [esp + 0x3fc], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x114]
mov byte [esp + 0x3f8], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x404], 0xb
call dword [sym.imp.QtCore4.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 + 0x3fc], 0xc
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x3f8], 0xe
call esi
lea ecx, [esp + 0x114]
mov byte [esp + 0x3f8], 0xf
call esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x3f8], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x3c]
call edi
mov ebp, eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3fc], 0x11
call edi
push ebp
mov ecx, eax
mov byte [esp + 0x3fc], 0x12
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
lea ecx, [esp + 0x88]
mov bl, al
mov byte [esp + 0x3f8], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x3f8], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x40b1e4
push str.ControlDisableCount
lea ecx, [esp + 0x6c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0x104]
mov byte [esp + 0x3f8], 0x13
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x12c]
mov byte [esp + 0x400], 0x14
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
push edx
lea ecx, [esp + 0x6c]
call ebp
push 0
mov ecx, eax
mov byte [esp + 0x3fc], 0x15
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QVariant::toInt_bool__const]
test eax, eax
lea ecx, [esp + 0x124]
sete bl
mov byte [esp + 0x3f8], 0x14
call esi
lea ecx, [esp + 0x104]
mov byte [esp + 0x3f8], 0x13
call esi
lea ecx, [esp + 0x68]
mov byte [esp + 0x3f8], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
jne 0x40b23a
lea ecx, [esp + 0x40]
mov byte [esp + 0x3f8], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0x3f8], 8
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x3f8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
inc ecx
cmp ecx, edx
mov dword [esp + 0x20], ecx
jl 0x40aff4
jmp 0x40b31e
push str.FriendlyName
lea ecx, [esp + 0x74]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3f8], 0x16
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x404], 0x17
call ebp
lea edx, [esp + 0x3c]
mov bl, 0x18
push edx
mov ecx, eax
mov byte [esp + 0x3fc], bl
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QVariant::toString_void_]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x3fc], 0x19
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3f8], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3f8], 0x17
call esi
lea ecx, [esp + 0xf4]
mov byte [esp + 0x3f8], 0x16
call esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x3f8], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x3f8], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0x3f8], 8
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x3f8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
lea eax, [esp + 0x58]
push eax
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x40b720
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x40b3cd
lea ecx, [esp + 0x90]
mov byte [esp + 0x3f8], 3
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3f8], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x3f8], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x3f8], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40b3b1
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x40b3b1
mov ebx, dword [esp + 0x1c]
call fcn.00409b30
lea ecx, [esp + 0x38]
mov dword [esp + 0x3f8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
xor al, al
jmp 0x40b7c8
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x5c]
push 0x4f7d4c
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
push 0x38
lea ecx, [esp + 0xa0]
push 0
push ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0xa4], 0
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x5c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push 0xa0
push 0
push eax
call edx
test eax, eax
jl 0x40b708
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x70]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x40b65c
cmp dword [esp + 0x28], 0
je 0x40b65c
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
push ecx
push edx
call fcn.0040a300
add esp, 8
push 0x208
push 0x2b4
lea ecx, [esp + 0x13c]
push ecx
push 0
push eax
mov dword [esp + 0x5c], eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x40b634
push 0xffffffffffffffff
lea edx, [esp + 0x144]
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
mov byte [esp + 0x3f8], 0x1a
mov ecx, dword [sym.imp.QtCore4.dll_class_QCoreApplication__QCoreApplication::self]
mov eax, dword [ecx]
push eax
mov ecx, 0x56e524
call ebp
mov eax, dword [eax + 8]
push eax
mov ecx, 0x56e674
call ebp
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x30]
push edx
push eax
call fcn.0047acd0
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x3fc], 0x1b
call edi
mov esi, eax
lea edx, [esp + 0x78]
mov byte [esp + 0x3f8], 0x1c
or ebx, 2
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ebx
call edi
mov dword [esp + 0x3f8], 0x1d
push esi
mov esi, dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
or ebx, 4
mov ecx, eax
mov dword [esp + 0x1c], ebx
call esi
test al, al
jne 0x40b581
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x28]
call edi
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x3fc], 0x1e
or ebx, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call edi
mov dword [esp + 0x3f8], 0x1f
mov edx, dword [esp + 0x3c]
or ebx, 0x10
push edx
mov ecx, eax
mov dword [esp + 0x1c], ebx
call esi
mov byte [esp + 0x17], 0
test al, al
je 0x40b586
mov byte [esp + 0x17], 1
mov dword [esp + 0x3f8], 0x1e
test bl, 0x10
je 0x40b5aa
and ebx, 0xffffffef
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x3f8], 0x1d
test bl, 8
je 0x40b5cb
and ebx, 0xfffffff7
lea ecx, [esp + 0x74]
mov dword [esp + 0x18], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x3f8], 0x1c
test bl, 4
je 0x40b5ec
and ebx, 0xfffffffb
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x3f8], 0x1b
test bl, 2
je 0x40b609
lea ecx, [esp + 0x7c]
and ebx, 0xfffffffd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
jne 0x40b66a
lea ecx, [esp + 0x30]
mov byte [esp + 0x3f8], 0x1a
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3f8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x30], 0
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x40b451
mov eax, dword [esp + 0x34]
mov byte [esp + 0x17], 0
jmp 0x40b70c
mov ecx, 0x4f7e14
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0xbc], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x98], 0x3c
mov dword [esp + 0x9c], 4
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], str.explore
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 5
mov dword [esp + 0xb8], eax
mov byte [esp + 0x3f8], 0x1a
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3f8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0x1b], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x34]
jmp 0x40b70c
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_OleUninitialize]
lea ecx, [esp + 0x90]
mov byte [esp + 0x3f8], 3
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3f8], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x3f8], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x3f8], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40b7af
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40b7af
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x14]
lea edi, [eax + ecx*4 + 0x14]
mov ebx, eax
cmp edi, esi
je 0x40b79f
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x40b790
mov edx, dword [ebx]
test edx, edx
jne 0x40b7af
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x3f8], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x3f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3d8]
xor ecx, esp
call fcn.004ce3bb
add esp, 0x3e8
ret