Function at 0x4b3170
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b8f0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
push ebx
xor ebx, ebx
mov dword [esp + 0x2c], ecx
mov dword [ecx + 0x58], ebx
push ebp
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ebx
mov word [esp + 0x20], bx
mov eax, dword [0x67a008]
mov dword [esp + 0x2ac], ebx
cmp eax, ebx
jne 0x4b31bc
mov eax, 0x67a00c
mov edx, 0x664e54
test edx, edx
je 0x4b32a6
cmp eax, ebx
je 0x4b32a6
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x18], bx
call fcn.00401fc0
mov bl, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], bl
call fcn.00401070
push 0x664e54
lea ecx, [esp + 0x2c]
call fcn.00401f30
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], 2
call fcn.00401fb0
push eax
call fcn.0057e90a
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x1c], edi
je 0x4b327f
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x10]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x2c]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0057e90a
add esp, 0x14
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2ac], bl
call fcn.00401070
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], 0
call fcn.00401070
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
cmp ecx, ebx
mov eax, ecx
jne 0x4b32b0
lea eax, [esp + 0x20]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x34], edi
je 0x4b3469
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov word [esp + 0x14], bx
mov esi, dword [0x67a008]
mov byte [esp + 0x2ac], 3
cmp esi, ebx
jne 0x4b32f1
mov esi, 0x67a00c
mov ecx, 0x6536f0
test ecx, ecx
je 0x4b3425
cmp esi, ebx
je 0x4b3425
lea edx, [esp + 0x80]
test edx, edx
je 0x4b3425
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401f30
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x2b0], 4
call fcn.00403bb0
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x2b0], 5
call fcn.00403bb0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2ac], 6
call fcn.00401070
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x28]
call fcn.00401fb0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.00401fb0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005970d9
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x4b33ea
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x28]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x40]
call fcn.00401fb0
push eax
lea ecx, [esp + 0x50]
call fcn.00401fb0
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2ac], 5
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2ac], 4
call fcn.00401070
lea ecx, [esp + 0x48]
mov byte [esp + 0x2ac], 3
call fcn.00401070
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
cmp eax, ebx
jne 0x4b342d
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x38]
push eax
call fcn.004b2860
lea edx, [esp + 0x54]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov byte [esp + 0x2ac], 0
lea ecx, [esp + 0x10]
je 0x4b345d
call fcn.00401070
jmp 0x4b32cb
call fcn.00401070
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a0
ret