Function at 0x1400bee00
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 [0x140172608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x260]
mov r13b, dl
or qword [rsp + 0x48], 0xffffffffffffffff
mov r12, rcx
mov rsi, qword [rbp + 0x270]
mov r15b, r9b
mov r14, qword [rbp + 0x278]
mov rdi, qword [rbp + 0x280]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x268]
mov byte [rsp + 0x42], dl
xor edx, edx
xor ecx, ecx
mov byte [rsp + 0x41], r9b
mov byte [rsp + 0x40], r8b
mov rbx, qword [rax]
mov dword [rsp + 0x50], edx
mov dword [rbp - 0x60], edx
mov qword [rbp - 0x5c], rcx
mov dword [rbp - 0x54], ecx
mov dword [rsp + 0x58], edx
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400beec1
test byte [rcx + 0x1c], 4
je 0x1400beec1
cmp byte [rcx + 0x19], 4
jb 0x1400beec1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xdd
call fcn.140004b74
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 [0x1401720a0]
lea r14, [0x1401720a0]
mov sil, 5
cmp rcx, r14
je 0x1400befb3
test byte [rcx + 0x1c], 4
je 0x1400bef16
cmp byte [rcx + 0x19], sil
jb 0x1400bef16
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xde
mov r9, r12
call fcn.140005afc
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x1400befb3
test byte [rcx + 0x1c], 4
je 0x1400bef4b
cmp byte [rcx + 0x19], sil
jb 0x1400bef4b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
movzx r9d, r13b
mov edx, 0xdf
call fcn.140004b98
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x1400befb3
test byte [rcx + 0x1c], 4
je 0x1400bef82
cmp byte [rcx + 0x19], sil
jb 0x1400bef82
movzx esi, byte [rsp + 0x40]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov edx, 0xe0
call fcn.140004b98
mov rcx, qword [0x1401720a0]
jmp 0x1400bef87
mov sil, byte [rsp + 0x40]
cmp rcx, r14
je 0x1400befb8
test byte [rcx + 0x1c], 4
je 0x1400befb8
cmp byte [rcx + 0x19], 5
jb 0x1400befb8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
movzx r9d, r15b
mov edx, 0xe1
call fcn.140004b98
jmp 0x1400befb8
mov sil, byte [rsp + 0x40]
lea rax, [rbx + 0x70]
lea r15, [rbx + 0xe0]
mov qword [r15 + 8], r15
mov qword [r15], r15
mov qword [rax + 8], rax
mov qword [rax], rax
xor eax, eax
test sil, sil
jne 0x1400befde
cmp byte [rsp + 0x41], al
je 0x1400befee
test r13b, r13b
jne 0x1400befee
mov dword [rdi], 0x57
jmp 0x1400bfa76
mov r8, rdi
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.1400b14b8
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400bf047
mov rcx, qword [0x1401720a0]
cmp rcx, r14
je 0x1400bf040
test byte [rcx + 0x1c], 4
je 0x1400bf040
cmp byte [rcx + 0x19], 2
jb 0x1400bf040
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe2
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], esi
call fcn.140010730
mov eax, esi
jmp 0x1400bfa7b
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x60000000
mov edx, 0x80000000
mov rcx, r12
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400bf0c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x1400bf0bd
test byte [rcx + 0x1c], 4
je 0x1400bf0bd
cmp byte [rcx + 0x19], 4
jb 0x1400bf0bd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xe3
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.140005b60
mov eax, 6
jmp 0x1400bfa7b
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf0fe
test byte [rcx + 0x1c], 4
je 0x1400bf0fe
cmp byte [rcx + 0x19], 4
jb 0x1400bf0fe
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xe4
mov r9, r14
call fcn.140010244
mov r13d, dword [rsp + 0x58]
lea eax, [r13 - 2]
cmp eax, 1
ja 0x1400bf172
mov rdx, rdi
mov rcx, r14
call fcn.1400af534
mov esi, eax
test eax, eax
je 0x1400bf172
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf15a
test byte [rcx + 0x1c], 4
je 0x1400bf15a
cmp byte [rcx + 0x19], 2
jb 0x1400bf15a
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000ffdc
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bf040
cmp r13d, 1
je 0x1400bf182
cmp r13d, 4
jne 0x1400bf217
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 + 0x48]
mov rcx, r14
call fcn.1400b3c70
mov esi, eax
test eax, eax
jne 0x1400bf164
mov rcx, qword [0x1401720a0]
lea rsi, [0x1401720a0]
cmp rcx, rsi
je 0x1400bf217
test byte [rcx + 0x1c], 4
je 0x1400bf1ec
cmp byte [rcx + 0x19], 5
jb 0x1400bf1ec
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0xe6
lea r8, [0x140152e48]
call fcn.140005afc
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x1400bf217
test byte [rcx + 0x1c], 4
je 0x1400bf217
cmp byte [rcx + 0x19], 5
jb 0x1400bf217
mov r9, qword [rsp + 0x48]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe7
call fcn.140010244
mov rdx, rdi
mov rcx, r14
call fcn.1400b3938
mov esi, eax
test eax, eax
je 0x1400bf27a
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf164
test byte [rcx + 0x1c], 4
je 0x1400bf164
cmp byte [rcx + 0x19], 2
jb 0x1400bf164
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe8
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], esi
call fcn.140010730
jmp 0x1400bf164
mov rax, qword [rsp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x1400bf2dd
mov rdx, rdi
mov rcx, rax
call fcn.1400b3938
mov esi, eax
test eax, eax
je 0x1400bf2dd
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf2d3
test byte [rcx + 0x1c], 4
je 0x1400bf2d3
cmp byte [rcx + 0x19], 2
jb 0x1400bf2d3
mov edx, 0xe9
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000ffdc
mov rcx, qword [rsp + 0x48]
jmp 0x1400bf15e
lea r9, [rbp - 0x78]
mov r8, rdi
mov rcx, r14
call fcn.1400b1650
xor ecx, ecx
mov esi, eax
test eax, eax
je 0x1400bf31a
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf2d3
test byte [rcx + 0x1c], 4
je 0x1400bf2d3
cmp byte [rcx + 0x19], 2
jb 0x1400bf2d3
mov edx, 0xea
jmp 0x1400bf2ba
mov r9d, dword [rbp - 0x68]
imul r9d, dword [rbp - 0x64]
cmp r9d, 0x10000
jbe 0x1400bf36a
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf360
test byte [rcx + 0x1c], 4
je 0x1400bf360
cmp byte [rcx + 0x19], 2
jb 0x1400bf360
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xeb
call fcn.140004b98
mov esi, 0x1f
jmp 0x1400bf2d3
xor eax, eax
mov qword [rsp + 0x38], rcx
mov dword [rbx + 0x4c], r13d
xor r9d, r9d
mov qword [rbp - 0x60], rax
xor r8d, r8d
mov qword [rbp - 0x58], rax
mov edx, 0x4d0018
lea rax, [rsp + 0x50]
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 ecx, ecx
test eax, eax
jne 0x1400bf3d9
cmp r13d, 1
je 0x1400bf3be
cmp r13d, 4
jne 0x1400bf3d9
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 0x1400bf2d3
mov rax, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rax, rdx
je 0x1400bf423
test byte [rax + 0x1c], 4
je 0x1400bf423
cmp byte [rax + 0x19], 3
jb 0x1400bf423
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov edx, 0xec
mov dword [rsp + 0x20], eax
mov r9, r12
mov rcx, qword [rcx + 0x10]
call fcn.140005b60
xor ecx, ecx
mov sil, byte [rsp + 0x42]
or rdx, 0xffffffffffffffff
mov byte [rbx + 0x10], sil
inc rdx
cmp word [r12 + rdx*2], cx
jne 0x1400bf430
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 [r12 + rdx*2], cx
jne 0x1400bf454
inc rdx
mov r8, r12
mov rcx, rax
call fcn.14003ac00
xor ecx, ecx
test eax, eax
jns 0x1400bf48d
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 0x1400bf2d3
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], r14
movups xmm0, xmmword [rbp - 0x60]
mov byte [rbx + 0xf8], cl
movdqu xmmword [rbx + 0x30], xmm0
cmp r13d, 1
je 0x1400bf4cd
cmp r13d, 4
je 0x1400bf4cd
mov ecx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x64]
imul rcx, rax
imul rcx, qword [rbp - 0x78]
mov qword [rbx + 0x40], rcx
jmp 0x1400bf575
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x50]
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 0x1400bf56c
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 [0x1401720a0]
lea rax, [0x1401720a0]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bf565
test byte [rcx + 0x1c], 4
je 0x1400bf565
cmp byte [rcx + 0x19], 2
jb 0x1400bf565
mov r8d, dword [rdi]
mov edx, 0xed
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x20], r8d
lea r8, [0x140152e48]
call fcn.1400ae748
mov eax, ebx
jmp 0x1400bfa7b
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x40], 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 [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf5d3
test byte [rcx + 0x1c], 4
je 0x1400bf5d3
cmp byte [rcx + 0x19], 4
jb 0x1400bf5d3
mov eax, dword [rbp - 0x64]
mov edx, 0xee
mov r9, qword [rbx + 0x40]
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.1400aec7c
mov rax, qword [rbx + 0x40]
mov ecx, 0xffff
add rax, rcx
cqo
and rdx, rcx
mov ecx, 0xffffffff
add rax, rdx
sar rax, 0x10
cmp rax, rcx
jle 0x1400bf600
mov dword [rdi], 0x57
jmp 0x1400bf47a
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 0x1400bf645
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 0x1400bf2d3
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 r13d, 1
jne 0x1400bf78a
mov edx, dword [rbp - 0x68]
lea r9, [0x1400b08d0]
imul edx, dword [rbp - 0x64]
or r8, 0xffffffffffffffff
mov rcx, qword [rbx + 0x20]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
call fcn.1400b0a00
mov r9d, eax
test eax, eax
jne 0x1400bf6e2
mov rcx, r15
call fcn.1400b0ddc
mov rcx, qword [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x1400bf74c
test byte [rcx + 0x1c], 4
je 0x1400bf74c
cmp byte [rcx + 0x19], 4
jb 0x1400bf74c
mov edx, 0xf0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
call fcn.140004b74
jmp 0x1400bf74c
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bf71c
test byte [rcx + 0x1c], 4
je 0x1400bf71c
cmp byte [rcx + 0x19], 3
jb 0x1400bf71c
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xef
mov dword [rsp + 0x20], eax
call fcn.14000ffdc
and dword [rdi], 0
jmp 0x1400bf740
mov rcx, qword [r15]
mov rax, qword [rcx]
cmp qword [rcx + 8], r15
jne 0x1400bf783
cmp qword [rax + 8], rcx
jne 0x1400bf783
mov qword [r15], rax
mov qword [rax + 8], r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [r15], r15
jne 0x1400bf721
lea r15, [0x1401720a0]
test sil, sil
je 0x1400bf820
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 0x1400bf7b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400bf632
mov ecx, 3
int 0x29
mov rcx, qword [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x1400bf74c
test byte [rcx + 0x1c], 4
je 0x1400bf74c
cmp byte [rcx + 0x19], 4
jb 0x1400bf74c
mov edx, 0xf1
jmp 0x1400bf6d0
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], r13d
mov dword [rsp + 0x20], eax
call fcn.1400b00a8
mov esi, eax
test eax, eax
je 0x1400bf93d
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bf817
test byte [rcx + 0x1c], 4
je 0x1400bf817
cmp byte [rcx + 0x19], 2
jb 0x1400bf817
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf2
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000ffdc
mov rcx, qword [rbx + 0x60]
jmp 0x1400bf8dd
cmp r13d, 1
je 0x1400bf830
cmp r13d, 4
jne 0x1400bf93d
mov edx, dword [rbx + 0x50]
xor r13d, r13d
shl edx, 2
xor ecx, ecx
mov qword [rbx + 0x60], r13
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx + 0x68], rax
mov rcx, rax
test rax, rax
je 0x1400bf76c
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], r12
call fcn.1400b1f64
mov esi, eax
test eax, eax
je 0x1400bf8fb
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bf8d9
test byte [rcx + 0x1c], 4
je 0x1400bf8d9
cmp byte [rcx + 0x19], 2
jb 0x1400bf8d9
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000ffdc
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 0x1400bf2d3
mov rax, qword [0x1401720a0]
cmp rax, r15
je 0x1400bf93d
test byte [rax + 0x1c], 4
je 0x1400bf93d
cmp byte [rax + 0x19], 5
jb 0x1400bf93d
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov r9d, eax
mov edx, 0xf4
mov rcx, qword [rcx + 0x10]
call fcn.140004b98
mov r8d, dword [rbp - 0x68]
mov rdx, r12
imul r8d, dword [rbp - 0x64]
mov rcx, rbx
mov r9, qword [rbp - 0x78]
mov qword [rsp + 0x20], rdi
call fcn.1400c2218
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400bf9a5
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bf998
test byte [rcx + 0x1c], 4
je 0x1400bf998
cmp byte [rcx + 0x19], 2
jb 0x1400bf998
mov eax, dword [rdi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000ffdc
mov rcx, rbx
call fcn.1400bc370
jmp 0x1400bf040
cmp byte [rsp + 0x40], al
jne 0x1400bfa29
cmp byte [rsp + 0x41], al
jne 0x1400bfa29
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 [0x1401720a0]
cmp rcx, r15
je 0x1400bfa25
test byte [rcx + 0x1c], 4
je 0x1400bf9ff
cmp byte [rcx + 0x19], 4
jb 0x1400bf9ff
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xf7
call fcn.140010244
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bfa25
test byte [rcx + 0x1c], 4
je 0x1400bfa25
cmp byte [rcx + 0x19], 4
jb 0x1400bfa25
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, pe_nt_image_headers64
call fcn.140004b74
xor eax, eax
jmp 0x1400bfa7b
lea r8, [0x140149d6c]
mov edx, 0x14a0
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.14008410c
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bfa6e
test byte [rcx + 0x1c], 4
je 0x1400bfa6e
cmp byte [rcx + 0x19], 2
jb 0x1400bfa6e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0xf6
call fcn.140004b74
mov rcx, rbx
call fcn.1400bc370
mov eax, 2
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140141cf0
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret