Function at 0x40bb10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push eax
lea ecx, [ebp - 0x14]
call fcn.004187b6
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
mov ecx, edi
call fcn.0040ba30
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00418d1e
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push edx
call fcn.004187b6
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.00418d33
mov ecx, dword [0x42a49c]
mov dword [ebp + 8], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x180]
push edx
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 0xc], ebx
je 0x40bd73
mov ecx, dword [ebp - 0x180]
and ecx, 0x10
cmp cl, 0x10
je 0x40bd1f
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
call fcn.00418b2e
lea eax, [ebp - 0x154]
lea ecx, [ebp + 8]
push eax
call fcn.00418cf7
mov ecx, dword [0x42a49c]
mov dword [ebp - 0x40], ecx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 4
call fcn.00418b2e
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x16c]
push eax
push ecx
call esi
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x17c]
push edx
push eax
call esi
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x174]
push ecx
push edx
call esi
mov eax, dword [ebp - 0x164]
push 1
push 0
push 0
push eax
call fcn.0040ddd0
mov ecx, dword [ebp - 0x160]
xor ebx, ebx
add eax, ecx
lea ecx, [edi + 0x1c]
adc edx, ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x40]
push edx
push 1
push eax
call fcn.00409140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00418a41
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x180]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40bd6c
mov ecx, dword [ebp - 0x180]
and ecx, 0x10
cmp cl, 0x10
je 0x40bc5e
lea edx, [ebp - 0x14]
lea ecx, [ebp + 8]
push edx
call fcn.00418b2e
lea eax, [ebp - 0x154]
lea ecx, [ebp + 8]
push eax
call fcn.00418cf7
mov ecx, dword [0x42a49c]
mov dword [ebp - 0x40], ecx
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 5
call fcn.00418b2e
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x16c]
push eax
push ecx
call esi
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x17c]
push edx
push eax
call esi
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x174]
push ecx
push edx
call esi
mov eax, dword [ebp - 0x164]
push 1
push 0
push 0
push eax
call fcn.0040ddd0
mov ecx, dword [ebp - 0x160]
xor ebx, ebx
add eax, ecx
lea ecx, [edi + 0x1c]
adc edx, ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x40]
push edx
push 1
push eax
call fcn.00409140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
jmp 0x40bc56
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x40bc5e
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.00418a41
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00418a41
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00418a41
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8