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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4470a1
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x45c070]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push esi
push eax
mov ebx, 0x452750
call fcn.00406e70
add esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x290], 0
mov edx, dword [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x411231
mov dword [esp + 0x290], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411228
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
xor edx, edx
jmp 0x4113ac
mov ecx, 0x452758
lea eax, [esp + 0x58]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411266
test dx, dx
je 0x411262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411266
add eax, 4
add ecx, 4
test dx, dx
jne 0x411240
xor eax, eax
jmp 0x41126b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41135e
mov ecx, 0x45275c
lea eax, [esp + 0x58]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4112a6
test dx, dx
je 0x4112a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4112a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x411280
xor eax, eax
jmp 0x4112ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41135e
test byte [esp + 0x2c], 0x10
je 0x411348
lea ecx, [esp + 0x24]
push esi
push ecx
mov ebx, 0x451924
call fcn.00406e70
push eax
lea edx, [esp + 0x34]
push edx
lea ebx, [esp + 0x68]
mov byte [esp + 0x2a0], 1
call fcn.00406e70
push eax
mov byte [esp + 0x2a4], 2
call fcn.00411180
mov byte [esp + 0x2a4], 1
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41131e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x290], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41135e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41135e
mov edx, dword [esp + 0x48]
xor ecx, ecx
xor ebx, ebx
add ecx, dword [esp + 0x4c]
adc edx, ebx
add dword [esp + 0x14], ecx
adc dword [esp + 0x18], edx
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411231
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x290], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4113a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.0042decf
mov esp, ebp
pop ebp
ret