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

Disassembly:
push 0xffffffffffffffff
push 0x41bf1c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be5d0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_void_]
mov esi, dword [esp + 0x64]
mov eax, dword [esi]
mov eax, dword [eax + 4]
dec eax
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov byte [esp + 0x64], 1
call dword [sym.imp.QL_Core.dll_public:_class_QChar___thiscall_QString::at_int_const]
mov ax, word [eax]
mov ebp, dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov ebx, dword [sym.imp.QL_Core.dll_public:_class_QString___thiscall_QString::left_int_]
cmp ax, 0x2f
jne 0x40e0a0
mov edx, dword [esi]
mov eax, dword [edx + 4]
dec eax
push eax
lea eax, [esp + 0x68]
push eax
mov ecx, esi
call ebx
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x64]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x40e0a7
push esi
lea ecx, [esp + 0x18]
call ebp
mov edi, dword [esp + 0x68]
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
dec eax
push eax
lea edx, [esp + 0x68]
push edx
mov ecx, edi
call dword [sym.imp.QL_Core.dll_public:_class_QChar___thiscall_QString::at_int_const]
cmp word [eax], 0x2f
jne 0x40e0ec
mov eax, dword [edi]
mov eax, dword [eax + 4]
dec eax
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call ebx
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x64]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x40e0f3
push edi
lea ecx, [esp + 0x1c]
call ebp
mov ebp, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 2
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFileInfo::isDir_void_const]
test al, al
je 0x40e3e9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
push ecx
mov eax, esp
mov dword [eax], 0xffffffff
mov dword [esp + 0x68], esp
mov eax, 0x6303
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 3
call dword [sym.imp.QL_Core.dll_public:_class_QStringList___thiscall_QDir::entryList_class_QFlags_enum_QDir::Filter___class_QFlags_enum_QDir::SortFlag__]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 4
call fcn.0040ba50
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
mov dword [esp + 0x48], esi
mov edx, dword [eax + 0xc]
lea eax, [eax + edx*4 + 0x10]
mov dword [esp + 0x4c], eax
mov eax, 1
mov dword [esp + 0x50], eax
mov byte [esp + 0x5c], 5
cmp esi, dword [esp + 0x4c]
je 0x40e327
test eax, eax
je 0x40e313
push ecx
mov byte [esp + 0x30], 0x2f
mov edx, dword [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004067e0
push esi
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x74], 6
call fcn.00401000
add esp, 0x18
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 8
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov byte [esp + 0x38], 0x2f
mov eax, dword [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004067e0
push esi
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x74], 9
call fcn.00401000
add esp, 0x18
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 0xb
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x40]
call ebp
mov ecx, eax
mov byte [esp + 0x5c], 0xc
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFileInfo::isDir_void_const]
lea ecx, [esp + 0x3c]
mov bl, al
mov byte [esp + 0x5c], 0xb
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QFileInfo::destructor_void_]
test bl, bl
je 0x40e281
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QDir::mkpath_class_QString_const__const]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0040e000
jmp 0x40e2ef
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x90]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
lea edi, [eax + ecx*4 + 0x10]
lea ebx, [eax + edx*4 + 0x10]
cmp edi, ebx
je 0x40e2bc
lea ecx, [ecx]
push esi
push edi
call dword [sym.imp.QL_Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
add esp, 8
test al, al
jne 0x40e2b8
add edi, 4
cmp edi, ebx
jne 0x40e2a0
jmp 0x40e2bc
cmp edi, ebx
jne 0x40e2ef
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::exists_class_QString_const__]
add esp, 4
test al, al
je 0x40e2dc
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::remove_class_QString_const__]
add esp, 4
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::rename_class_QString_const___class_QString_const__]
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 8
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x5c], 5
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [esp + 0x48]
xor eax, eax
add esi, 4
xor eax, 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], eax
jne 0x40e18c
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov ebp, dword [sym.imp.QL_Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
mov byte [esp + 0x5c], 4
test ecx, ecx
je 0x40e353
cmp ecx, 0xffffffff
je 0x40e385
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x40e385
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
lea esi, [eax + edx*4 + 0x10]
lea edi, [eax + ecx*4 + 0x10]
mov ebx, eax
cmp edi, esi
je 0x40e37f
jmp 0x40e370
sub esi, 4
mov ecx, esi
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x40e370
push ebx
call ebp
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov byte [esp + 0x5c], 3
test ecx, ecx
je 0x40e3ab
cmp ecx, 0xffffffff
je 0x40e3d5
or edx, 0xffffffff
lock xadd dword [eax], edx
setne al
test al, al
jne 0x40e3d5
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
lea esi, [eax + ecx*4 + 0x10]
lea edi, [eax + edx*4 + 0x10]
mov ebx, eax
cmp edi, esi
je 0x40e3cf
nop
sub esi, 4
mov ecx, esi
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x40e3c0
push ebx
call ebp
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 2
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::destructor_void_]
jmp 0x40e495
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.QL_Core.dll_public:_class_QString___thiscall_QFileInfo::fileName_void_]
mov edi, eax
push ecx
mov byte [esp + 0x6c], 0x2f
mov edx, dword [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x64], 0xd
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004067e0
push edi
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x74], 0xe
call fcn.00401000
add esp, 0x18
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 0x11
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::exists_class_QString_const__]
add esp, 4
test al, al
je 0x40e477
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::remove_class_QString_const__]
add esp, 4
lea edx, [esp + 0x64]
push edx
push esi
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::rename_class_QString_const___class_QString_const__]
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 2
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QFileInfo::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8