Function at 0x1400bc664
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 [0x14016f608]
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 [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bc72b
test byte [rcx + 0x1c], 4
je 0x1400bc72b
cmp byte [rcx + 0x19], 4
jb 0x1400bc72b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xdd
call fcn.1400049d8
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 [0x14016f048]
lea r14, [0x14016f048]
mov sil, 5
cmp rcx, r14
je 0x1400bc81d
test byte [rcx + 0x1c], 4
je 0x1400bc780
cmp byte [rcx + 0x19], sil
jb 0x1400bc780
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xde
mov r9, r13
call fcn.1400058d8
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400bc81d
test byte [rcx + 0x1c], 4
je 0x1400bc7b5
cmp byte [rcx + 0x19], sil
jb 0x1400bc7b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
movzx r9d, r15b
mov edx, 0xdf
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400bc81d
test byte [rcx + 0x1c], 4
je 0x1400bc7ec
cmp byte [rcx + 0x19], sil
jb 0x1400bc7ec
movzx esi, byte [rsp + 0x40]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov edx, 0xe0
call fcn.1400049f8
mov rcx, qword [0x14016f048]
jmp 0x1400bc7f1
mov sil, byte [rsp + 0x40]
cmp rcx, r14
je 0x1400bc822
test byte [rcx + 0x1c], 4
je 0x1400bc822
cmp byte [rcx + 0x19], 5
jb 0x1400bc822
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
movzx r9d, r12b
mov edx, 0xe1
call fcn.1400049f8
jmp 0x1400bc822
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 0x1400bc84a
cmp byte [rsp + 0x41], al
je 0x1400bc85a
test r15b, r15b
jne 0x1400bc85a
mov dword [rdi], 0x57
jmp 0x1400bd30a
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1400aeee4
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400bc8b3
mov rcx, qword [0x14016f048]
cmp rcx, r14
je 0x1400bc8ac
test byte [rcx + 0x1c], 4
je 0x1400bc8ac
cmp byte [rcx + 0x19], 2
jb 0x1400bc8ac
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe2
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], esi
call fcn.14001017c
mov eax, esi
jmp 0x1400bd30f
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 0x1400bc933
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400bc929
test byte [rcx + 0x1c], 4
je 0x1400bc929
cmp byte [rcx + 0x19], 4
jb 0x1400bc929
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xe3
mov dword [rsp + 0x20], eax
mov r9, r13
call fcn.140005938
mov eax, 6
jmp 0x1400bd30f
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bc96a
test byte [rcx + 0x1c], 4
je 0x1400bc96a
cmp byte [rcx + 0x19], 4
jb 0x1400bc96a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xe4
mov r9, r14
call fcn.14000fcd0
mov r15d, dword [rsp + 0x50]
lea eax, [r15 - 2]
cmp eax, 1
ja 0x1400bc9de
mov rdx, rdi
mov rcx, r14
call fcn.1400acfa8
mov esi, eax
test eax, eax
je 0x1400bc9de
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bc9c6
test byte [rcx + 0x1c], 4
je 0x1400bc9c6
cmp byte [rcx + 0x19], 2
jb 0x1400bc9c6
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fa80
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400bc8ac
cmp r15d, 1
je 0x1400bc9ee
cmp r15d, 4
jne 0x1400bca97
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.1400b164c
mov esi, eax
test eax, eax
jne 0x1400bc9d0
mov rcx, qword [0x14016f048]
lea rsi, [0x14016f048]
cmp rcx, rsi
je 0x1400bca8d
test byte [rcx + 0x1c], 4
je 0x1400bca58
cmp byte [rcx + 0x19], 5
jb 0x1400bca58
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0xe6
lea r8, [0x14014f138]
call fcn.1400058d8
mov rcx, qword [0x14016f048]
cmp rcx, rsi
je 0x1400bca8d
test byte [rcx + 0x1c], 4
je 0x1400bca8d
cmp byte [rcx + 0x19], 5
jb 0x1400bca8d
mov rax, qword [rsp + 0x58]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov r9, rax
mov edx, 0xe7
mov qword [rsp + 0x48], rax
call fcn.14000fcd0
jmp 0x1400bca97
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rdx, rdi
mov rcx, r14
call fcn.1400b1320
mov esi, eax
test eax, eax
je 0x1400bcafa
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bc9d0
test byte [rcx + 0x1c], 4
je 0x1400bc9d0
cmp byte [rcx + 0x19], 2
jb 0x1400bc9d0
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe8
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], esi
call fcn.14001017c
jmp 0x1400bc9d0
mov rax, qword [rsp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x1400bcb5d
mov rdx, rdi
mov rcx, rax
call fcn.1400b1320
mov esi, eax
test eax, eax
je 0x1400bcb5d
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bcb53
test byte [rcx + 0x1c], 4
je 0x1400bcb53
cmp byte [rcx + 0x19], 2
jb 0x1400bcb53
mov edx, 0xe9
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, qword [rsp + 0x48]
jmp 0x1400bc9ca
lea r9, [rbp - 0x78]
mov r8, rdi
mov rcx, r14
call fcn.1400af074
xor ecx, ecx
mov esi, eax
test eax, eax
je 0x1400bcb9a
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bcb53
test byte [rcx + 0x1c], 4
je 0x1400bcb53
cmp byte [rcx + 0x19], 2
jb 0x1400bcb53
mov edx, 0xea
jmp 0x1400bcb3a
mov r9d, dword [rbp - 0x68]
imul r9d, dword [rbp - 0x64]
cmp r9d, 0x10000
jbe 0x1400bcbea
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bcbe0
test byte [rcx + 0x1c], 4
je 0x1400bcbe0
cmp byte [rcx + 0x19], 2
jb 0x1400bcbe0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xeb
call fcn.1400049f8
mov esi, 0x1f
jmp 0x1400bcb53
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 ecx, ecx
test eax, eax
jne 0x1400bcc59
cmp r15d, 1
je 0x1400bcc3e
cmp r15d, 4
jne 0x1400bcc59
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 0x1400bcb53
mov rax, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rax, rdx
je 0x1400bcca3
test byte [rax + 0x1c], 4
je 0x1400bcca3
cmp byte [rax + 0x19], 3
jb 0x1400bcca3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov edx, 0xec
mov dword [rsp + 0x20], eax
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.140005938
xor ecx, ecx
mov sil, byte [rsp + 0x42]
or rdx, 0xffffffffffffffff
mov byte [rbx + 0x10], sil
inc rdx
cmp word [r13 + rdx*2], cx
jne 0x1400bccb0
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 0x1400bccd5
inc rdx
mov r8, r13
mov rcx, rax
call fcn.140039dd4
xor ecx, ecx
test eax, eax
jns 0x1400bcd0f
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 0x1400bcb53
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 0x1400bcd50
cmp r15d, 4
je 0x1400bcd50
mov r9d, dword [rbp - 0x68]
mov eax, dword [rbp - 0x64]
imul r9, rax
imul r9, qword [rbp - 0x78]
mov qword [rbx + 0x40], r9
jmp 0x1400bcdfb
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 0x1400bcdef
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 [0x14016f048]
lea rax, [0x14016f048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bcde8
test byte [rcx + 0x1c], 4
je 0x1400bcde8
cmp byte [rcx + 0x19], 2
jb 0x1400bcde8
mov r8d, dword [rdi]
mov edx, 0xed
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x20], r8d
lea r8, [0x14014f138]
call fcn.1400ac23c
mov eax, ebx
jmp 0x1400bd30f
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 r8, qword [0x14016f048]
lea rax, [0x14016f048]
mov rcx, r9
cmp r8, rax
je 0x1400bce5e
test byte [r8 + 0x1c], 4
je 0x1400bce5e
cmp byte [r8 + 0x19], 4
jb 0x1400bce5e
mov eax, dword [rbp - 0x64]
mov edx, 0xee
mov rcx, qword [r8 + 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.1400ac734
mov rcx, qword [rbx + 0x40]
add rcx, 0xffff
mov rax, rcx
cqo
movzx edx, dx
add rax, rdx
movabs rdx, 0x1000000000000
sar rax, 0x10
cmp rcx, rdx
jl 0x1400bce8e
mov dword [rdi], 0x57
jmp 0x1400bccfc
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 0x1400bced3
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 0x1400bcb53
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 0x1400bd01e
mov edx, dword [rbp - 0x68]
lea r9, [0x1400ae320]
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.1400ae448
mov r9d, eax
test eax, eax
jne 0x1400bcf70
mov rcx, r12
call fcn.1400ae81c
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bcfe0
test byte [rcx + 0x1c], 4
je 0x1400bcfe0
cmp byte [rcx + 0x19], 4
jb 0x1400bcfe0
mov edx, 0xf0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
call fcn.1400049d8
jmp 0x1400bcfe0
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bcfaa
test byte [rcx + 0x1c], 4
je 0x1400bcfaa
cmp byte [rcx + 0x19], 3
jb 0x1400bcfaa
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xef
mov dword [rsp + 0x20], eax
call fcn.14000fa80
xor eax, eax
mov dword [rdi], eax
jmp 0x1400bcfd0
cmp qword [rax + 8], r12
jne 0x1400bd017
mov rcx, qword [rax]
cmp qword [rcx + 8], rax
jne 0x1400bd017
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 0x1400bcfb0
lea r12, [0x14016f048]
test sil, sil
je 0x1400bd0b4
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 0x1400bd047
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400bcec0
mov ecx, 3
int 0x29
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bcfe0
test byte [rcx + 0x1c], 4
je 0x1400bcfe0
cmp byte [rcx + 0x19], 4
jb 0x1400bcfe0
mov edx, 0xf1
jmp 0x1400bcf5e
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.1400adb04
mov esi, eax
test eax, eax
je 0x1400bd1d1
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bd0ab
test byte [rcx + 0x1c], 4
je 0x1400bd0ab
cmp byte [rcx + 0x19], 2
jb 0x1400bd0ab
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf2
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, qword [rbx + 0x60]
jmp 0x1400bd171
cmp r15d, 1
je 0x1400bd0c4
cmp r15d, 4
jne 0x1400bd1d1
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 0x1400bd000
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.1400af980
mov esi, eax
test eax, eax
je 0x1400bd18f
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bd16d
test byte [rcx + 0x1c], 4
je 0x1400bd16d
cmp byte [rcx + 0x19], 2
jb 0x1400bd16d
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fa80
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 0x1400bcb53
mov rax, qword [0x14016f048]
cmp rax, r12
je 0x1400bd1d1
test byte [rax + 0x1c], 4
je 0x1400bd1d1
cmp byte [rax + 0x19], 5
jb 0x1400bd1d1
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9d, eax
mov edx, 0xf4
mov rcx, qword [rcx + 0x10]
call fcn.1400049f8
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.1400bfab0
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400bd239
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bd22c
test byte [rcx + 0x1c], 4
je 0x1400bd22c
cmp byte [rcx + 0x19], 2
jb 0x1400bd22c
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, rbx
call fcn.1400b9c24
jmp 0x1400bc8ac
cmp byte [rsp + 0x40], al
jne 0x1400bd2bd
cmp byte [rsp + 0x41], al
jne 0x1400bd2bd
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 [0x14016f048]
cmp rcx, r12
je 0x1400bd2b9
test byte [rcx + 0x1c], 4
je 0x1400bd293
cmp byte [rcx + 0x19], 4
jb 0x1400bd293
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf7
call fcn.14000fcd0
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bd2b9
test byte [rcx + 0x1c], 4
je 0x1400bd2b9
cmp byte [rcx + 0x19], 4
jb 0x1400bd2b9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, pe_nt_image_headers64
call fcn.1400049d8
xor eax, eax
jmp 0x1400bd30f
lea r8, [0x14014605c]
mov edx, 0x14a0
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.140082070
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bd302
test byte [rcx + 0x1c], 4
je 0x1400bd302
cmp byte [rcx + 0x19], 2
jb 0x1400bd302
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf6
call fcn.1400049d8
mov rcx, rbx
call fcn.1400b9c24
mov eax, 2
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14013e2a0
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret