Function at 0x1001826a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e5c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x120
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x1001882b
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10018706
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], 0x3b80
mov dword [ebp - 0x104], str.lms_dvqvwpgwz_zevatfptt_halbqeebg_nilu_mkd_bjg
cmp dword [ebp - 0x5c], 0x3f5a
jle 0x100183e6
push 0x87a
call dword [sym.imp.USER32.dll_GetQueueStatus]
and dword [ebp - 0x38], 0
jmp 0x1001837e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x610
jge 0x100183e6
and dword [ebp - 0x34], 0
jmp 0x10018394
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x5687
jge 0x100183e4
and dword [ebp - 0x3c], 0
jmp 0x100183aa
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x23ea
jge 0x100183e2
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ecx, 0x10079a18
call fcn.1000f556
jmp 0x100183a3
jmp 0x1001838d
jmp 0x10018377
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x37e9
jge 0x1001840c
mov edx, dword [ebp - 0x104]
mov ecx, 0x10079a18
call fcn.10012762
jmp 0x10018428
or dword [ebp - 4], 0xffffffff
jmp 0x10018432
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xb8], eax
push 2
mov ecx, dword [ebp - 0x18]
call fcn.1000f954
mov eax, 0xb91e60e7
test eax, eax
je 0x10018476
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1000f954
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
or edi, 0xffffffff
shl edi, 1
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1000f954
imul edi, dword [eax]
cmp edi, esi
jl 0x100184a0
mov dword [ebp - 0xa8], 1
jmp 0x100184a7
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x100184c0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ecx]
sub esi, dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1000f954
cmp esi, dword [eax]
je 0x100184e4
mov dword [ebp - 0x4c], 1
jmp 0x100184e8
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x100184f7
mov dword [ebp - 0x44], 1
jmp 0x100184fb
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jge 0x10018511
mov dword [ebp - 0xe0], 1
jmp 0x10018518
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1000f954
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x10018546
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x10018546
and dword [ebp - 0x54], 0
jmp 0x1001854d
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x54], eax
jg 0x10018560
mov dword [ebp - 0x64], 1
jmp 0x10018564
and dword [ebp - 0x64], 0
imul esi, dword [ebp - 0x64], 0xffffabb1
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.1000f954
imul esi, dword [eax]
test esi, esi
je 0x100186ca
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100186c8
mov dword [ebp - 0x48], 0x4776
mov dword [ebp - 0xec], str.bsveyyx_gojuaqxuk_oxejj_jyszr_ejador_filsfyeo_fbnhggiru_uvpsnyazy_miqseocj_dgc_tliaitbh
cmp dword [ebp - 0x48], 0x47e3
jle 0x10018652
and dword [ebp - 0x30], 0
jmp 0x100185be
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2cd7
jge 0x10018652
and dword [ebp - 0x2c], 0
jmp 0x100185d8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1d92
jge 0x1001864d
and dword [ebp - 0x40], 0
jmp 0x100185ee
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x29ac
jge 0x1001864b
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], edx
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x130]
call fcn.10001a9f
pop ecx
pop ecx
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.1000f536
push eax
call fcn.10045b49
pop ecx
lea ecx, [ebp - 0x130]
call fcn.1000f52c
jmp 0x100185e7
jmp 0x100185d1
jmp 0x100185b7
push 0x104c
push 0
push 0x4043
push 1
push 0x5a3d
push 0x31bb
push 0x2cc4
push 0x3917
push 0x1800
push 0xb77
call fcn.10016eab
add esp, 0x28
mov dword [ebp - 4], 2
cmp dword [ebp - 0x48], 0x46ad
jge 0x100186a2
push dword [ebp - 0xec]
call fcn.10045b49
pop ecx
jmp 0x100186be
or dword [ebp - 4], 0xffffffff
jmp 0x100186c8
jmp 0x10018701
mov dword [ebp - 0xe8], 0x316d
push dword [ebp - 0xb8]
push dword [ebp - 0x14]
push 0x638
push dword [ebp - 0x50]
push dword [ebp - 0x24]
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x58]
push 0
lea eax, [ebp - 0xe8]
push eax
call fcn.10017b23
add esp, 0x28
jmp 0x10018829
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1001876b
mov dword [ebp - 0xa4], 1
jmp 0x10018772
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000f954
mov ecx, dword [ebp - 0xac]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000f954
mov eax, dword [ebp - 0xb4]
cmp dword [eax], 0xaf7f
jge 0x100187bc
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000f954
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000f954
cmp dword [eax], esi
jge 0x100187d8
mov dword [ebp - 0x60], 1
jmp 0x100187dc
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x60]
jl 0x100187ef
mov dword [ebp - 0x68], 1
jmp 0x100187f3
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x68]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
cmp dword [eax], ecx
je 0x1001880e
mov dword [ebp - 0xbc], 1
jmp 0x10018815
and dword [ebp - 0xbc], 0
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000f954
mov ecx, dword [ebp - 0xc4]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x10018897
lea eax, [ebp + 0x20]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x10018852
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x10018897
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x10018897
push 0
push 0x6fcb
push 0x5b70
push 0x2d80
push 0
push 0x5002
call fcn.10018e67
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret