Function at 0x140050160
Capabilities:
Get disk information
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x218]
sub rsp, 0x310
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1400f9440]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor esi, esi
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x20]
call fcn.1400c1e40
lea rcx, [rbp - 0x20]
call fcn.140056af0
nop
lea rdx, [rbp + 0xe0]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
dec eax
cmp eax, 0xff
ja 0x14005064e
lea rbx, [rbp + 0xe0]
cmp byte [rbp + 0xe0], sil
je 0x14005064e
movsd xmm6, qword [0x1400e4928]
movsd xmm7, qword [0x1400e4930]
nop
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x14005062f
mov eax, dword [0x1400e2b34]
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1400e2b38]
mov byte [rsp + 0x28], 0x25
xor byte [rsp + 0x29], 0x34
xor byte [rsp + 0x2a], 0x35
xor byte [rsp + 0x2b], 0x36
xor al, 0x37
mov byte [rsp + 0x2c], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140050263
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x68]
call fcn.140039be0
nop
mov eax, dword [0x1400e3a14]
mov dword [rsp + 0x30], eax
movzx ecx, word [0x1400e3a18]
mov word [rsp + 0x34], cx
movzx eax, byte [0x1400e3a1a]
mov byte [rsp + 0x30], 0x20
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor cl, 0x37
mov byte [rsp + 0x34], cl
xor byte [rsp + 0x35], 0x38
xor al, 0x39
mov byte [rsp + 0x36], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400502e0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.140039be0
nop
movzx eax, word [0x1400e33a0]
mov word [rsp + 0x20], ax
cmp byte [0x1400e33a1], 0
je 0x140050319
mov byte [rsp + 0x20], 0x2f
xor byte [rsp + 0x21], 0x34
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140050340
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140039be0
nop
movzx eax, word [0x1400e3820]
mov word [rsp + 0x24], ax
movzx eax, byte [0x1400e3822]
mov byte [rsp + 0x24], 0x20
xor byte [rsp + 0x25], 0x34
xor al, 0x35
mov byte [rsp + 0x26], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x24]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400503a0
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x38]
call fcn.140039be0
nop
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140048d40
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov rcx, rax
call fcn.14004a0e0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
sub rcx, qword [rbp - 0x38]
xorps xmm1, xmm1
js 0x1400503fb
cvtsi2sd xmm1, rcx
jmp 0x140050410
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mov rcx, rdx
call fcn.140057910
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
mov rcx, rax
call fcn.14004a0e0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x140050450
cvtsi2sd xmm1, rcx
jmp 0x140050465
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, xmm6
mov rcx, rdx
call fcn.140057910
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rax
call fcn.14004a0e0
mov r8, rax
mov rax, qword [rbp - 0x40]
mov rdx, rax
sub rdx, qword [rbp - 0x38]
xorps xmm1, xmm1
js 0x1400504a7
cvtsi2sd xmm1, rdx
jmp 0x1400504bc
mov rcx, rdx
shr rcx, 1
and edx, 1
or rcx, rdx
cvtsi2sd xmm1, rcx
addsd xmm1, xmm1
xorps xmm0, xmm0
test rax, rax
js 0x1400504cb
cvtsi2sd xmm0, rax
jmp 0x1400504e0
mov rcx, rax
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm0, rcx
addsd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, xmm7
mov rcx, r8
call fcn.140057910
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.14004a0e0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140050548
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050543
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506a5
call fcn.14008a258
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140050598
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506ab
call fcn.14008a258
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400505e7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400505e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050699
call fcn.14008a258
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005062f
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005062a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005069f
call fcn.14008a258
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140050636
inc rbx
add rbx, rax
cmp byte [rbx], 0
jne 0x140050200
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.1400584b0
nop
lea rcx, [rbp - 0x20]
call fcn.1400506c0
mov rax, rdi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140089c40
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14009965c
nop
call fcn.14009965c
nop
call fcn.14009965c
nop
call fcn.14009965c
int3