Function at 0x46d1a3
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x30
push dword [ebp + 8]
call fcn.00432097
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x2c]
add eax, edx
dec eax
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push dword [ebp + 8]
call fcn.004321b6
mov byte [ebp - 0x34], al
mov al, byte [ebp - 0x34]
cmp al, 0x2e
jne 0x46d1f8
mov al, 0x2f
and eax, 0xff
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
call fcn.004325a5
push 1
call fcn.0042e8b9
mov dword [ebp - 0x24], eax
mov eax, 0
mov edx, dword [ebp - 0x2c]
cmp eax, edx
jne 0x46d217
mov al, byte [ebp - 0x34]
cmp al, 0x2f
jne 0x46d217
jmp 0x46d21b
xor eax, eax
jmp 0x46d21e
xor eax, eax
inc eax
cmp eax, 0
je 0x46d335
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov edx, eax
mov eax, 1
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
shl eax, 1
push eax
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov eax, 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
sub eax, 2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
cmp al, 0
jne 0x46d299
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 1]
cmp al, 0
jne 0x46d299
jmp 0x46d29d
xor eax, eax
jmp 0x46d2a0
xor eax, eax
inc eax
cmp eax, 0
je 0x46d301
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov dword [ebp - 0x1c], eax
mov al, 0x2f
xchg edx, eax
mov eax, dword [ebp - 0x1c]
mov byte [eax], dl
mov al, 0
xchg edx, eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + 2], dl
push 0xffffffffffffffff
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x18]
call fcn.00433b57
mov dword [ebp - 0x28], eax
mov eax, 8
xchg edx, eax
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
cmp eax, edx
jne 0x46d281
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.DLL_free]
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x46d52c
mov al, 0x2a
and eax, 0xff
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
call fcn.004325a5
mov dword [ebp - 0x38], eax
push 0x250
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.00441314
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0x34]
cmp al, 0x2e
jne 0x46d385
mov eax, 1
jmp 0x46d38a
mov eax, 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
and eax, 0x1f
mov cl, byte [ebp - 0x2c]
shl eax, cl
xchg edx, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
jne 0x46d3ea
push dword [ebp + 8]
push 2
push dword [0x5243bc]
call fcn.004426ad
push eax
push 5
push dword [0x5243a4]
call fcn.004426ad
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.00421b6e
mov eax, dword [ebp - 0x10]
add eax, 0x2c
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0
je 0x46d49f
push 2
push dword [ebp - 0x1c]
call fcn.004323d1
and edx, 0xff
cmp eax, 0x2e
jne 0x46d48d
push 2
mov eax, dword [ebp - 0x1c]
add eax, 2
push eax
call fcn.004323d1
mov edx, eax
mov eax, 0
cmp eax, edx
je 0x46d481
push 2
mov eax, dword [ebp - 0x1c]
add eax, 2
push eax
call fcn.004323d1
and edx, 0xff
cmp eax, 0x2e
jne 0x46d46f
push 2
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call fcn.004323d1
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x46d46f
jmp 0x46d473
xor eax, eax
jmp 0x46d476
xor eax, eax
inc eax
cmp eax, 0
jne 0x46d481
xor eax, eax
jmp 0x46d484
xor eax, eax
inc eax
cmp eax, 0
je 0x46d48d
jmp 0x46d491
xor eax, eax
jmp 0x46d494
xor eax, eax
inc eax
cmp eax, 0
jne 0x46d49f
xor eax, eax
jmp 0x46d4a2
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x46d4f9
push 0xffffffffffffffff
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x1c]
call fcn.00433b57
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0x10
cmp eax, 0
je 0x46d4ef
mov al, 0x2f
and eax, 0xff
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
call fcn.004325a5
push 8
push dword [ebp - 0x28]
call fcn.00421947
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x46d3f5
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.DLL_free]
add esp, 4
mov eax, dword [ebp - 0x24]
leave
ret 4