Function at 0x46c195
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aff31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x46c2a3
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x46c24a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
jmp 0x46c22b
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 2
jge 0x46c248
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x70]
call fcn.00409fe1
mov dword [eax], 0xfcf42757
jmp 0x46c220
jmp 0x46c29e
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
jmp 0x46c281
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 4
jge 0x46c29e
mov eax, dword [ebp - 0x2c]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.00409fe1
mov dword [eax], 0x1448112d
jmp 0x46c276
jmp 0x46c57d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x48], 0x1347
mov dword [ebp - 0x64], str.gwkbvf_vqkc_riyatcfb_kgwzhumbw_swlcbxgb_xordywbv_ttn_aklj
cmp dword [ebp - 0x48], 0x16ea
jle 0x46c31f
and dword [ebp - 0x30], 0
jmp 0x46c2d3
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xa85
jge 0x46c31f
and dword [ebp - 0x34], 0
jmp 0x46c2e9
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x13bd
jge 0x46c31d
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x46c2e2
jmp 0x46c2cc
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x108b
jge 0x46c339
mov edx, dword [ebp - 0x64]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x46c355
or dword [ebp - 4], 0xffffffff
jmp 0x46c35f
push 3
lea ecx, [ebp - 0x94]
call fcn.00409f19
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x44], 9
push 4
lea ecx, [ebp - 0xb0]
call fcn.00409f19
mov dword [ebp - 0x14], 0
jmp 0x46c39e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x46c3ba
push dword [ebp - 0x14]
lea ecx, [ebp - 0x94]
call fcn.00409fe1
mov dword [eax], 0x4778
jmp 0x46c397
mov dword [ebp - 0x14], 0
jmp 0x46c3ca
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x46c3e6
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
call fcn.00409fe1
mov dword [eax], 0x7ddbf4df
jmp 0x46c3c3
mov dword [ebp - 0x18], 0
jmp 0x46c3f6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x46c538
mov dword [ebp - 0x20], 0x70ade216
mov dword [ebp - 0x20], 0
jmp 0x46c417
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x46c533
mov dword [ebp - 0x6c], 0x2dd78f4f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.00409fe1
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0
jmp 0x46c44b
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffff7
jg 0x46c52e
mov dword [ebp - 0x4c], 0xfffffffd
mov dword [ebp - 0x38], 0xac3d
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0x20], 3
jne 0x46c484
mov dword [ebp - 0x50], 1
jmp 0x46c488
and dword [ebp - 0x50], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.00409fe1
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jg 0x46c4a6
mov dword [ebp - 0x3c], 1
jmp 0x46c4aa
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
add eax, 0x336d
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x24]
jl 0x46c4ce
mov dword [ebp - 0x40], 1
jmp 0x46c4d2
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov esi, dword [ebp - 0x44]
neg esi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x94]
call fcn.00409fe1
cmp esi, dword [eax]
jl 0x46c4f8
mov dword [ebp - 0x54], 1
jmp 0x46c4fc
and dword [ebp - 0x54], 0
mov esi, dword [ebp - 0x4c]
add esi, dword [ebp - 0x54]
push 2
lea ecx, [ebp - 0xb0]
call fcn.00409fe1
mov dword [eax], esi
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x46c529
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x46c444
jmp 0x46c410
jmp 0x46c3ef
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x46c550
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea ecx, [ebp - 0xb0]
call fcn.00409fc5
lea ecx, [ebp - 0x94]
call fcn.00409fc5
push 0
push 0x4818
push dword [ebp - 0x74]
push 0x3d
push dword [ebp - 0x7c]
call fcn.0046d8d0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret