Function at 0x1400bd32c
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 rsi, qword [rbp + 0x270]
mov rdi, 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 0x1400bd3f2
test byte [rcx + 0x1c], 4
je 0x1400bd3f2
cmp byte [rcx + 0x19], 4
jb 0x1400bd3f2
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 [rsi], edx
mov rcx, qword [0x14016f048]
lea rbx, [0x14016f048]
mov r14b, 5
cmp rcx, rbx
je 0x1400bd4d2
test byte [rcx + 0x1c], 4
je 0x1400bd443
cmp byte [rcx + 0x19], r14b
jb 0x1400bd443
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 0x1400bd4d2
test byte [rcx + 0x1c], 4
je 0x1400bd477
cmp byte [rcx + 0x19], r14b
jb 0x1400bd477
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 0x1400bd4d2
test byte [rcx + 0x1c], 4
je 0x1400bd4a8
cmp byte [rcx + 0x19], r14b
jb 0x1400bd4a8
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 0x1400bd4d2
test byte [rcx + 0x1c], 4
je 0x1400bd4d2
cmp byte [rcx + 0x19], r14b
jb 0x1400bd4d2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
movzx r9d, r15b
mov edx, 0xe1
call fcn.1400049f8
lea r12, [rdi + 0xa0]
mov qword [r12 + 8], r12
lea rax, [rdi + 0x70]
mov qword [r12], r12
mov qword [rax + 8], rax
mov qword [rax], rax
test r13b, r13b
jne 0x1400bdf40
xor r13d, r13d
test r15b, r15b
jne 0x1400bdf40
mov r15, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, r15
mov r8, rsi
call fcn.1400aeee4
mov r14d, eax
test eax, eax
je 0x1400bd564
mov rcx, qword [0x14016f048]
cmp rcx, rbx
je 0x1400bd55c
test byte [rcx + 0x1c], 4
je 0x1400bd55c
lea ebx, [r13 + 2]
cmp byte [rcx + 0x19], bl
jb 0x1400bd55c
mov eax, dword [rsi]
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 0x1400bdf4b
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 0x1400bd5e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400bd5da
test byte [rcx + 0x1c], 4
je 0x1400bd5da
cmp byte [rcx + 0x19], 4
jb 0x1400bd5da
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 0x1400bdf4b
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd61b
test byte [rcx + 0x1c], 4
je 0x1400bd61b
cmp byte [rcx + 0x19], 4
jb 0x1400bd61b
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 0x1400bd697
mov rdx, rsi
mov rcx, r14
call fcn.1400acfa8
mov r15d, eax
test eax, eax
je 0x1400bd697
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd67c
test byte [rcx + 0x1c], 4
je 0x1400bd67c
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd67c
mov eax, dword [rsi]
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 0x1400bdf4b
mov al, byte [rbp + 0x230]
cmp r13d, 1
je 0x1400bd6ad
cmp r13d, 4
jne 0x1400bd75f
test al, al
jne 0x1400bd75f
xor edx, edx
lea rcx, [rbp - 0x50]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1400b164c
mov r15d, eax
test eax, eax
jne 0x1400bd686
mov rcx, qword [0x14016f048]
lea r15, [0x14016f048]
cmp rcx, r15
je 0x1400bd755
test byte [rcx + 0x1c], 4
je 0x1400bd720
cmp byte [rcx + 0x19], 5
jb 0x1400bd720
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 0x1400bd755
test byte [rcx + 0x1c], 4
je 0x1400bd755
cmp byte [rcx + 0x19], 5
jb 0x1400bd755
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 0x1400bd75f
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov rcx, r14
call fcn.1400b1320
mov r15d, eax
test eax, eax
je 0x1400bd7ca
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd686
test byte [rcx + 0x1c], 4
je 0x1400bd686
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd686
mov eax, dword [rsi]
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 0x1400bd686
mov rax, qword [rsp + 0x40]
cmp rax, 0xffffffffffffffff
je 0x1400bd832
mov rdx, rsi
mov rcx, rax
call fcn.1400b1320
mov r15d, eax
test eax, eax
je 0x1400bd832
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd828
test byte [rcx + 0x1c], 4
je 0x1400bd828
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd828
mov edx, 0xe9
mov eax, dword [rsi]
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 0x1400bd680
lea r9, [rbp - 0x78]
mov r8, rsi
mov rcx, r14
call fcn.1400af074
xor ecx, ecx
mov r15d, eax
test eax, eax
je 0x1400bd874
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd828
test byte [rcx + 0x1c], 4
je 0x1400bd828
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd828
mov edx, 0xea
jmp 0x1400bd80f
mov r9d, dword [rbp - 0x68]
imul r9d, dword [rbp - 0x64]
cmp r9d, 0x10000
jbe 0x1400bd8e8
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bd8be
test byte [rcx + 0x1c], 4
je 0x1400bd8be
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bd8be
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 0x1400bdf4b
mov r15b, byte [rbp + 0x230]
mov dword [rdi + 0x4c], r13d
test r15b, r15b
jne 0x1400bd99f
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 0x1400bd954
cmp r13d, 1
je 0x1400bd94a
cmp r13d, 4
jne 0x1400bd954
mov ebx, 6
jmp 0x1400bdbac
mov rax, qword [0x14016f048]
lea rcx, [0x14016f048]
cmp rax, rcx
je 0x1400bd99d
test byte [rax + 0x1c], 4
je 0x1400bd99d
cmp byte [rax + 0x19], bl
jb 0x1400bd99d
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 [rdi + 0x10], cl
inc rdx
cmp word [rax + rdx*2], cx
jne 0x1400bd9ab
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 [rdi + 0x18], rax
inc rdx
cmp word [rcx + rdx*2], r8w
jne 0x1400bd9d4
mov r8, rcx
inc rdx
mov rcx, rax
call fcn.140039dd4
xor edx, edx
test eax, eax
jns 0x1400bd9fa
lea ebx, [rdx + 2]
jmp 0x1400bdbac
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x28], rax
mov al, r15b
neg al
mov qword [rdi + 0x20], r14
movups xmm0, xmmword [rbp - 0x60]
sbb cl, cl
and cl, byte [rbp + 0x248]
movdqu xmmword [rdi + 0x30], xmm0
mov byte [rdi + 0xb8], cl
cmp r13d, 1
je 0x1400bda48
cmp r13d, 4
je 0x1400bda48
mov r9d, dword [rbp - 0x68]
mov eax, dword [rbp - 0x64]
imul r9, rax
imul r9, qword [rbp - 0x78]
mov qword [rdi + 0x40], r9
jmp 0x1400bdaf5
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 0x1400bdae9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
mov edi, 0xd
cmp rcx, rax
je 0x1400bdae2
test byte [rcx + 0x1c], 4
je 0x1400bdae2
lea ebx, [rdi - 0xb]
cmp byte [rcx + 0x19], bl
jb 0x1400bdae2
mov r8d, dword [rsi]
mov edx, 0xed
mov rcx, qword [rcx + 0x10]
mov r9d, edi
mov dword [rsp + 0x20], r8d
lea r8, [0x14014f138]
call fcn.1400ac23c
mov eax, edi
jmp 0x1400bdf4b
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x40], rax
mov r9, rax
mov eax, dword [rbp - 0x64]
mov dword [rdi + 0xb0], eax
mov eax, dword [rbp - 0x68]
imul eax, dword [rbp - 0x64]
mov dword [rdi + 0xb4], eax
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
mov rax, r9
cmp rcx, rdx
je 0x1400bdb56
test byte [rcx + 0x1c], 4
je 0x1400bdb56
cmp byte [rcx + 0x19], 4
jb 0x1400bdb56
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.1400ac734
mov rax, qword [rdi + 0x40]
add rax, 0xffff
mov ecx, 0xffffffff
cqo
movzx edx, dx
add rax, rdx
sar rax, 0x10
cmp rax, rcx
jle 0x1400bdb82
mov dword [rsi], 0x57
mov ebx, 2
jmp 0x1400bddf5
mov dword [rdi + 0x48], eax
xor ecx, ecx
add rax, 0x1f
cqo
and edx, 0x1f
add rdx, rax
sar rdx, 5
shl edx, 2
mov dword [rdi + 0x50], edx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x1400bdbb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
jmp 0x1400bddf5
mov r8d, dword [rdi + 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 0x1400bdcd1
mov edx, dword [rbp - 0x68]
lea r9, [0x1400ae320]
imul edx, dword [rbp - 0x64]
or r8, 0xffffffffffffffff
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
call fcn.1400ae448
xor r13d, r13d
mov r9d, eax
test eax, eax
jne 0x1400bdc5c
mov rcx, r12
call fcn.1400ae81c
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bdd12
test byte [rcx + 0x1c], 4
je 0x1400bdd12
cmp byte [rcx + 0x19], 4
jb 0x1400bdd12
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf0
call fcn.1400049d8
jmp 0x1400bdd12
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400bdc95
test byte [rcx + 0x1c], 4
je 0x1400bdc95
cmp byte [rcx + 0x19], bl
jb 0x1400bdc95
mov eax, dword [rsi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xef
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov dword [rsi], r13d
jmp 0x1400bdcba
cmp qword [rax + 8], r12
jne 0x1400bdccc
mov rcx, qword [rax]
cmp qword [rcx + 8], rax
jne 0x1400bdccc
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 0x1400bdc9a
lea r12, [0x14016f048]
jmp 0x1400bdd12
mov rcx, rbx
int 0x29
mov rcx, qword [0x14016f048]
lea r12, [0x14016f048]
cmp rcx, r12
je 0x1400bdd05
test byte [rcx + 0x1c], 4
je 0x1400bdd05
cmp byte [rcx + 0x19], 4
jb 0x1400bdd05
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf1
call fcn.1400049d8
cmp r13d, 4
jne 0x1400bde5b
xor r13d, r13d
test r15b, r15b
jne 0x1400bde5b
mov edx, dword [rdi + 0x50]
xor ecx, ecx
shl edx, 2
mov qword [rdi + 0x60], r13
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 0x68], rax
mov rcx, rax
test rax, rax
jne 0x1400bdd50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400bddf5
mov r8d, dword [rdi + 0x50]
xor edx, edx
shl r8d, 2
call sub.msvcrt.dll_memset
mov r8d, dword [rdi + 0x48]
lea rcx, [rsp + 0x68]
mov rdx, qword [rdi + 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], rsi
mov qword [rsp + 0x20], rax
call fcn.1400af980
mov r15d, eax
test eax, eax
je 0x1400bde19
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bddde
test byte [rcx + 0x1c], 4
je 0x1400bddde
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bddde
mov eax, dword [rsi]
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 [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, r15d
mov rcx, rdi
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 0x1400bdf4b
mov rax, qword [0x14016f048]
cmp rax, r12
je 0x1400bde5b
test byte [rax + 0x1c], 4
je 0x1400bde5b
cmp byte [rax + 0x19], 5
jb 0x1400bde5b
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, rdi
imul r8d, dword [rbp - 0x64]
mov r9, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rsi
call fcn.1400bfd0c
mov r14d, eax
test eax, eax
je 0x1400bdec8
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bdebb
test byte [rcx + 0x1c], 4
je 0x1400bdebb
mov ebx, 2
cmp byte [rcx + 0x19], bl
jb 0x1400bdebb
mov eax, dword [rsi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf5
mov r9d, r14d
mov dword [rsp + 0x20], eax
call fcn.14000fa80
mov rcx, rdi
call fcn.1400b9c24
jmp 0x1400bd55c
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 0x1400bdf3c
test byte [rcx + 0x1c], 4
je 0x1400bdf16
cmp byte [rcx + 0x19], 4
jb 0x1400bdf16
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0xf7
call fcn.14000fcd0
mov rcx, qword [0x14016f048]
cmp rcx, r12
je 0x1400bdf3c
test byte [rcx + 0x1c], 4
je 0x1400bdf3c
cmp byte [rcx + 0x19], 4
jb 0x1400bdf3c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, pe_nt_image_headers64
call fcn.1400049d8
xor eax, eax
jmp 0x1400bdf4b
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14013e290
mov rbx, qword [rsp + 0x318]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret