Function at 0x1800de310
Capabilities:
Get disk information
Get disk size
Get storage device properties

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
movaps xmmword [rsp + 0x460], xmm6
mov r12, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov rcx, r15
call qword [sym.imp.kernel32.dll_GetDriveTypeW]
mov ebx, eax
and eax, 0xfffffffe
cmp eax, 2
jne 0x1800de516
lea rdi, [rsp + 0x256]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.1800f9370
xorps xmm6, xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov dword [rsp + 0x38], 0x20
mov rcx, r15
mov rdx, rdi
mov r8d, 0x105
xor r9d, r9d
call qword [sym.imp.kernel32.dll_GetVolumeInformationW]
test eax, eax
je 0x1800de529
mov qword [rsp + 0x68], r15
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800de3e7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800dee20
mov rcx, rax
mov qword [0x18016cb80], rax
mov r8d, 0x208
mov edx, 8
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800dee20
mov r14, rax
mov dword [rsp + 0xc8], ebx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], r12
mov dword [rsp + 0xf0], 0
mov r12d, 0x104
mov ebp, 0xa
lea rdi, [rsp + 0xf0]
mov r13, qword [sym.imp.kernel32.dll_GetVolumePathNamesForVolumeNameW]
jmp 0x1800de44e
mov r14, r15
mov r12, rsi
dec ebp
je 0x1800de544
mov r15, qword [rsp + 0x68]
mov rcx, r15
mov rdx, r14
mov r8d, r12d
mov r9, rdi
call r13
test eax, eax
jne 0x1800de53e
call sub.kernel32.dll_GetLastError
call sub.kernel32.dll_GetLastError
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x800700ea
jne 0x1800de793
mov esi, dword [rsp + 0xf0]
test rsi, rsi
je 0x1800de4f0
lea rbx, [rsi + rsi]
mov rax, qword [0x18016cb80]
test rax, rax
jne 0x1800de4c0
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800dede4
mov qword [0x18016cb80], rax
mov rcx, rax
mov edx, 8
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x1800dede4
test r12, r12
jne 0x1800de4ff
jmp 0x1800de440
mov r15d, 2
test r12, r12
je 0x1800de440
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800de440
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
jmp 0x1800de801
call sub.kernel32.dll_GetLastError
mov qword [rsi], 8
movups xmmword [rsi + 8], xmm6
jmp 0x1800de801
mov rsi, r12
mov r15, r14
mov qword [rsp + 0x190], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x198], xmm0
test rsi, rsi
je 0x1800de7b4
mov edx, 8
xor edi, edi
mov r13, r15
jmp 0x1800de5c2
lea rcx, [rsp + 0x190]
mov rdx, rdi
call fcn.1800ddc20
mov rdx, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x1a0]
mov rax, rsi
sub rax, r12
sub r13, rbx
lea rcx, [rdi + rdi*2]
mov qword [rdx + rcx*8], rbp
mov qword [rdx + rcx*8 + 8], r12
mov qword [rdx + rcx*8 + 0x10], r12
inc rdi
mov qword [rsp + 0x1a0], rdi
cmp rsi, r12
mov rsi, rax
je 0x1800de6ca
cmp word [r13], 0
je 0x1800de6ca
mov qword [rsp + 0x48], rdi
lea rax, [rsi + rsi]
neg rax
mov ecx, 1
mov rbx, 0xfffffffffffffffe
nop word cs:[rax + rax]
cmp rax, rbx
je 0x1800df302
lea r12, [rcx + 1]
add rbx, 0xfffffffffffffffe
cmp word [r13 + rcx*2], 0
mov rcx, r12
jne 0x1800de5f0
lea rax, [r12 - 2]
xor edi, edi
movabs rcx, 0x3ffffffffffffffe
cmp rax, rcx
setb al
jae 0x1800df302
mov r14, rbx
neg r14
mov dil, al
add rdi, rdi
test rbx, rbx
mov qword [rsp + 0xd0], rdx
je 0x1800de690
movzx eax, byte [0x18016cbc0]
mov rax, qword [0x18016cb80]
test rax, rax
jne 0x1800de66c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800dedf3
mov qword [0x18016cb80], rax
mov rcx, rax
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rbp, rax
test rbp, rbp
jne 0x1800de69c
jmp 0x1800dedf3
mov rbp, rdi
test rbp, rbp
je 0x1800dedf3
mov rcx, rbp
mov rdx, r13
mov r8, r14
call fcn.1800f8be0
mov rdi, qword [rsp + 0x48]
cmp rdi, qword [rsp + 0x198]
je 0x1800de570
mov rdx, qword [rsp + 0xd0]
jmp 0x1800de590
mov r13, qword [rsp + 0x190]
mov rbp, qword [rsp + 0x198]
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
test rdi, rdi
mov r14, qword [rsp + 0x60]
je 0x1800de7c3
mov qword [rsp + 0x48], rdi
mov r12, qword [rsp + 0x58]
mov rsi, qword [r12 + 0x10]
cmp rsi, 1
mov r15, qword [rsp + 0x68]
jbe 0x1800df302
movabs rax, 0x3ffffffffffffffe
add rax, 3
xor edi, edi
cmp rsi, rax
setb al
jae 0x1800df302
mov dil, al
add rdi, rdi
lea rbx, [rsi + rsi]
add rbx, 0xfffffffffffffffe
test rbx, rbx
je 0x1800de837
movzx eax, byte [0x18016cbc0]
mov rcx, qword [0x18016cb80]
test rcx, rcx
jne 0x1800de777
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800df324
mov rcx, rax
mov qword [0x18016cb80], rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rcx, rax
test rcx, rcx
jne 0x1800de843
jmp 0x1800df324
mov r13d, 8
test r12, r12
je 0x1800de7cf
mov rcx, qword [0x18016cb80]
xor ebp, ebp
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800de7d1
mov r13d, 8
xor ebp, ebp
mov r15, qword [rsp + 0x68]
jmp 0x1800de7d1
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
jmp 0x1800de7db
xor ebp, ebp
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov qword [r14], 8
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
test rbp, rbp
je 0x1800de801
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [r12 + 8], 0
je 0x1800de81b
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x460]
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
test rcx, rcx
je 0x1800df324
mov rax, rsi
add rax, 0xfffffffffffffffe
je 0x1800de8b6
movabs rdx, 0x7ffffffffffffffd
lea rax, [rsi + rdx]
or rdx, 2
and rdx, rax
xor eax, eax
cmp rdx, 0xf
mov rdi, qword [rsp + 0x48]
jb 0x1800de8bf
mov r8, rcx
sub r8, r15
mov r9, r15
cmp r8, 0x20
jb 0x1800de8c2
inc rdx
mov rax, rdx
and rax, 0xfffffffffffffff0
lea r9, [r15 + rax*2]
xor r8d, r8d
nop
movups xmm0, xmmword [r15 + r8*2]
movups xmm1, xmmword [r15 + r8*2 + 0x10]
movups xmmword [rcx + r8*2], xmm0
movups xmmword [rcx + r8*2 + 0x10], xmm1
add r8, 0x10
cmp rax, r8
jne 0x1800de890
cmp rdx, rax
jne 0x1800de8c2
jmp 0x1800de8e5
xor eax, eax
mov rdi, qword [rsp + 0x48]
jmp 0x1800de8e5
mov r9, r15
lea rdx, [r15 + rsi*2]
add rdx, 0xfffffffffffffffc
nop word [rax + rax]
movzx r8d, word [r9]
add r9, 2
mov word [rcx + rax*2], r8w
inc rax
cmp r9, rdx
jne 0x1800de8d0
mov word [rcx + rax*2], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov qword [rsp + 0xd8], rcx
xor edx, edx
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.kernel32.dll_CreateFileW]
mov rsi, rax
inc rax
cmp rax, 2
jae 0x1800de942
call sub.kernel32.dll_GetLastError
mov qword [r14], 8
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
jmp 0x1800deacb
mov rcx, qword [r13]
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0x190], 0
lea r8, [rsp + 0xf0]
lea r9, [rsp + 0x190]
xor edx, edx
call qword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1800deaa5
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x168], rax
test rax, rax
je 0x1800deaaa
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x180], 7
mov byte [rsp + 0x188], 0
mov dword [rsp + 0x118], 0
mov qword [rsp + 0x110], 0
mov dword [rsp + 0x74], 0
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0xc
lea r8, [rsp + 0x180]
mov qword [rsp + 0x148], rsi
mov rcx, rsi
mov edx, 0x2d1400
mov r9d, 0xc
call qword [sym.imp.kernel32.dll_DeviceIoControl]
mov edi, eax
test eax, eax
jne 0x1800dea31
call sub.kernel32.dll_GetLastError
xor eax, eax
cmp byte [rsp + 0x118], 0
sete al
cmp dword [rsp + 0x74], 0xc
mov r8d, 2
cmovne rax, r8
test edi, edi
cmove rax, r8
mov qword [rsp + 0x150], rax
mov rsi, qword [rsp + 0x48]
cmp word [rsp + r8*2 + 0x252], 0
je 0x1800deb18
cmp word [rsp + r8*2 + 0x254], 0
je 0x1800deb1e
cmp word [rsp + r8*2 + 0x256], 0
je 0x1800deb21
add r8, 3
cmp r8, 0x107
jne 0x1800dea60
mov r8d, 0x105
jmp 0x1800deb21
call sub.kernel32.dll_GetLastError
mov qword [r14], 8
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1800deacb
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, qword [rsp + 0xd8]
call qword [sym.imp.kernel32.dll_HeapFree]
lea rsi, [r13 + 8]
jmp 0x1800deafd
add rsi, 0x18
dec rdi
je 0x1800de7ea
cmp qword [rsi], 0
je 0x1800deaf0
mov r8, qword [rsi - 8]
mov rcx, qword [0x18016cb80]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800deaf0
add r8, 0xfffffffffffffffe
jmp 0x1800deb21
dec r8
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x256]
call fcn.1800d2f50
cmp word [rsp + 0x80], 0
je 0x1800ded2c
cmp word [rsp + 0x82], 0
je 0x1800ded34
cmp word [rsp + 0x84], 0
je 0x1800ded3f
cmp word [rsp + 0x86], 0
je 0x1800ded4a
cmp word [rsp + 0x88], 0
je 0x1800ded55
cmp word [rsp + 0x8a], 0
je 0x1800ded60
cmp word [rsp + 0x8c], 0
je 0x1800ded6b
cmp word [rsp + 0x8e], 0
je 0x1800ded76
cmp word [rsp + 0x90], 0
je 0x1800ded81
cmp word [rsp + 0x92], 0
je 0x1800ded8c
cmp word [rsp + 0x94], 0
je 0x1800ded97
cmp word [rsp + 0x96], 0
je 0x1800deda2
cmp word [rsp + 0x98], 0
je 0x1800dedad
cmp word [rsp + 0x9a], 0
je 0x1800dedb8
cmp word [rsp + 0x9c], 0
je 0x1800dedc3
cmp word [rsp + 0x9e], 0
je 0x1800dedce
cmp word [rsp + 0xa0], 0
je 0x1800dedd9
cmp word [rsp + 0xa2], 0
je 0x1800dee00
cmp word [rsp + 0xa4], 0
je 0x1800dee08
cmp word [rsp + 0xa6], 0
je 0x1800dee10
cmp word [rsp + 0xa8], 0
je 0x1800dee18
cmp word [rsp + 0xaa], 0
je 0x1800dee31
cmp word [rsp + 0xac], 0
je 0x1800dee39
cmp word [rsp + 0xae], 0
je 0x1800dee41
cmp word [rsp + 0xb0], 0
je 0x1800dee49
cmp word [rsp + 0xb2], 0
je 0x1800dee51
cmp word [rsp + 0xb4], 0
je 0x1800dee59
cmp word [rsp + 0xb6], 0
je 0x1800dee61
cmp word [rsp + 0xb8], 0
je 0x1800dee69
cmp word [rsp + 0xba], 0
je 0x1800dee71
cmp word [rsp + 0xbc], 0
je 0x1800dee79
mov r8d, 0x20
cmp word [rsp + 0xbe], 0
mov rsi, qword [rsp + 0x48]
jne 0x1800dee84
mov r8d, 0x1f
jmp 0x1800dee84
xor r8d, r8d
jmp 0x1800dee84
mov r8d, 1
jmp 0x1800dee84
mov r8d, 2
jmp 0x1800dee84
mov r8d, 3
jmp 0x1800dee84
mov r8d, 4
jmp 0x1800dee84
mov r8d, 5
jmp 0x1800dee84
mov r8d, 6
jmp 0x1800dee84
mov r8d, 7
jmp 0x1800dee84
mov r8d, 8
jmp 0x1800dee84
mov r8d, 9
jmp 0x1800dee84
mov r8d, 0xa
jmp 0x1800dee84
mov r8d, 0xb
jmp 0x1800dee84
mov r8d, 0xc
jmp 0x1800dee7f
mov r8d, 0xd
jmp 0x1800dee7f
mov r8d, 0xe
jmp 0x1800dee7f
mov r8d, 0xf
jmp 0x1800dee7f
mov r8d, 0x10
jmp 0x1800dee7f
mov ecx, 2
mov rdx, rbx
call fcn.180106200
ud2
mov rcx, rdi
mov rdx, r14
call fcn.180106200
ud2
mov r8d, 0x11
jmp 0x1800dee7f
mov r8d, 0x12
jmp 0x1800dee7f
mov r8d, 0x13
jmp 0x1800dee7f
mov r8d, 0x14
jmp 0x1800dee7f
mov ecx, 2
mov edx, 0x208
call fcn.180106200
ud2
mov r8d, 0x15
jmp 0x1800dee7f
mov r8d, 0x16
jmp 0x1800dee7f
mov r8d, 0x17
jmp 0x1800dee7f
mov r8d, 0x18
jmp 0x1800dee7f
mov r8d, 0x19
jmp 0x1800dee7f
mov r8d, 0x1a
jmp 0x1800dee7f
mov r8d, 0x1b
jmp 0x1800dee7f
mov r8d, 0x1c
jmp 0x1800dee7f
mov r8d, 0x1d
jmp 0x1800dee7f
mov r8d, 0x1e
mov rsi, qword [rsp + 0x48]
cmp dword [rsp + 0xc8], 2
sete byte [rsp + 0x57]
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0x80]
call fcn.1800d2f50
lea rax, [rsi*8]
lea rcx, [rax + rax*2]
movabs rax, 0x1333333333333338
xor edi, edi
mov qword [rsp + 0x78], rcx
cmp rcx, rax
setb al
jae 0x1800df302
mov rcx, rsi
shl rcx, 5
mov dil, al
shl rdi, 3
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x130], rax
mov r14, qword [rsp + 0x240]
movzx eax, byte [rsp + 0x248]
mov byte [rsp + 0x56], al
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x138], rax
mov rsi, qword [rsp + 0x100]
movzx eax, byte [rsp + 0x108]
mov byte [rsp + 0x55], al
lea rbx, [rcx + rcx*4]
test rbx, rbx
je 0x1800def62
movzx eax, byte [0x18016cbc0]
mov rcx, rbx
mov rdx, rdi
call fcn.1800f7d90
jmp 0x1800def65
mov rax, rdi
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x140], rbp
test rax, rax
je 0x1800df324
add qword [rsp + 0x78], r13
mov qword [rsp + 0x120], r13
lea rbp, [r13 + 0x18]
xor r12d, r12d
mov qword [rsp + 0x128], rax
mov rsi, rax
nop dword [rax]
mov r15, qword [rbp - 0x18]
test r15, r15
je 0x1800df1da
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], r12
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov ebx, 1
mov r12d, 1
test r14, r14
mov r13, qword [rsp + 0x160]
je 0x1800df026
js 0x1800df302
movzx eax, byte [0x18016cbc0]
mov rax, qword [0x18016cb80]
test rax, rax
jne 0x1800df00c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800df306
mov qword [0x18016cb80], rax
mov rcx, rax
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x1800df306
mov qword [rsp + 0x178], rdi
mov rcx, r12
mov rdx, qword [rsp + 0xe8]
mov r8, r14
call fcn.1800f8be0
test r13, r13
je 0x1800df08f
js 0x1800df302
movzx eax, byte [0x18016cbc0]
mov rax, qword [0x18016cb80]
test rax, rax
jne 0x1800df075
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800df315
mov qword [0x18016cb80], rax
mov rcx, rax
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x1800df315
mov rdi, r12
mov r12, rbx
mov rbx, r15
mov rcx, r12
mov rdx, qword [rsp + 0xe0]
mov r8, r13
call fcn.1800f8be0
mov rax, qword [rsp + 0x178]
test rax, rax
je 0x1800df302
mov r15, r13
mov r13, rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x170], rax
lea r8, [r13 - 1]
lea rcx, [rsp + 0x1e0]
mov rdx, rbx
call fcn.1800d2f50
mov qword [rsp + 0x200], rbx
mov qword [rsp + 0x208], rsi
mov qword [rsp + 0x210], r13
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], 0xffffffffffffffff
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x1b0], r14
movzx eax, byte [rsp + 0x56]
mov byte [rsp + 0x1b8], al
mov qword [rsp + 0x1c0], r12
mov qword [rsp + 0x1c8], r15
mov qword [rsp + 0x1d0], r15
movzx eax, byte [rsp + 0x55]
mov byte [rsp + 0x1d8], al
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x220], rax
movzx eax, byte [rsp + 0x57]
mov byte [rsp + 0x228], al
mov r8d, 0xa0
mov rsi, qword [rsp + 0xc8]
mov rcx, rsi
lea rdx, [rsp + 0x190]
call fcn.1800f8be0
mov r12, qword [rsp + 0xd0]
inc r12
add rsi, 0xa0
add rbp, 0x18
mov rax, qword [rsp + 0x170]
add rax, 0x18
cmp rax, qword [rsp + 0x78]
jne 0x1800defa0
mov rbp, qword [rsp + 0x78]
cmp qword [rsp + 0x130], 0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
je 0x1800df206
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, qword [rsp + 0xe8]
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x138], 0
je 0x1800df228
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, qword [rsp + 0xe0]
call qword [sym.imp.kernel32.dll_HeapFree]
mov r8, qword [rsp + 0x78]
mov rax, r8
sub rax, rbp
movabs rcx, 0xaaaaaaaaaaaaaaab
mul rcx
cmp r8, rbp
je 0x1800df285
mov rdi, rdx
shr rdi, 4
add rbp, 8
jmp 0x1800df269
add rbp, 0x18
dec rdi
je 0x1800df285
cmp qword [rbp], 0
je 0x1800df260
mov r8, qword [rbp - 8]
mov rcx, qword [0x18016cb80]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800df260
cmp qword [rsp + 0x140], 0
je 0x1800df2a7
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, qword [rsp + 0x120]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rsp + 0x128]
mov qword [rbx], rax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r12
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1800df2d6
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x18016cb80]
xor edx, edx
mov r8, qword [rsp + 0xd8]
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsi + 8], 0
mov r15, qword [rsp + 0x68]
jne 0x1800de809
jmp 0x1800de81b
ud2
mov ecx, 1
mov rdx, r14
call fcn.180106200
ud2
mov ecx, 1
mov rdx, r13
call fcn.180106200
ud2
mov rcx, rdi
mov rdx, rbx
call fcn.180106200
ud2