Function at 0x4bffd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6442ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b0
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], esi
mov word [ebp - 0x24], si
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 1
cmp eax, esi
jne 0x4c0018
lea eax, [ebx + 0xc]
mov edx, str._s.gsd
test edx, edx
je 0x4c00e0
cmp eax, esi
je 0x4c00e0
push eax
lea ecx, [ebp - 0x34]
call fcn.00401ee0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x1c]
call fcn.004027c0
push esi
push str._s.gsd
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004027e0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x28], edx
je 0x4c00c5
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x34]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x28]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00401070
mov ecx, dword [ebp - 0x28]
xor edi, edi
mov eax, ecx
cmp ecx, edi
jne 0x4c00eb
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x2ac]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x40], eax
jne 0x4c011e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov word [ebp - 0x18], di
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 4
cmp eax, edi
mov esi, eax
jne 0x4c0138
lea esi, [ebx + 0xc]
mov eax, 0x6c900c
test eax, eax
je 0x4c0248
cmp esi, edi
je 0x4c0248
lea ecx, [ebp - 0x280]
test ecx, ecx
je 0x4c0248
lea ecx, [ebp - 0x34]
call fcn.004027c0
push edi
push 0x6c900c
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004027e0
push esi
lea ecx, [ebp - 0x4c]
call fcn.00401ee0
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x58]
push edx
mov byte [ebp - 4], 6
call fcn.00401ee0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [ebp - 0x4c]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.00622acb
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x4c0224
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x58]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401f10
push eax
lea ecx, [ebp - 0x34]
call fcn.00401f10
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.006099de
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00401070
push 0x4c
call fcn.00622acb
mov ecx, eax
add esp, 4
mov dword [ebp - 0x5c], ecx
test ecx, ecx
mov byte [ebp - 4], 8
je 0x4c0268
call fcn.0052e6c0
mov ecx, eax
jmp 0x4c026a
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test eax, eax
mov dword [ebp - 0x38], ecx
jne 0x4c027b
lea eax, [ebp - 0x18]
push eax
call fcn.0052e770
mov ecx, dword [ebp - 0x38]
mov edx, dword [0x6fc9f8]
mov esi, dword [0x6fc9fc]
xor bl, bl
xor eax, eax
cmp eax, esi
jge 0x4c02a6
lea edi, [eax + eax*2]
mov edi, dword [edx + edi*4]
cmp edi, dword [ecx + 0x34]
je 0x4c02aa
inc eax
jmp 0x4c0294
test bl, bl
je 0x4c02da
mov eax, dword [ebp - 0x1c]
xor edi, edi
cmp eax, edi
jne 0x4c02b6
lea eax, [ebp - 0x18]
push edi
push eax
push 0x6c910c
add ecx, 0x38
call fcn.0041da80
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0x14]
lea edx, [ebp - 0x38]
push edx
push eax
call fcn.005210c0
jmp 0x4c02e6
xor edi, edi
cmp ecx, edi
je 0x4c02e6
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x2ac]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
jne 0x4c0313
call fcn.00401070
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4c0101
call fcn.00401070
mov ebx, dword [ebp - 0x3c]
jmp 0x4c011e