Function at 0x4330b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9b61
mov eax, dword fs:[0]
push eax
sub esp, 0xa84
mov eax, dword [0x4e72c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x800
mov dword [ebp - 0xa90], eax
lea eax, [ebp - 0xa20]
push 0
push eax
mov dword [ebp - 0xa84], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa20]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4331f9
mov eax, dword [0x4cb5a4]
lea esi, [ebp - 0xa20]
mov dword [ebp - 0x18], eax
movzx eax, word [0x4cb5a8]
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0xa20]
test ax, ax
je 0x4331f9
movzx ecx, ax
nop dword [eax + eax]
push 0x104
lea eax, [ebp - 0x220]
mov word [ebp - 0x18], cx
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4331e0
lea eax, [ebp - 0x220]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xa88], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433186
sub ecx, dword [ebp - 0xa88]
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xa68]
call fcn.00405295
push edi
lea ecx, [ebp - 0xa68]
mov dword [ebp - 4], 1
call fcn.00404a61
test al, al
jne 0x433216
push edi
lea ecx, [ebp - 0xa68]
call fcn.0040402f
test al, al
jne 0x433216
lea ecx, [ebp - 0xa68]
mov dword [ebp - 4], 0xffffffff
call fcn.00401ec9
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x4331e0
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x433150
xor al, al
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.0040282e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433220
xor eax, eax
mov dword [ebp - 0xa38], 0
sub ecx, edx
mov word [ebp - 0xa38], ax
mov eax, dword [edi + 0x10]
sar ecx, 1
mov dword [ebp - 0xa28], 0
mov dword [ebp - 0xa24], 7
cmp eax, ecx
jb 0x4335a6
sub eax, ecx
or edi, 0xffffffff
cmp eax, 0xffffffff
cmovb edi, eax
mov eax, dword [ebp - 0xa84]
cmp dword [eax + 0x14], 8
jb 0x43327a
mov eax, dword [eax]
lea eax, [eax + ecx*2]
mov dword [ebp - 0xa88], eax
cmp edi, 7
ja 0x4332b7
lea esi, [edi + edi]
mov dword [ebp - 0xa28], edi
push esi
push eax
lea eax, [ebp - 0xa38]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0xa38], ax
mov ecx, dword [ebp - 0xa38]
jmp 0x433359
cmp edi, 0x7ffffffe
ja 0x4335ab
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4332e5
mov eax, 0xfffffffe
mov esi, 0x7ffffffe
push eax
call fcn.00401abe
add esp, 4
jmp 0x433322
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x4335b0
add eax, eax
cmp eax, 0x1000
jb 0x433311
push eax
call fcn.00401abe
add esp, 4
jmp 0x433322
test eax, eax
je 0x433320
push eax
call fcn.00401feb
add esp, 4
jmp 0x433322
xor eax, eax
mov dword [ebp - 0xa24], esi
lea esi, [edi + edi]
push esi
push dword [ebp - 0xa88]
mov dword [ebp - 0xa84], eax
push eax
mov dword [ebp - 0xa28], edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0xa84]
add esp, 0xc
xor eax, eax
mov word [esi + ecx], ax
mov dword [ebp - 0xa38], ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 2
lea edx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x433363
mov eax, dword [ebp - 0xa24]
sub edi, edx
mov esi, dword [ebp - 0xa28]
sub eax, esi
sar edi, 1
cmp edi, eax
ja 0x433443
cmp dword [ebp - 0xa24], 8
lea eax, [esi + edi]
mov dword [ebp - 0xa28], eax
lea edx, [ebp - 0xa38]
cmovae edx, ecx
lea eax, [ebp - 0x18]
lea eax, [eax + edi*2]
mov dword [ebp - 0xa88], edx
lea ecx, [esi + esi]
mov dword [ebp - 0xa8c], ecx
cmp eax, edx
jbe 0x4333e5
lea eax, [ecx + edx]
lea ecx, [ebp - 0x18]
cmp ecx, eax
ja 0x4333e5
mov eax, ecx
cmp edx, eax
ja 0x4333d4
xor esi, esi
mov dword [ebp - 0xa84], esi
jmp 0x4333ed
mov esi, edx
lea eax, [ebp - 0x18]
sub esi, eax
sar esi, 1
mov dword [ebp - 0xa84], esi
jmp 0x4333ed
mov esi, edi
mov dword [ebp - 0xa84], edi
mov eax, dword [ebp - 0xa8c]
lea ecx, [edx + edi*2]
add eax, 2
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memmove
add esi, esi
lea eax, [ebp - 0x18]
push esi
push eax
push dword [ebp - 0xa88]
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebp - 0xa84]
mov eax, edi
mov ecx, dword [ebp - 0xa88]
sub eax, edx
add eax, eax
add ecx, esi
push eax
lea eax, [edx + edi]
lea edx, [ebp - 0x18]
lea eax, [edx + eax*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
lea eax, [ebp - 0xa38]
jmp 0x433463
push edi
lea eax, [ebp - 0x18]
mov byte [ebp - 0xa8c], 0
push eax
push 0
push dword [ebp - 0xa8c]
lea ecx, [ebp - 0xa38]
push edi
call fcn.00401faa
mov dword [ebp - 0xa50], 0
xor ecx, ecx
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
sub esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
mov edx, esp
lea ecx, [ebp - 0xa80]
cmovae eax, dword [ebp - 0xa50]
mov dword [edx], eax
mov eax, dword [ebp - 0xa40]
mov dword [edx + 4], eax
call fcn.00405295
mov ecx, dword [ebp - 0xa90]
push eax
mov byte [ebp - 4], 4
call fcn.004049bc
lea ecx, [ebp - 0xa80]
call fcn.00401ec9
mov edx, dword [ebp - 0xa3c]
cmp edx, 8
jb 0x433535
mov ecx, dword [ebp - 0xa50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43352b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433584
push edx
push ecx
call fcn.0040182a
add esp, 8
mov edx, dword [ebp - 0xa24]
xor eax, eax
mov dword [ebp - 0xa40], 0
mov dword [ebp - 0xa3c], 7
mov word [ebp - 0xa50], ax
cmp edx, 8
jb 0x433594
mov ecx, dword [ebp - 0xa38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43358a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43358a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040182a
add esp, 8
lea ecx, [ebp - 0xa68]
call fcn.00401ec9
mov al, 1
jmp 0x4331fb
call fcn.004020b8
call fcn.00402efa
call fcn.0040416a
int3