Function at 0x10001110
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x44]
xor ebx, ebx
push ecx
mov eax, dword [edi + 4]
push esi
mov dword [esp + 0x14], ebx
mov word [esi + eax*2], bx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x10001157
mov dword [edi], 0x2100000f
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, esi
mov ecx, 0xad
xor eax, eax
lea edi, [esp + 0x564]
push 0x510
lea edx, [esp + 0x568]
push 0x2b4
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x7c]
push 0x80
push eax
call dword [0x1000ee00]
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x70]
push 0x1000e0b4
push ecx
call esi
add esp, 8
test eax, eax
je 0x100013cd
lea edx, [esp + 0x70]
push 0x1000e0ac
push edx
call esi
add esp, 8
test eax, eax
je 0x100013cd
mov ecx, 0xb4
xor eax, eax
lea edi, [esp + 0x294]
push 0x102
rep stosd dword es:[edi], eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0x29c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov al, byte [esp + 0x50]
add esp, 0xc
test al, 0x10
je 0x10001202
mov dword [esp + 0x294], 1
jmp 0x10001328
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
sub eax, edx
mov dword [esp + 0x294], 2
cmp eax, 0x400
jae 0x1000123a
push eax
lea edx, [esp + 0x528]
push str._d_Bytes
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
jmp 0x10001312
jbe 0x1000127a
cmp eax, 0x100000
jae 0x1000127f
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
fild qword [esp + 0x34]
sub esp, 8
lea eax, [esp + 0x52c]
fmul dword [0x1000a148]
fstp qword [esp]
push str._4.2f_KB
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
jmp 0x10001312
cmp eax, 0x100000
jbe 0x100012bc
cmp eax, 0x40000000
jae 0x100012c1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
fild qword [esp + 0x2c]
sub esp, 8
lea ecx, [esp + 0x52c]
fmul dword [0x1000a144]
fstp qword [esp]
push str._4.2f_MB
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
jmp 0x10001312
cmp eax, 0x40000000
jbe 0x100012fc
cmp eax, 0xffffffff
jae 0x100012fc
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
fild qword [esp + 0x24]
sub esp, 8
lea edx, [esp + 0x52c]
fmul dword [0x1000a140]
fstp qword [esp]
push 0x1000e05c
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
jmp 0x10001312
lea eax, [esp + 0x524]
push 0x1000e058
push eax
call dword [0x1000ee78]
add esp, 8
lea ecx, [esp + 0x778]
lea edx, [esp + 0x4a0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x14]
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x20]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x500]
push str._4d__02d__02d__02d:_02d:_02d
push ecx
call dword [0x1000ee78]
mov ecx, 0xb4
lea esi, [esp + 0x2b4]
mov edi, ebx
add esp, 0x20
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
add ebx, 0x2d0
add esi, 0x168
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100013e5
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10001159
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
lea ecx, [edx + edx]
mov dword [eax], 0
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret