Function at 0x408980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41284c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push edi
push str.settings.ini
lea ecx, [esp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0
push 1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
lea ecx, [esp + 8]
mov byte [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.WorkingDirectory
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esi + 0x28]
push ecx
mov bl, 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push eax
lea edx, [esp + 0x10]
mov byte [esp + 0x38], 4
mov edi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::setValue_class_QString_const___class_QVariant_const__]
push edx
lea ecx, [esp + 0x18]
call edi
mov byte [esp + 0x34], bl
mov ebx, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x18]
call ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.LastImportDirectory
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea eax, [esi + 0x2c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 6
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.LastExportDirectory
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea edx, [esi + 0xcc]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 8
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 7
call ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.GtaDirectory
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
push eax
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0xa
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 9
call ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.UseSaatMetadata
lea ecx, [esp + 0x10]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov byte [esp + 0x34], 0xb
movzx eax, byte [esi + 0xb4]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_bool_]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0xc
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0xb
call ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret