Function at 0x4194c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c409
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4cf500]
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 eax, dword [ebp + 0x10]
mov dword [ebp - 0x270], eax
xor eax, eax
push 0x24c
push eax
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], eax
push ecx
mov dword [ebp - 0x264], eax
call fcn.00477f60
add esp, 0xc
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x278]
push eax
mov ebx, 0x4ab194
call fcn.004066b0
mov eax, dword [eax]
add esp, 8
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
mov dword [ebp - 0x274], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
jne 0x419596
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41958f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4197c5
xor eax, eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
lea edi, [ebp - 0x238]
shr edi, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x27c], edi
jmp 0x4195c6
mov edi, dword [ebp - 0x27c]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 2
test edi, edi
jne 0x41960e
lea ecx, [ebp - 0x238]
movzx edi, cx
push 0
push edi
call fcn.004016f0
add esp, 8
test eax, eax
je 0x41963f
push edi
push eax
lea ecx, [ebp - 0x268]
call fcn.004018b0
jmp 0x419639
lea eax, [ebp - 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419617
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x268]
call fcn.00401b90
mov esi, dword [ebp - 0x268]
mov byte [ebp - 4], 3
mov ecx, 0x4aaef4
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x419676
test dx, dx
je 0x419672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x419676
add eax, 4
add ecx, 4
test dx, dx
jne 0x419650
xor eax, eax
jmp 0x41967b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4196ff
mov ecx, 0x4ab19c
mov eax, esi
jmp 0x419690
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4196b6
test dx, dx
je 0x4196b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4196b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x419690
xor eax, eax
jmp 0x4196bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4196ff
mov edi, dword [ebp - 0x270]
mov ebx, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [ebp - 0x268]
call fcn.0041a470
cmp dword [edi + 4], eax
jne 0x4196ff
test byte [ebp - 0x264], 0x10
je 0x4196ff
lea ecx, [ebp - 0x268]
lea edi, [ebp - 0x28c]
call fcn.00404250
mov esi, dword [ebp - 0x268]
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41971f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x274]
lea ecx, [ebp - 0x264]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4195c0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x288]
mov ebx, dword [ebp - 0x28c]
sub esp, 0xc
mov eax, esp
lea ecx, [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x26c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea edx, [ebp - 0x298]
push edi
push edx
mov ecx, ebx
mov dword [ebp - 0x26c], 1
call fcn.0041a4d0
mov esi, dword [ebp - 0x26c]
add esp, 0x14
test ebx, ebx
je 0x41979d
mov eax, ebx
call fcn.00404520
push ebx
call fcn.00472b96
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4197c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.00472ba1
mov esp, ebp
pop ebp
ret 0xc