Function at 0x41b2a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7918
mov eax, dword fs:[0]
push eax
mov eax, 0x16ac
call fcn.00587f10
mov eax, dword [0x629688]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x16ac], 0
push 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push 0x5e0874
mov ecx, edi
mov dword [ebp - 0x16b4], edi
mov byte [edi], 0
call fcn.004082e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x16ac], 1
test ebx, ebx
je 0x41b5f7
cmp byte [ebx], 0
je 0x41b5f7
push 0x3ff
lea eax, [ebp - 0x40f]
push 0
push eax
mov byte [ebp - 0x410], 0
call fcn.005877c0
add esp, 0xc
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004016a0
push 1
push 0x5e0864
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0058b4e8
push 3
push 0x5e1df8
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0058b4e8
add esp, 0x28
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x1440]
call fcn.00407ed0
push 2
push 0x5e1e54
lea ecx, [ebp - 0x1440]
mov dword [ebp - 4], 1
call fcn.00414c60
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1410], ax
lea eax, [ebp - 0x140e]
push eax
call fcn.005877c0
add esp, 0xc
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push eax
call fcn.005877c0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
cmp dword [ebp - 0x142c], 0x10
push 0x400
lea ecx, [ebp - 0x1410]
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x1440]
cmovae eax, dword [ebp - 0x1440]
push eax
push 0
push 0xfde9
call esi
push 0x400
lea eax, [ebp - 0xc10]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x16a8]
push eax
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41b56d
push 0x5e0da4
lea ecx, [ebp - 0x1428]
call fcn.00407fb0
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x41b480
cmp word [ebp - 0x167c], 0
jne 0x41b48e
xor eax, eax
jmp 0x41b4a6
lea eax, [ebp - 0x167c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b497
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x167c]
push eax
lea ecx, [ebp - 0x1428]
call fcn.00408410
cmp word [ebp - 0xc10], 0
jne 0x41b4c7
xor ecx, ecx
jmp 0x41b4df
lea ecx, [ebp - 0xc10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b4d0
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0xc10]
push eax
lea ecx, [ebp - 0x1428]
call fcn.0041ba00
cmp eax, 0xffffffff
jne 0x41b50d
lea eax, [ebp - 0x16a8]
push eax
push esi
call ebx
test eax, eax
jne 0x41b480
jmp 0x41b54b
cmp dword [ebp - 0x1414], 8
lea eax, [ebp - 0x1428]
cmovae eax, dword [ebp - 0x1428]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00407fb0
lea eax, [ebp - 0x1458]
push eax
call fcn.0041aad0
push eax
mov ecx, edi
call fcn.0041b620
lea ecx, [ebp - 0x1458]
call fcn.00407f30
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1414], 8
jb 0x41b56d
push dword [ebp - 0x1428]
call fcn.0058603b
add esp, 4
cmp dword [edi + 0x10], 0
je 0x41b5e0
push 1
push 0x5e0864
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0058b4e8
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x41b598
mov eax, dword [edi]
jmp 0x41b59a
mov eax, edi
push dword [edi + 0x10]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0058b4e8
add esp, 0x10
cmp byte [ebp - 0x410], 0
jne 0x41b5bf
xor ecx, ecx
jmp 0x41b5d1
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b5c8
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
mov ecx, edi
call fcn.004082e0
cmp dword [ebp - 0x142c], 0x10
jb 0x41b5f7
push dword [ebp - 0x1440]
call fcn.0058603b
add esp, 4
mov eax, edi
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.00586d1b
mov esp, ebp
pop ebp
ret 8