Function at 0x10002fa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10042040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x84], edi
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0xd
mov dword [edi + 0x14], 0xf
movq xmm0, qword [str.61A345B5496B2]
movq qword [edi], xmm0
mov eax, dword [0x1003a3b4]
mov dword [edi + 8], eax
mov al, byte [0x1003a3b8]
mov byte [edi + 0xc], al
mov byte [edi + 0xd], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
xor dl, dl
mov dword [ebp - 0x80], 1
call fcn.10002d00
mov dl, 1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10002d00
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
call fcn.10002c30
lea ecx, [ebp - 0x58]
call fcn.10002e00
add esp, 0x18
mov byte [ebp - 4], 3
mov esi, eax
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x7c], eax
jbe 0x10003074
mov esi, dword [eax]
mov dword [ebp - 0x7c], esi
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
sub eax, edx
mov dword [ebp - 0x78], ecx
cmp ecx, eax
ja 0x100030af
cmp dword [edi + 0x14], 0xf
lea eax, [edx + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
jbe 0x10003096
mov eax, dword [edi]
push ecx
push dword [ebp - 0x7c]
lea esi, [edx + eax]
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x100030c0
push ecx
push esi
mov byte [ebp - 0x78], 0
push dword [ebp - 0x78]
push ecx
mov ecx, edi
call fcn.1000a970
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100030fa
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100030f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100030f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10037cca
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x10003120
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10003118
mov eax, dword [edi]
mov word [ecx + eax], 0x2d
jmp 0x10003137
push 1
push 0x1003a3bc
mov byte [ebp - 0x78], 0
mov ecx, edi
push dword [ebp - 0x78]
push 1
call fcn.1000a970
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x1003a3a8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor ecx, ecx
lea esi, [ebp - 0x43]
test eax, eax
cmovne ecx, dword [ebp - 0x78]
sub esp, 0x18
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x74], esp
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ecx, [eax + edx]
mov eax, dword [ebp - 0x7c]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x10003166
push ecx
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x43]
push eax
push esi
call fcn.1000abe0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x80], 0x19
call fcn.10002e00
add esp, 0x18
mov byte [ebp - 4], 4
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x100031bd
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
sub eax, esi
mov dword [ebp - 0x74], ecx
cmp ecx, eax
ja 0x100031f5
cmp dword [edi + 0x14], 0xf
lea eax, [esi + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
jbe 0x100031df
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x74]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x10003206
push ecx
push edx
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
mov ecx, edi
call fcn.1000a970
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10003240
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003236
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003236
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10037cca
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x10003266
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x1000325e
mov eax, dword [edi]
mov word [eax + ecx], 0x2d
jmp 0x1000327d
push 1
push 0x1003a3bc
mov byte [ebp - 0x74], 0
mov ecx, edi
push dword [ebp - 0x74]
push 1
call fcn.1000a970
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.1000a2c0
lea ecx, [ebp - 0x28]
call fcn.10002e00
add esp, 0x18
mov byte [ebp - 4], 5
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x100032a4
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
sub eax, esi
mov dword [ebp - 0x74], ecx
cmp ecx, eax
ja 0x100032dc
cmp dword [edi + 0x14], 0xf
lea eax, [esi + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
jbe 0x100032c6
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x74]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x100032ed
push ecx
push edx
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
mov ecx, edi
call fcn.1000a970
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10003327
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000331d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000331d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10037cca
add esp, 8
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x1000334d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10003345
mov eax, dword [edi]
mov word [eax + ecx], 0x2d
jmp 0x10003364
push 1
push 0x1003a3bc
mov byte [ebp - 0x74], 0
mov ecx, edi
push dword [ebp - 0x74]
push 1
call fcn.1000a970
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.1000a2c0
lea ecx, [ebp - 0x28]
call fcn.10002e00
add esp, 0x18
mov byte [ebp - 4], 6
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x1000338b
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
sub eax, esi
mov dword [ebp - 0x74], ecx
cmp ecx, eax
ja 0x100033c3
cmp dword [edi + 0x14], 0xf
lea eax, [esi + ecx]
mov dword [edi + 0x10], eax
mov eax, edi
jbe 0x100033ad
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x74]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x100033d4
push ecx
push edx
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
mov ecx, edi
call fcn.1000a970
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1000340a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003400
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003400
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10037cca
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1000343a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003430
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003472
push ecx
push edx
call fcn.10037cca
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x10003482
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003478
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003478
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10037cca
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10037580
mov esp, ebp
pop ebp
ret