Function at 0x1400bd334
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14016f608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rax, qword [rbp + 0x258]
xor edx, edx
mov r12, qword [rbp + 0x250]
mov r13b, r8b
mov rbx, qword [rbp + 0x260]
mov r8, rcx
mov r14, qword [rbp + 0x268]
mov r15b, r9b
mov rdi, qword [rbp + 0x270]
mov rsi, qword [rax]
mov qword [rsp + 0x48], rcx
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x50], edx
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd3fa
test byte [rcx + 0x1c], 4
je 0x1400bd3fa
cmp byte [rcx + 0x19], 4
jb 0x1400bd3fa
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xdd
call fcn.1400049d8
mov r8, qword [rsp + 0x48]
xor edx, edx
mov qword [r12], rdx
mov qword [rbx], rdx
mov qword [r14], rdx
mov dword [rdi], edx
mov rcx, qword [0x14016f048]
lea rbx, [0x14016f048]
mov r14b, 5
cmp rcx, rbx
je 0x1400bd4da
test byte [rcx + 0x1c], 4
je 0x1400bd44b
cmp byte [rcx + 0x19], r14b
jb 0x1400bd44b
mov rcx, qword [rcx + 0x10]
mov r9, r8
lea r8, [0x14014f138]
mov edx, 0xde
call fcn.1400058d8
mov rcx, qword [0x14016f048]
cmp rcx, rbx
je 0x1400bd4da
test byte [rcx + 0x1c], 4
je 0x1400bd47f
cmp byte [rcx + 0x19], r14b
jb 0x1400bd47f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xdf
xor r9d, r9d
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, rbx
je 0x1400bd4da
test byte [rcx + 0x1c], 4
je 0x1400bd4b0
cmp byte [rcx + 0x19], r14b
jb 0x1400bd4b0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
movzx r9d, r13b
mov edx, 0xe0
call fcn.1400049f8
mov rcx, qword [0x14016f048]
cmp rcx, rbx
je 0x1400bd4da
test byte [rcx + 0x1c], 4
je 0x1400bd4da
cmp byte [rcx + 0x19], r14b
jb 0x1400bd4da
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
movzx r9d, r15b
mov edx, 0xe1
call fcn.1400049f8
lea r12, [rsi + 0xa0]
mov qword [r12 + 8], r12
lea rax, [rsi + 0x70]
mov qword [r12], r12
mov qword [rax + 8], rax
mov qword [rax], rax
test r13b, r13b
jne 0x1400bdf53
xor r13d, r13d
test r15b, r15b
jne 0x1400bdf53
mov r15, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, r15
mov r8, rdi
call fcn.1400aeee4
mov r14d, eax
test eax, eax
je 0x1400bd56c
mov rcx, qword [0x14016f048]
cmp rcx, rbx
je 0x1400bd564
test byte [rcx + 0x1c], 4
je 0x1400bd564
lea ebx, [r13 + 2]
cmp byte [rcx + 0x19], bl
jb 0x1400bd564
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe2
mov dword [rsp + 0x28], eax
mov r9, r15
mov dword [rsp + 0x20], r14d
call fcn.14001017c
mov eax, r14d
jmp 0x1400bdf5e
mov ebx, 3
mov qword [rsp + 0x30], r13
mov r8d, ebx
mov dword [rsp + 0x28], 0x60000000
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov edx, 0x80000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400bd5ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400bd5e2
test byte [rcx + 0x1c], 4
je 0x1400bd5e2
cmp byte [rcx + 0x19], 4
jb 0x1400bd5e2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xe3
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140005938
mov eax, 6
jmp 0x1400bdf5e
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd623
test byte [rcx + 0x1c], 4
je 0x1400bd623
cmp byte [rcx + 0x19], 4
jb 0x1400bd623
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xe4
mov r9, r14
call fcn.14000fcd0
mov r13d, dword [rsp + 0x50]
lea eax, [r13 - 2]
cmp eax, 1
ja 0x1400bd69f
mov rdx, rdi
mov rcx, r14
call fcn.1400acfa8
mov r15d, eax
test eax, eax
je 0x1400bd69f
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd684
test byte [rcx + 0x1c], 4
je 0x1400bd684
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd684
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xe5
mov r9d, r15d
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]
mov eax, r15d
jmp 0x1400bdf5e
mov al, byte [rbp + 0x230]
cmp r13d, 1
je 0x1400bd6b5
cmp r13d, 4
jne 0x1400bd767
test al, al
jne 0x1400bd767
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 r15d, eax
test eax, eax
jne 0x1400bd68e
mov rcx, qword [0x14016f048]
lea r15, [0x14016f048]
cmp rcx, r15
je 0x1400bd75d
test byte [rcx + 0x1c], 4
je 0x1400bd728
cmp byte [rcx + 0x19], 5
jb 0x1400bd728
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0xe6
lea r8, [0x14014f138]
call fcn.1400058d8
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400bd75d
test byte [rcx + 0x1c], 4
je 0x1400bd75d
cmp byte [rcx + 0x19], 5
jb 0x1400bd75d
mov rax, qword [rsp + 0x58]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov r9, rax
mov edx, 0xe7
mov qword [rsp + 0x40], rax
call fcn.14000fcd0
jmp 0x1400bd767
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rdx, rdi
mov rcx, r14
call fcn.1400b1320
mov r15d, eax
test eax, eax
je 0x1400bd7d2
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd68e
test byte [rcx + 0x1c], 4
je 0x1400bd68e
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd68e
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov r9, qword [rsp + 0x48]
mov edx, 0xe8
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
call fcn.14001017c
jmp 0x1400bd68e
mov rax, qword [rsp + 0x40]
cmp rax, 0xffffffffffffffff
je 0x1400bd83a
mov rdx, rdi
mov rcx, rax
call fcn.1400b1320
mov r15d, eax
test eax, eax
je 0x1400bd83a
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd830
test byte [rcx + 0x1c], 4
je 0x1400bd830
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd830
mov edx, 0xe9
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov r9d, r15d
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, qword [rsp + 0x40]
jmp 0x1400bd688
lea r9, [rbp - 0x78]
mov r8, rdi
mov rcx, r14
call fcn.1400af074
xor ecx, ecx
mov r15d, eax
test eax, eax
je 0x1400bd87c
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd830
test byte [rcx + 0x1c], 4
je 0x1400bd830
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd830
mov edx, 0xea
jmp 0x1400bd817
mov r9d, dword [rbp - 0x68]
imul r9d, dword [rbp - 0x64]
cmp r9d, 0x10000
jbe 0x1400bd8f0
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd8c6
test byte [rcx + 0x1c], 4
je 0x1400bd8c6
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd8c6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xeb
call fcn.1400049f8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15b, byte [rbp + 0x230]
neg r15b
sbb eax, eax
neg eax
add eax, 0x1f
jmp 0x1400bdf5e
mov r15b, byte [rbp + 0x230]
mov dword [rsi + 0x4c], r13d
test r15b, r15b
jne 0x1400bd9a7
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rbp - 0x60], rax
mov edx, 0x4d0018
mov qword [rbp - 0x58], rax
mov rcx, r14
lea rax, [rsp + 0x54]
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]
test eax, eax
jne 0x1400bd95c
cmp r13d, 1
je 0x1400bd952
cmp r13d, 4
jne 0x1400bd95c
mov ebx, 6
jmp 0x1400bdbbf
mov rax, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rax, rdx
je 0x1400bd9a5
test byte [rax + 0x1c], 4
je 0x1400bd9a5
cmp byte [rax + 0x19], bl
jb 0x1400bd9a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov r9, qword [rsp + 0x48]
mov edx, 0xec
mov dword [rsp + 0x20], eax
mov rcx, qword [rcx + 0x10]
call fcn.140005938
xor ecx, ecx
mov rax, qword [rsp + 0x48]
or rdx, 0xffffffffffffffff
mov byte [rsi + 0x10], cl
inc rdx
cmp word [rax + rdx*2], cx
jne 0x1400bd9b3
lea rdx, [rdx*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rsp + 0x48]
or rdx, 0xffffffffffffffff
xor r8d, r8d
mov qword [rsi + 0x18], rax
inc rdx
cmp word [rcx + rdx*2], r8w
jne 0x1400bd9dc
mov r8, rcx
inc rdx
mov rcx, rax
call fcn.140039dd4
xor edx, edx
test eax, eax
jns 0x1400bda02
lea ebx, [rdx + 2]
jmp 0x1400bdbbf
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x28], rax
mov al, r15b
neg al
mov qword [rsi + 0x20], r14
movups xmm0, xmmword [rbp - 0x60]
sbb cl, cl
and cl, byte [rbp + 0x248]
movdqu xmmword [rsi + 0x30], xmm0
mov byte [rsi + 0xb8], cl
cmp r13d, 1
je 0x1400bda50
cmp r13d, 4
je 0x1400bda50
mov r9d, dword [rbp - 0x68]
mov eax, dword [rbp - 0x64]
imul r9, rax
imul r9, qword [rbp - 0x78]
mov qword [rsi + 0x40], r9
jmp 0x1400bdafd
mov qword [rsp + 0x38], rdx
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 0x1400bdaf1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
mov esi, 0xd
cmp rcx, rax
je 0x1400bdaea
test byte [rcx + 0x1c], 4
je 0x1400bdaea
lea ebx, [rsi - 0xb]
cmp byte [rcx + 0x19], bl
jb 0x1400bdaea
mov r8d, dword [rdi]
mov edx, 0xed
mov rcx, qword [rcx + 0x10]
mov r9d, esi
mov dword [rsp + 0x20], r8d
lea r8, [0x14014f138]
call fcn.1400ac23c
mov eax, esi
jmp 0x1400bdf5e
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x40], rax
mov r9, rax
mov eax, dword [rbp - 0x64]
mov dword [rsi + 0xb0], eax
mov eax, dword [rbp - 0x68]
imul eax, dword [rbp - 0x64]
mov dword [rsi + 0xb4], eax
mov r8, qword [0x14016f048]
lea rax, [0x14016f048]
mov rcx, r9
cmp r8, rax
je 0x1400bdb60
test byte [r8 + 0x1c], 4
je 0x1400bdb60
cmp byte [r8 + 0x19], 4
jb 0x1400bdb60
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 [rsi + 0x40]
add rcx, 0xffff
mov rax, rcx
cqo
movzx edx, dx
add rax, rdx
movabs rdx, 0x1000000000000
sar rax, 0x10
cmp rcx, rdx
jl 0x1400bdb95
mov dword [rdi], 0x57
mov ebx, 2
jmp 0x1400bde08
mov dword [rsi + 0x48], eax
xor ecx, ecx
add rax, 0x1f
cqo
and edx, 0x1f
add rdx, rax
sar rdx, 5
shl edx, 2
mov dword [rsi + 0x50], edx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x1400bdbcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
jmp 0x1400bde08
mov r8d, dword [rsi + 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 0x1400bdce4
mov edx, dword [rbp - 0x68]
lea r9, [0x1400ae320]
imul edx, dword [rbp - 0x64]
or r8, 0xffffffffffffffff
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
call fcn.1400ae448
xor r13d, r13d
mov r9d, eax
test eax, eax
jne 0x1400bdc6f
mov rcx, r12
call fcn.1400ae81c
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bdd25
test byte [rcx + 0x1c], 4
je 0x1400bdd25
cmp byte [rcx + 0x19], 4
jb 0x1400bdd25
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf0
call fcn.1400049d8
jmp 0x1400bdd25
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bdca8
test byte [rcx + 0x1c], 4
je 0x1400bdca8
cmp byte [rcx + 0x19], bl
jb 0x1400bdca8
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xef
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov dword [rdi], r13d
jmp 0x1400bdccd
cmp qword [rax + 8], r12
jne 0x1400bdcdf
mov rcx, qword [rax]
cmp qword [rcx + 8], rax
jne 0x1400bdcdf
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 0x1400bdcad
lea r12, [0x14016f048]
jmp 0x1400bdd25
mov rcx, rbx
int 0x29
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bdd18
test byte [rcx + 0x1c], 4
je 0x1400bdd18
cmp byte [rcx + 0x19], 4
jb 0x1400bdd18
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf1
call fcn.1400049d8
cmp r13d, 4
jne 0x1400bde6e
xor r13d, r13d
test r15b, r15b
jne 0x1400bde6e
mov edx, dword [rsi + 0x50]
xor ecx, ecx
shl edx, 2
mov qword [rsi + 0x60], r13
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsi + 0x68], rax
mov rcx, rax
test rax, rax
jne 0x1400bdd63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400bde08
mov r8d, dword [rsi + 0x50]
xor edx, edx
shl r8d, 2
call sub.msvcrt.dll_memset
mov r8d, dword [rsi + 0x48]
lea rcx, [rsp + 0x68]
mov rdx, qword [rsi + 0x68]
shl r8d, 2
call qword [sym.imp.ntdll.dll_RtlInitializeBitMap]
mov r9d, dword [rbp - 0x68]
lea rcx, [rsp + 0x68]
mov rax, qword [rsp + 0x48]
xor r8d, r8d
imul r9d, dword [rbp - 0x64]
mov dl, 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400af980
mov r15d, eax
test eax, eax
je 0x1400bde2c
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bddf1
test byte [rcx + 0x1c], 4
je 0x1400bddf1
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bddf1
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf3
mov r9d, r15d
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, qword [rsi + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, r15d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x1400bdf5e
mov rax, qword [0x14016f048]
cmp rax, r12
je 0x1400bde6e
test byte [rax + 0x1c], 4
je 0x1400bde6e
cmp byte [rax + 0x19], 5
jb 0x1400bde6e
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 rcx, rsi
imul r8d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rdi
call fcn.1400bfd1c
mov r14d, eax
test eax, eax
je 0x1400bdedb
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bdece
test byte [rcx + 0x1c], 4
je 0x1400bdece
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bdece
mov eax, dword [rdi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf5
mov r9d, r14d
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, rsi
call fcn.1400b9c24
jmp 0x1400bd564
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 0x1400bdf4f
test byte [rcx + 0x1c], 4
je 0x1400bdf29
cmp byte [rcx + 0x19], 4
jb 0x1400bdf29
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf7
call fcn.14000fcd0
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bdf4f
test byte [rcx + 0x1c], 4
je 0x1400bdf4f
cmp byte [rcx + 0x19], 4
jb 0x1400bdf4f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, pe_nt_image_headers64
call fcn.1400049d8
xor eax, eax
jmp 0x1400bdf5e
mov dword [rdi], 0x57
mov eax, 2
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14013e2a0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret