Function at 0x4012f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x496ead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f4
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x44]
call fcn.0043d848
mov eax, dword [esp + 0x214]
xor esi, esi
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x210], esi
call fcn.00473753
mov ecx, dword [0x4bfcf8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x20c], 2
call fcn.0046dd2d
mov edx, dword [0x4bfcf8]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x214], 4
call fcn.0046bf92
mov eax, dword [eax]
push 0x4bb818
push eax
call fcn.00446978
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004736e5
test bl, bl
je 0x40139f
push 0x4bb818
lea ecx, [esp + 0x18]
call fcn.00473a4d
lea ecx, [esp + 0x14]
push 0x4bb814
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0047397a
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x210], 5
call fcn.0047381e
lea ecx, [esp + 0x10]
mov byte [esp + 0x20c], 4
call fcn.004736e5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
push ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x20], edi
je 0x401621
test byte [esp + 0x60], 0x10
je 0x4014b9
mov esi, 0x4bba30
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40143c
test cl, cl
je 0x401438
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40143c
add eax, 2
add esi, 2
test cl, cl
jne 0x401414
xor eax, eax
jmp 0x401441
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4014b9
mov esi, 0x4bba2c
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401479
test cl, cl
je 0x401475
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401479
add eax, 2
add esi, 2
test cl, cl
jne 0x401451
xor eax, eax
jmp 0x40147e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4014b9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x8c]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x4bba24
push edx
call fcn.0046c3e9
mov ecx, dword [esp + 0x48]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.0046df35
jmp 0x40160d
mov esi, 0x4bba30
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4014ed
test cl, cl
je 0x4014e9
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4014ed
add eax, 2
add esi, 2
test cl, cl
jne 0x4014c5
xor eax, eax
jmp 0x4014f2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40160d
mov esi, 0x4bba2c
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40152e
test cl, cl
je 0x40152a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40152e
add eax, 2
add esi, 2
test cl, cl
jne 0x401506
xor eax, eax
jmp 0x401533
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40160d
mov eax, dword [esp + 0x7c]
push 1
push 0
push 0
push eax
call fcn.00446060
mov ecx, dword [esp + 0x80]
mov ebp, eax
mov ebx, edx
xor edx, edx
mov eax, dword [0x4bfcf8]
add ebp, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
adc ebx, edx
mov edx, dword [esp + 0x24]
add edx, ebp
adc ecx, ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x8c]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x4bba24
push eax
mov byte [esp + 0x21c], 6
call fcn.0046c3e9
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.00473ba5
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x218]
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x18]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x2c], esi
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx]
push 0x40e
mov dword [edx + 0x11c], ebp
push ecx
mov dword [edx + 0x120], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x20c], 4
call fcn.004736e5
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x60]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4013fd
mov eax, dword [esp + 0x38]
xor ebx, ebx
test eax, eax
jle 0x4016a7
mov ebp, dword [esp + 0x218]
cmp dword [ebp + 4], 2
je 0x401694
lea eax, [esp + 0x20]
push ebx
push eax
lea ecx, [esp + 0x38]
call 0x3fc7d0
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1a0]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004736e5
lea ecx, [esp + 0x1a0]
push ebp
push ecx
call fcn.004012f0
mov eax, dword [esp + 0x40]
add esp, 8
inc ebx
cmp ebx, eax
jl 0x40162b
jmp 0x4016a7
mov edx, dword [ebp]
push 0
push 0
push 0x40e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x20c], 3
call fcn.004736e5
lea ecx, [esp + 0x30]
mov byte [esp + 0x20c], 2
call fcn.0046dd60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x20c], 1
call fcn.004736e5
lea ecx, [esp + 0x14]
mov byte [esp + 0x20c], 0
call fcn.004736e5
lea ecx, [esp + 0x44]
mov dword [esp + 0x20c], 0xffffffff
call fcn.0043d885
mov ecx, dword [esp + 0x204]
pop edi
pop esi
xor eax, eax
pop ebp
xor edx, edx
pop ebx
mov dword fs:[0], ecx
add esp, 0x200
ret