Function at 0x40ce30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a474
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
lea ecx, [esp + 0x38]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QDir::constructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 1
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 4
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 5
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 6
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_void_]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
mov bl, 7
push eax
mov byte [esp + 0x68], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString___thiscall_QLineEdit::text_void_]
mov ecx, eax
mov byte [esp + 0x64], 8
call dword [sym.imp.qt_mt338_ms10.dll_public:_char_const____thiscall_QString::ascii_void_const]
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x64], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
push esi
lea ecx, [esp + 0x2c]
push ecx
call fcn.00408340
mov byte [esp + 0x64], 9
mov esi, dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push eax
lea ecx, [esp + 0x20]
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call esi
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xc]
and edi, 0x3fffffff
dec edi
push edi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QChar___thiscall_QString::at_unsigned_int_]
mov edx, 0x5c
cmp dx, word [esp + 0x10]
jne 0x40cf63
push edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::truncate_unsigned_int_]
mov edi, dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::constructor_char_const__]
push str.WNCHOME
lea ecx, [esp + 0x14]
call edi
push 0x455558
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0xa
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, eax
mov byte [esp + 0x70], 0xb
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int_]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 0xc
call esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0xb
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0xa
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
push str.WNCBIN
lea ecx, [esp + 0x14]
call edi
push 0x455558
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 0xd
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, eax
mov byte [esp + 0x70], 0xe
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int_]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0xf
call esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0xe
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 0xd
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [sym.imp.qt_mt338_ms10.dll_class_QApplication__qApp]
mov edx, dword [ecx]
push str.TITLE_SELECTDIR
push str.MESSAGES
lea eax, [esp + 0x30]
push eax
push edx
call fcn.00415120
mov edi, dword [ebp + 8]
push 1
push 1
push eax
push str.dir_selection
push edi
lea eax, [esp + 0x2c]
mov byte [esp + 0x78], 0x10
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QFileDialog::getExistingDirectory_class_QString_const___class_QWidget___char_const___class_QString_const___bool__bool_]
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0x11
call esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0x10
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
and eax, 0x3fffffff
je 0x40d228
lea edx, [eax - 1]
cmp edx, eax
jae 0x40d0ce
mov ecx, dword [ecx + 4]
lea ecx, [ecx + edx*2]
jmp 0x40d0d4
mov ecx, dword [sym.imp.qt_mt338_ms10.dll_class_QChar_QChar::null]
mov cx, word [ecx]
mov edx, 0x5c
cmp dx, cx
je 0x40d112
lea ecx, [eax - 1]
cmp ecx, eax
jae 0x40d0f4
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
lea eax, [edx + ecx*2]
jmp 0x40d0f9
mov eax, dword [sym.imp.qt_mt338_ms10.dll_class_QChar_QChar::null]
mov ax, word [eax]
mov ecx, 0x2f
cmp cx, ax
je 0x40d112
push 0x5c
lea ecx, [esp + 0x18]
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString____thiscall_QString::operator_char_]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.qt_mt338_ms10.dll_public:_static_class_QString___cdecl_QDir::convertSeparators_class_QString_const__]
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0x12
call esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea eax, [edi + 0x440]
push 0
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.qt_mt338_ms10.dll_public:_int___thiscall_QString::find_class_QString_const___int__bool_const]
cmp eax, 0xffffffff
je 0x40d176
cmp byte [ebp + 0x14], 0
je 0x40d1b6
mov edx, dword [edi + 0x440]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edx + 0xc]
and ecx, 0x3fffffff
push ecx
jmp 0x40d1ab
push 0
lea eax, [edi + 0x43c]
push 0
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.qt_mt338_ms10.dll_public:_int___thiscall_QString::find_class_QString_const___int__bool_const]
cmp eax, 0xffffffff
je 0x40d1b6
cmp byte [ebp + 0x14], 0
je 0x40d1b6
mov ecx, dword [edi + 0x43c]
lea edx, [esp + 0x24]
push edx
mov edx, dword [ecx + 0xc]
and edx, 0x3fffffff
push edx
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString____thiscall_QString::replace_unsigned_int__unsigned_int__class_QString_const__]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.qt_mt338_ms10.dll_public:_class_QString___thiscall_QLineEdit::text_void_]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x6c], 0x13
call dword [sym.imp.qt_mt338_ms10.dll_bool___cdecl_operator__class_QString_const___class_QString_const__]
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10], al
mov byte [esp + 0x64], bl
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x10], 0
je 0x40d228
mov ebx, dword [ebp + 0x10]
lea edx, [esp + 0x14]
push edx
mov ecx, ebx
call esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1d0]
push ebx
call edx
mov ecx, dword [edi + 0x78]
call dword [sym.imp.qt_mt338_ms10.dll_public:_int___thiscall_QTabWidget::currentPageIndex_void_const]
mov esi, eax
call fcn.004160c0
mov eax, dword [eax + 0x28]
push esi
push eax
mov ecx, edi
call dword [sym.imp.qt_mt338_ms10.dll_protected:_void___thiscall_QObject::activate_signal_int__int_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 6
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 5
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 4
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x64], 2
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 1
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 0
call dword [sym.imp.qt_mt338_ms10.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.qt_mt338_ms10.dll_public_virtual:_void___thiscall_QDir::destructor_void_]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10