Function at 0x1400bde78
Capabilities:
Get disk size

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x140170608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x260]
mov r13, rcx
mov rsi, qword [rbp + 0x270]
or rcx, 0xffffffffffffffff
mov r14, qword [rbp + 0x278]
mov r15b, dl
mov rdi, qword [rbp + 0x280]
mov r12b, r9b
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x268]
mov byte [rsp + 0x42], dl
xor edx, edx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rcx
xor ecx, ecx
mov rbx, qword [rax]
mov byte [rsp + 0x41], r9b
mov byte [rsp + 0x40], r8b
mov dword [rsp + 0x54], edx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
mov dword [rsp + 0x50], edx
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400bdf3f
test byte [rcx + 0x1c], 4
je 0x1400bdf3f
cmp byte [rcx + 0x19], 4
jb 0x1400bdf3f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xdd
call fcn.140004c54
xor edx, edx
mov rax, qword [rsp + 0x60]
mov qword [rax], rdx
mov qword [rsi], rdx
mov qword [r14], rdx
mov dword [rdi], edx
mov rcx, qword [0x140170048]
lea r14, [0x140170048]
mov sil, 5
cmp rcx, r14
je 0x1400be031
test byte [rcx + 0x1c], 4
je 0x1400bdf94
cmp byte [rcx + 0x19], sil
jb 0x1400bdf94
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xde
mov r9, r13
call fcn.140005bdc
mov rcx, qword [0x140170048]
cmp rcx, r14
je 0x1400be031
test byte [rcx + 0x1c], 4
je 0x1400bdfc9
cmp byte [rcx + 0x19], sil
jb 0x1400bdfc9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
movzx r9d, r15b
mov edx, 0xdf
call fcn.140004c78
mov rcx, qword [0x140170048]
cmp rcx, r14
je 0x1400be031
test byte [rcx + 0x1c], 4
je 0x1400be000
cmp byte [rcx + 0x19], sil
jb 0x1400be000
movzx esi, byte [rsp + 0x40]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov edx, 0xe0
call fcn.140004c78
mov rcx, qword [0x140170048]
jmp 0x1400be005
mov sil, byte [rsp + 0x40]
cmp rcx, r14
je 0x1400be036
test byte [rcx + 0x1c], 4
je 0x1400be036
cmp byte [rcx + 0x19], 5
jb 0x1400be036
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
movzx r9d, r12b
mov edx, 0xe1
call fcn.140004c78
jmp 0x1400be036
mov sil, byte [rsp + 0x40]
lea rax, [rbx + 0x70]
lea r12, [rbx + 0xe0]
mov qword [r12 + 8], r12
mov qword [r12], r12
mov qword [rax + 8], rax
mov qword [rax], rax
xor eax, eax
test sil, sil
jne 0x1400be05e
cmp byte [rsp + 0x41], al
je 0x1400be06e
test r15b, r15b
jne 0x1400be06e
mov dword [rdi], 0x57
jmp 0x1400beb15
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1400b07c8
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400be0c7
mov rcx, qword [0x140170048]
cmp rcx, r14
je 0x1400be0c0
test byte [rcx + 0x1c], 4
je 0x1400be0c0
cmp byte [rcx + 0x19], 2
jb 0x1400be0c0
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe2
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], esi
call fcn.14001056c
mov eax, esi
jmp 0x1400beb1a
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x60000000
mov edx, 0x80000000
mov rcx, r13
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400be147
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [0x140170048]
lea rdx, [0x140170048]
cmp rcx, rdx
je 0x1400be13d
test byte [rcx + 0x1c], 4
je 0x1400be13d
cmp byte [rcx + 0x19], 4
jb 0x1400be13d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xe3
mov dword [rsp + 0x20], eax
mov r9, r13
call fcn.140005c44
mov eax, 6
jmp 0x1400beb1a
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400be17e
test byte [rcx + 0x1c], 4
je 0x1400be17e
cmp byte [rcx + 0x19], 4
jb 0x1400be17e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xe4
mov r9, r14
call fcn.140010084
mov r15d, dword [rsp + 0x50]
lea eax, [r15 - 2]
cmp eax, 1
ja 0x1400be1f2
mov rdx, rdi
mov rcx, r14
call fcn.1400ae84c
mov esi, eax
test eax, eax
je 0x1400be1f2
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400be1da
test byte [rcx + 0x1c], 4
je 0x1400be1da
cmp byte [rcx + 0x19], 2
jb 0x1400be1da
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fe18
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400be0c0
cmp r15d, 1
je 0x1400be202
cmp r15d, 4
jne 0x1400be2ab
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1400b2f7c
mov esi, eax
test eax, eax
jne 0x1400be1e4
mov rcx, qword [0x140170048]
lea rsi, [0x140170048]
cmp rcx, rsi
je 0x1400be2a1
test byte [rcx + 0x1c], 4
je 0x1400be26c
cmp byte [rcx + 0x19], 5
jb 0x1400be26c
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0xe6
lea r8, [0x1401521b8]
call fcn.140005bdc
mov rcx, qword [0x140170048]
cmp rcx, rsi
je 0x1400be2a1
test byte [rcx + 0x1c], 4
je 0x1400be2a1
cmp byte [rcx + 0x19], 5
jb 0x1400be2a1
mov rax, qword [rsp + 0x58]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov r9, rax
mov edx, 0xe7
mov qword [rsp + 0x48], rax
call fcn.140010084
jmp 0x1400be2ab
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rdx, rdi
mov rcx, r14
call fcn.1400b2c44
mov esi, eax
test eax, eax
je 0x1400be30e
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400be1e4
test byte [rcx + 0x1c], 4
je 0x1400be1e4
cmp byte [rcx + 0x19], 2
jb 0x1400be1e4
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe8
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], esi
call fcn.14001056c
jmp 0x1400be1e4
mov rax, qword [rsp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x1400be371
mov rdx, rdi
mov rcx, rax
call fcn.1400b2c44
mov esi, eax
test eax, eax
je 0x1400be371
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400be367
test byte [rcx + 0x1c], 4
je 0x1400be367
cmp byte [rcx + 0x19], 2
jb 0x1400be367
mov edx, 0xe9
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fe18
mov rcx, qword [rsp + 0x48]
jmp 0x1400be1de
lea r9, [rbp - 0x78]
mov r8, rdi
mov rcx, r14
call fcn.1400b0960
xor ecx, ecx
mov esi, eax
test eax, eax
je 0x1400be3ae
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400be367
test byte [rcx + 0x1c], 4
je 0x1400be367
cmp byte [rcx + 0x19], 2
jb 0x1400be367
mov edx, 0xea
jmp 0x1400be34e
mov r9d, dword [rbp - 0x68]
imul r9d, dword [rbp - 0x64]
cmp r9d, 0x10000
jbe 0x1400be3fe
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400be3f4
test byte [rcx + 0x1c], 4
je 0x1400be3f4
cmp byte [rcx + 0x19], 2
jb 0x1400be3f4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xeb
call fcn.140004c78
mov esi, 0x1f
jmp 0x1400be367
xor eax, eax
mov qword [rsp + 0x38], rcx
mov dword [rbx + 0x4c], r15d
xor r9d, r9d
mov qword [rbp - 0x60], rax
xor r8d, r8d
mov qword [rbp - 0x58], rax
mov edx, 0x4d0018
lea rax, [rsp + 0x54]
mov rcx, r14
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov dword [rsp + 0x28], 0x10
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor r8d, r8d
test eax, eax
jne 0x1400be46e
cmp r15d, 1
je 0x1400be453
cmp r15d, 4
jne 0x1400be46e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 6
jmp 0x1400be367
mov rax, qword [0x140170048]
lea rcx, [0x140170048]
cmp rax, rcx
je 0x1400be4b9
test byte [rax + 0x1c], 4
je 0x1400be4b9
cmp byte [rax + 0x19], 3
jb 0x1400be4b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140170048]
lea r8, [0x1401521b8]
mov edx, 0xec
mov dword [rsp + 0x20], eax
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.140005c44
xor r8d, r8d
mov sil, byte [rsp + 0x42]
or rdx, 0xffffffffffffffff
mov byte [rbx + 0x10], sil
inc rdx
cmp word [r13 + rdx*2], r8w
jne 0x1400be4c6
lea rdx, [rdx*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
or rdx, 0xffffffffffffffff
mov qword [rbx + 0x18], rax
xor ecx, ecx
inc rdx
cmp word [r13 + rdx*2], cx
jne 0x1400be4eb
inc rdx
mov r8, r13
mov rcx, rax
call fcn.14003a4d0
xor ecx, ecx
test eax, eax
jns 0x1400be525
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 2
jmp 0x1400be367
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], r14
movups xmm0, xmmword [rbp - 0x60]
movdqu xmmword [rbx + 0x30], xmm0
mov byte [rbx + 0xf8], cl
cmp r15d, 1
je 0x1400be566
cmp r15d, 4
je 0x1400be566
mov r9d, dword [rbp - 0x68]
mov eax, dword [rbp - 0x64]
imul r9, rax
imul r9, qword [rbp - 0x78]
mov qword [rbx + 0x40], r9
jmp 0x1400be611
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x7405c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400be605
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400be5fe
test byte [rcx + 0x1c], 4
je 0x1400be5fe
cmp byte [rcx + 0x19], 2
jb 0x1400be5fe
mov r8d, dword [rdi]
mov edx, 0xed
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x20], r8d
lea r8, [0x1401521b8]
call fcn.1400adaf8
mov eax, ebx
jmp 0x1400beb1a
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x40], rax
mov r9, rax
mov eax, dword [rbp - 0x64]
mov dword [rbx + 0xf0], eax
mov eax, dword [rbp - 0x68]
imul eax, dword [rbp - 0x64]
mov dword [rbx + 0xf4], eax
mov rcx, qword [0x140170048]
lea rdx, [0x140170048]
mov rax, r9
cmp rcx, rdx
je 0x1400be672
test byte [rcx + 0x1c], 4
je 0x1400be672
cmp byte [rcx + 0x19], 4
jb 0x1400be672
mov eax, dword [rbp - 0x64]
mov edx, 0xee
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
call fcn.1400ae0e0
mov rax, qword [rbx + 0x40]
add rax, 0xffff
mov ecx, 0xffffffff
cqo
movzx edx, dx
add rax, rdx
sar rax, 0x10
cmp rax, rcx
jle 0x1400be699
mov dword [rdi], 0x57
jmp 0x1400be512
mov dword [rbx + 0x48], eax
xor ecx, ecx
add rax, 0x1f
cqo
and edx, 0x1f
add rdx, rax
sar rdx, 5
shl edx, 2
mov dword [rbx + 0x50], edx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx + 0x58], rax
test rax, rax
jne 0x1400be6de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 3
jmp 0x1400be367
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x78]
mov rdx, rax
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlSetAllBits]
cmp r15d, 1
jne 0x1400be829
mov edx, dword [rbp - 0x68]
lea r9, [0x1400afbf0]
imul edx, dword [rbp - 0x64]
or r8, 0xffffffffffffffff
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
call fcn.1400afd10
mov r9d, eax
test eax, eax
jne 0x1400be77b
mov rcx, r12
call fcn.1400b00ec
mov rcx, qword [0x140170048]
lea r12, [0x140170048]
cmp rcx, r12
je 0x1400be7eb
test byte [rcx + 0x1c], 4
je 0x1400be7eb
cmp byte [rcx + 0x19], 4
jb 0x1400be7eb
mov edx, pe_nt_image_headers64
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
call fcn.140004c54
jmp 0x1400be7eb
mov rcx, qword [0x140170048]
lea rax, [0x140170048]
cmp rcx, rax
je 0x1400be7b5
test byte [rcx + 0x1c], 4
je 0x1400be7b5
cmp byte [rcx + 0x19], 3
jb 0x1400be7b5
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xef
mov dword [rsp + 0x20], eax
call fcn.14000fe18
xor eax, eax
mov dword [rdi], eax
jmp 0x1400be7db
cmp qword [rax + 8], r12
jne 0x1400be822
mov rcx, qword [rax]
cmp qword [rcx + 8], rax
jne 0x1400be822
mov qword [r12], rcx
mov qword [rcx + 8], r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [r12]
cmp rax, r12
jne 0x1400be7bb
lea r12, [0x140170048]
test sil, sil
je 0x1400be8bf
mov edx, dword [rbx + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx + 0x60], rax
mov r9, rax
test rax, rax
jne 0x1400be852
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400be6cb
mov ecx, 3
int 0x29
mov rcx, qword [0x140170048]
lea r12, [0x140170048]
cmp rcx, r12
je 0x1400be7eb
test byte [rcx + 0x1c], 4
je 0x1400be7eb
cmp byte [rcx + 0x19], 4
jb 0x1400be7eb
mov edx, 0xf1
jmp 0x1400be769
mov edx, dword [rbp - 0x68]
mov rcx, r14
mov eax, dword [rbx + 0x48]
imul edx, dword [rbp - 0x64]
mov r8, qword [rbp - 0x78]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], eax
call fcn.1400af3c4
mov esi, eax
test eax, eax
je 0x1400be9dc
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1400be8b6
test byte [rcx + 0x1c], 4
je 0x1400be8b6
cmp byte [rcx + 0x19], 2
jb 0x1400be8b6
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf2
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fe18
mov rcx, qword [rbx + 0x60]
jmp 0x1400be97c
cmp r15d, 1
je 0x1400be8cf
cmp r15d, 4
jne 0x1400be9dc
mov edx, dword [rbx + 0x50]
xor r15d, r15d
shl edx, 2
xor ecx, ecx
mov qword [rbx + 0x60], r15
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx + 0x68], rax
mov rcx, rax
test rax, rax
je 0x1400be80b
mov r8d, dword [rbx + 0x50]
xor edx, edx
shl r8d, 2
call sub.msvcrt.dll_memset
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x68]
mov rdx, qword [rbx + 0x68]
shl r8d, 2
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov r9d, dword [rbp - 0x68]
lea rcx, [rsp + 0x68]
imul r9d, dword [rbp - 0x64]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov dl, 1
mov qword [rsp + 0x20], r13
call fcn.1400b1280
mov esi, eax
test eax, eax
je 0x1400be99a
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1400be978
test byte [rcx + 0x1c], 4
je 0x1400be978
cmp byte [rcx + 0x19], 2
jb 0x1400be978
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fe18
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400be367
mov rax, qword [0x140170048]
cmp rax, r12
je 0x1400be9dc
test byte [rax + 0x1c], 4
je 0x1400be9dc
cmp byte [rax + 0x19], 5
jb 0x1400be9dc
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x140170048]
lea r8, [0x1401521b8]
mov r9d, eax
mov edx, 0xf4
mov rcx, qword [rcx + 0x10]
call fcn.140004c78
mov r8d, dword [rbp - 0x68]
mov rdx, r13
imul r8d, dword [rbp - 0x64]
mov rcx, rbx
mov r9, qword [rbp - 0x78]
mov qword [rsp + 0x20], rdi
call fcn.1400c1398
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400bea44
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1400bea37
test byte [rcx + 0x1c], 4
je 0x1400bea37
cmp byte [rcx + 0x19], 2
jb 0x1400bea37
mov eax, dword [rdi]
lea r8, [0x1401521b8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fe18
mov rcx, rbx
call fcn.1400bb470
jmp 0x1400be0c0
cmp byte [rsp + 0x40], al
jne 0x1400beac8
cmp byte [rsp + 0x41], al
jne 0x1400beac8
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov r9d, eax
mov rax, qword [rsp + 0x60]
shl r9, 0x10
mov qword [rax], r9
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1400beac4
test byte [rcx + 0x1c], 4
je 0x1400bea9e
cmp byte [rcx + 0x19], 4
jb 0x1400bea9e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xf7
call fcn.140010084
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1400beac4
test byte [rcx + 0x1c], 4
je 0x1400beac4
cmp byte [rcx + 0x19], 4
jb 0x1400beac4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xf8
call fcn.140004c54
xor eax, eax
jmp 0x1400beb1a
lea r8, [0x1401490cc]
mov edx, 0x14a0
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.14008388c
mov rcx, qword [0x140170048]
cmp rcx, r12
je 0x1400beb0d
test byte [rcx + 0x1c], 4
je 0x1400beb0d
cmp byte [rcx + 0x19], 2
jb 0x1400beb0d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401521b8]
mov edx, 0xf6
call fcn.140004c54
mov rcx, rbx
call fcn.1400bb470
mov eax, 2
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140141360
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret