Function at 0x418e33
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x18]
push edi
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.0041d68f
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, edi
jne 0x418e5e
mov ecx, esi
jmp 0x419097
push eax
lea eax, [ebp - 0x20]
push str._s_.btapp
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.00442ef1
add esp, 0xc
inc dword [ebx + 4]
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00442ec9
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x419001
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x14]
call fcn.004053bf
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], edi
jbe 0x418f5a
mov esi, dword [ebx + 0xc]
lea edi, [esi + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x418ece
mov ecx, 0x492538
mov eax, dword [edi]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x418ef6
test dx, dx
je 0x418ef2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x418ef6
add ecx, 4
add eax, 4
test dx, dx
jne 0x418ed0
xor eax, eax
jmp 0x418efb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418f0f
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x14
cmp eax, dword [ebx + 0x14]
jb 0x418ec2
jmp 0x418f5a
mov edi, dword [ebp - 4]
mov eax, dword [ebx + 4]
imul edi, edi, 0x14
mov dword [edi + esi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x278]
add eax, edi
xor ecx, ecx
cmp edx, dword [eax]
jne 0x418f32
cmp ecx, dword [eax + 4]
je 0x418f5a
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x418f3e
mov ecx, 0x492538
push dword [eax + 0xc]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x278]
mov eax, dword [ebx + 0xc]
mov dword [edi + eax], ecx
and dword [edi + eax + 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x14]
jne 0x418fcf
mov ecx, dword [ebp - 0x14]
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x278]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
test ecx, ecx
jne 0x418f85
mov ecx, 0x492538
call fcn.00443bc8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 4]
lea esi, [ebx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
cmp eax, dword [esi + 4]
jb 0x418fa5
mov ecx, esi
call fcn.0040836a
mov edi, dword [esi + 8]
lea eax, [edi + 1]
imul edi, edi, 0x14
add edi, dword [esi]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
push 5
pop ecx
lea esi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
test eax, eax
jne 0x418fc7
mov eax, 0x492538
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 4]
cmp byte [ebp - 0x10], 0
je 0x418fdd
mov ecx, dword [ebp - 0x14]
call fcn.004433ab
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x418ff5
or dword [ebp - 0xc], 0xffffffff
xor edi, edi
cmp dword [ebp - 0xc], 0xffffffff
jne 0x418ea1
cmp dword [ebp - 8], edi
je 0x419015
cmp dword [ebp - 8], 0xffffffff
je 0x419015
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebx + 0x14], edi
jbe 0x419088
mov dword [ebp - 8], edi
mov eax, dword [ebx + 0xc]
add eax, edi
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebx + 4]
je 0x419077
push dword [eax + 0xc]
mov edx, dword [ebx]
push dword [eax + 8]
mov ecx, ebx
call dword [edx + 8]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx]
add eax, edi
push dword [eax + 0xc]
mov ecx, ebx
push dword [eax + 8]
call dword [edx + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + eax + 8]
call fcn.004433ab
dec dword [ebx + 0x14]
mov ecx, dword [ebx + 0x14]
cmp dword [ebp - 4], ecx
je 0x419077
mov eax, dword [ebx + 0xc]
mov esi, ecx
imul esi, esi, 0x14
add esi, eax
push 5
add edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x14
mov dword [ebp - 8], edi
cmp eax, dword [ebx + 0x14]
jb 0x419020
mov ecx, dword [ebp - 0x20]
call fcn.004433ab
and dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x3c]
call fcn.0041d70d
pop edi
pop esi
pop ebx
leave
ret