Function at 0x140004fcc
Capabilities:
Encode data using xor
Get disk information
Get session user name

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3e0
mov rax, qword [0x140071010]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x168], xmm0
mov qword [r11 - 0x290], rax
movdqa xmm1, xmmword [0x1400697b0]
movdqa xmm0, xmmword [0x140069880]
lea r13d, [r12 + 1]
mov dword [rsp + 0xf0], 0x50692301
mov word [rsp + 0xf4], 0x6423
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x584
mov eax, dword [rcx + rsi]
mov ebx, 0x470
add rbx, rsi
test r13b, al
jne 0x1400050da
or eax, r13d
mov dword [rcx + rsi], eax
mov byte [rbx + 0x27], r13b
lea rax, [rbx + 0x26]
lea rcx, [r11 - 0x312]
cmp rbx, rcx
ja 0x1400050ac
lea rcx, [r11 - 0x338]
cmp rax, rcx
jb 0x1400050ac
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0xf0]
mov dword [rbx + 0x20], eax
movzx eax, word [rsp + 0xf4]
mov word [rbx + 0x24], ax
mov byte [rbx + 0x26], 0x33
jmp 0x1400050cd
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x10], xmm0
mov eax, dword [rsp + 0xf0]
mov dword [rbx + 0x20], eax
movzx eax, word [rsp + 0xf4]
mov word [rbx + 0x24], ax
mov byte [rbx + 0x26], 0x33
lea rcx, [0x1400142bc]
call fcn.140011540
nop
cmp byte [rbx + 0x27], r12b
je 0x140005108
mov rdx, r12
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x4d330557310d575d
shr rax, cl
xor byte [rdx + rbx], al
add rdx, r13
cmp rdx, 0x27
jb 0x1400050e3
mov byte [rbx + 0x27], r12b
or r14, 0xffffffffffffffff
mov r9, r14
inc r9
cmp byte [rbx + r9], r12b
jne 0x14000510f
add r9, rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
call fcn.14000d2f4
nop
movdqa xmm0, xmmword [0x140069790]
movdqa xmm1, xmmword [0x140069950]
mov dword [rsp + 0xf0], 0x494a9cac
mov dword [rsp + 0xf4], 0x5f556f3a
mov dword [rsp + 0xf8], 0x5c558ead
mov edx, 0x122c
mov eax, dword [rdx + rsi]
mov ecx, 0x398
test r13b, al
jne 0x1400051f3
or eax, r13d
mov dword [rdx + rsi], eax
lea rbx, [rcx + rsi]
mov byte [rbx + 0x2d], r13b
lea rax, [rbx + 0x2c]
lea rcx, [rsp + 0xfc]
cmp rbx, rcx
ja 0x1400051c1
lea rcx, [rsp + 0xd0]
cmp rax, rcx
jb 0x1400051c1
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movsd xmm0, qword [rsp + 0xf0]
movsd qword [rbx + 0x20], xmm0
mov eax, dword [rsp + 0xf8]
mov dword [rbx + 0x28], eax
mov byte [rbx + 0x2c], 0x55
jmp 0x1400051e4
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movsd xmm0, qword [rsp + 0xf0]
movsd qword [rbx + 0x20], xmm0
mov eax, dword [rsp + 0xf8]
mov dword [rbx + 0x28], eax
mov byte [rbx + 0x2c], 0x55
lea rcx, [0x140014294]
call fcn.140011540
nop
jmp 0x1400051f7
lea rbx, [rsi + rcx]
cmp byte [rbx + 0x2d], r12b
je 0x140005225
mov rdx, r12
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x2b091f553d21efc9
shr rax, cl
xor byte [rdx + rbx], al
add rdx, r13
cmp rdx, 0x2d
jb 0x140005200
mov byte [rbx + 0x2d], r12b
mov r9, r14
inc r9
cmp byte [rbx + r9], r12b
jne 0x140005228
add r9, rbx
mov r8, rbx
lea rdx, [rsp + 0x90]
call fcn.14000d2f4
nop
movdqa xmm0, xmmword [0x140069bd0]
mov dword [rsp + 0x110], 0xdb1134e
mov dword [rsp + 0x114], 0xd6bdf685
mov edx, 0x2a0
mov eax, dword [rdx + rsi]
mov ecx, 0x448
test r13b, al
jne 0x1400052dc
or eax, r13d
mov dword [rdx + rsi], eax
lea rbx, [rcx + rsi]
mov byte [rbx + 0x19], r13b
lea rax, [rbx + 0x18]
lea rcx, [rsp + 0x118]
cmp rbx, rcx
ja 0x1400052b8
lea rcx, [rsp + 0x100]
cmp rax, rcx
jb 0x1400052b8
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x110]
movsd qword [rbx + 0x10], xmm0
mov byte [rbx + 0x18], 0x21
jmp 0x1400052cd
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x110]
movsd qword [rbx + 0x10], xmm0
mov byte [rbx + 0x18], 0x21
lea rcx, [0x140014270]
call fcn.140011540
nop
jmp 0x1400052e0
lea rbx, [rsi + rcx]
cmp byte [rbx + 0x19], r12b
je 0x14000530e
mov rdx, r12
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0xb7c997e179ed6321
shr rax, cl
xor byte [rdx + rbx], al
add rdx, r13
cmp rdx, 0x19
jb 0x1400052e9
mov byte [rbx + 0x19], r12b
mov r9, r14
inc r9
cmp byte [rbx + r9], r12b
jne 0x140005311
add r9, rbx
mov r8, rbx
lea rdx, [rsp + 0xb0]
call fcn.14000d2f4
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x168]
call fcn.14000c194
nop
lea r9, [fcn.14000c8d4]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
lea rcx, [rsp + 0x70]
call fcn.140011144
mov dword [rsp + 0x120], 0x101
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x158], r12
mov qword [rsp + 0x160], 7
mov word [rsp + 0x148], r12w
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140005617
lea rax, [rsp + 0x1c0]
mov rdx, r14
inc rdx
cmp word [rax + rdx*2], r12w
jne 0x1400053d4
cmp rdx, qword [rsp + 0x160]
ja 0x140005428
lea rdi, [rsp + 0x148]
cmp qword [rsp + 0x160], 8
cmovae rdi, qword [rsp + 0x148]
mov qword [rsp + 0x158], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x1c0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r12w
jmp 0x14000543d
lea r9, [rsp + 0x1c0]
lea rcx, [rsp + 0x148]
call fcn.14000e6fc
movdqa xmm0, xmmword [0x140069920]
movdqa xmm1, xmmword [0x140069940]
mov dword [rsp + 0xf0], 0x9baf454b
mov dword [rsp + 0xf4], 0x1dc51a2
mov edx, 0x1308
mov eax, dword [rdx + rsi]
mov ecx, 0x10c0
test r13b, al
jne 0x1400054dc
or eax, r13d
mov dword [rdx + rsi], eax
lea rbx, [rcx + rsi]
mov byte [rbx + 0x28], r13b
lea rax, [rbx + 0x27]
lea rcx, [rsp + 0xf7]
cmp rbx, rcx
ja 0x1400054b8
lea rcx, [rsp + 0xd0]
cmp rax, rcx
jb 0x1400054b8
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movsd xmm0, qword [rsp + 0xf0]
movsd qword [rbx + 0x20], xmm0
jmp 0x1400054cd
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
movsd xmm0, qword [rsp + 0xf0]
movsd qword [rbx + 0x20], xmm0
lea rcx, [0x14001424c]
call fcn.140011540
nop
jmp 0x1400054e0
lea rbx, [rsi + rcx]
cmp byte [rbx + 0x28], r12b
je 0x14000550e
mov rdx, r12
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x1bd25c3ffdb193b
shr rax, cl
xor byte [rdx + rbx], al
add rdx, r13
cmp rdx, 0x28
jb 0x1400054e9
mov byte [rbx + 0x28], r12b
inc r14
cmp byte [rbx + r14], r12b
jne 0x14000550e
lea r9, [rbx + r14]
mov r8, rbx
lea rdx, [rsp + 0x180]
call fcn.14000d2f4
nop
movabs rdi, 0x7ffffffffffffffe
mov rax, rdi
mov rcx, qword [rsp + 0x158]
sub rax, rcx
cmp rax, 9
jb 0x14000594e
lea rax, [rsp + 0x148]
cmp qword [rsp + 0x160], 8
cmovae rax, qword [rsp + 0x148]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 9
lea r9, str.C:Users_
lea rcx, [rsp + 0xd0]
call fcn.14000f3d4
nop
lea r9, [rsp + 0x180]
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0x128]
call fcn.14000f1d0
nop
lea rcx, [rsp + 0xd0]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x180]
call fcn.14000c8d4
lea rcx, [rsp + 0x128]
cmp qword [rsp + 0x140], 8
cmovae rcx, qword [rsp + 0x128]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
jne 0x140005608
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x100]
mov rcx, r15
call fcn.14000df00
nop
lea rcx, [rsp + 0x128]
call fcn.14000c8d4
jmp 0x140005621
movabs rdi, 0x7ffffffffffffffe
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
test eax, eax
jne 0x140005733
mov rbx, qword [rsp + 0x168]
mov rsi, qword [rsp + 0x170]
cmp rbx, rsi
je 0x140005713
mov rdx, rbx
lea rcx, [rsp + 0x1a0]
call fcn.14000c96c
nop
mov rax, rdi
mov rcx, qword [rsp + 0x1b0]
sub rax, rcx
cmp rax, r13
jb 0x140005954
lea rax, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 8
cmovae rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [0x1400159ec]
lea rcx, [rsp + 0x128]
call fcn.14000f3d4
nop
lea rcx, [rsp + 0x128]
cmp qword [rsp + 0x140], 8
cmovae rcx, qword [rsp + 0x128]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
jne 0x1400056ef
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x100]
mov rcx, r15
call fcn.14000df00
nop
lea rcx, [rsp + 0x128]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x1a0]
call fcn.14000c8d4
add rbx, 0x20
jmp 0x140005641
lea rcx, [rsp + 0x148]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x168]
call fcn.14000c330
jmp 0x140005921
mov rdi, qword [rsp + 0x168]
mov r14, qword [rsp + 0x170]
cmp rdi, r14
je 0x140005906
mov rdx, rdi
lea rcx, [rsp + 0xd0]
call fcn.14000c96c
nop
mov bl, 0x41
cmp bl, 0x5a
jg 0x1400058f0
movsx eax, bl
sub eax, 0x41
movzx ecx, al
bt esi, ecx
jae 0x1400058e8
movsx eax, bl
mov qword [rsp + 0x128], r12
mov qword [rsp + 0x138], r13
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], ax
mov word [rsp + 0x12a], r12w
movabs rax, 0x7ffffffffffffffd
mov rcx, qword [rsp + 0xe0]
cmp rcx, rax
ja 0x14000595a
lea r9, [rsp + 0x128]
lea rax, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rax, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x1a0]
call fcn.14000f3d4
nop
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x190], r12
mov qword [rsp + 0x198], r12
mov r8, r13
lea rdx, [0x1400159c8]
lea rcx, [rsp + 0x180]
call fcn.14000e37c
nop
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov r8d, 2
lea rdx, [0x1400159cc]
lea rcx, [rsp + 0x48]
call fcn.14000e37c
nop
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x1a0]
call fcn.1400036f0
nop
lea rcx, [rsp + 0x48]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x180]
call fcn.14000c8d4
lea rcx, [rsp + 0x1a0]
cmp qword [rsp + 0x1b8], 8
cmovae rcx, qword [rsp + 0x1a0]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
jne 0x1400058cd
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x100]
mov rcx, r15
call fcn.14000df00
nop
lea rcx, [rsp + 0x1a0]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x128]
call fcn.14000c8d4
add bl, r13b
jmp 0x14000575f
lea rcx, [rsp + 0xd0]
call fcn.14000c8d4
add rdi, 0x20
jmp 0x140005743
lea rcx, [rsp + 0x148]
call fcn.14000c8d4
nop
lea rcx, [rsp + 0x168]
call fcn.14000c330
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1400110e0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1400012d4
nop
call fcn.1400012d4
nop
call fcn.1400012d4
int3