Function at 0x1400c162c
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 [0x140178010]
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 [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c16ed
test byte [rcx + 0x1c], 4
je 0x1400c16ed
cmp byte [rcx + 0x19], 4
jb 0x1400c16ed
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, 0xdd
call fcn.140004c6c
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 [0x1401782b0]
lea r14, [0x1401782b0]
mov sil, 5
cmp rcx, r14
je 0x1400c17df
test byte [rcx + 0x1c], 4
je 0x1400c1742
cmp byte [rcx + 0x19], sil
jb 0x1400c1742
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, 0xde
mov r9, r12
call fcn.140005c6c
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x1400c17df
test byte [rcx + 0x1c], 4
je 0x1400c1777
cmp byte [rcx + 0x19], sil
jb 0x1400c1777
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
movzx r9d, r13b
mov edx, 0xdf
call fcn.140004c90
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x1400c17df
test byte [rcx + 0x1c], 4
je 0x1400c17ae
cmp byte [rcx + 0x19], sil
jb 0x1400c17ae
movzx esi, byte [rsp + 0x40]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov edx, 0xe0
call fcn.140004c90
mov rcx, qword [0x1401782b0]
jmp 0x1400c17b3
mov sil, byte [rsp + 0x40]
cmp rcx, r14
je 0x1400c17e4
test byte [rcx + 0x1c], 4
je 0x1400c17e4
cmp byte [rcx + 0x19], 5
jb 0x1400c17e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
movzx r9d, r15b
mov edx, 0xe1
call fcn.140004c90
jmp 0x1400c17e4
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 0x1400c180a
cmp byte [rsp + 0x41], al
je 0x1400c181a
test r13b, r13b
jne 0x1400c181a
mov dword [rdi], 0x57
jmp 0x1400c22a2
mov r8, rdi
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.1400b3cb4
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400c1873
mov rcx, qword [0x1401782b0]
cmp rcx, r14
je 0x1400c186c
test byte [rcx + 0x1c], 4
je 0x1400c186c
cmp byte [rcx + 0x19], 2
jb 0x1400c186c
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe2
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], esi
call fcn.140010c10
mov eax, esi
jmp 0x1400c22a7
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 0x1400c18f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [0x1401782b0]
lea rdx, [0x1401782b0]
cmp rcx, rdx
je 0x1400c18e9
test byte [rcx + 0x1c], 4
je 0x1400c18e9
cmp byte [rcx + 0x19], 4
jb 0x1400c18e9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, 0xe3
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.140005ce8
mov eax, 6
jmp 0x1400c22a7
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c192a
test byte [rcx + 0x1c], 4
je 0x1400c192a
cmp byte [rcx + 0x19], 4
jb 0x1400c192a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, 0xe4
mov r9, r14
call fcn.140010678
mov r13d, dword [rsp + 0x58]
lea eax, [r13 - 2]
cmp eax, 1
ja 0x1400c199e
mov rdx, rdi
mov rcx, r14
call fcn.1400b1d20
mov esi, eax
test eax, eax
je 0x1400c199e
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c1986
test byte [rcx + 0x1c], 4
je 0x1400c1986
cmp byte [rcx + 0x19], 2
jb 0x1400c1986
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.1400103bc
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c186c
cmp r13d, 1
je 0x1400c19ae
cmp r13d, 4
jne 0x1400c1a43
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.1400b6468
mov esi, eax
test eax, eax
jne 0x1400c1990
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x1400c1a43
test byte [rcx + 0x1c], 4
je 0x1400c1a18
cmp byte [rcx + 0x19], 5
jb 0x1400c1a18
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0xe6
lea r8, [0x140158c98]
call fcn.140005c6c
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x1400c1a43
test byte [rcx + 0x1c], 4
je 0x1400c1a43
cmp byte [rcx + 0x19], 5
jb 0x1400c1a43
mov r9, qword [rsp + 0x48]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe7
call fcn.140010678
mov rdx, rdi
mov rcx, r14
call fcn.1400b6130
mov esi, eax
test eax, eax
je 0x1400c1aa6
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c1990
test byte [rcx + 0x1c], 4
je 0x1400c1990
cmp byte [rcx + 0x19], 2
jb 0x1400c1990
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe8
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], esi
call fcn.140010c10
jmp 0x1400c1990
mov rax, qword [rsp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x1400c1b09
mov rdx, rdi
mov rcx, rax
call fcn.1400b6130
mov esi, eax
test eax, eax
je 0x1400c1b09
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c1aff
test byte [rcx + 0x1c], 4
je 0x1400c1aff
cmp byte [rcx + 0x19], 2
jb 0x1400c1aff
mov edx, 0xe9
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.1400103bc
mov rcx, qword [rsp + 0x48]
jmp 0x1400c198a
lea r9, [rbp - 0x78]
mov r8, rdi
mov rcx, r14
call fcn.1400b3e4c
xor ecx, ecx
mov esi, eax
test eax, eax
je 0x1400c1b46
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c1aff
test byte [rcx + 0x1c], 4
je 0x1400c1aff
cmp byte [rcx + 0x19], 2
jb 0x1400c1aff
mov edx, 0xea
jmp 0x1400c1ae6
mov r9d, dword [rbp - 0x68]
imul r9d, dword [rbp - 0x64]
cmp r9d, 0x10000
jbe 0x1400c1b96
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c1b8c
test byte [rcx + 0x1c], 4
je 0x1400c1b8c
cmp byte [rcx + 0x19], 2
jb 0x1400c1b8c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, 0xeb
call fcn.140004c90
mov esi, 0x1f
jmp 0x1400c1aff
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 0x1400c1c05
cmp r13d, 1
je 0x1400c1bea
cmp r13d, 4
jne 0x1400c1c05
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 0x1400c1aff
mov rax, qword [0x1401782b0]
lea rdx, [0x1401782b0]
cmp rax, rdx
je 0x1400c1c4f
test byte [rax + 0x1c], 4
je 0x1400c1c4f
cmp byte [rax + 0x19], 3
jb 0x1400c1c4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c98]
mov edx, 0xec
mov dword [rsp + 0x20], eax
mov r9, r12
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
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 0x1400c1c5c
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 0x1400c1c80
inc rdx
mov r8, r12
mov rcx, rax
call fcn.14003b8c0
xor ecx, ecx
test eax, eax
jns 0x1400c1cb9
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 0x1400c1aff
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 0x1400c1cf9
cmp r13d, 4
je 0x1400c1cf9
mov ecx, dword [rbp - 0x68]
mov eax, dword [rbp - 0x64]
imul rcx, rax
imul rcx, qword [rbp - 0x78]
mov qword [rbx + 0x40], rcx
jmp 0x1400c1da1
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 0x1400c1d98
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 [0x1401782b0]
lea rax, [0x1401782b0]
mov ebx, 0xd
cmp rcx, rax
je 0x1400c1d91
test byte [rcx + 0x1c], 4
je 0x1400c1d91
cmp byte [rcx + 0x19], 2
jb 0x1400c1d91
mov r8d, dword [rdi]
mov edx, 0xed
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x20], r8d
lea r8, [0x140158c98]
call fcn.1400b0eb8
mov eax, ebx
jmp 0x1400c22a7
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 [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c1dff
test byte [rcx + 0x1c], 4
je 0x1400c1dff
cmp byte [rcx + 0x19], 4
jb 0x1400c1dff
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.1400b1448
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 0x1400c1e2c
mov dword [rdi], 0x57
jmp 0x1400c1ca6
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 0x1400c1e71
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 0x1400c1aff
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 0x1400c1fb6
mov edx, dword [rbp - 0x68]
lea r9, [0x1400b30d0]
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.1400b3200
mov r9d, eax
test eax, eax
jne 0x1400c1f0e
mov rcx, r15
call fcn.1400b35dc
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x1400c1f78
test byte [rcx + 0x1c], 4
je 0x1400c1f78
cmp byte [rcx + 0x19], 4
jb 0x1400c1f78
mov edx, 0xf0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
call fcn.140004c6c
jmp 0x1400c1f78
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400c1f48
test byte [rcx + 0x1c], 4
je 0x1400c1f48
cmp byte [rcx + 0x19], 3
jb 0x1400c1f48
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xef
mov dword [rsp + 0x20], eax
call fcn.1400103bc
and dword [rdi], 0
jmp 0x1400c1f6c
mov rcx, qword [r15]
mov rax, qword [rcx]
cmp qword [rcx + 8], r15
jne 0x1400c1faf
cmp qword [rax + 8], rcx
jne 0x1400c1faf
mov qword [r15], rax
mov qword [rax + 8], r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [r15], r15
jne 0x1400c1f4d
lea r15, [0x1401782b0]
test sil, sil
je 0x1400c204c
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 0x1400c1fdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400c1e5e
mov ecx, 3
int 0x29
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x1400c1f78
test byte [rcx + 0x1c], 4
je 0x1400c1f78
cmp byte [rcx + 0x19], 4
jb 0x1400c1f78
mov edx, 0xf1
jmp 0x1400c1efc
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.1400b28a4
mov esi, eax
test eax, eax
je 0x1400c2169
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400c2043
test byte [rcx + 0x1c], 4
je 0x1400c2043
cmp byte [rcx + 0x19], 2
jb 0x1400c2043
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf2
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.1400103bc
mov rcx, qword [rbx + 0x60]
jmp 0x1400c2109
cmp r13d, 1
je 0x1400c205c
cmp r13d, 4
jne 0x1400c2169
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 0x1400c1f98
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.1400b475c
mov esi, eax
test eax, eax
je 0x1400c2127
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400c2105
test byte [rcx + 0x1c], 4
je 0x1400c2105
cmp byte [rcx + 0x19], 2
jb 0x1400c2105
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.1400103bc
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 0x1400c1aff
mov rax, qword [0x1401782b0]
cmp rax, r15
je 0x1400c2169
test byte [rax + 0x1c], 4
je 0x1400c2169
cmp byte [rax + 0x19], 5
jb 0x1400c2169
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c98]
mov r9d, eax
mov edx, 0xf4
mov rcx, qword [rcx + 0x10]
call fcn.140004c90
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.1400c4a44
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400c21d1
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400c21c4
test byte [rcx + 0x1c], 4
je 0x1400c21c4
cmp byte [rcx + 0x19], 2
jb 0x1400c21c4
mov eax, dword [rdi]
lea r8, [0x140158c98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.1400103bc
mov rcx, rbx
call fcn.1400beb88
jmp 0x1400c186c
cmp byte [rsp + 0x40], al
jne 0x1400c2255
cmp byte [rsp + 0x41], al
jne 0x1400c2255
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 [0x1401782b0]
cmp rcx, r15
je 0x1400c2251
test byte [rcx + 0x1c], 4
je 0x1400c222b
cmp byte [rcx + 0x19], 4
jb 0x1400c222b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, 0xf7
call fcn.140010678
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400c2251
test byte [rcx + 0x1c], 4
je 0x1400c2251
cmp byte [rcx + 0x19], 4
jb 0x1400c2251
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, pe_nt_image_headers64
call fcn.140004c6c
xor eax, eax
jmp 0x1400c22a7
lea r8, [0x14014f94c]
mov edx, 0x14a0
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.14008624c
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400c229a
test byte [rcx + 0x1c], 4
je 0x1400c229a
cmp byte [rcx + 0x19], 2
jb 0x1400c229a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c98]
mov edx, 0xf6
call fcn.140004c6c
mov rcx, rbx
call fcn.1400beb88
mov eax, 2
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1401474d0
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret