Function at 0x4a3540
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdd18
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd0
mov eax, dword [0x536008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xe0], eax
xor ecx, ecx
mov dword [ebp - 0xdc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movlpd qword [ebp - 0xd8], xmm0
mov word [eax], cx
mov dword [ebp - 4], ecx
xor eax, eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004a2e10
mov esi, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a3890
mov eax, dword [ebp - 0xd4]
xor edi, edi
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc0], eax
add esi, edi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov ecx, 0x7ffffffe
cmp dword [esi + 0x14], 8
mov edi, dword [esi + 0x10]
jb 0x4a3672
mov esi, dword [esi]
cmp edi, 8
jae 0x4a368a
movups xmm0, xmmword [esi]
mov dword [ebp - 0x24], 7
movups xmmword [ebp - 0x38], xmm0
jmp 0x4a371b
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
xor ecx, ecx
mov dword [ebp - 0xd4], eax
add eax, 1
setb cl
neg ecx
or ecx, eax
lea edx, [ecx + ecx]
cmp ecx, 0x7fffffff
jbe 0x4a36b9
or edx, 0xffffffff
jmp 0x4a36c1
cmp edx, 0x1000
jb 0x4a36ea
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.004e62bc
add esp, 4
test eax, eax
je 0x4a38cc
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4a36fd
test edx, edx
je 0x4a36fb
push edx
call fcn.004e62bc
add esp, 4
mov ecx, eax
jmp 0x4a36fd
xor ecx, ecx
lea eax, [edi*2 + 2]
mov dword [ebp - 0x38], ecx
push eax
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4a384a
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 5
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 7
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x38]
call fcn.004a2fd0
test al, al
jne 0x4a37db
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x88]
call fcn.0040a2e0
mov byte [ebp - 4], 8
jmp 0x4a3830
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0xc4]
jb 0x4a381d
mov eax, dword [ebp - 0x60]
ja 0x4a37f3
cmp eax, dword [ebp - 0xc0]
jbe 0x4a381d
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xcc]
cmp ecx, eax
je 0x4a381d
cmp dword [ebp - 0x24], 8
push dword [ebp - 0x28]
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.0040a350
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.0040a2e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0040a2e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.0040a2e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040a2e0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
sub ecx, esi
mov edi, dword [ebp - 0xc8]
inc dword [ebp - 0xbc]
add edi, 0x18
imul ecx
mov dword [ebp - 0xc8], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xbc], eax
jb 0x4a3652
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040a260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0040a2e0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e62ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3