Function at 0x1400c08b4
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 [0x140173708]
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 rdi, qword [rbp + 0x280]
movzx r15d, dl
xor edx, edx
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x268]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rcx
xor ecx, ecx
movzx r12d, r9b
mov rbx, qword [rax]
mov byte [rsp + 0x41], r12b
mov byte [rsp + 0x40], r8b
mov byte [rsp + 0x42], r15b
mov dword [rsp + 0x54], edx
mov qword [rbp - 0x5c], rcx
mov dword [rbp - 0x54], ecx
mov dword [rsp + 0x50], edx
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c097d
test byte [rcx + 0x1c], 4
je 0x1400c097d
cmp byte [rcx + 0x19], 4
jb 0x1400c097d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, 0xdd
call fcn.14000c328
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 [0x140173048]
lea r14, [0x140173048]
mov sil, 5
cmp rcx, r14
je 0x1400c0a6d
test byte [rcx + 0x1c], 4
je 0x1400c09d2
cmp byte [rcx + 0x19], sil
jb 0x1400c09d2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, 0xde
mov r9, r13
call fcn.140015150
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x1400c0a6d
test byte [rcx + 0x1c], 4
je 0x1400c0a06
cmp byte [rcx + 0x19], sil
jb 0x1400c0a06
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov r9d, r15d
mov edx, 0xdf
call fcn.1400155dc
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x1400c0a6d
test byte [rcx + 0x1c], 4
je 0x1400c0a3d
cmp byte [rcx + 0x19], sil
jb 0x1400c0a3d
movzx esi, byte [rsp + 0x40]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov edx, 0xe0
call fcn.1400155dc
mov rcx, qword [0x140173048]
jmp 0x1400c0a42
mov sil, byte [rsp + 0x40]
cmp rcx, r14
je 0x1400c0a72
test byte [rcx + 0x1c], 4
je 0x1400c0a72
cmp byte [rcx + 0x19], 5
jb 0x1400c0a72
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov r9d, r12d
mov edx, 0xe1
call fcn.1400155dc
jmp 0x1400c0a72
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 0x1400c0a9a
cmp byte [rsp + 0x41], al
je 0x1400c0aaa
test r15b, r15b
jne 0x1400c0aaa
mov dword [rdi], 0x57
jmp 0x1400c15fe
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1400c55c8
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400c0b03
mov rcx, qword [0x140173048]
cmp rcx, r14
je 0x1400c0afc
test byte [rcx + 0x1c], 4
je 0x1400c0afc
cmp byte [rcx + 0x19], 2
jb 0x1400c0afc
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe2
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], esi
call fcn.140061520
mov eax, esi
jmp 0x1400c1603
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]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c0b8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, qword [0x140173048]
lea rdx, [0x140173048]
cmp rcx, rdx
je 0x1400c0b85
test byte [rcx + 0x1c], 4
je 0x1400c0b85
cmp byte [rcx + 0x19], 4
jb 0x1400c0b85
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, 0xe3
mov dword [rsp + 0x20], eax
mov r9, r13
call fcn.1400151b8
mov eax, 6
jmp 0x1400c1603
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c0bc6
test byte [rcx + 0x1c], 4
je 0x1400c0bc6
cmp byte [rcx + 0x19], 4
jb 0x1400c0bc6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, 0xe4
mov r9, r14
call fcn.140040cb4
mov r15d, dword [rsp + 0x50]
lea eax, [r15 - 2]
cmp eax, 1
ja 0x1400c0c46
mov rdx, rdi
mov rcx, r14
call fcn.1400c695c
mov esi, eax
test eax, eax
je 0x1400c0c46
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c0c22
test byte [rcx + 0x1c], 4
je 0x1400c0c22
cmp byte [rcx + 0x19], 2
jb 0x1400c0c22
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.140040778
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x1400c0afc
cmp r15d, 1
je 0x1400c0c56
cmp r15d, 4
jne 0x1400c0cff
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.1400c6d74
mov esi, eax
test eax, eax
jne 0x1400c0c32
mov rcx, qword [0x140173048]
lea rsi, [0x140173048]
cmp rcx, rsi
je 0x1400c0cf5
test byte [rcx + 0x1c], 4
je 0x1400c0cc0
cmp byte [rcx + 0x19], 5
jb 0x1400c0cc0
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0xe6
lea r8, [0x140159dc8]
call fcn.140015150
mov rcx, qword [0x140173048]
cmp rcx, rsi
je 0x1400c0cf5
test byte [rcx + 0x1c], 4
je 0x1400c0cf5
cmp byte [rcx + 0x19], 5
jb 0x1400c0cf5
mov rax, qword [rsp + 0x58]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov r9, rax
mov edx, 0xe7
mov qword [rsp + 0x48], rax
call fcn.140040cb4
jmp 0x1400c0cff
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov rdx, rdi
mov rcx, r14
call fcn.1400c44d0
mov esi, eax
test eax, eax
je 0x1400c0d62
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c0c32
test byte [rcx + 0x1c], 4
je 0x1400c0c32
cmp byte [rcx + 0x19], 2
jb 0x1400c0c32
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe8
mov dword [rsp + 0x28], eax
mov r9, r13
mov dword [rsp + 0x20], esi
call fcn.140061520
jmp 0x1400c0c32
mov rax, qword [rsp + 0x48]
cmp rax, 0xffffffffffffffff
je 0x1400c0dc5
mov rdx, rdi
mov rcx, rax
call fcn.1400c44d0
mov esi, eax
test eax, eax
je 0x1400c0dc5
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c0dbb
test byte [rcx + 0x1c], 4
je 0x1400c0dbb
cmp byte [rcx + 0x19], 2
jb 0x1400c0dbb
mov edx, 0xe9
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.140040778
mov rcx, qword [rsp + 0x48]
jmp 0x1400c0c26
lea r9, [rbp - 0x78]
mov r8, rdi
mov rcx, r14
call fcn.1400c7d48
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400c0e02
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c0dbb
test byte [rcx + 0x1c], 4
je 0x1400c0dbb
cmp byte [rcx + 0x19], 2
jb 0x1400c0dbb
mov edx, 0xea
jmp 0x1400c0da2
mov r9d, dword [rbp - 0x68]
mov ecx, 0x10000
imul r9d, dword [rbp - 0x64]
cmp r9d, ecx
jbe 0x1400c0e53
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c0e49
test byte [rcx + 0x1c], 4
je 0x1400c0e49
cmp byte [rcx + 0x19], 2
jb 0x1400c0e49
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, 0xeb
call fcn.14000c47c
mov esi, 0x1f
jmp 0x1400c0dbb
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x54]
mov dword [rbx + 0x4c], r15d
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp - 0x60]
mov dword [rsp + 0x28], 0x10
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x4d0018
mov rcx, r14
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
jne 0x1400c0ed1
cmp r15d, 1
je 0x1400c0eaa
cmp r15d, 4
jne 0x1400c0ed1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rbx
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov esi, 6
jmp 0x1400c0dbb
mov rax, qword [0x140173048]
lea rdx, [0x140173048]
cmp rax, rdx
je 0x1400c0f21
test byte [rax + 0x1c], 4
je 0x1400c0f21
cmp byte [rax + 0x19], 3
jb 0x1400c0f21
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea r8, [0x140159dc8]
mov edx, 0xec
mov dword [rsp + 0x20], eax
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400151b8
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 0x1400c0f2e
lea rdx, [rdx*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
or rdx, 0xffffffffffffffff
mov qword [rbx + 0x18], rax
xor r11d, r11d
inc rdx
cmp word [r13 + rdx*2], r11w
jne 0x1400c0f5a
inc rdx
mov r8, r13
mov rcx, rax
call fcn.140006530
test eax, eax
jns 0x1400c0f9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov esi, 2
jmp 0x1400c0dbb
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], r11b
cmp r15d, 1
je 0x1400c0fdc
cmp r15d, 4
je 0x1400c0fdc
mov r9d, dword [rbp - 0x68]
mov eax, dword [rbp - 0x64]
imul r9, rax
imul r9, qword [rbp - 0x78]
jmp 0x1400c1098
mov qword [rsp + 0x38], r11
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]
nop dword [rax + rax]
test eax, eax
jne 0x1400c1093
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400c108c
test byte [rcx + 0x1c], 4
je 0x1400c108c
cmp byte [rcx + 0x19], 2
jb 0x1400c108c
mov r8d, dword [rdi]
mov edx, 0xed
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x20], r8d
lea r8, [0x140159dc8]
call fcn.1400d1404
mov eax, ebx
jmp 0x1400c1603
mov r9, qword [rsp + 0x58]
mov qword [rbx + 0x40], r9
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 [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c10f6
test byte [rcx + 0x1c], 4
je 0x1400c10f6
cmp byte [rcx + 0x19], 4
jb 0x1400c10f6
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.1400d1b3c
mov rax, qword [rbx + 0x40]
mov ecx, 0x10000
add rax, 0xffff
cqo
idiv rcx
mov ecx, 0xffffffff
cmp rax, rcx
jle 0x1400c111f
mov dword [rdi], 0x57
jmp 0x1400c0f85
mov dword [rbx + 0x48], eax
mov ecx, 0x20
add rax, 0x1f
cqo
idiv rcx
xor ecx, ecx
shl eax, 2
mov edx, eax
mov dword [rbx + 0x50], edx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov qword [rbx + 0x58], rax
test rax, rax
jne 0x1400c1176
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov esi, 3
jmp 0x1400c0dbb
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x78]
mov rdx, rax
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
nop dword [rax + rax]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlSetAllBits]
nop dword [rax + rax]
cmp r15d, 1
jne 0x1400c1294
mov edx, dword [rbp - 0x68]
lea r9, [0x1400c8fc0]
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.1400c7ac0
mov r9d, eax
test eax, eax
jne 0x1400c1222
mov rcx, r12
call fcn.1400c4dfc
mov rcx, qword [0x140173048]
lea r12, [0x140173048]
cmp rcx, r12
je 0x1400c12c4
test byte [rcx + 0x1c], 4
je 0x1400c12c4
cmp byte [rcx + 0x19], 4
jb 0x1400c12c4
mov edx, 0xf0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
call fcn.14000c328
jmp 0x1400c12c4
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400c125c
test byte [rcx + 0x1c], 4
je 0x1400c125c
cmp byte [rcx + 0x19], 3
jb 0x1400c125c
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xef
mov dword [rsp + 0x20], eax
call fcn.14004099c
and dword [rdi], 0
mov rcx, qword [r12]
cmp rcx, r12
je 0x1400c12bd
cmp qword [rcx + 8], r12
jne 0x1400c128d
mov rax, qword [rcx]
cmp qword [rax + 8], rcx
jne 0x1400c128d
mov qword [r12], rax
mov qword [rax + 8], r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x1400c125f
mov ecx, 3
int 0x29
mov rcx, qword [0x140173048]
lea r12, [0x140173048]
cmp rcx, r12
je 0x1400c12c4
test byte [rcx + 0x1c], 4
je 0x1400c12c4
cmp byte [rcx + 0x19], 4
jb 0x1400c12c4
mov edx, 0xf1
jmp 0x1400c120d
lea r12, [0x140173048]
test sil, sil
je 0x1400c137a
mov edx, dword [rbx + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov qword [rbx + 0x60], rax
mov r9, rax
test rax, rax
jne 0x1400c130d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x1400c115d
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.1400c71f0
mov esi, eax
test eax, eax
je 0x1400c14bb
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1400c1371
test byte [rcx + 0x1c], 4
je 0x1400c1371
cmp byte [rcx + 0x19], 2
jb 0x1400c1371
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf2
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.140040778
mov rcx, qword [rbx + 0x60]
jmp 0x1400c1443
cmp r15d, 1
je 0x1400c138a
cmp r15d, 4
jne 0x1400c14bb
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]
nop dword [rax + rax]
mov qword [rbx + 0x68], rax
mov rcx, rax
test rax, rax
je 0x1400c12ea
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]
nop dword [rax + rax]
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.1400c4ed0
mov esi, eax
test eax, eax
je 0x1400c1473
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1400c143f
test byte [rcx + 0x1c], 4
je 0x1400c143f
cmp byte [rcx + 0x19], 2
jb 0x1400c143f
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.140040778
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x1400c0dbb
mov rax, qword [0x140173048]
cmp rax, r12
je 0x1400c14bb
test byte [rax + 0x1c], 4
je 0x1400c14bb
cmp byte [rax + 0x19], 5
jb 0x1400c14bb
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea r8, [0x140159dc8]
mov edx, 0xf4
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000c354
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.1400beff4
mov esi, eax
xor eax, eax
test esi, esi
je 0x1400c1523
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1400c1516
test byte [rcx + 0x1c], 4
je 0x1400c1516
cmp byte [rcx + 0x19], 2
jb 0x1400c1516
mov eax, dword [rdi]
lea r8, [0x140159dc8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf5
mov r9d, esi
mov dword [rsp + 0x20], eax
call fcn.140040778
mov rcx, rbx
call fcn.1400cb870
jmp 0x1400c0afc
cmp byte [rsp + 0x40], al
jne 0x1400c15b1
cmp byte [rsp + 0x41], al
jne 0x1400c15b1
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_RtlNumberOfSetBits]
nop dword [rax + rax]
mov r9d, eax
mov rax, qword [rsp + 0x60]
shl r9, 0x10
mov qword [rax], r9
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1400c15ad
test byte [rcx + 0x1c], 4
je 0x1400c1587
cmp byte [rcx + 0x19], 4
jb 0x1400c1587
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, 0xf7
call fcn.140040ae4
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1400c15ad
test byte [rcx + 0x1c], 4
je 0x1400c15ad
cmp byte [rcx + 0x19], 4
jb 0x1400c15ad
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, pe_nt_image_headers64
call fcn.14000c328
xor eax, eax
jmp 0x1400c1603
lea r8, [0x140150944]
mov edx, 0x14a0
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.1400906e0
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x1400c15f6
test byte [rcx + 0x1c], 4
je 0x1400c15f6
cmp byte [rcx + 0x19], 2
jb 0x1400c15f6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140159dc8]
mov edx, 0xf6
call fcn.14000c328
mov rcx, rbx
call fcn.1400cb870
mov eax, 2
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140007410
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret