Function at 0x46b405
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcb65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xfc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x46b811
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x3c], 0x1c49
mov dword [ebp - 0x70], str.nzqorp_pbp_yqyzzzztw_ldce_oygh_wqhfvdx_vymzyg
cmp dword [ebp - 0x3c], 0x1e8b
jle 0x46b4eb
push 0x1709
call dword [sym.imp.USER32.dll_HideCaret]
and dword [ebp - 0x38], 0
jmp 0x46b481
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x26bb
jge 0x46b4eb
and dword [ebp - 0x24], 0
jmp 0x46b497
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1b06
jge 0x46b4e9
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xdc]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.004063c6
push eax
call fcn.004a68c7
pop ecx
lea ecx, [ebp - 0xdc]
call fcn.004063bc
jmp 0x46b490
jmp 0x46b47a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x1a36
jge 0x46b507
push dword [ebp - 0x70]
call fcn.004a68c7
pop ecx
jmp 0x46b523
or dword [ebp - 4], 0xffffffff
jmp 0x46b52d
lea eax, [ebp + 0x14]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x46b7e5
mov dword [ebp - 0x44], 0xfb9
mov dword [ebp - 0x90], str.donfxbta_uppipk_igdfqkv_nourz
cmp dword [ebp - 0x44], 0x1129
jle 0x46b625
and dword [ebp - 0x30], 0
jmp 0x46b572
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xa1a
jge 0x46b625
and dword [ebp - 0x2c], 0
jmp 0x46b58c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x24d9
jge 0x46b620
and dword [ebp - 0x1c], 0
jmp 0x46b5a6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3556
jge 0x46b61b
and dword [ebp - 0x34], 0
jmp 0x46b5bc
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6ba3
jge 0x46b619
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
shl edx, cl
mov ecx, dword [ebp - 0x34]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
lea ecx, [ebp - 0xf4]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.004063c6
push eax
call fcn.004a68c7
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.004063bc
jmp 0x46b5b5
jmp 0x46b59f
jmp 0x46b585
jmp 0x46b56b
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0xf9f
jge 0x46b647
push dword [ebp - 0x90]
call fcn.004a68c7
pop ecx
jmp 0x46b663
or dword [ebp - 4], 0xffffffff
jmp 0x46b66d
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x46b78f
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x46b78d
mov dword [ebp - 0x40], 0x5b44
mov dword [ebp - 0x98], str.xwpsepkap_lzurus_pvneepyhv
cmp dword [ebp - 0x40], 0x5c3c
jle 0x46b72c
and dword [ebp - 0x20], 0
jmp 0x46b6c4
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x86c
jge 0x46b72c
and dword [ebp - 0x28], 0
jmp 0x46b6da
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x23d9
jge 0x46b72a
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x10c]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.004063c6
push eax
call fcn.004a68c7
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.004063bc
jmp 0x46b6d3
jmp 0x46b6bd
push 0
push 1
push 0x6f47
push 0x54e0
push 0x39d1
push 0
push 1
call fcn.00468a6c
add esp, 0x1c
mov dword [ebp - 4], 4
cmp dword [ebp - 0x40], 0x58c7
jge 0x46b767
push dword [ebp - 0x98]
call fcn.004a68c7
pop ecx
jmp 0x46b783
or dword [ebp - 4], 0xffffffff
jmp 0x46b78d
jmp 0x46b7e3
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x46b7c6
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x46b7e3
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x80]
call fcn.00406814
mov dword [eax], 0xfffffffd
jmp 0x46b7bb
jmp 0x46b80c
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x88], eax
push 1
push 1
push 1
push dword [ebp - 0x88]
push 0x17c4
push 1
call fcn.0046aea6
add esp, 0x18
jmp 0x46b89e
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x46b857
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x64]
push 1
push dword [ebp - 0x6c]
call fcn.00468da3
add esp, 0xc
jmp 0x46b89e
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x46b898
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
jmp 0x46b89e
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret