Function at 0x1800ff190
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 0x1800ff396
lea rdi, [rsp + 0x256]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.18015b1d0
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 0x1800ff3a9
mov qword [rsp + 0x68], r15
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800ff267
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800ffca0
mov rcx, rax
mov qword [0x1801fd960], rax
mov r8d, 0x208
mov edx, 8
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800ffca0
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 0x1800ff2ce
mov r14, r15
mov r12, rsi
dec ebp
je 0x1800ff3c4
mov r15, qword [rsp + 0x68]
mov rcx, r15
mov rdx, r14
mov r8d, r12d
mov r9, rdi
call r13
test eax, eax
jne 0x1800ff3be
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 0x1800ff613
mov esi, dword [rsp + 0xf0]
test rsi, rsi
je 0x1800ff370
lea rbx, [rsi + rsi]
mov rax, qword [0x1801fd960]
test rax, rax
jne 0x1800ff340
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800ffc64
mov qword [0x1801fd960], rax
mov rcx, rax
mov edx, 8
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x1800ffc64
test r12, r12
jne 0x1800ff37f
jmp 0x1800ff2c0
mov r15d, 2
test r12, r12
je 0x1800ff2c0
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800ff2c0
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
jmp 0x1800ff681
call sub.kernel32.dll_GetLastError
mov qword [rsi], 8
movups xmmword [rsi + 8], xmm6
jmp 0x1800ff681
mov rsi, r12
mov r15, r14
mov qword [rsp + 0x190], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x198], xmm0
test rsi, rsi
je 0x1800ff634
mov edx, 8
xor edi, edi
mov r13, r15
jmp 0x1800ff442
lea rcx, [rsp + 0x190]
mov rdx, rdi
call fcn.18012b140
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 0x1800ff54a
cmp word [r13], 0
je 0x1800ff54a
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 0x180100182
lea r12, [rcx + 1]
add rbx, 0xfffffffffffffffe
cmp word [r13 + rcx*2], 0
mov rcx, r12
jne 0x1800ff470
lea rax, [r12 - 2]
xor edi, edi
movabs rcx, 0x3ffffffffffffffe
cmp rax, rcx
setb al
jae 0x180100182
mov r14, rbx
neg r14
mov dil, al
add rdi, rdi
test rbx, rbx
mov qword [rsp + 0xd0], rdx
je 0x1800ff510
movzx eax, byte [0x1801fd9d8]
mov rax, qword [0x1801fd960]
test rax, rax
jne 0x1800ff4ec
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800ffc73
mov qword [0x1801fd960], rax
mov rcx, rax
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rbp, rax
test rbp, rbp
jne 0x1800ff51c
jmp 0x1800ffc73
mov rbp, rdi
test rbp, rbp
je 0x1800ffc73
mov rcx, rbp
mov rdx, r13
mov r8, r14
call fcn.18015ab20
mov rdi, qword [rsp + 0x48]
cmp rdi, qword [rsp + 0x198]
je 0x1800ff3f0
mov rdx, qword [rsp + 0xd0]
jmp 0x1800ff410
mov r13, qword [rsp + 0x190]
mov rbp, qword [rsp + 0x198]
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
test rdi, rdi
mov r14, qword [rsp + 0x60]
je 0x1800ff643
mov qword [rsp + 0x48], rdi
mov r12, qword [rsp + 0x58]
mov rsi, qword [r12 + 0x10]
cmp rsi, 1
mov r15, qword [rsp + 0x68]
jbe 0x180100182
movabs rax, 0x3ffffffffffffffe
add rax, 3
xor edi, edi
cmp rsi, rax
setb al
jae 0x180100182
mov dil, al
add rdi, rdi
lea rbx, [rsi + rsi]
add rbx, 0xfffffffffffffffe
test rbx, rbx
je 0x1800ff6b7
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800ff5f7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1801001a4
mov rcx, rax
mov qword [0x1801fd960], rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rcx, rax
test rcx, rcx
jne 0x1800ff6c3
jmp 0x1801001a4
mov r13d, 8
test r12, r12
je 0x1800ff64f
mov rcx, qword [0x1801fd960]
xor ebp, ebp
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800ff651
mov r13d, 8
xor ebp, ebp
mov r15, qword [rsp + 0x68]
jmp 0x1800ff651
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
jmp 0x1800ff65b
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 0x1800ff681
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [r12 + 8], 0
je 0x1800ff69b
mov rcx, qword [0x1801fd960]
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 0x1801001a4
mov rax, rsi
add rax, 0xfffffffffffffffe
je 0x1800ff736
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 0x1800ff73f
mov r8, rcx
sub r8, r15
mov r9, r15
cmp r8, 0x20
jb 0x1800ff742
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 0x1800ff710
cmp rdx, rax
jne 0x1800ff742
jmp 0x1800ff765
xor eax, eax
mov rdi, qword [rsp + 0x48]
jmp 0x1800ff765
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 0x1800ff750
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 0x1800ff7c2
call sub.kernel32.dll_GetLastError
mov qword [r14], 8
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
jmp 0x1800ff94b
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 0x1800ff925
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x168], rax
test rax, rax
je 0x1800ff92a
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 0x1800ff8b1
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 0x1800ff998
cmp word [rsp + r8*2 + 0x254], 0
je 0x1800ff99e
cmp word [rsp + r8*2 + 0x256], 0
je 0x1800ff9a1
add r8, 3
cmp r8, 0x107
jne 0x1800ff8e0
mov r8d, 0x105
jmp 0x1800ff9a1
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 0x1800ff94b
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, qword [rsp + 0xd8]
call qword [sym.imp.kernel32.dll_HeapFree]
lea rsi, [r13 + 8]
jmp 0x1800ff97d
add rsi, 0x18
dec rdi
je 0x1800ff66a
cmp qword [rsi], 0
je 0x1800ff970
mov r8, qword [rsi - 8]
mov rcx, qword [0x1801fd960]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800ff970
add r8, 0xfffffffffffffffe
jmp 0x1800ff9a1
dec r8
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x256]
call fcn.1800f3ea0
cmp word [rsp + 0x80], 0
je 0x1800ffbac
cmp word [rsp + 0x82], 0
je 0x1800ffbb4
cmp word [rsp + 0x84], 0
je 0x1800ffbbf
cmp word [rsp + 0x86], 0
je 0x1800ffbca
cmp word [rsp + 0x88], 0
je 0x1800ffbd5
cmp word [rsp + 0x8a], 0
je 0x1800ffbe0
cmp word [rsp + 0x8c], 0
je 0x1800ffbeb
cmp word [rsp + 0x8e], 0
je 0x1800ffbf6
cmp word [rsp + 0x90], 0
je 0x1800ffc01
cmp word [rsp + 0x92], 0
je 0x1800ffc0c
cmp word [rsp + 0x94], 0
je 0x1800ffc17
cmp word [rsp + 0x96], 0
je 0x1800ffc22
cmp word [rsp + 0x98], 0
je 0x1800ffc2d
cmp word [rsp + 0x9a], 0
je 0x1800ffc38
cmp word [rsp + 0x9c], 0
je 0x1800ffc43
cmp word [rsp + 0x9e], 0
je 0x1800ffc4e
cmp word [rsp + 0xa0], 0
je 0x1800ffc59
cmp word [rsp + 0xa2], 0
je 0x1800ffc80
cmp word [rsp + 0xa4], 0
je 0x1800ffc88
cmp word [rsp + 0xa6], 0
je 0x1800ffc90
cmp word [rsp + 0xa8], 0
je 0x1800ffc98
cmp word [rsp + 0xaa], 0
je 0x1800ffcb1
cmp word [rsp + 0xac], 0
je 0x1800ffcb9
cmp word [rsp + 0xae], 0
je 0x1800ffcc1
cmp word [rsp + 0xb0], 0
je 0x1800ffcc9
cmp word [rsp + 0xb2], 0
je 0x1800ffcd1
cmp word [rsp + 0xb4], 0
je 0x1800ffcd9
cmp word [rsp + 0xb6], 0
je 0x1800ffce1
cmp word [rsp + 0xb8], 0
je 0x1800ffce9
cmp word [rsp + 0xba], 0
je 0x1800ffcf1
cmp word [rsp + 0xbc], 0
je 0x1800ffcf9
mov r8d, 0x20
cmp word [rsp + 0xbe], 0
mov rsi, qword [rsp + 0x48]
jne 0x1800ffd04
mov r8d, 0x1f
jmp 0x1800ffd04
xor r8d, r8d
jmp 0x1800ffd04
mov r8d, 1
jmp 0x1800ffd04
mov r8d, 2
jmp 0x1800ffd04
mov r8d, 3
jmp 0x1800ffd04
mov r8d, 4
jmp 0x1800ffd04
mov r8d, 5
jmp 0x1800ffd04
mov r8d, 6
jmp 0x1800ffd04
mov r8d, 7
jmp 0x1800ffd04
mov r8d, 8
jmp 0x1800ffd04
mov r8d, 9
jmp 0x1800ffd04
mov r8d, 0xa
jmp 0x1800ffd04
mov r8d, 0xb
jmp 0x1800ffd04
mov r8d, 0xc
jmp 0x1800ffcff
mov r8d, 0xd
jmp 0x1800ffcff
mov r8d, 0xe
jmp 0x1800ffcff
mov r8d, 0xf
jmp 0x1800ffcff
mov r8d, 0x10
jmp 0x1800ffcff
mov ecx, 2
mov rdx, rbx
call fcn.180168710
ud2
mov rcx, rdi
mov rdx, r14
call fcn.180168710
ud2
mov r8d, 0x11
jmp 0x1800ffcff
mov r8d, 0x12
jmp 0x1800ffcff
mov r8d, 0x13
jmp 0x1800ffcff
mov r8d, 0x14
jmp 0x1800ffcff
mov ecx, 2
mov edx, 0x208
call fcn.180168710
ud2
mov r8d, 0x15
jmp 0x1800ffcff
mov r8d, 0x16
jmp 0x1800ffcff
mov r8d, 0x17
jmp 0x1800ffcff
mov r8d, 0x18
jmp 0x1800ffcff
mov r8d, 0x19
jmp 0x1800ffcff
mov r8d, 0x1a
jmp 0x1800ffcff
mov r8d, 0x1b
jmp 0x1800ffcff
mov r8d, 0x1c
jmp 0x1800ffcff
mov r8d, 0x1d
jmp 0x1800ffcff
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.1800f3ea0
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 0x180100182
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 0x1800ffde2
movzx eax, byte [0x1801fd9d8]
mov rcx, rbx
mov rdx, rdi
call fcn.18001ed20
jmp 0x1800ffde5
mov rax, rdi
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x140], rbp
test rax, rax
je 0x1801001a4
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 0x18010005a
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 0x1800ffea6
js 0x180100182
movzx eax, byte [0x1801fd9d8]
mov rax, qword [0x1801fd960]
test rax, rax
jne 0x1800ffe8c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180100186
mov qword [0x1801fd960], rax
mov rcx, rax
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x180100186
mov qword [rsp + 0x178], rdi
mov rcx, r12
mov rdx, qword [rsp + 0xe8]
mov r8, r14
call fcn.18015ab20
test r13, r13
je 0x1800fff0f
js 0x180100182
movzx eax, byte [0x1801fd9d8]
mov rax, qword [0x1801fd960]
test rax, rax
jne 0x1800ffef5
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x180100195
mov qword [0x1801fd960], rax
mov rcx, rax
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180100195
mov rdi, r12
mov r12, rbx
mov rbx, r15
mov rcx, r12
mov rdx, qword [rsp + 0xe0]
mov r8, r13
call fcn.18015ab20
mov rax, qword [rsp + 0x178]
test rax, rax
je 0x180100182
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.1800f3ea0
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.18015ab20
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 0x1800ffe20
mov rbp, qword [rsp + 0x78]
cmp qword [rsp + 0x130], 0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
je 0x180100086
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, qword [rsp + 0xe8]
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x138], 0
je 0x1801000a8
mov rcx, qword [0x1801fd960]
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 0x180100105
mov rdi, rdx
shr rdi, 4
add rbp, 8
jmp 0x1801000e9
add rbp, 0x18
dec rdi
je 0x180100105
cmp qword [rbp], 0
je 0x1801000e0
mov r8, qword [rbp - 8]
mov rcx, qword [0x1801fd960]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1801000e0
cmp qword [rsp + 0x140], 0
je 0x180100127
mov rcx, qword [0x1801fd960]
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 0x180100156
call sub.kernel32.dll_GetLastError
mov rcx, qword [0x1801fd960]
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 0x1800ff689
jmp 0x1800ff69b
ud2
mov ecx, 1
mov rdx, r14
call fcn.180168710
ud2
mov ecx, 1
mov rdx, r13
call fcn.180168710
ud2
mov rcx, rdi
mov rdx, rbx
call fcn.180168710
ud2