Function at 0x106d6c6
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x10905e5
call fcn.010826d8
sub esp, 0x2b0
mov eax, dword [0x10a3b28]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x29c], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x10], eax
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_]
lea ecx, [ebp - 0x270]
call fcn.01018ed9
xor eax, eax
lea edi, [ebp - 0x27d]
stosb byte es:[edi], al
lea eax, [ebp - 0x27d]
push eax
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x290]
push eax
mov byte [ebp - 4], 1
call fcn.0108553b
mov ecx, dword [eax]
mov dword [ebp - 0x288], ecx
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x284], eax
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
je 0x106d771
mov eax, dword [ebp - 0x288]
mov dword [ebx], eax
mov eax, dword [ebp - 0x284]
mov dword [ebx + 4], eax
jmp 0x106dc6e
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
push 0x100a540
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 2
call dword [0x1001a2c]
xor eax, eax
mov ecx, 0x94
lea edi, [ebp - 0x260]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x27c], eax
jne 0x106d7e8
lea ecx, [ebp - 0x288]
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::FromLastError_void_]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 4], eax
jmp 0x106dc5e
mov dword [ebp - 0x274], esi
xor eax, eax
lea edi, [ebp - 0x270]
stosd dword es:[edi], eax
mov esi, dword [ebp - 0x274]
test dword [ebp - 0x260], 0x10
jne 0x106d824
mov eax, dword [ebp - 0x270]
add eax, dword [ebp - 0x244]
add esi, dword [ebp - 0x240]
adc eax, 0
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
test al, al
jne 0x106d7fd
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x270]
shr eax, 8
mov dword [ebp - 0x28c], eax
mov eax, esi
shrd eax, ecx, 0x1e
shr ecx, 0x1e
mov edx, ecx
mov ecx, eax
mov eax, 0x3ff
and ecx, eax
mov dword [ebp - 0x294], ecx
mov ecx, esi
shr ecx, 0xa
and ecx, eax
mov dword [ebp - 0x298], ecx
mov ecx, esi
and ecx, eax
mov edi, esi
mov dword [ebp - 0x27c], ecx
shr edi, 0x14
lea ecx, [ebp - 0x278]
and edi, eax
call sub.MFC42u.DLL_CString::CString_3
or esi, dword [ebp - 0x270]
mov byte [ebp - 4], 3
mov byte [ebp - 0x269], 1
jne 0x106d8be
mov byte [ebp - 0x269], 0
cmp dword [ebp - 0x28c], 0
mov esi, dword [ebp - 0x294]
ja 0x106d9ef
mov eax, 0x3e7
cmp esi, eax
ja 0x106d9ef
test esi, esi
ja 0x106d9b2
cmp edi, eax
ja 0x106d9b2
test edi, edi
mov esi, dword [ebp - 0x298]
ja 0x106d975
cmp esi, eax
ja 0x106d975
test esi, esi
mov edi, dword [ebp - 0x27c]
ja 0x106d93a
cmp edi, eax
ja 0x106d93a
push 0x3471
lea eax, [ebp - 0x278]
push eax
call fcn.01070393
test edi, edi
mov dword [ebp - 0x270], edi
fild dword [ebp - 0x270]
jge 0x106da34
fadd qword [0x100a538]
jmp 0x106da34
push 0x3470
lea eax, [ebp - 0x278]
push eax
call fcn.01070393
test edi, edi
mov dword [ebp - 0x270], edi
fild dword [ebp - 0x270]
jge 0x106d961
fadd qword [0x100a538]
fmul qword [0x100a530]
mov dword [ebp - 0x270], esi
fild dword [ebp - 0x270]
jmp 0x106d9eb
push 0x346f
lea eax, [ebp - 0x278]
push eax
call fcn.01070393
test esi, esi
mov dword [ebp - 0x270], esi
fild dword [ebp - 0x270]
jge 0x106d99c
fadd qword [0x100a538]
fmul qword [0x100a530]
mov dword [ebp - 0x270], edi
fild dword [ebp - 0x270]
test edi, edi
jmp 0x106da2a
push 0x346e
lea eax, [ebp - 0x278]
push eax
call fcn.01070393
test edi, edi
mov dword [ebp - 0x270], edi
fild dword [ebp - 0x270]
jge 0x106d9d9
fadd qword [0x100a538]
fmul qword [0x100a530]
mov dword [ebp - 0x270], esi
fild dword [ebp - 0x270]
test esi, esi
jmp 0x106da2a
push 0x346d
lea eax, [ebp - 0x278]
push eax
call fcn.01070393
test esi, esi
mov dword [ebp - 0x270], esi
fild dword [ebp - 0x270]
jge 0x106da16
fadd qword [0x100a538]
fmul qword [0x100a530]
mov eax, dword [ebp - 0x28c]
fild dword [ebp - 0x28c]
test eax, eax
jge 0x106da32
fadd qword [0x100a538]
faddp st(1)
lea ecx, [ebp - 0x268]
fstp qword [ebp - 0x274]
call sub.MFC42u.DLL_CString::CString_3
fld qword [ebp - 0x274]
push ecx
push ecx
fstp qword [esp]
lea eax, [ebp - 0x268]
push 0x100a520
push eax
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
push 1
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x268]
call sub.MFC42u.DLL_CString::Right
mov esi, 0x100a51c
jmp 0x106dacd
mov eax, dword [ebp - 0x268]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x28c]
push eax
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
push 1
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x268]
call sub.MFC42u.DLL_CString::Right
push esi
push eax
call fcn.01020b84
lea ecx, [ebp - 0x27c]
mov byte [ebp - 0x261], al
call sub.MFC42u.DLL_CString::CString
cmp byte [ebp - 0x261], 0
lea ecx, [ebp - 0x268]
jne 0x106da83
push 1
lea eax, [ebp - 0x28c]
push eax
call sub.MFC42u.DLL_CString::Right
push 0x100a518
push eax
call fcn.01020b84
lea ecx, [ebp - 0x28c]
mov byte [ebp - 0x261], al
call sub.MFC42u.DLL_CString::CString
cmp byte [ebp - 0x261], 0
je 0x106db63
mov eax, dword [ebp - 0x268]
mov eax, dword [eax - 8]
dec eax
push eax
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x268]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::operator
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
push dword [ebp - 0x268]
lea ecx, [ebp - 0x278]
push 0x100a510
call sub.MFC42u.DLL_CString::Replace
push dword [ebp - 0x278]
mov edi, dword [ebp - 0x29c]
push 0x409
mov ecx, edi
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
push 0x407
mov ecx, edi
call sub.MFC42u.DLL_CWnd::GetDlgItem
mov esi, eax
push 0x8000ffff
push esi
lea eax, [ebp - 0x290]
push eax
call fcn.01018f06
mov ecx, dword [eax]
mov dword [ebp - 0x288], ecx
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x284], eax
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
test al, al
jne 0x106dc2f
movzx eax, byte [ebp - 0x269]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CWnd::EnableWindow
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
jne 0x106dc2f
push dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
test eax, eax
je 0x106dc2f
push dword [edi + 0x20]
call esi
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
mov ecx, eax
call sub.MFC42u.DLL_CWnd::SetFocus
push dword [edi + 0x20]
call esi
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
push 0
push 1
push 0x401
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x288]
mov dword [ebx], eax
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
mov dword [ebx + 4], eax
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
or dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::EndWaitCursor
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop ebx
call fcn.01080a1e
leave
ret 4