Function at 0x10023605
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b736
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100239dc
mov dword [ebp - 0x2c], 0x1c30
cmp dword [ebp - 0x2c], 0x4b0
jge 0x1002395f
call fcn.10052cca
push 0x20
pop ecx
imul ecx, ecx, 0
add eax, ecx
push eax
push 0x10009ba8
push 0x10009bac
call fcn.100535aa
add esp, 0xc
call fcn.10052cca
push 0x20
pop ecx
shl ecx, 0
add eax, ecx
push eax
push 0x10009bb4
push 0x10009bb8
call fcn.100535aa
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.1000b90c
and dword [ebp - 4], 0
lea edx, [ebp - 0x70]
mov ecx, 0x1065c290
call fcn.1002f380
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 4]
call fcn.1000fc71
movzx eax, al
test eax, eax
je 0x10023953
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
lea ecx, [ebp - 0x70]
call fcn.1000c002
mov dword [ebp - 0x24], eax
and dword [ebp - 0x1c], 0
jmp 0x100236da
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jge 0x10023718
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
cmp eax, 0x5f
jne 0x100236f9
mov byte [ebp - 0xe], 1
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
push eax
call fcn.1005347f
pop ecx
test eax, eax
je 0x10023716
mov byte [ebp - 0xd], 1
jmp 0x100236d3
mov byte [ebp - 0xf], 0
and dword [ebp - 0x20], 0
jmp 0x10023729
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
dec eax
cmp dword [ebp - 0x20], eax
jge 0x10023760
push dword [ebp - 0x20]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
cmp eax, 0x5f
jne 0x1002375e
mov eax, dword [ebp - 0x20]
inc eax
push eax
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
cmp eax, 0x5f
jne 0x1002375e
mov byte [ebp - 0xf], 1
jmp 0x10023722
movzx eax, byte [ebp - 0xe]
test eax, eax
jne 0x1002378e
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x1002378e
push fcn.1000f2d8
lea edx, [ebp - 0x70]
mov ecx, 0x1065c1d8
call fcn.1002f5ff
mov ecx, eax
call fcn.1000bb2f
jmp 0x1002394e
movzx eax, byte [ebp - 0xf]
test eax, eax
jne 0x100237f5
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100237a6
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x100237f5
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x100237c6
push 0
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
push eax
call fcn.1005347f
pop ecx
test eax, eax
jne 0x100237f5
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x10023815
push 0
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
cmp eax, 0x5f
je 0x100237f5
mov eax, dword [ebp - 0x24]
dec eax
push eax
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
cmp eax, 0x5f
jne 0x10023815
push fcn.1000f2d8
mov edx, 0x10009db8
mov ecx, 0x1065c1d8
call fcn.1002f3d6
mov ecx, eax
call fcn.1000bb2f
jmp 0x1002394e
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x100238d0
and dword [ebp - 0x14], 0
jmp 0x1002382e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jge 0x100238bf
push dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
cmp eax, 0x5f
jne 0x100238a3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
push eax
call fcn.10053429
pop ecx
test eax, eax
je 0x1002388a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx edx, byte [eax]
sub edx, 0x20
mov ecx, 0x1065c1d8
call fcn.1002f802
jmp 0x100238a1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
mov dl, byte [eax]
mov ecx, 0x1065c1d8
call fcn.1002f802
jmp 0x100238ba
push dword [ebp - 0x14]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
mov dl, byte [eax]
mov ecx, 0x1065c1d8
call fcn.1002f802
jmp 0x10023827
push fcn.1000f2d8
mov ecx, 0x1065c1d8
call fcn.1000bb2f
jmp 0x1002394e
and dword [ebp - 0x18], 0
jmp 0x100238dd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jge 0x1002393f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx eax, byte [eax]
push eax
call fcn.1005347f
pop ecx
test eax, eax
je 0x10023926
push dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
movsx ebx, byte [eax]
add ebx, 0x20
mov dl, 0x5f
mov ecx, 0x1065c1d8
call fcn.1002f802
mov dl, bl
mov ecx, eax
call fcn.1002f802
jmp 0x1002393d
push dword [ebp - 0x18]
lea ecx, [ebp - 0x70]
call fcn.1000d5c1
mov dl, byte [eax]
mov ecx, 0x1065c1d8
call fcn.1002f802
jmp 0x100238d6
push fcn.1000f2d8
mov ecx, 0x1065c1d8
call fcn.1000bb2f
jmp 0x1002368d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1000b94c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1002399e
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x1002399c
push 0xe1f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x100239da
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x100239ee
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
push 1
push dword [ebp - 0x58]
call fcn.1001d8c8
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret