Function at 0x10010f70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10016b44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x694
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x6b8]
mov dword [esp + 0x6ac], 0
test ebp, ebp
jne 0x10010fc3
lea ecx, [esp + 0x6b4]
mov dword [esp + 0x6ac], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x1001156d
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 4]
cmp eax, eax
mov edx, eax
je 0x10010fea
mov esi, edx
mov edi, ebx
add edx, 0x520
mov ecx, 0x148
add ebx, 0x520
cmp edx, eax
rep movsd dword es:[edi], dword [esi]
jne 0x10010fcf
mov eax, dword [ebp + 8]
mov ecx, ebp
push eax
push ebx
call fcn.10005e90
lea ecx, [esp + 0x10]
mov dword [ebp + 8], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x6ac], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6ac], 2
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x6b4]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x6b0], 3
call sub.MFC42.DLL_CString::operator_1
push str..
lea ecx, [esp + 0x18]
call fcn.100155aa
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
jne 0x100110df
lea eax, [esp + 0x38]
push str.Init_Finder_Failed.
push eax
mov dword [esp + 0x40], 0x1001f0c8
mov dword [esp + 0x44], 0x11e
mov dword [esp + 0x48], 0x100
call fcn.10006230
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6ac], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x6ac], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x6ac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6b4]
mov dword [esp + 0x6ac], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x1001156d
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea ecx, [esp + 0x70]
push 0x1001f14c
push ecx
call esi
add esp, 8
test eax, eax
je 0x100114df
lea edx, [esp + 0x70]
push 0x1001f148
push edx
call esi
add esp, 8
test eax, eax
je 0x100114df
lea eax, [esp + 0x6b4]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
call fcn.10015460
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6b0], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x6ac], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x44]
test al, 0x10
je 0x10011185
mov dword [esp + 0x18c], 1
mov dword [esp + 0x188], eax
mov dword [esp + 0x184], 0
jmp 0x100111a2
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x18c], 0
mov dword [esp + 0x188], eax
mov dword [esp + 0x184], ecx
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x49c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x5a0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x18]
push ecx
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x22]
mov edx, dword [esp + 0x20]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x22]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x22]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
push edx
mov edx, dword [esp + 0x24]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x1a8]
push str._d__d__d__d:_d:_d
push eax
call edi
add esp, 0x20
lea ecx, [esp + 0x18]
lea edx, [esp + 0x50]
push ecx
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x22]
mov edx, dword [esp + 0x20]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x22]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x24]
and ecx, 0xffff
push eax
push ecx
and edx, 0xffff
lea eax, [esp + 0x3ac]
push edx
push str._d__d__d__d:_d:_d
push eax
call edi
add esp, 0x20
lea ecx, [esp + 0x18]
lea edx, [esp + 0x58]
push ecx
push edx
call esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x22]
mov edx, dword [esp + 0x20]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x22]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x22]
push edx
mov edx, dword [esp + 0x24]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x2ac]
push str._d__d__d__d:_d:_d
push eax
call edi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, ebx
mov eax, 0x63e7063f
imul ecx
sar edx, 9
mov ecx, edx
add esp, 0x20
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
jae 0x100113fb
mov ecx, ebp
call fcn.10012db0
cmp eax, 1
jbe 0x10011351
mov ecx, ebp
call fcn.10012db0
mov esi, eax
jmp 0x10011356
mov esi, 1
mov ecx, ebp
call fcn.10012db0
mov edi, eax
add edi, esi
mov eax, edi
jns 0x10011367
xor eax, eax
lea edx, [eax + eax*4]
lea eax, [eax + edx*8]
shl eax, 5
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 4]
add esp, 4
mov esi, eax
push esi
push ebx
push ecx
mov ecx, ebp
call fcn.10013790
lea edx, [esp + 0x184]
mov ecx, ebp
push edx
push 1
push eax
mov dword [esp + 0x34], eax
call fcn.100137d0
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 8]
add eax, 0x520
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.10013790
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
push edx
push eax
mov ecx, ebp
call fcn.10005e90
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
lea ecx, [edi + edi*4]
add esp, 4
lea edx, [edi + ecx*8]
mov ecx, ebp
shl edx, 5
add edx, esi
mov dword [ebp + 0xc], edx
call fcn.10012db0
inc eax
mov dword [ebp + 4], esi
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
shl edx, 5
add edx, esi
mov dword [ebp + 8], edx
jmp 0x100114df
mov ecx, ebx
mov eax, 0x63e7063f
sub ecx, ebx
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x10011478
lea ecx, [ebx + 0x520]
push ecx
push ebx
push ebx
mov ecx, ebp
call fcn.10013790
mov esi, dword [ebp + 8]
lea edx, [esp + 0x184]
mov ecx, esi
mov eax, 0x63e7063f
sub ecx, ebx
push edx
imul ecx
sar edx, 9
mov eax, edx
mov ecx, 1
shr eax, 0x1f
add edx, eax
sub ecx, edx
push ecx
push esi
mov ecx, ebp
call fcn.100137d0
mov eax, dword [ebp + 8]
cmp ebx, eax
je 0x100114d8
mov edi, ebx
add ebx, 0x520
mov ecx, 0x148
lea esi, [esp + 0x184]
cmp ebx, eax
rep movsd dword es:[edi], dword [esi]
jne 0x1001145c
jmp 0x100114d8
lea eax, [ebx - 0x520]
push ebx
push ebx
push eax
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.10013790
mov edx, dword [ebp + 8]
lea eax, [edx - 0x520]
cmp ebx, eax
je 0x100114b3
sub eax, 0x520
sub edx, 0x520
mov ecx, 0x148
mov esi, eax
mov edi, edx
cmp eax, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x10011499
lea edx, [ebx + 0x520]
mov eax, ebx
cmp ebx, edx
je 0x100114d8
mov edi, eax
add eax, 0x520
mov ecx, 0x148
lea esi, [esp + 0x184]
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x100114bf
add dword [ebp + 8], 0x520
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x44]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100110df
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 4]
test eax, eax
jne 0x10011509
xor esi, esi
jmp 0x10011521
mov ebp, dword [ebp + 8]
sub ebp, eax
mov eax, 0x63e7063f
imul ebp
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6ac], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x6ac], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x6ac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6b4]
mov dword [esp + 0x6ac], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x6a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6a0
ret 8