Function at 0x4160a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583f5c
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x60b044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0x69c]
mov esi, dword [ebp + 8]
push ebx
push dword [ebx + 4]
mov dword [ebp - 0x694], ebx
push dword [ebx]
call fcn.00409fa0
mov eax, dword [ebx]
lea ecx, [ebp - 0x690]
add esp, 0x10
mov dword [ebx + 4], eax
mov dword [ebp - 0x690], 0
mov dword [ebp - 0x68c], 0
call fcn.004185d0
mov dword [ebp - 0x690], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
push 5
xor eax, eax
mov dword [ebp - 0x424], 7
push str..wnpf
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.004031f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x438]
push dword [ebp - 0x69c]
lea ecx, [ebp - 0x690]
push eax
push 0
lea eax, [ebp - 0x6a0]
push eax
call fcn.004197a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x416195
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00403400
push 6
xor eax, eax
mov dword [ebp - 0x424], 7
push str..swnpf
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.004031f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x438]
push dword [ebp - 0x69c]
lea ecx, [ebp - 0x690]
push eax
push 0
lea eax, [ebp - 0x6a0]
push eax
call fcn.004197a0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x41620b
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00403400
push esi
lea eax, [ebp - 0x420]
push str._s.
push eax
call fcn.00402ca0
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x698], edi
cmp edi, 0xffffffff
je 0x416529
lea eax, [ebp - 0x688]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x416529
cmp word [ebp - 0x65c], 0x2e
je 0x416245
mov ax, word [ebp - 0x65a]
test ax, ax
je 0x416245
cmp ax, 0x2e
jne 0x416281
cmp word [ebp - 0x658], 0
je 0x416245
test byte [ebp - 0x688], 0x10
jne 0x416245
mov eax, dword [ebp - 0x690]
mov esi, dword [eax]
cmp esi, eax
je 0x416245
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x4162a1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x65c]
push eax
call fcn.0042b17f
add esp, 8
test eax, eax
je 0x416344
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x218]
push 0x600108
push eax
call fcn.00402ca0
lea ecx, [ebp - 0x218]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4162e0
sub ecx, edx
sar ecx, 1
sub ecx, dword [esi + 0x20]
add ecx, ecx
cmp ecx, 0x208
jae 0x416524
xor eax, eax
mov word [ebp + ecx - 0x218], ax
mov ecx, str.default
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41633b
test dx, dx
je 0x416337
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41633b
add eax, 4
add ecx, 4
test dx, dx
jne 0x416315
xor eax, eax
jmp 0x416340
sbb eax, eax
or eax, 1
test eax, eax
jne 0x416398
cmp byte [esi + 0xd], 0
jne 0x416387
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41636c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x416387
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x416360
jmp 0x416387
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x416385
cmp esi, dword [eax + 8]
jne 0x416385
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x416375
mov esi, eax
cmp esi, dword [ebp - 0x690]
jne 0x416296
jmp 0x416245
mov esi, dword [ebx]
mov dword [ebp - 0x69c], 0
cmp esi, dword [ebx + 4]
je 0x4164b8
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x424], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x428], 0
mov word [ebp - 0x438], ax
call fcn.00402de0
cmp word [ebp - 0x218], 0
jne 0x4163ea
xor ecx, ecx
jmp 0x416402
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4163f3
sub ecx, edx
sar ecx, 1
mov edi, dword [ebp - 0x424]
lea eax, [ebp - 0x438]
mov ebx, dword [ebp - 0x438]
cmp edi, 8
push ecx
lea ecx, [ebp - 0x218]
cmovae eax, ebx
push ecx
push dword [ebp - 0x428]
push eax
call fcn.00402b90
add esp, 0x10
test eax, eax
je 0x416464
cmp edi, 8
jb 0x41644a
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00403400
mov ebx, dword [ebp - 0x694]
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x4163b0
mov esi, dword [ebp - 0x69c]
jmp 0x416484
mov esi, 1
cmp edi, 8
jb 0x41647e
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00403400
mov ebx, dword [ebp - 0x694]
mov edi, dword [ebp - 0x698]
test esi, esi
jne 0x416245
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], esi
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
jne 0x4164bc
xor ecx, ecx
jmp 0x4164d4
xor esi, esi
jmp 0x41648a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4164c5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004031f0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.00417b10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x424]
cmp eax, 8
jb 0x416245
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00403400
jmp 0x416245
call fcn.0041b14a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x690]
lea ecx, [ebp - 0x690]
push eax
push dword [eax]
lea eax, [ebp - 0x69c]
push eax
call fcn.0040ff00
push dword [ebp - 0x690]
call fcn.0041afde
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041afe3
mov esp, ebp
pop ebp
ret 8