Function at 0x4192a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
mov eax, dword [0x4b2a8c]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
call fcn.00405680
mov ecx, dword [0x260de28]
movzx edx, word [0x260dd88]
mov dword [esp + 0x14], eax
movzx eax, word [0x260dd9c]
lea edi, [eax + ecx + 0x4b9000]
mov eax, dword [0x260de70]
lea ecx, [edx + eax + 0x4b9000]
movzx edx, word [0x4b8be8]
push edx
mov esi, 0x10fff0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ecx
call fcn.004057b0
mov ebx, eax
mov eax, dword [ebx + 0xc]
add esp, 4
cmp eax, 0xffffffff
je 0x419322
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebx + 0xc], 0xffffffff
mov eax, dword [esp + 0x18]
call fcn.004074f0
mov esi, dword [esp + 0x14]
add esi, 0x214
mov dword [esp + 0x14], esi
mov edx, esi
jmp 0x419340
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x419340
movzx eax, byte [0x260dd84]
cmp al, 8
mov byte [ebx + 8], al
mov cl, byte [0x260dd85]
sete byte [esp + 0x13]
mov byte [ebx + 9], cl
test al, 8
je 0x419386
mov eax, esi
call fcn.00407550
mov ecx, dword [esp + 0x18]
mov edi, eax
call fcn.00406400
mov edi, dword [esp + 0x1c]
test al, al
jne 0x419386
and byte [ebx + 8], 0xf7
cmp byte [esp + 0x13], 0
jne 0x41945e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
je 0x41945e
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
movzx eax, byte [ebx + 8]
movzx edx, byte [ebx + 9]
mov ecx, dword [esp + 0x20]
test al, 8
je 0x4193c8
test cl, 0x10
je 0x4193eb
test al, 2
jne 0x4193d1
test cl, 2
jne 0x4193eb
test al, 4
jne 0x4193da
test cl, 4
jne 0x4193eb
test al, 0x10
jne 0x4193e3
test cl, 0x10
jne 0x4193eb
mov eax, edx
and eax, ecx
cmp eax, edx
je 0x41940f
mov edx, dword [ebx + 0xc]
lea ecx, [esp + 0x20]
push ecx
push edx
call esi
test eax, eax
jne 0x4193b3
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebx + 0xc], 0xffffffff
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
cmp dword [ebx + 0xc], 0xffffffff
je 0x4194dc
lea esi, [esp + 0x20]
mov dword [edi], ecx
call fcn.00407db0
cmp word [0x260dd98], 0
jne 0x419464
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 8], edx
mov edx, dword [esp + 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
jmp 0x419497
mov ecx, dword [esp + 0x20]
jmp 0x419413
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
lea ecx, [edi + 4]
push ecx
lea edx, [edi + 6]
push edx
lea eax, [esp + 0x2c]
push eax
call esi
lea ecx, [edi + 0xc]
push ecx
lea edx, [edi + 0xe]
push edx
lea eax, [esp + 0x34]
push eax
call esi
lea ecx, [edi + 0x14]
push ecx
lea edx, [edi + 0x16]
push edx
lea eax, [esp + 0x3c]
push eax
call esi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
lea eax, [esp + 0x4c]
mov edx, eax
mov ecx, edi
sub ecx, edx
lea edx, [ecx + 0x2c]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4194b2
lea eax, [esp + 0x150]
mov ecx, eax
sub edi, ecx
lea edx, [edi + 0x130]
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4194d0
jmp 0x419525
test byte [ebx + 8], 8
je 0x41954b
xor eax, eax
mov edx, edi
sub edx, esi
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
mov dword [edi], 8
mov eax, esi
add edx, 0x2c
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x419500
mov eax, esi
call fcn.00407550
lea edx, [edi + 0x130]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x419517
and byte [ebx + 8], 0xf7
sub ebx, 0x4b83c0
sar ebx, 4
inc ebx
mov word [0x260dd80], bx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00482caa
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x164]
or word [0x260ddac], 1
pop edi
pop esi
pop ebx
mov eax, 0x12
xor ecx, esp
mov word [0x260dd80], ax
call fcn.00482caa
mov esp, ebp
pop ebp
ret