Function at 0x4160b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543957
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x5a574c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ebx, dword [ebp + 0xc]
sub eax, 0x10
mov esi, ecx
push eax
mov dword [ebp - 0x168], esi
call fcn.004021a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004152e0
mov ecx, dword [ebp - 0x15c]
mov edi, dword [ecx - 0xc]
lea esi, [edi + 1]
test esi, esi
jns 0x416135
push 0x80070057
call fcn.00401000
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x416158
push esi
lea ecx, [ebp - 0x15c]
call fcn.00401390
mov ecx, dword [ebp - 0x15c]
mov byte [edi + ecx], 0x5c
mov eax, dword [ebp - 0x15c]
cmp esi, dword [eax - 8]
jg 0x41612b
mov dword [eax - 0xc], esi
mov ecx, dword [ebp - 0x15c]
mov byte [esi + ecx], 0
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
push eax
call fcn.004021a0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x164], eax
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.00403bc0
call fcn.00432f53
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4161bf
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x164]
lea ecx, [ebp - 0x154]
push ecx
push edx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x19c], eax
cmp eax, 0xffffffff
je 0x4165d7
mov eax, dword [ebp - 0x154]
and al, 0x10
cmp al, 0x10
sete al
mov byte [ebp - 0x155], al
test al, al
je 0x416246
cmp byte [ebp + 0x14], 0
jne 0x41624c
xor bl, bl
test al, al
je 0x41625d
mov ecx, 0x5530dc
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416250
test dl, dl
je 0x416242
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416250
add eax, 2
add ecx, 2
test dl, dl
jne 0x416226
xor eax, eax
jmp 0x416255
cmp byte [ebp + 0x10], 0
je 0x416215
mov bl, 1
jmp 0x416217
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4163b7
mov ecx, 0x556450
lea eax, [ebp - 0x128]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416288
test dl, dl
je 0x416284
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416288
add eax, 2
add ecx, 2
test dl, dl
jne 0x416268
xor eax, eax
jmp 0x41628d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4163b7
test bl, bl
je 0x4163b7
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00402550
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4162b8
sub eax, edx
push eax
lea edx, [ebp - 0x128]
push edx
lea ecx, [ebp - 0x160]
call fcn.00403bc0
call fcn.00432f53
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4162ee
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 4
call fcn.00402550
mov dl, byte [ebp - 0x155]
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x140]
mov byte [ebp - 0x194], dl
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x150]
xor edx, edx
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x14c]
xor esi, esi
add edx, dword [ebp - 0x134]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x184], ecx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x170], edx
adc eax, esi
lea edx, [ebp - 0x198]
push edx
add ecx, 0x18
mov dword [ebp - 0x16c], eax
call fcn.00415bc0
mov eax, dword [ebp - 0x198]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov esi, dword [ebp - 0x168]
mov ebx, dword [ebp - 0x19c]
lea ecx, [ebp - 0x154]
push ecx
push ebx
call edi
test eax, eax
je 0x4165d0
mov edx, dword [ebp - 0x154]
and dl, 0x10
cmp dl, 0x10
sete al
mov byte [ebp - 0x155], al
test al, al
je 0x416430
cmp byte [ebp + 0x14], 0
jne 0x416436
xor bl, bl
test al, al
je 0x416443
mov ecx, 0x5530dc
lea eax, [ebp - 0x128]
jmp 0x416410
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41643a
test dl, dl
je 0x41642c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41643a
add eax, 2
add ecx, 2
test dl, dl
jne 0x416410
xor eax, eax
jmp 0x41643f
cmp byte [ebp + 0x10], 0
je 0x4163fa
mov bl, 1
jmp 0x4163fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4163c3
mov ecx, 0x556450
lea eax, [ebp - 0x128]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416470
test dl, dl
je 0x41646c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416470
add eax, 2
add ecx, 2
test dl, dl
jne 0x416450
xor eax, eax
jmp 0x416475
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4163c3
test bl, bl
je 0x4163c3
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x160]
call fcn.00402550
lea eax, [ebp - 0x128]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4164a0
sub eax, edx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x160]
call fcn.00403bc0
call fcn.00432f53
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4164d6
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x198], eax
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 5
call fcn.00402550
mov dl, byte [ebp - 0x155]
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x140]
mov byte [ebp - 0x194], dl
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x150]
xor edx, edx
xor ebx, ebx
add edx, dword [ebp - 0x134]
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x170], edx
lea edx, [ebp - 0x198]
mov dword [ebp - 0x184], ecx
adc eax, ebx
push edx
lea ecx, [esi + 0x18]
mov dword [ebp - 0x16c], eax
call fcn.00415bc0
mov eax, dword [ebp - 0x198]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4163c3
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
mov dword [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416600
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x164]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416626
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41664f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00525222
mov esp, ebp
pop ebp
ret 0x10