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

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0xe6b
sub esp, 0x38
mov dword [ebp - 0x38], 0
push dword [ebp + 8]
call fcn.0044790a
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x28]
add eax, edx
dec eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp + 8]
call fcn.00447a49
mov byte [ebp - 0x38], al
mov al, byte [ebp - 0x38]
cmp al, 0x2e
jne 0x49acf6
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.00447f9b
push 1
call fcn.00443817
mov dword [ebp - 0x20], eax
mov eax, 0
mov edx, dword [ebp - 0x28]
cmp eax, edx
jne 0x49ad15
mov al, byte [ebp - 0x38]
cmp al, 0x2f
jne 0x49ad15
jmp 0x49ad19
xor eax, eax
jmp 0x49ad1c
xor eax, eax
inc eax
cmp eax, 0
je 0x49ae3d
push 0
push 0
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov edx, eax
mov eax, 1
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shl eax, 1
push eax
call fcn.00424c9c
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0x28]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov eax, 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
sub eax, 2
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
cmp al, 0
jne 0x49ad9f
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 1]
cmp al, 0
jne 0x49ad9f
jmp 0x49ada3
xor eax, eax
jmp 0x49ada6
xor eax, eax
inc eax
cmp eax, 0
je 0x49ae0d
mov eax, dword [ebp - 0x18]
sub eax, 4
mov dword [ebp - 0x18], eax
mov al, 0x2f
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov byte [eax], dl
mov al, 0
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 2], dl
push 0xffffffffffffffff
push dword [ebp - 0x20]
push dword [ebp - 0x14]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x14]
call fcn.0044968e
mov dword [ebp - 0x24], eax
mov eax, 8
xchg edx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
cmp eax, edx
jne 0x49ad87
push dword [ebp - 0x10]
call fcn.00424d80
mov eax, dword [ebp - 0x20]
jmp 0x49b044
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.00447f9b
mov dword [ebp - 0x3c], eax
push 0x250
call fcn.00424c9c
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push dword [ebp + 8]
call fcn.00456d49
push eax
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 0x38]
cmp al, 0x2e
jne 0x49ae8f
mov eax, 1
jmp 0x49ae94
mov eax, 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
and eax, 0x1f
mov cl, byte [ebp - 0x28]
shl eax, cl
xchg edx, eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
jne 0x49aef4
push dword [ebp + 8]
push 2
push dword [0x62ec8c]
call fcn.00458331
push eax
push 5
push dword [0x62ec74]
call fcn.00458331
push eax
push 0xc
lea esi, [esp + 4]
push esi
push 3
call fcn.0042fd46
mov eax, dword [ebp - 0x44]
add eax, 0x2c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
je 0x49afa9
push 2
push dword [ebp - 0x18]
call fcn.00447d68
and edx, 0xff
cmp eax, 0x2e
jne 0x49af97
push 2
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
call fcn.00447d68
mov edx, eax
mov eax, 0
cmp eax, edx
je 0x49af8b
push 2
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
call fcn.00447d68
and edx, 0xff
cmp eax, 0x2e
jne 0x49af79
push 2
mov eax, dword [ebp - 0x18]
add eax, 4
push eax
call fcn.00447d68
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x49af79
jmp 0x49af7d
xor eax, eax
jmp 0x49af80
xor eax, eax
inc eax
cmp eax, 0
jne 0x49af8b
xor eax, eax
jmp 0x49af8e
xor eax, eax
inc eax
cmp eax, 0
je 0x49af97
jmp 0x49af9b
xor eax, eax
jmp 0x49af9e
xor eax, eax
inc eax
cmp eax, 0
jne 0x49afa9
xor eax, eax
jmp 0x49afac
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x49b009
push 0xffffffffffffffff
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push eax
push dword [ebp - 0x18]
call fcn.0044968e
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
and eax, 0x10
cmp eax, 0
je 0x49afff
mov al, 0x2f
and eax, 0xff
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 8]
mov eax, dword [eax]
push eax
call fcn.00447f9b
push 8
push dword [ebp - 0x24]
call fcn.0042f9cc
push dword [ebp - 0x44]
push dword [ebp - 0x1c]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov edx, eax
mov eax, 0
cmp eax, edx
jne 0x49aeff
push dword [ebp - 0x1c]
mov dword [section..data], ebp
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp - 0x44]
call fcn.00424d80
mov eax, dword [ebp - 0x20]
leave
ret 4