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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x38
mov dword [ebp - 0x34], 0
push dword [ebp + 8]
call fcn.00445f47
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x24]
add eax, edx
dec eax
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.00446063
mov byte [ebp - 0x34], al
mov al, byte [ebp - 0x34]
cmp al, 0x2e
jne 0x497017
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.0044657c
push 1
call fcn.00441ef6
mov dword [ebp - 0x1c], eax
mov eax, 0
mov edx, dword [ebp - 0x24]
cmp eax, edx
jne 0x497036
mov al, byte [ebp - 0x34]
cmp al, 0x2f
jne 0x497036
jmp 0x49703a
xor eax, eax
jmp 0x49703d
xor eax, eax
inc eax
cmp eax, 0
je 0x497154
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov edx, eax
mov eax, 1
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
shl eax, 1
push eax
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov eax, 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
sub eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
cmp al, 0
jne 0x4970b8
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 1]
cmp al, 0
jne 0x4970b8
jmp 0x4970bc
xor eax, eax
jmp 0x4970bf
xor eax, eax
inc eax
cmp eax, 0
je 0x497120
mov eax, dword [ebp - 0x14]
sub eax, 4
mov dword [ebp - 0x14], eax
mov al, 0x2f
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov al, 0
xchg edx, eax
mov eax, dword [ebp - 0x14]
mov byte [eax + 2], dl
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x10]
call fcn.00447bfb
mov dword [ebp - 0x20], eax
mov eax, 8
xchg edx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
cmp eax, edx
jne 0x4970a0
push dword [ebp - 0xc]
call dword [sym.imp.MSVCRT.DLL_free]
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x49734b
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.0044657c
mov dword [ebp - 0x38], eax
push 0x250
call dword [sym.imp.MSVCRT.DLL_malloc]
add esp, 4
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push dword [ebp + 8]
call fcn.00454c80
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 0x34]
cmp al, 0x2e
jne 0x4971a4
mov eax, 1
jmp 0x4971a9
mov eax, 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
and eax, 0x1f
mov cl, byte [ebp - 0x24]
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 - 0x18]
cmp eax, 0xffffffff
jne 0x497209
push dword [ebp + 8]
push 2
push dword [0x582500]
call fcn.004561ef
push eax
push 5
push dword [0x5824e8]
call fcn.004561ef
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042fa34
mov eax, dword [ebp - 0x40]
add eax, 0x2c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0
je 0x4972be
push 2
push dword [ebp - 0x14]
call fcn.00446363
and edx, 0xff
cmp eax, 0x2e
jne 0x4972ac
push 2
mov eax, dword [ebp - 0x14]
add eax, 2
push eax
call fcn.00446363
mov edx, eax
mov eax, 0
cmp eax, edx
je 0x4972a0
push 2
mov eax, dword [ebp - 0x14]
add eax, 2
push eax
call fcn.00446363
and edx, 0xff
cmp eax, 0x2e
jne 0x49728e
push 2
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
call fcn.00446363
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x49728e
jmp 0x497292
xor eax, eax
jmp 0x497295
xor eax, eax
inc eax
cmp eax, 0
jne 0x4972a0
xor eax, eax
jmp 0x4972a3
xor eax, eax
inc eax
cmp eax, 0
je 0x4972ac
jmp 0x4972b0
xor eax, eax
jmp 0x4972b3
xor eax, eax
inc eax
cmp eax, 0
jne 0x4972be
xor eax, eax
jmp 0x4972c1
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x497318
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x14]
call fcn.00447bfb
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
and eax, 0x10
cmp eax, 0
je 0x49730e
mov al, 0x2f
and eax, 0xff
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
call fcn.0044657c
push 8
push dword [ebp - 0x20]
call fcn.0042f6f7
push dword [ebp - 0x40]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x497214
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp - 0x40]
call dword [sym.imp.MSVCRT.DLL_free]
add esp, 4
mov eax, dword [ebp - 0x1c]
leave
ret 4