Function at 0x419f5b
Capabilities:
Enumerate files on windows

Disassembly:
push 0x344
mov eax, 0x43c2fb
call fcn.0042408c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 1
call fcn.00419eaa
mov esi, 0x43ec60
push esi
mov byte [ebp - 4], 2
call fcn.00423fa4
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
push esi
call fcn.004116f7
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419fcb
xor ebx, ebx
mov esi, ebx
jmp 0x41a1ad
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor ebx, ebx
jmp 0x41a1a2
lea eax, [ebp - 0x27c]
push 0x445e2c
push eax
call fcn.00424ce0
pop ecx
pop ecx
test eax, eax
je 0x41a194
lea eax, [ebp - 0x27c]
push 0x43ec78
push eax
call fcn.00424ce0
pop ecx
pop ecx
test eax, eax
je 0x41a194
test byte [ebp - 0x2a8], 0x10
je 0x41a194
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00404700
push 0x43f064
mov byte [ebp - 4], 3
call fcn.004238d0
pop ecx
push eax
push 0x43f064
lea ecx, [ebp - 0x28]
call fcn.0040df50
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041c85d
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0040b3b0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00403560
push 0x43f068
call fcn.004238d0
pop ecx
push eax
push ebx
push 0x43f068
lea ecx, [ebp - 0x28]
call fcn.0041cd7b
cmp eax, 0xffffffff
jne 0x41a0eb
push 0x43f06c
call fcn.004238d0
pop ecx
push eax
push ebx
push 0x43f06c
lea ecx, [ebp - 0x28]
call fcn.0041cd7b
cmp eax, 0xffffffff
jne 0x41a0eb
push 0x43f070
call fcn.004238d0
pop ecx
push eax
push ebx
push 0x43f070
lea ecx, [ebp - 0x28]
call fcn.0041cd7b
cmp eax, 0xffffffff
je 0x41a188
push str.asfmtrj3myr
lea ecx, [ebp - 0x40]
call fcn.00403490
lea eax, [ebp - 0x40]
push eax
push 5
mov byte [ebp - 4], 5
call fcn.00418fc4
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b3b0
cmp dword [ebp - 0x14], 0x10
push 1
push 0x40
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 2
push eax
lea ecx, [ebp - 0x350]
call fcn.004187eb
mov eax, dword [ebp - 0x350]
lea ecx, [ebp - 0x350]
mov eax, dword [eax + 4]
add eax, ecx
push 0
test byte [eax + 0xc], 6
pop ecx
cmovne eax, ecx
mov byte [ebp - 4], 6
test eax, eax
je 0x41a175
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.0040ede0
pop ecx
pop ecx
lea ecx, [ebp - 0x350]
call fcn.0041cc6a
lea ecx, [ebp - 0x350]
call fcn.0041896f
lea ecx, [ebp - 0x40]
call fcn.00403560
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00403560
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x419fe0
xor esi, esi
inc esi
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0041157d
lea ecx, [ebp + 8]
call fcn.00403560
lea ecx, [ebp + 0x20]
call fcn.00403560
mov eax, esi
call fcn.0042403b
ret