Function at 0x100251d1
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100643bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x134
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x94], 0x2822
mov dword [ebp - 0xb4], str.xyotysbu_dezpopw_kwamory_abb_bywdxjk_sjkxyox
cmp dword [ebp - 0x94], 0x2915
jle 0x100252a1
and dword [ebp - 0x3c], 0
jmp 0x10025227
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x23cd
jge 0x10025299
and dword [ebp - 0x38], 0
jmp 0x1002523d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2a59
jge 0x10025297
mov eax, dword [ebp - 0x3c]
and eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x12c]
call fcn.10001a6a
pop ecx
pop ecx
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.10005891
push eax
call fcn.1004da8c
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.10005887
jmp 0x10025236
jmp 0x10025220
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100252c2
push 1
push 0x47aa
push 0x192
call fcn.10025970
add esp, 0xc
jmp 0x1002591a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
test eax, eax
je 0x1002536d
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x10025348
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 1
jge 0x10025368
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0xcc]
call fcn.10005cad
mov dword [eax], 1
jmp 0x1002533d
jmp 0x1002591a
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xac], eax
push 1
lea ecx, [ebp - 0x20]
call fcn.10005c0e
and dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0xc8]
call fcn.10005c0e
mov byte [ebp - 4], 1
mov dword [ebp - 0x90], 0x6ed55c59
push 2
lea ecx, [ebp - 0x10c]
call fcn.10005c0e
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x14], 0
jmp 0x100253e9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100253fc
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x80], 0xffffffff
jmp 0x100253e2
mov dword [ebp - 0x14], 0
jmp 0x1002540c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10025425
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov dword [eax], 1
jmp 0x10025405
push 0
push 0x2bf0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x513e
call fcn.100239ba
add esp, 0x14
push 0x7afe
push 0x4f51
lea eax, [ebp - 0x10c]
push eax
push 0x843
lea eax, [ebp - 0x14]
push eax
push 0x7721
push 0x5a0
push 0
push 0
call fcn.10023747
add esp, 0x24
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
and dword [eax], 0
jmp 0x100254a4
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
cmp dword [eax], 2
jg 0x100257f1
mov dword [ebp - 0xa4], 0x6eab
mov dword [ebp - 0xd8], str.vxmaulbh_yfqcawldz_lxx_zvria_mvb_xvuf_vbbzegpkm_jvspqqv_djygmdqha
cmp dword [ebp - 0xa4], 0x6f74
jle 0x1002555b
and dword [ebp - 0x34], 0
jmp 0x100254e8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2dc9
jge 0x1002555b
and dword [ebp - 0x28], 0
jmp 0x100254fe
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x59fe
jge 0x10025559
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
lea ecx, [ebp - 0x144]
call fcn.10001a6a
pop ecx
pop ecx
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.10005891
push eax
call fcn.1004da8c
pop ecx
lea ecx, [ebp - 0x144]
call fcn.10005887
jmp 0x100254f7
jmp 0x100254e1
mov dword [ebp - 0x48], 0x8112def9
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa4], 0x6e0b
jge 0x1002557e
push dword [ebp - 0xd8]
call fcn.1004da8c
pop ecx
jmp 0x1002559a
mov dword [ebp - 4], 2
jmp 0x100255aa
mov dword [ebp - 0x9c], 0xddac0faa
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
push 0xfffffffffffffff8
pop esi
sub esi, dword [eax]
add esi, 3
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
cmp esi, dword [eax]
jge 0x100255e7
mov dword [ebp - 0x58], 1
jmp 0x100255eb
and dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x80]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x58]
jl 0x10025628
mov dword [ebp - 0x40], 1
jmp 0x1002562c
and dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.10005cad
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
cmp dword [ebp - 0x40], 0
je 0x10025662
push 0
lea ecx, [ebp - 0xc8]
call fcn.10005cad
cmp dword [eax], 0
je 0x10025662
mov dword [ebp - 0xa0], 1
jmp 0x10025669
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 8
jb 0x1002567b
mov dword [ebp - 0x60], 1
jmp 0x1002567f
and dword [ebp - 0x60], 0
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov eax, dword [eax]
mov ecx, dword [ebp - 0x60]
sub ecx, 0x4491d0b
cmp dword [ebp + eax*4 - 0x80], ecx
jl 0x100256a6
mov dword [ebp - 0x88], 1
jmp 0x100256ad
and dword [ebp - 0x88], 0
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x80]
cmp dword [ebp - 0x88], eax
je 0x100256d2
xor eax, eax
je 0x100256d2
mov dword [ebp - 0x68], 1
jmp 0x100256d6
and dword [ebp - 0x68], 0
imul esi, dword [ebp - 0x68], 7
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov eax, dword [eax]
cmp esi, dword [ebp + eax*4 - 0x80]
jl 0x100256f8
mov dword [ebp - 0x98], 1
jmp 0x100256ff
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
sub eax, 0x57440e70
je 0x10025727
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
cmp dword [eax], 0
je 0x10025727
mov dword [ebp - 0x100], 1
jmp 0x1002572e
and dword [ebp - 0x100], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x80]
mov dword [ebp - 0x110], eax
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x80], 0xfff6
jbe 0x1002575c
mov dword [ebp - 0x70], 1
jmp 0x10025760
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x1002577e
cmp dword [ebp - 0x48], 0
jne 0x1002577e
and dword [ebp - 0x44], 0
jmp 0x10025785
mov dword [ebp - 0x44], 1
push 1
lea ecx, [ebp - 0x10c]
call fcn.10005cad
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
cmp dword [ebp - 0x44], 0xfffffffc
jg 0x100257a6
mov dword [ebp - 0x50], 1
jmp 0x100257aa
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x80], 1
jge 0x100257cc
mov dword [ebp - 0x54], 1
jmp 0x100257d0
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0xc7127b1a
jne 0x100257e2
mov dword [ebp - 0x5c], 1
jmp 0x100257e6
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
jmp 0x10025483
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x114], eax
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x80], 9
ja 0x1002581f
mov eax, 0xa684
test eax, eax
jne 0x1002581f
and dword [ebp - 0x64], 0
jmp 0x10025826
mov dword [ebp - 0x64], 1
mov esi, dword [ebp - 0x30]
push 0
lea ecx, [ebp - 0xc8]
call fcn.10005cad
mov ecx, dword [ebp - 0x64]
add ecx, dword [eax]
add esi, ecx
cmp esi, dword [ebp - 0x30]
jne 0x1002584b
mov dword [ebp - 0x6c], 1
jmp 0x1002584f
and dword [ebp - 0x6c], 0
push 1
lea ecx, [ebp - 0x10c]
call fcn.10005cad
mov eax, dword [eax]
cmp eax, dword [ebp - 0x6c]
jne 0x1002586c
mov dword [ebp - 0x74], 1
jmp 0x10025870
and dword [ebp - 0x74], 0
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov esi, eax
mov edi, dword [ebp - 0x74]
sub edi, dword [ebp - 0x2c]
push 1
lea ecx, [ebp - 0x10c]
call fcn.10005cad
sub edi, dword [eax]
imul edi, dword [esi]
push 0
lea ecx, [ebp - 0x20]
call fcn.10005cad
mov dword [eax], edi
cmp dword [ebp - 0x30], 1
je 0x100258af
mov dword [ebp - 0x4c], 1
jmp 0x100258b3
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c]
call fcn.10005c91
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.10005c91
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10005c91
mov ecx, dword [ebp - 0xe4]
call fcn.1001e62d
mov ecx, eax
mov eax, dword [ebp - 0x8c]
cdq
mov esi, 0x3e8
idiv esi
add ecx, edx
mov eax, dword [ebp - 0x8c]
cdq
mov esi, 0x3e8
idiv esi
add ecx, eax
mov eax, dword [ebp - 0xac]
mov dword [eax], ecx
jmp 0x1002595f
mov dword [ebp - 4], 5
cmp dword [ebp - 0x94], 0x27ca
jge 0x10025939
push dword [ebp - 0xb4]
call fcn.1004da8c
pop ecx
jmp 0x10025955
or dword [ebp - 4], 0xffffffff
jmp 0x1002595f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret