Function at 0x4030a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4adbc0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0xc18374]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea eax, [esp + 0x4c]
push str.download_scene.ini
push eax
call fcn.00465910
add esp, 8
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x70], 0
jb 0x4030eb
mov eax, dword [eax + 4]
jmp 0x4030ee
add eax, 4
mov esi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push 0xffffffffffffffff
push eax
call esi
add esp, 8
mov dword [esp + 0x14], eax
push 0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
mov edx, dword [esp + 0x14]
mov ebx, 3
mov byte [esp + 0x70], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
mov edi, dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
jne 0x40313e
mov ecx, dword [esp + 0x14]
push ecx
call edi
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0xffffffffffffffff
push 0x4de838
call esi
add esp, 8
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::beginGroup_class_QString_const__]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x70], 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40318d
mov edx, dword [esp + 0x18]
push edx
call edi
add esp, 4
cmp dword [esp + 0x7c], ebx
jne 0x403337
push 0xffffffffffffffff
push str.WIPE_DATA
call esi
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 7
call dword [sym.imp.QtCore4.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea edx, [esp + 0x10]
push edx
mov ecx, eax
mov byte [esp + 0x74], 8
call dword [sym.imp.QtCore4.dll_public:_class_QStringList___thiscall_QVariant::toStringList_void_]
mov esi, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 0xa
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0xb
call esi
mov eax, dword [esp + 0x1c]
mov bl, 0xc
mov byte [esp + 0x70], bl
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40321b
mov edx, dword [esp + 0x1c]
push edx
call edi
add esp, 4
mov eax, dword [esp + 0x78]
cmp dword [eax + 0x18], 0x10
jb 0x40322a
mov eax, dword [eax + 4]
jmp 0x40322d
add eax, 4
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLocal8Bit_char_const___int_]
push 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x8c], 0xd
call dword [sym.imp.QtCore4.dll_class_QBool___cdecl_QtPrivate::QStringList_contains_class_QStringList_const___class_QString_const___enum_Qt::CaseSensitivity_]
movzx esi, byte [esp + 0x98]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
neg esi
sbb esi, esi
mov byte [esp + 0x70], bl
lea eax, [esp + 0x7c]
or ebx, 0xffffffff
and esi, eax
mov edx, ebx
lock xadd dword [ecx], edx
jne 0x40328b
mov eax, dword [esp + 0x20]
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x10]
mov byte [esp + 0x70], 4
test esi, esi
je 0x4032d9
test eax, eax
je 0x4032d3
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x4032d3
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.004028a0
mov ecx, dword [esi]
test ecx, ecx
jne 0x4032d3
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov dword [esp + 0x70], ebx
jmp 0x403349
test eax, eax
je 0x403314
mov edx, ebx
lock xadd dword [eax], edx
jne 0x403314
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.004028a0
mov eax, dword [esi]
test eax, eax
jne 0x403314
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x70], ebx
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QSettings::endGroup_void_]
mov dword [esp + 0x70], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x64
ret