Function at 0x10046f60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e121
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x1029e9c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x308], ebx
mov dword [ebp - 0x304], 0
mov dword [ebp - 4], 3
call dword [sym.imp.MSVCR120.dll_clock]
lea eax, [ebp - 0x2c8]
mov ecx, ebx
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::path_void_]
push eax
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__]
push str..
push eax
lea eax, [ebp - 0x2f4]
mov byte [ebp - 4], 5
push eax
call fcn.10009010
add esp, 0x14
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2f4]
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
mov edi, eax
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xa
cmp edi, 0xffffffff
je 0x100470cf
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
cmp word [ebp - 0x24c], 0
jne 0x1004707e
xor ecx, ecx
jmp 0x10047096
lea ecx, [ebp - 0x24c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10047087
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10045a80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.1004a400
lea eax, [ebp - 0x278]
push eax
push edi
call esi
test eax, eax
jne 0x10047070
mov esi, dword [ebp - 0x2bc]
mov dword [ebp - 0x28c], esi
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [sym.libnomacs.dll_struct_nmc::DkSettings::App__nmc::DkSettings::app]
mov ecx, 1
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x284], eax
lock xadd dword [eax], ecx
mov eax, dword [ebp - 0x284]
test byte [eax + 0x10], 1
jne 0x1004710d
push dword [eax + 4]
lea ecx, [ebp - 0x284]
call fcn.1000d640
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax + 0xc]
xor edi, edi
sub ecx, dword [eax + 8]
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
mov byte [ebp - 4], 0xb
test ecx, ecx
jle 0x100471dc
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::replace_class_QString_const___class_QString_const___enum_Qt::CaseSensitivity_]
lea ecx, [ecx]
push 0xffffffffffffffff
push 0x1018e3b4
call ebx
mov dword [ebp - 0x2e4], eax
push 0xffffffffffffffff
push 0x1018f360
mov byte [ebp - 4], 0xc
call ebx
add esp, 0x10
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x284]
mov byte [ebp - 4], 0xd
cmp dword [eax], 1
je 0x10047178
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x284]
push dword [eax + 4]
call fcn.1000d640
push 1
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x28c]
push eax
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax + 8]
add eax, 0x14
add ecx, edi
lea ecx, [eax + ecx*4]
call esi
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x284]
inc edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp edi, ecx
jl 0x10047130
mov esi, dword [ebp - 0x2bc]
mov dword [ebp - 0x28c], esi
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov ecx, 1
mov dword [ebp - 0x27c], eax
lock xadd dword [eax], ecx
mov ecx, dword [ebp - 0x2b8]
mov eax, 0x2aaaaaab
sub ecx, esi
mov byte [ebp - 4], 0xe
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x100472d6
lea eax, [ebp - 0x288]
push esi
push eax
call sym.libnomacs.dll_public:_static_class_QString___cdecl_nmc::DkUtils::stdWStringToQString_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__
add esp, 8
mov eax, dword [ebp - 0x284]
xor edi, edi
mov byte [ebp - 4], 0xf
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x100472b0
lea esp, [esp]
cmp dword [eax], 1
je 0x10047259
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x284]
push dword [eax + 4]
call fcn.1000d640
mov eax, dword [ebp - 0x284]
push 0
mov ecx, dword [eax + 8]
add ecx, edi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x288]
push eax
lea eax, [ebp - 0x2c9]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QString_const___enum_Qt::CaseSensitivity_]
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
test ecx, ecx
jne 0x1004729e
mov eax, dword [ebp - 0x284]
inc edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp edi, ecx
jl 0x10047240
jmp 0x100472b0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x27c]
call fcn.10015dd0
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0xe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
add esi, 0x18
dec ebx
jne 0x10047213
mov esi, dword [ebp - 0x2bc]
mov dword [ebp - 0x28c], esi
mov eax, dword [ebp + 0x10]
xor ebx, ebx
or edi, 0xffffffff
mov dword [ebp - 0x290], ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x100474a7
cmp dword [eax], 1
je 0x10047305
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push dword [eax + 4]
call fcn.1000d640
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
add ecx, ebx
lea eax, [eax + ecx*4]
add eax, 0x14
push eax
lea eax, [ebp - 0x298]
push 0x101959fc
push eax
call fcn.100090b0
push str._.__
push eax
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x10
push eax
call fcn.10009010
add esp, 0x18
push 0
push 1
push eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x13
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea ecx, [ebp - 0x2c0]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::setCaseSensitivity_enum_Qt::CaseSensitivity_]
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x27c]
call fcn.10036800
mov edx, dword [eax]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x2c8], edx
cmp dword [ebp - 0x27c], edx
je 0x10047423
mov eax, 1
lock xadd dword [edx], eax
mov eax, dword [ebp - 0x27c]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x10047409
mov ebx, dword [ebp - 0x27c]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x100473f0
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x100473e1
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
mov edx, dword [ebp - 0x2c8]
add esp, 4
mov ebx, dword [ebp - 0x290]
or edi, 0xffffffff
mov dword [ebp - 0x27c], edx
test byte [edx + 0x10], 1
jne 0x10047423
push dword [edx + 4]
lea ecx, [ebp - 0x27c]
call fcn.1000d640
mov eax, dword [ebp - 0x2e8]
mov ecx, edi
mov byte [ebp - 4], 0x14
lock xadd dword [eax], ecx
jne 0x10047473
mov ebx, dword [ebp - 0x2e8]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x10047460
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x10047451
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
mov ebx, dword [ebp - 0x290]
add esp, 4
or edi, 0xffffffff
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
mov eax, dword [ebp + 0x10]
inc ebx
mov dword [ebp - 0x290], ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp ebx, ecx
jl 0x100472f2
mov esi, dword [ebp - 0x2bc]
mov dword [ebp - 0x28c], esi
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x290], ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x100475f6
cmp dword [eax], 1
je 0x100474d3
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x14]
push dword [eax + 4]
call fcn.1000d640
mov eax, dword [ebp + 0x14]
push 0
mov ecx, dword [eax + 8]
add ecx, ebx
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.10036830
mov ebx, dword [eax]
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x27c], ebx
je 0x1004757c
mov eax, 1
lock xadd dword [ebx], eax
mov eax, dword [ebp - 0x27c]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x10047562
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x298], ecx
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
add esi, 5
add edi, 5
lea esi, [ecx + esi*4]
lea edi, [ecx + edi*4]
cmp edi, esi
je 0x10047555
lea ecx, [ecx]
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x10047540
mov ecx, dword [ebp - 0x298]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
or edi, 0xffffffff
mov dword [ebp - 0x27c], ebx
test byte [ebx + 0x10], 1
jne 0x1004757c
push dword [ebx + 4]
lea ecx, [ebp - 0x27c]
call fcn.1000d640
mov eax, dword [ebp - 0x2f0]
mov ecx, edi
mov byte [ebp - 4], 0xe
lock xadd dword [eax], ecx
jne 0x100475cc
mov ebx, dword [ebp - 0x2f0]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x100475bf
lea ebx, [ebx]
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x100475b0
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
or edi, 0xffffffff
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x290]
inc ebx
mov dword [ebp - 0x290], ebx
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp ebx, ecx
jl 0x100474c0
mov esi, dword [ebp - 0x2bc]
mov dword [ebp - 0x28c], esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
je 0x10047a0f
mov eax, dword [ebp - 0x27c]
mov ecx, 1
mov dword [ebp - 0x280], eax
lock xadd dword [eax], ecx
mov ebx, dword [ebp - 0x280]
mov dword [ebp - 0x288], ebx
test byte [ebx + 0x10], 1
jne 0x10047646
push dword [ebx + 4]
lea ecx, [ebp - 0x280]
call fcn.1000d640
mov ebx, dword [ebp - 0x280]
mov dword [ebp - 0x288], ebx
mov eax, dword [ebp + 0x18]
xor edi, edi
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x290], edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x1004779f
cmp dword [eax], 1
je 0x10047676
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0x18]
push dword [eax + 4]
call fcn.1000d640
mov eax, dword [ebp + 0x18]
push 0
mov ecx, dword [eax + 8]
add ecx, edi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x280]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.10036830
mov ebx, dword [eax]
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x280], ebx
je 0x10047720
mov eax, 1
lock xadd dword [ebx], eax
mov eax, dword [ebp - 0x280]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10047706
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x298], ecx
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
add esi, 5
add edi, 5
lea esi, [ecx + esi*4]
lea edi, [ecx + edi*4]
cmp edi, esi
je 0x100476f6
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x100476e1
mov ecx, dword [ebp - 0x298]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
mov edi, dword [ebp - 0x290]
add esp, 4
mov dword [ebp - 0x280], ebx
test byte [ebx + 0x10], 1
jne 0x10047720
push dword [ebx + 4]
lea ecx, [ebp - 0x280]
call fcn.1000d640
mov eax, dword [ebp - 0x2ec]
or ecx, 0xffffffff
mov byte [ebp - 4], 0x17
lock xadd dword [eax], ecx
jne 0x1004776f
mov ebx, dword [ebp - 0x2ec]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x1004775f
nop
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x10047750
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
mov edi, dword [ebp - 0x290]
add esp, 4
mov eax, dword [ebp + 0x18]
inc edi
mov dword [ebp - 0x290], edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp edi, ecx
jl 0x10047663
mov esi, dword [ebp - 0x2bc]
mov ebx, dword [ebp - 0x280]
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x288], ebx
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x1004792b
push 0xffffffffffffffff
push 0x1018e548
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x2dc]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp + 0x18]
call fcn.1001b0c0
push 0
push 1
push eax
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x27c]
call fcn.10036800
mov edx, dword [eax]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x2d0], edx
cmp dword [ebp - 0x280], edx
je 0x10047894
mov eax, 1
lock xadd dword [edx], eax
mov eax, dword [ebp - 0x280]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1004787a
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x298], ecx
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
add edi, 5
add ebx, 5
lea edi, [ecx + edi*4]
lea ebx, [ecx + ebx*4]
cmp ebx, edi
je 0x1004786a
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x10047855
mov ecx, dword [ebp - 0x298]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
mov edx, dword [ebp - 0x2d0]
add esp, 4
mov dword [ebp - 0x280], edx
test byte [edx + 0x10], 1
jne 0x10047894
push dword [edx + 4]
lea ecx, [ebp - 0x280]
call fcn.1000d640
mov eax, dword [ebp - 0x2fc]
or ecx, 0xffffffff
mov byte [ebp - 4], 0x1b
lock xadd dword [eax], ecx
jne 0x100478ef
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x298], ecx
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
add edi, 5
add ebx, 5
lea edi, [ecx + edi*4]
lea ebx, [ecx + ebx*4]
cmp ebx, edi
je 0x100478e5
lea esp, [esp]
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x100478d0
mov ecx, dword [ebp - 0x298]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x19
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, dword [ebp - 0x280]
mov dword [ebp - 0x288], ebx
cmp dword [ebp - 0x27c], ebx
je 0x100479b8
mov eax, 1
lock xadd dword [ebx], eax
mov eax, dword [ebp - 0x27c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10047998
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x2a4], ecx
mov eax, dword [ecx + 0xc]
add eax, 5
lea edi, [ecx + eax*4]
mov eax, dword [ecx + 8]
add eax, 5
lea eax, [ecx + eax*4]
cmp eax, edi
je 0x1004798e
mov ebx, eax
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x10047973
mov ebx, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x2a4]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov dword [ebp - 0x27c], ebx
test byte [ebx + 0x10], 1
jne 0x100479b2
push dword [ebx + 4]
lea ecx, [ebp - 0x27c]
call fcn.1000d640
mov ebx, dword [ebp - 0x280]
mov byte [ebp - 4], 0xe
or eax, 0xffffffff
lock xadd dword [ebx], eax
jne 0x10047a0f
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x29c], ecx
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
add edi, 5
add ebx, 5
lea edi, [ecx + edi*4]
lea ebx, [ecx + ebx*4]
cmp ebx, edi
je 0x10047a05
jmp 0x100479f0
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x100479f0
mov ecx, dword [ebp - 0x29c]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, dword [sym.libnomacs.dll_struct_nmc::DkSettings::Resources__nmc::DkSettings::resources]
mov ebx, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
cmp byte [eax + 0xa], 0
je 0x10047d85
add eax, 0x10
lea ecx, [ebp - 0x2a0]
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push 0xffffffffffffffff
push 0x1018e3b4
mov byte [ebp - 4], 0x1d
call ebx
mov dword [ebp - 0x2f8], eax
push 0xffffffffffffffff
push 0x10194264
mov byte [ebp - 4], 0x1e
call ebx
add esp, 0x10
mov dword [ebp - 0x2e0], eax
push 1
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2a0]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::replace_class_QString_const___class_QString_const___enum_Qt::CaseSensitivity_]
push eax
lea ecx, [ebp - 0x2a0]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0x1d
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x27c]
mov ebx, 1
mov dword [ebp - 0x294], eax
mov ecx, ebx
lock xadd dword [eax], ecx
mov eax, dword [ebp - 0x294]
test byte [eax + 0x10], bl
jne 0x10047ae0
push dword [eax + 4]
lea ecx, [ebp - 0x294]
call fcn.1000d640
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov ecx, ebx
mov byte [ebp - 4], 0x20
lock xadd dword [eax], ecx
mov ebx, dword [ebp - 0x27c]
mov dword [ebp - 0x27c], eax
or eax, 0xffffffff
mov dword [ebp - 0x2a4], ebx
lock xadd dword [ebx], eax
jne 0x10047b41
mov eax, dword [ebx + 0xc]
add eax, 5
lea edi, [ebx + eax*4]
mov eax, dword [ebx + 8]
add eax, 5
lea eax, [ebx + eax*4]
cmp eax, edi
je 0x10047b37
mov ebx, eax
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x10047b22
mov ebx, dword [ebp - 0x2a4]
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, dword [ebp - 0x294]
xor edi, edi
mov dword [ebp - 0x288], edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x10047d1b
lea ecx, [ecx]
mov ecx, dword [eax + 8]
add ecx, edi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x2ac]
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__]
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::suffix_void_]
push 0
push eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x22
call dword [sym.imp.QtCore4.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x30c]
sete bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x10047bdd
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 8]
add ecx, edi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x27c]
push eax
call fcn.10015dd0
jmp 0x10047cf0
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::baseName_void_]
mov eax, dword [ebp - 0x294]
xor edi, edi
mov byte [ebp - 4], 0x23
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, edx
test ecx, ecx
jle 0x10047cc3
mov ebx, dword [ebp - 0x288]
lea ecx, [edx + edi]
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x2c4]
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QString_const__]
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x24
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QFileInfo::baseName_void_]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x26
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
cmp edi, ebx
je 0x10047c9c
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x2d4]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_class_QString_const__const]
test al, al
je 0x10047c9c
push 0
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2d5]
push eax
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax + 8]
add eax, 0x14
add ecx, edi
lea ecx, [eax + ecx*4]
call dword [sym.imp.QtCore4.dll_public:_class_QBool___thiscall_QString::contains_class_QString_const___enum_Qt::CaseSensitivity_]
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
test ecx, ecx
jne 0x10048030
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x23
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp - 0x294]
inc edi
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, edx
cmp edi, ecx
jl 0x10047c12
mov ecx, dword [eax + 8]
mov edi, dword [ebp - 0x288]
add ecx, edi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x27c]
push eax
call fcn.10015dd0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x21
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x20
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
mov eax, dword [ebp - 0x294]
inc edi
mov dword [ebp - 0x288], edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp edi, ecx
jl 0x10047b60
mov byte [ebp - 4], 0x1d
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10047d6f
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x2c4], ecx
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
add edi, 5
add ebx, 5
lea edi, [ecx + edi*4]
lea ebx, [ecx + ebx*4]
cmp ebx, edi
je 0x10047d65
lea ebx, [ebx]
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x10047d50
mov ecx, dword [ebp - 0x2c4]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0xe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ebx, dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::destructor_void_]
mov ecx, dword [ebp - 0x2b0]
mov eax, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [ecx], eax
mov ecx, 1
lock xadd dword [eax], ecx
inc ecx
mov eax, dword [ebp - 0x27c]
xor edi, edi
mov dword [ebp - 0x304], 1
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
test ecx, ecx
jle 0x10047e0d
mov esi, dword [ebp - 0x2b0]
mov edi, edi
mov ecx, dword [eax + 8]
add ecx, edi
lea eax, [eax + ecx*4]
add eax, 0x14
lea ecx, [ebp - 0x2a8]
push eax
push dword [ebp - 0x308]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFileInfo::constructor_class_QDir_const___class_QString_const__]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x27
call fcn.1002a5f0
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0xe
call ebx
mov eax, dword [ebp - 0x27c]
inc edi
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
cmp edi, ecx
jl 0x10047dc0
mov esi, dword [ebp - 0x28c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xb
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x10047e62
mov ecx, dword [ebp - 0x27c]
mov dword [ebp - 0x2a8], ecx
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
add edi, 5
add ebx, 5
lea edi, [ecx + edi*4]
lea ebx, [ecx + ebx*4]
cmp ebx, edi
je 0x10047e55
mov edi, edi
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x10047e40
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
or ebx, 0xffffffff
mov eax, dword [ebp - 0x284]
mov ecx, ebx
mov byte [ebp - 4], 0xa
lock xadd dword [eax], ecx
jne 0x10047ec2
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x2a8], ecx
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
add edi, 5
add ebx, 5
lea edi, [ecx + edi*4]
lea ebx, [ecx + ebx*4]
cmp ebx, edi
je 0x10047eb5
jmp 0x10047ea0
sub edi, 4
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x10047ea0
mov ecx, dword [ebp - 0x2a8]
push ecx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x10047ed3
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test esi, esi
je 0x10047f2c
mov edi, esi
cmp esi, dword [ebp - 0x2b8]
je 0x10047f23
cmp dword [edi + 0x14], 8
jb 0x10047f05
push dword [edi]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
add edi, 0x18
cmp edi, dword [ebp - 0x2b8]
jne 0x10047ef5
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov byte [ebp - 4], 2
lock xadd dword [eax], ecx
jne 0x10047f80
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x10047f73
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x10047f64
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
or ebx, 0xffffffff
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov byte [ebp - 4], 1
lock xadd dword [eax], ecx
jne 0x10047fcc
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x10047fbf
jmp 0x10047fb0
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x10047fb0
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
or ebx, 0xffffffff
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 0
lock xadd dword [eax], ebx
dec ebx
jne 0x1004800c
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
add esi, 5
add edi, 5
lea esi, [ebx + esi*4]
lea edi, [ebx + edi*4]
cmp edi, esi
je 0x10048002
sub esi, 4
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp esi, edi
jne 0x10047ff3
push ebx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016159e
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 0x23
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [ebp - 0x288]
jmp 0x10047ce0