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

Disassembly:
push 0xffffffffffffffff
push 0x1208b6a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x178]
xor ebx, ebx
mov ebp, ecx
cmp esi, ebx
mov dword [esp + 0x1c], 1
je 0x120411ff
cmp byte [esi], bl
je 0x120411ff
mov eax, dword [0x120b3180]
mov dword [esp + 0x20], eax
push esi
lea ecx, [esp + 0x24]
push str._s.
push ecx
mov dword [esp + 0x17c], ebx
call fcn.1206c497
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x120411e5
push edi
mov edi, dword [esp + 0x184]
jmp 0x12040fa2
mov esi, dword [esp + 0x17c]
test byte [esp + 0x2c], 0x10
je 0x1204107e
mov esi, 0x120a9dcc
lea eax, [esp + 0x58]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x12040fda
cmp cl, bl
je 0x12040fd6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x12040fda
add eax, 2
add esi, 2
cmp cl, bl
jne 0x12040fb6
xor eax, eax
jmp 0x12040fdf
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x120411c1
mov esi, 0x120b1e70
lea eax, [esp + 0x58]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x12041014
cmp cl, bl
je 0x12041010
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x12041014
add eax, 2
add esi, 2
cmp cl, bl
jne 0x12040ff0
xor eax, eax
jmp 0x12041019
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x120411c1
mov eax, dword [0x120b3180]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x17c]
lea ecx, [esp + 0x58]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x120aaf68
push eax
mov byte [esp + 0x184], 1
call fcn.1206c497
mov ecx, dword [esp + 0x190]
mov edx, dword [esp + 0x20]
add esp, 0x10
push edi
push ecx
push edx
mov ecx, ebp
call fcn.12040f10
test eax, eax
jne 0x1204106e
mov dword [esp + 0x20], ebx
mov byte [esp + 0x174], bl
lea ecx, [esp + 0x10]
jmp 0x120411bc
lea eax, [esp + 0x58]
push 0x2e
push eax
call fcn.12055f70
add esp, 8
cmp eax, ebx
je 0x120411c1
inc eax
push 0x120b1e60
push eax
call fcn.12055bd0
add esp, 8
test eax, eax
jne 0x120411c1
mov ecx, dword [0x120b3180]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x58]
lea eax, [esp + 0x14]
push edx
push esi
push 0x120aaf68
push eax
mov byte [esp + 0x184], 2
call fcn.1206c497
mov edx, dword [esp + 0x24]
push 1
push ebx
lea ecx, [esp + 0x34]
push 0x7f000
push ecx
push edx
mov dword [esp + 0x40], ebx
call fcn.12036c00
add esp, 0x24
cmp al, bl
je 0x1204114b
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
call fcn.12036bb0
test al, al
je 0x120411a3
mov eax, dword [0x120b3180]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push str.Warning:__s_is_expired._r_n
push edx
mov byte [esp + 0x180], 3
call fcn.1206c497
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebp
push eax
push edi
call fcn.120402d0
mov byte [esp + 0x174], 2
lea ecx, [esp + 0x10]
jmp 0x1204119e
mov ecx, dword [0x120b3180]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push str.Error:_Cant_load_file__s._r_n
push eax
mov byte [esp + 0x180], 4
call fcn.1206c497
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push edi
mov ecx, ebp
call fcn.120402d0
mov edx, dword [esp + 0x18]
push ebx
push 0x10
push edx
call fcn.1207b03f
mov byte [esp + 0x174], 2
lea ecx, [esp + 0x18]
call fcn.1207396a
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x120411b1
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0x174], bl
lea ecx, [esp + 0x14]
call fcn.1207396a
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x12040f9b
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x170], 0xffffffff
call fcn.1207396a
mov eax, dword [esp + 0x1c]
jmp 0x12041201
xor eax, eax
mov ecx, dword [esp + 0x168]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret 0xc