Function at 0x18001bd90
Capabilities:
Get disk size

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x18009a918]
xor rax, rsp
mov qword [rsp + 0x448], rax
mov rbx, r9
mov qword [rsp + 0x78], rbx
mov r14, r8
mov qword [rsp + 0x68], r8
mov r13d, edx
mov dword [rsp + 0x64], edx
mov rdi, rcx
mov rsi, qword [rsp + 0x4b0]
mov qword [rsp + 0x110], rsi
mov dword [rsp + 0x440], 0x3a0058
mov dword [rsp + 0x444], 0x5c
xor r12d, r12d
cmp byte [0x18009c8c4], r12b
jne 0x18001be0b
mov eax, 0xe8000001
jmp 0x18001d68c
test rdi, rdi
je 0x18001d687
cmp qword [rcx + 8], r12
je 0x18001d687
test rsi, rsi
jne 0x18001be2d
mov eax, 0xc00000f2
jmp 0x18001d68c
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], r12
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x1b8], r12d
mov dword [rsp + 0x54], 0x400
mov qword [rsp + 0x108], r12
mov qword [rsp + 0xd8], r12
mov byte [rsp + 0x44], r12b
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x80], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c8], xmm0
movups xmmword [rsp + 0x1d8], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x128], xmm1
movups xmmword [rsp + 0x138], xmm1
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xd0], r12
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x1b0], r12d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], 0x1000
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x88], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x118], xmm0
mov dword [rsp + 0x40], r12d
test r14, r14
je 0x18001bf0f
lock inc dword [0x18009d734]
jmp 0x18001bf27
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x1c8], 0x400
test rbx, rbx
je 0x18001bf35
lock inc dword [0x18009d730]
jmp 0x18001bf41
lea rax, [0x180010970]
mov qword [rsp + 0x78], rax
test r13b, 1
je 0x18001bf50
lock inc dword [0x18009d738]
jmp 0x18001bf5c
test r13d, r13d
jne 0x18001bf5c
lock inc dword [0x18009d72c]
lea r9, [rsp + 0x88]
xor edx, edx
mov ecx, 0x2800102
lea r8d, [rdx + 4]
call fcn.18003e960
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001bfc1
lea rdi, [0x18009b358]
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001bfb5
test byte [rcx + 0x1c], 1
je 0x18001bfb5
cmp byte [rcx + 0x19], 2
jb 0x18001bfb5
mov edx, 0x10
mov r9d, eax
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001270
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
jmp 0x18001d1a7
movzx edx, word [rdi]
shr edx, 1
lea r9, [rsp + 0x48]
lea r8, [rsp + 0xe8]
mov rcx, qword [rdi + 8]
call fcn.180024190
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001c031
lea rdi, [0x18009b358]
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001bfb5
test byte [rcx + 0x1c], 1
je 0x18001bfb5
cmp byte [rcx + 0x19], 2
jb 0x18001bfb5
mov edx, 0x11
lea r9, str.TrfNormalizePath
mov dword [rsp + 0x20], eax
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.1800012d0
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
jmp 0x18001d1a7
lea rdi, [0x18009b358]
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c06d
test byte [rcx + 0x1c], 1
je 0x18001c06d
cmp byte [rcx + 0x19], 5
jb 0x18001c06d
mov edx, 0x12
mov r9, qword [rsp + 0xe8]
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001110
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x118], 0x40004
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x118]
call fcn.180040cc0
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001c0d9
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001bfb5
test byte [rcx + 0x1c], 1
je 0x18001bfb5
cmp byte [rcx + 0x19], 2
jb 0x18001bfb5
mov edx, 0x13
lea r9, str.TrfGetVolInfoObjectFromDosDeviceName
jmp 0x18001c011
mov rax, qword [rsp + 0xe8]
movzx ecx, word [rax]
mov word [rsp + 0x440], cx
lea rax, [rsp + 0x1c4]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1c0]
lea r8, [rsp + 0x1b4]
lea rdx, [rsp + 0x1bc]
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
jne 0x18001c179
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x40], eax
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c167
test byte [rcx + 0x1c], 1
je 0x18001c167
cmp byte [rcx + 0x19], 2
jb 0x18001c167
mov edx, 0x14
mov dword [rsp + 0x20], eax
lea r9, str.GetDiskFreeSpace
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.1800012d0
sub ebx, 0x17100000
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
jmp 0x18001d1a3
mov ecx, dword [rsp + 0x1b4]
cmp ecx, 0x1000
ja 0x18001c195
xor edx, edx
mov eax, 0x1000
div ecx
test edx, edx
je 0x18001c19c
lea eax, [rcx + rcx]
mov dword [rsp + 0x50], eax
mov r12d, dword [rsp + 0x48]
lea eax, [r12*2 + 0xe]
cmp byte [0x18009b380], 0
je 0x18001c1e1
mov ecx, 0x21a
lea r15, [0x180091018]
mov qword [rsp + 0x28], r15
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8d, 0x4843573a
mov edx, eax
lea rcx, [0x18009cc40]
call fcn.18004b960
jmp 0x18001c201
mov r8d, eax
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b430]
call qword [0x18007d538]
lea r15, [0x180091018]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xd8], rax
test rax, rax
jne 0x18001c22e
mov ebx, 0xc000009a
mov dword [rsp + 0x40], ebx
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
xor r12d, r12d
jmp 0x18001d1ae
mov ebx, 0x5c
mov word [rax], bx
mov rax, qword [rsp + 0xd8]
mov word [rax + 2], bx
mov ecx, 0x3f
mov rax, qword [rsp + 0xd8]
mov word [rax + 4], cx
mov rax, qword [rsp + 0xd8]
mov word [rax + 6], bx
mov r8, r12
add r8, r8
mov rcx, qword [rsp + 0xd8]
add rcx, 8
mov rdx, qword [rsp + 0xe8]
call fcn.18005f360
lea r14d, [r12 + 4]
mov dword [rsp + 0x60], r14d
mov r15d, r14d
lea eax, [r14 - 1]
mov rdx, qword [rsp + 0xd8]
cmp word [rdx + rax*2], bx
je 0x18001c2ae
mov word [rdx + r14*2], bx
lea r15d, [r14 + 1]
mov r14d, r15d
mov dword [rsp + 0x60], r15d
mov eax, 0x10b
add eax, r12d
add ax, ax
movzx ecx, ax
mov word [rsp + 0x102], cx
cmp byte [0x18009b380], 0
je 0x18001c301
mov eax, 0x22f
lea r13, [0x180091018]
mov qword [rsp + 0x28], r13
mov word [rsp + 0x20], ax
xor r9d, r9d
mov r8d, 0x4843573a
mov edx, ecx
lea rcx, [0x18009cc40]
call fcn.18004b960
mov r13d, dword [rsp + 0x64]
jmp 0x18001c31a
mov r8, rcx
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b430]
call qword [0x18007d538]
mov qword [rsp + 0xa8], rax
mov rcx, rax
mov qword [rsp + 0x108], rax
test rax, rax
jne 0x18001c346
mov ebx, 0xc000009a
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
xor r12d, r12d
jmp 0x18001d1a3
mov eax, r15d
lea rbx, [rax + rax]
mov r8, rbx
mov rdx, qword [rsp + 0xd8]
call fcn.18005f360
movzx eax, r15w
add ax, ax
sub ax, 2
mov word [rsp + 0x100], ax
mov ecx, 0x2a
mov rax, qword [rsp + 0xd8]
mov word [rbx + rax], cx
lea ecx, [r14 + 1]
mov rax, qword [rsp + 0xd8]
xor edx, edx
mov word [rax + rcx*2], dx
lea r14d, [r15 + 1]
mov dword [rsp + 0x60], r14d
mov rcx, qword [rsp + 0xd8]
add rcx, 8
lea rdx, [rsp + 0x128]
call fcn.1800222a0
test al, al
jne 0x18001c3cd
mov ebx, 0xc00000e5
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
xor r12d, r12d
jmp 0x18001d1a3
cmp byte [0x18009b380], 0
je 0x18001c407
mov eax, 0x242
lea r15, [0x180091018]
mov qword [rsp + 0x28], r15
mov word [rsp + 0x20], ax
xor r9d, r9d
lea edx, [r9 + 0x10]
mov r8d, 0x4c44543a
lea rcx, [0x18009cc40]
call fcn.18004b960
jmp 0x18001c428
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b430]
call qword [0x18007d538]
lea r15, [0x180091018]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x18001c216
mov qword [rax + 8], rax
mov qword [rax], rax
mov ebx, dword [rsp + 0x50]
mov r9d, 4
mov r8d, 0x3000
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x18001c4a8
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c216
test byte [rcx + 0x1c], 1
je 0x18001c216
cmp byte [rcx + 0x19], 2
jb 0x18001c216
lea edx, [rax + 0x15]
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001070
jmp 0x18001c216
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x18001c4f5
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c216
test byte [rcx + 0x1c], 1
je 0x18001c216
cmp byte [rcx + 0x19], 2
jb 0x18001c216
lea edx, [rax + 0x16]
jmp 0x18001c493
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x150], xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x168], rax
lea eax, [r14 - 1]
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x174], eax
mov eax, dword [rsp + 0x1b4]
mov dword [rsp + 0x178], eax
mov rcx, qword [rsp + 0x58]
mov eax, 1
cmp byte [rcx + 0x59], al
mov edx, 4
cmove eax, edx
mov dword [rsp + 0x184], eax
movzx eax, byte [rcx + 0x59]
mov byte [rsp + 0x188], al
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1f0]
lea r8, [rsp + 0xf8]
mov edx, r13d
mov rcx, qword [rsp + 0xd8]
call fcn.180008c20
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001c663
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c21f
test byte [rcx + 0x1c], 1
je 0x18001c21f
cmp byte [rcx + 0x19], 2
jb 0x18001c21f
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r9, str.BuildWinApiFilesTable
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.1800012d0
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
xor r12d, r12d
jmp 0x18001d1ae
mov eax, dword [rsp + 0x17c]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x1a0]
test eax, eax
jns 0x18001c6ee
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c6b7
test byte [rcx + 0x1c], 1
je 0x18001c6b7
cmp byte [rcx + 0x19], 2
jb 0x18001c6b7
mov edx, 0x18
mov dword [rsp + 0x20], eax
lea r9, str.GetHiddenContentWithEntry
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.1800012d0
mov eax, dword [rsp + 0x1a0]
mov dword [rsi + 0x38], eax
lea r12, [rsp + 0xd0]
lock inc dword [0x18009d73c]
mov r8, qword [rsp + 0xd0]
mov rbx, qword [r8]
cmp rbx, r8
je 0x18001c73d
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
mov r8, qword [rsp + 0xd0]
jmp 0x18001c6d4
xor eax, eax
mov dword [rsi + 0x38], eax
mov ecx, dword [rsp + 0x180]
test ecx, ecx
jne 0x18001c7b0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x2c], eax
lea r12, [rsp + 0xd0]
lock inc dword [0x18009d73c]
mov r8, qword [rsp + 0xd0]
mov rbx, qword [r8]
cmp rbx, r8
je 0x18001c73d
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
mov r8, qword [rsp + 0xd0]
jmp 0x18001c723
test r8, r8
je 0x18001c7a9
cmp byte [0x18009b380], 0
je 0x18001c77f
mov r9d, 0x259
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
mov rdx, r12
lea rcx, [0x18009cc40]
call fcn.18004be40
xor eax, eax
mov qword [r12], rax
mov r12d, dword [rsp + 0x48]
jmp 0x18001c7c6
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
xor eax, eax
mov qword [r12], rax
mov r12d, dword [rsp + 0x48]
jmp 0x18001c7c6
mov r12d, dword [rsp + 0x48]
jmp 0x18001c7bf
mov rax, qword [rsp + 0xd0]
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x2c], ecx
lea r14, str.E:_buildsARK23181_2_trufos_dll_fileTable.c
mov rcx, qword [rsp + 0xd8]
add rcx, 8
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xf0]
xor r8d, r8d
mov edx, r13d
call fcn.180009900
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001c849
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c841
test byte [rcx + 0x1c], 1
je 0x18001c841
cmp byte [rcx + 0x19], 2
jb 0x18001c841
mov edx, 0x19
lea r9, str.BuildTrufosFilesTable
mov dword [rsp + 0x20], eax
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.1800012d0
xor r13d, r13d
jmp 0x18001c9ea
mov eax, dword [rsp + 0x1b0]
mov dword [rsi + 0x1c], eax
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.180009610
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001c8a5
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c841
test byte [rcx + 0x1c], 1
je 0x18001c841
cmp byte [rcx + 0x19], 2
jb 0x18001c841
mov edx, 0x1a
lea r9, str.DifferenceFilesTables
jmp 0x18001c82d
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1f0]
lea r8, [rsp + 0x128]
mov edx, r13d
mov rcx, qword [rsp + 0xc0]
call fcn.1800094a0
test al, al
jne 0x18001c914
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001c841
test byte [rcx + 0x1c], 1
je 0x18001c841
cmp byte [rcx + 0x19], 2
jb 0x18001c841
mov edx, 0x1b
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001070
xor r13d, r13d
jmp 0x18001c9ea
mov ecx, dword [rsp + 0x4c]
xor r13d, r13d
test ecx, ecx
jne 0x18001c9d8
mov qword [rsi], r13
mov dword [rsi + 0x24], r13d
cmp qword [rsp + 0xc0], r13
je 0x18001c9e6
lea r12, [rsp + 0xc0]
lock inc dword [0x18009d73c]
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rax]
cmp rbx, qword [rsp + 0xc0]
je 0x18001c969
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
jmp 0x18001c952
cmp qword [rsp + 0xc0], r13
je 0x18001c9cd
cmp byte [0x18009b380], r13b
je 0x18001c9ab
mov r9d, 0x259
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
mov rdx, r12
lea rcx, [0x18009cc40]
call fcn.18004be40
mov qword [r12], r13
mov r12d, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x40]
jmp 0x18001c9e6
mov r8, qword [rsp + 0xc0]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [r12], r13
mov r12d, dword [rsp + 0x48]
mov ebx, dword [rsp + 0x40]
jmp 0x18001c9e6
mov rax, qword [rsp + 0xc0]
mov qword [rsi], rax
mov dword [rsi + 0x24], ecx
mov dword [rsi + 0x30], r13d
test ebx, ebx
jns 0x18001ca90
cmp qword [rsp + 0xc0], 0
je 0x18001ca8d
lea r12, [rsp + 0xc0]
lock inc dword [0x18009d73c]
mov r8, qword [rsp + 0xc0]
mov rbx, qword [r8]
nop dword [rax + rax]
cmp rbx, r8
je 0x18001ca3a
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
mov r8, qword [rsp + 0xc0]
jmp 0x18001ca20
test r8, r8
je 0x18001ca84
cmp byte [0x18009b380], 0
je 0x18001ca6a
mov r9d, 0x259
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
mov rdx, r12
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001ca80
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [r12], r13
mov ebx, dword [rsp + 0x40]
mov r12d, dword [rsp + 0x48]
mov dword [rsi + 0x30], ebx
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x59], 1
jne 0x18001caf7
mov edx, 1
lea rcx, [rsp + 0x118]
call fcn.180041de0
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001caf7
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001caf0
test byte [rcx + 0x1c], 1
je 0x18001caf0
cmp byte [rcx + 0x19], 3
jb 0x18001caf0
mov edx, 0x1c
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x118]
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.18000c3f0
mov ebx, r13d
mov dword [rsp + 0x40], ebx
mov ecx, 0x2cc
lea eax, [r12*2 + 0x10]
cmp byte [0x18009b380], 0
je 0x18001cb30
mov qword [rsp + 0x28], r15
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8d, 0x544e523a
mov edx, eax
lea rcx, [0x18009cc40]
call fcn.18004b960
jmp 0x18001cb49
mov r8d, eax
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b430]
call qword [0x18007d538]
mov qword [rsp + 0x98], rax
mov rcx, rax
mov qword [rsp + 0xc8], rax
test rax, rax
jne 0x18001cb94
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001cb8c
test byte [rcx + 0x1c], 1
je 0x18001cb8c
cmp byte [rcx + 0x19], 2
jb 0x18001cb8c
lea edx, [rax + 0x1d]
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001070
xor r12d, r12d
jmp 0x18001d0fe
mov eax, r12d
add rax, rax
mov qword [rsp + 0x78], rax
lea r8, [rax + 0x10]
xor edx, edx
call fcn.18005f850
mov r13d, dword [rsp + 0x54]
add r13d, 0xc
cmp byte [0x18009b380], 0
je 0x18001cbe5
mov qword [rsp + 0x28], r15
mov eax, 0x2d4
mov word [rsp + 0x20], ax
xor r9d, r9d
mov r8d, 0x544e523a
mov edx, r13d
lea rcx, [0x18009cc40]
call fcn.18004b960
jmp 0x18001cbfe
mov r8d, r13d
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b430]
call qword [0x18007d538]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe0], rax
test rax, rax
jne 0x18001cc3f
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001cb8c
test byte [rcx + 0x1c], 1
je 0x18001cb8c
cmp byte [rcx + 0x19], 2
jb 0x18001cb8c
lea edx, [rax + 0x1e]
jmp 0x18001cb7c
mov r15d, dword [rsp + 0x54]
lea r8, [r15 + 0xc]
xor edx, edx
mov rcx, rax
call fcn.18005f850
mov rax, qword [rsp + 0xc8]
mov dword [rax], 0x19
movzx ecx, r12w
add cx, cx
mov rax, qword [rsp + 0xc8]
mov word [rax + 0xc], cx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 8], r15d
mov rax, qword [rsp + 0xc8]
mov byte [rax + 4], 0
mov rcx, qword [rsp + 0xc8]
add rcx, 0xe
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xe8]
call fcn.18005f360
lea edx, [r12 + r12]
mov rcx, qword [rsp + 0xc8]
add rcx, 0xe
call fcn.180007e70
xor eax, eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9d, [r12*2 + 0x10]
mov r8, qword [rsp + 0xc8]
xor edx, edx
lea rcx, [0x18009cf40]
call fcn.18004e5f0
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001cd58
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001cb8c
test byte [rcx + 0x1c], 1
je 0x18001cb8c
cmp byte [rcx + 0x19], 2
jb 0x18001cb8c
mov edx, 0x1f
lea r9, str.PprtSendMessage
mov dword [rsp + 0x20], eax
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.1800012d0
xor r12d, r12d
jmp 0x18001d0fe
mov rax, qword [rsp + 0xe0]
mov ebx, dword [rax + 4]
mov dword [rsp + 0x40], ebx
test ebx, ebx
jns 0x18001cee8
cmp ebx, 0xc0000023
jne 0x18001cea4
mov r15d, dword [rax + 8]
mov dword [rsp + 0x54], r15d
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001cdb4
test byte [rcx + 0x1c], 1
je 0x18001cdb4
cmp byte [rcx + 0x19], 4
jb 0x18001cdb4
mov edx, 0x20
mov r9d, r15d
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001270
mov r8, qword [rsp + 0xc8]
test r8, r8
je 0x18001ce2d
cmp byte [0x18009b380], 0
je 0x18001ce03
mov r9d, 0x2ff
lea r13, [0x180091018]
mov qword [rsp + 0x20], r13
mov r8d, 0x544e523a
lea rdx, [rsp + 0xc8]
lea rcx, [0x18009cc40]
call fcn.18004be40
xor r15d, r15d
mov qword [rsp + 0xc8], r15
jmp 0x18001ce37
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
lea r13, [0x180091018]
xor r15d, r15d
mov qword [rsp + 0xc8], r15
jmp 0x18001ce37
lea r13, [0x180091018]
xor r15d, r15d
cmp qword [rsp + 0xe0], 0
je 0x18001ce98
cmp byte [0x18009b380], 0
je 0x18001ce72
mov r9d, 0x300
mov qword [rsp + 0x20], r13
mov r8d, 0x544e523a
lea rdx, [rsp + 0xe0]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001ce90
mov r8, qword [rsp + 0xe0]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0xe0], r15
lea r15, [0x180091018]
jmp 0x18001caf7
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001cb8c
test byte [rcx + 0x1c], 1
je 0x18001cb8c
cmp byte [rcx + 0x19], 4
jb 0x18001cb8c
mov edx, 0x21
mov r9d, ebx
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001270
xor r12d, r12d
jmp 0x18001d0fe
mov r15, qword [rsp + 0xe0]
add r15, 0xc
mov qword [rsp + 0x68], r15
mov rax, qword [rsp + 0xc8]
mov edx, dword [rax + 8]
mov rcx, r15
call fcn.180007e70
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001cf49
test byte [rcx + 0x1c], 1
je 0x18001cf49
cmp byte [rcx + 0x19], 4
jb 0x18001cf49
mov edx, 0x22
mov eax, dword [r15 + 4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xe8]
lea r8, [0x1800910a0]
mov rcx, qword [rcx + 0x10]
call fcn.180001180
cmp dword [r15 + 4], 0
jne 0x18001cf64
xor r12d, r12d
mov qword [rsi + 8], r12
mov dword [rsi + 0x20], r12d
mov dword [rsi + 0x28], r12d
jmp 0x18001d0fa
lea edx, [r12 + r12]
mov rcx, qword [rsp + 0xc8]
add rcx, 0xe
call fcn.180007e70
movzx r9d, byte [rsp + 0x44]
cmp r12d, 3
mov eax, 1
cmovbe r9d, eax
mov byte [rsp + 0x44], r9b
mov ecx, 2
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x59], 1
mov eax, 4
cmove ecx, eax
mov dword [rsp + 0x38], ecx
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], r9b
lea r9, [rsp + 0xb8]
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
mov rcx, r15
call fcn.18001b420
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jns 0x18001d021
mov rcx, qword [0x18009b358]
cmp rcx, rdi
je 0x18001cb8c
test byte [rcx + 0x1c], 1
je 0x18001cb8c
cmp byte [rcx + 0x19], 2
jb 0x18001cb8c
mov edx, 0x23
lea r9, str.TrfGetRawNtfsAndTrufosDifference
jmp 0x18001cd3c
mov ecx, dword [rsp + 0x4c]
xor r12d, r12d
test ecx, ecx
jne 0x18001d0e4
mov qword [rsi + 8], r12
mov dword [rsi + 0x28], r12d
cmp qword [rsp + 0xb8], r12
je 0x18001d0f3
lea rdi, [rsp + 0xb8]
lock inc dword [0x18009d73c]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rax]
cmp rbx, qword [rsp + 0xb8]
je 0x18001d077
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
jmp 0x18001d060
cmp qword [rsp + 0xb8], r12
je 0x18001d0d9
cmp byte [0x18009b380], r12b
je 0x18001d0b8
mov r9d, 0x259
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
mov rdx, rdi
lea rcx, [0x18009cc40]
call fcn.18004be40
mov qword [rdi], r12
mov r15, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x40]
jmp 0x18001d0f3
mov r8, qword [rsp + 0xb8]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rdi], r12
mov r15, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x40]
jmp 0x18001d0f3
mov rax, qword [rsp + 0xb8]
mov qword [rsi + 8], rax
mov dword [rsi + 0x28], ecx
mov eax, dword [r15 + 4]
mov dword [rsi + 0x20], eax
mov dword [rsi + 0x34], r12d
test ebx, ebx
jns 0x18001d1a0
mov dword [rsi + 0x34], ebx
cmp qword [rsp + 0xb8], 0
je 0x18001d1a0
lea rdi, [rsp + 0xb8]
lock inc dword [0x18009d73c]
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rax]
cmp rbx, qword [rsp + 0xb8]
je 0x18001d149
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
jmp 0x18001d132
cmp qword [rsp + 0xb8], 0
je 0x18001d1a0
cmp byte [0x18009b380], 0
je 0x18001d17f
mov r9d, 0x259
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
mov rdx, rdi
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d19d
mov r8, qword [rsp + 0xb8]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rdi], r12
mov ebx, r12d
mov dword [rsp + 0x40], ebx
lea r15, [0x180091018]
test ebx, ebx
jns 0x18001d3af
mov qword [rsi + 0x24], 0
mov dword [rsi + 0x2c], r12d
mov qword [rsi + 0x18], 0
mov dword [rsi + 0x20], r12d
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov dword [rsi + 0x30], ebx
mov dword [rsi + 0x34], ebx
mov dword [rsi + 0x38], ebx
cmp qword [rsp + 0xc0], 0
je 0x18001d27f
lock inc dword [0x18009d73c]
mov r8, qword [rsp + 0xc0]
mov rbx, qword [r8]
cmp rbx, r8
je 0x18001d228
nop dword [rax + rax]
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
mov r8, qword [rsp + 0xc0]
cmp rbx, r8
jne 0x18001d210
test r8, r8
je 0x18001d27b
cmp byte [0x18009b380], 0
je 0x18001d25d
mov r9d, 0x259
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
lea rdx, [rsp + 0xc0]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d273
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0xc0], r12
mov ebx, dword [rsp + 0x40]
cmp qword [rsp + 0xb8], 0
je 0x18001d314
lock inc dword [0x18009d73c]
mov r8, qword [rsp + 0xb8]
mov rbx, qword [r8]
cmp rbx, r8
je 0x18001d2bd
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
mov r8, qword [rsp + 0xb8]
cmp rbx, r8
jne 0x18001d2a5
test r8, r8
je 0x18001d310
cmp byte [0x18009b380], 0
je 0x18001d2f2
mov r9d, 0x259
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
lea rdx, [rsp + 0xb8]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d308
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0xb8], r12
mov ebx, dword [rsp + 0x40]
cmp qword [rsp + 0xd0], 0
je 0x18001d3af
lock inc dword [0x18009d73c]
mov r8, qword [rsp + 0xd0]
mov rbx, qword [r8]
cmp rbx, r8
je 0x18001d358
nop word [rax + rax]
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.180008820
mov r8, qword [rsp + 0xd0]
cmp rbx, r8
jne 0x18001d340
test r8, r8
je 0x18001d3ab
cmp byte [0x18009b380], 0
je 0x18001d38d
mov r9d, 0x259
mov qword [rsp + 0x20], r14
mov r8d, 0x4c44543a
lea rdx, [rsp + 0xd0]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d3a3
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0xd0], r12
mov ebx, dword [rsp + 0x40]
cmp qword [rsp + 0xf8], 0
je 0x18001d3c7
lea rcx, [rsp + 0xf8]
call fcn.18004b3f0
cmp qword [rsp + 0xf0], 0
je 0x18001d3df
lea rcx, [rsp + 0xf0]
call fcn.18004b3f0
mov r8, qword [rsp + 0xe8]
test r8, r8
je 0x18001d43a
cmp byte [0x18009b380], 0
je 0x18001d41c
mov r9d, 0x382
mov qword [rsp + 0x20], r15
mov r8d, 0x4843573a
lea rdx, [rsp + 0xe8]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d432
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0xe8], r12
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x18001d455
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x18001d473
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp qword [rsp + 0xc8], 0
je 0x18001d4d4
cmp byte [0x18009b380], 0
je 0x18001d4ae
mov r9d, 0x391
mov qword [rsp + 0x20], r15
mov r8d, 0x544e523a
lea rdx, [rsp + 0xc8]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d4cc
mov r8, qword [rsp + 0xc8]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0xc8], r12
cmp qword [rsp + 0xe0], 0
je 0x18001d535
cmp byte [0x18009b380], 0
je 0x18001d50f
mov r9d, 0x396
mov qword [rsp + 0x20], r15
mov r8d, 0x544e523a
lea rdx, [rsp + 0xe0]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d52d
mov r8, qword [rsp + 0xe0]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0xe0], r12
cmp qword [rsp + 0xf0], 0
je 0x18001d54d
lea rcx, [rsp + 0xf0]
call fcn.18004b3f0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x18001d56c
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x110]
call fcn.18004f370
cmp qword [rsp + 0x108], 0
je 0x18001d5cd
cmp byte [0x18009b380], 0
je 0x18001d5a7
mov r9d, 0x3a4
mov qword [rsp + 0x20], r15
mov r8d, 0x4843573a
lea rdx, [rsp + 0x108]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d5c5
mov r8, qword [rsp + 0x108]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0x108], r12
mov r8, qword [rsp + 0x128]
test r8, r8
je 0x18001d628
cmp byte [0x18009b380], 0
je 0x18001d60a
mov r9d, 0x3a9
mov qword [rsp + 0x20], r15
mov r8d, 0x4843573a
lea rdx, [rsp + 0x128]
lea rcx, [0x18009cc40]
call fcn.18004be40
jmp 0x18001d620
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov qword [rsp + 0x128], r12
cmp qword [rsp + 0xd8], 0
je 0x18001d683
cmp byte [0x18009b380], 0
je 0x18001d665
mov r9d, 0x3ae
mov qword [rsp + 0x20], r15
mov r8d, 0x4843573a
lea rdx, [rsp + 0xd8]
lea rcx, [0x18009cc40]
call fcn.18004be40
mov eax, ebx
jmp 0x18001d68c
mov r8, qword [rsp + 0xd8]
xor edx, edx
mov rcx, qword [0x18009ccf0]
mov rax, qword [0x18009b440]
call qword [0x18007d538]
mov eax, ebx
jmp 0x18001d68c
mov eax, 0xc00000ef
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.18005e1d0
add rsp, 0x450
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret