Function at 0x42f60e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
xor eax, eax
mov dword [ebp - 0x14], 0xfffffff8
push esi
mov byte [ebp - 1], al
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x28], ebx
cmp byte [ebp - 1], al
je 0x42f637
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor eax, eax
mov dword [ebp - 0x14], 0x1c
jmp 0x42f67e
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x42f65d
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor eax, eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x42f67b
push eax
push eax
push 0x1957
push 0x1221
push eax
call dword [sym.imp.USER32.dll_InsertMenuW]
xor eax, eax
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffff2
jg 0x42f640
mov dword [ebp - 0x24], 0x81c2900
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x24], 0xe8384627
inc esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], 0x5059b8bc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
push 3
call fcn.00413a85
mov dword [ebp - 0x10], 0x1013
mov dword [ebp - 0x14], 0
jmp 0x42f6d1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x48]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x42f6c5
dec dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x48]
call fcn.00413e03
mov dword [ebp - 8], 0x3274
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
jmp 0x42f717
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x30], 0xf5fa3187
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x42f709
cmp dword [ebp - 8], eax
jge 0x42f726
mov ecx, eax
je 0x42f728
mov ecx, esi
mov dword [ebp - 0x30], ecx
mov edx, eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 8], eax
je 0x42f746
mov edx, esi
mov ecx, dword [ebp - 8]
sub edx, ecx
jne 0x42f754
cmp dword [ebp - 0x30], eax
jne 0x42f754
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
cmp esi, ecx
setle dl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe5
jl 0x42f957
mov dword [ebp - 0x10], eax
jmp 0x42f781
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x58], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x42f773
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x42f7aa
push eax
push 0x1dd6
push eax
push eax
push 0x2273
push 0xde5
call dword [sym.imp.USER32.dll_ToAsciiEx]
xor eax, eax
mov dword [ebp - 0x10], 0x14
cmp dword [ebp - 0x10], 0xf
je 0x42f947
xor ebx, ebx
inc ebx
mov dword [ebp - 0x24], 0xccdf493a
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ebx
jg 0x42f86b
push dword [ebp - 0x28]
movdqa xmm0, xmmword [0xaa8f70]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x3c], eax
push ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
movdqu xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x34], eax
call fcn.0041458b
mov dword [ebp - 0xc], 0
jmp 0x42f812
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x20], 0xfffffffe
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x42f804
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, dword [ebp + eax*4 - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x30]
cmp ecx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x3c]
setle dl
mov dword [ebp + eax*4 - 0x30], edx
and dword [ecx + 4], 0
mov eax, dword [ecx + 4]
inc dword [ecx + 4]
mov dword [ebp + eax*4 - 0x30], 0xd9248e6b
mov dword [ebp - 0x20], 0xd9248e6b
cmp dword [ecx + 4], ebx
jle 0x42f83a
lea ecx, [ebp - 0x3c]
call fcn.00413e03
inc dword [ebp - 8]
push 0
pop eax
cmp dword [ebp - 8], ebx
jle 0x42f7d1
mov dword [ebp - 8], eax
jmp 0x42f930
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x18], 0xbe8ca404
mov dword [ebp - 0xc], eax
jmp 0x42f924
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x1c], 0xd027baed
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x42f95b
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp + ecx*4 - 0x30]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x18]
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
cmp ecx, 3
jl 0x42f8c6
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x30], edx
test edx, edx
je 0x42f8db
mov ecx, ebx
cmp dword [ebp - 0x50], eax
jne 0x42f8dd
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
neg esi
sbb esi, esi
xor edx, edx
neg esi
cmp esi, ecx
setg dl
cmp edx, dword [ebp - 0x1c]
jge 0x42f8ff
mov ecx, eax
cmp dword [ebp - 0x18], eax
je 0x42f901
mov ecx, ebx
mov edx, dword [ebp - 0xc]
xor ebx, ebx
imul edx, ecx
mov ecx, dword [ebp - 0x54]
cmp edx, ecx
mov ecx, dword [ebp - 0x1c]
setge bl
xor edx, edx
cmp ebx, ecx
setle dl
xor ebx, ebx
mov dword [ebp - 0x1c], edx
inc dword [ebp - 0xc]
inc ebx
cmp dword [ebp - 0xc], ebx
jle 0x42f889
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x14
jge 0x42f873
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xf
jne 0x42f7be
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe5
jge 0x42f76e
mov ebx, dword [ebp - 0x28]
mov dword [edi], eax
jmp 0x42f973
push 0x192d
call dword [sym.imp.KERNEL32.dll_ExitThread]
mov ecx, dword [edi]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0xb9fec4f7
inc dword [edi]
cmp dword [edi], 2
jl 0x42f966
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret