joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a020
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x14001a1cd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x38], rax
or r14d, 0xffffffff
cmp dword [0x140073338], 0
je 0x14001a08b
lea rcx, str.http:__bugreportv2.qq.com_cgi_bin_bugreport
call fcn.1400328d0
mov r8d, eax
lea rdx, str.http:__bugreportv2.qq.com_cgi_bin_bugreport
lea rcx, [rbp + 0x38]
call fcn.14000de50
jmp 0x14001a0fd
lea rdx, str.BR_SERVER_URL
lea rcx, [rbp - 0x10]
call fcn.140021a08
nop
mov r8, qword [rax]
mov edx, 0x7fffffff
lea rcx, [rbp - 0x20]
call fcn.140025498
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x38]
call fcn.14000d760
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14001a0dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14001a0fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.14000d760
lea r9, [rbp + 0x38]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140019ec4
test eax, eax
jne 0x14001a187
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x14001a1c2
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp - 0x18]
call fcn.140025954
mov rbx, qword [rbp - 0x18]
mov r8, rbx
lea rdx, [0x140063930]
lea rcx, [0x14005f6f0]
call fcn.140025b7c
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x14001a183
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor ebx, ebx
jmp 0x14001a18c
mov ebx, 1
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x14001a1ad
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140006280
nop
mov ecx, 0x80004005
call fcn.140006280
int3
Function at 0x14001a1d8
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
lea rdx, str.http:__bugreportv2.qq.com_cgi_bin_bugrptex
lea rcx, [rsp + 0x58]
call fcn.140015e60
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x58]
call fcn.14000d760
lea r9, [rsp + 0x58]
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140019ec4
or edi, 0xffffffff
test eax, eax
jne 0x14001a294
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x14001a2cb
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x20]
call fcn.140025954
mov rbx, qword [rsp + 0x20]
mov r8, rbx
lea rdx, [0x140063930]
lea rcx, [0x14005f6f0]
call fcn.140025b7c
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001a290
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor ebx, ebx
jmp 0x14001a299
mov ebx, 1
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14001a2b9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140006280
int3
Function at 0x14001d76c
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
mov rdx, qword [r8]
movsxd r8, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400215f0
nop
lea rcx, str.HDHDHKAKAHJEIEJMDEJKEOMXKIOWOKKXKSJDD
call fcn.1400328d0
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.14002b4ac
mov rax, qword [rsp + 0x20]
movsxd r14, dword [rax - 0x10]
lea rcx, [r14 + 1]
call fcn.14003941c
mov rbx, rax
test rax, rax
je 0x14001d928
mov rdx, qword [rsp + 0x20]
cmp dword [rdx - 8], 1
jle 0x14001d808
mov edx, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000dc38
mov rdx, qword [rsp + 0x20]
mov r9d, r14d
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14002b524
mov rcx, qword [rsp + 0x20]
movsxd rdx, dword [rcx - 0xc]
call fcn.140031ee8
mov rcx, rax
test eax, eax
js 0x14001d99f
mov rax, qword [rsp + 0x20]
cmp ecx, dword [rax - 0xc]
jg 0x14001d99f
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x20]
mov byte [rcx + rax], 0
mov byte [r14 + rbx], 0
mov rcx, rbx
call fcn.1400328d0
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000de50
mov rcx, rbx
call fcn.140032990
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x14001d9aa
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140025954
mov rbx, qword [rsp + 0x28]
mov r8, rbx
lea rdx, str.decrypted_text_s
lea rcx, [0x14005f6f0]
call fcn.140025b7c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000d848
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001d8e9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001d909
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001d979
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001d979
lea rdx, [0x140061042]
mov rcx, rdi
call fcn.140015e60
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001d95b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x14001d979
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14002b930
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140006280
int3
mov ecx, 0x80004005
call fcn.140006280
int3
Function at 0x14001eab4
Capabilities:
Read .ini file

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 - 0x398]
sub rsp, 0x480
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor edx, edx
mov r8d, 0x424
lea rcx, [rsp + 0x40]
call fcn.14002dc80
mov r8d, 0x212
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call fcn.14002de38
lea rcx, [rax + 2]
lea rdx, str.bugreport.ini
call fcn.140040d50
mov ecx, 0x8000
call fcn.14002bbd4
mov r14, rax
lea r9, [rsp + 0x40]
mov r8d, 0x4000
mov rdx, rax
lea rcx, str.STRINGTABLE
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor r15d, r15d
test eax, eax
je 0x14001ec84
mov rsi, r14
cmp word [r14], r15w
je 0x14001ec84
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.14000d338
nop
lea rcx, [rsp + 0x20]
call fcn.140014a64
mov rax, qword [rsp + 0x20]
cmp dword [rax - 0x10], r15d
jl 0x14001ec4f
lea rdx, [0x1400655b0]
mov rcx, rax
call fcn.14002e01c
mov rdi, rax
test rax, rax
je 0x14001ec4a
mov rax, qword [rsp + 0x20]
sub rdi, rax
sar rdi, 1
cmp edi, 0xffffffff
je 0x14001ec4f
mov r8d, dword [rax - 0x10]
sub r8d, edi
dec r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14000d084
mov rbx, rax
mov r8d, edi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000d008
nop
mov rdx, rax
lea rcx, [0x140073308]
call fcn.14000c768
mov rcx, rax
mov rdx, rbx
call fcn.14000d250
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ec2b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ec4a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x20]
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ec6a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rcx, rsi
call fcn.140032038
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r15w
jne 0x14001eb6b
mov rcx, r14
call fcn.14002bbcc
mov eax, 1
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14002b930
lea r11, [rsp + 0x480]
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 0x140020438
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdx, rcx
lea rcx, [rbp + 0x18]
call fcn.1400224ec
lea rcx, [rbp - 0x10]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdx, qword [rbp + 0x18]
test eax, eax
sete bl
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140020496
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bl, bl
je 0x1400204fa
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
and dword [rbp + 0x20], 0
lea r9, [rbp + 0x18]
and dword [rbp + 0x18], 0
lea rdx, str.bUseInterMod
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x20]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x18], 4
jne 0x1400204fa
mov eax, dword [0x140073338]
mov ecx, 1
cmp dword [rbp + 0x20], ecx
cmove eax, ecx
mov dword [0x140073338], eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x140020508
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x250
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call fcn.14002dc80
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor esi, esi
test eax, eax
jne 0x14002056d
lea r8, str.C:_temp_
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140042838
lea rcx, [rsp + 0x30]
call fcn.140032038
mov ecx, 0x5c
cmp word [rsp + rax*2 + 0x2e], cx
je 0x14002059d
mov word [rsp + rax*2 + 0x30], cx
lea rax, [rax*2 + 2]
cmp rax, 0x208
jae 0x1400205fe
mov word [rsp + rax + 0x30], si
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.Tencent_
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140042bc8
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000d338
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002b930
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rsi
ret
call fcn.14002bce4
int3
Function at 0x140020604
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.140050850
sub rsp, rax
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rsp + 0x30]
call fcn.1400173b0
lea rdx, [0x140065c1c]
mov rcx, rsi
call fcn.140040e64
mov rdi, rax
test rax, rax
je 0x1400206ae
mov esi, 0x1000
jmp 0x14002068b
mov r8d, eax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140017c0c
mov r9, rdi
mov r8, rsi
mov edx, 1
lea rcx, [rbp - 0x60]
call fcn.140042b00
test rax, rax
jne 0x14002067a
mov rcx, rdi
call fcn.140041c2c
jmp 0x1400206cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rsi
lea rdx, str.GetModuleHashStr_open_file___s__fail_errno__lu_
lea rcx, [0x14005f708]
call fcn.140025b7c
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140017ef8
nop
call fcn.1400064a8
mov rcx, rax
test rax, rax
je 0x1400207c1
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x20], 2
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
mov edx, 0x40
sub eax, edx
or eax, ecx
jge 0x140020720
mov rcx, rbx
call fcn.140005f18
mov r9, qword [rbx]
mov rdx, r14
mov r8, r14
lea r10, [0x140065c90]
movzx ecx, byte [rbp + r8 - 0x70]
mov eax, ecx
shr rax, 4
movzx eax, word [r10 + rax*2]
mov word [r9 + rdx*2], ax
and ecx, 0xf
movzx eax, word [r10 + rcx*2]
mov word [r9 + rdx*2 + 2], ax
add rdx, 2
inc r8
cmp r8, 0x10
jb 0x140020730
cmp edx, 0xffffffff
jne 0x14002077e
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140020773
mov edx, r14d
jmp 0x140020782
movsxd rdx, dword [rcx - 0xc]
call fcn.140032164
mov edx, eax
test edx, edx
js 0x1400207cc
mov rax, qword [rbx]
cmp edx, dword [rax - 0xc]
jg 0x1400207cc
mov dword [rax - 0x10], edx
mov edx, edx
mov rcx, qword [rbx]
mov word [rcx + rdx*2], r14w
mov rax, rbx
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.14002b930
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140006280
int3
mov ecx, 0x80070057
call fcn.140006280
int3
Function at 0x140021354
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea rsi, [r8 + 2]
mov r15, rcx
lea rdi, [rsi + rsi]
mov rbx, r8
mov rcx, rdi
mov r14, rdx
call fcn.14003941c
mov r11d, 1
lea r13, [0x140000000]
mov r12, rax
mov eax, 0xc0000000
lea ebp, [r11 + 2]
cmp rsi, rax
jae 0x1400214ea
movabs r8, 0xaaaaaaaaaaaaaaab
mov rax, r8
mul rsi
shr rdx, 1
shl rdx, 2
cmp rdi, rdx
jb 0x1400214ea
mov r9, r12
cmp rbx, 2
jbe 0x140021467
lea rcx, [rbx - 3]
mov rax, r8
mul rcx
mov r10, rdx
shr r10, 1
add r10, r11
imul rax, r10, 0xfffffffffffffffd
add rbx, rax
movzx ecx, byte [r14]
movzx edx, byte [r14 + 2]
mov eax, ecx
movzx r8d, byte [r14 + 1]
and ecx, ebp
shr rax, 2
add r14, rbp
shl ecx, 4
mov al, byte [rax + r13 + 0x5f9e0]
mov byte [r9], al
add r9, r11
mov eax, r8d
and r8d, 0xf
shr eax, 4
add ecx, eax
mov al, byte [rcx + r13 + 0x5f9e0]
mov byte [r9], al
add r9, r11
mov eax, edx
and edx, 0x3f
shr eax, 6
lea eax, [rax + r8*4]
mov al, byte [rax + r13 + 0x5f9e0]
mov byte [r9], al
add r9, r11
mov al, byte [rdx + r13 + 0x5f9e0]
mov byte [r9], al
add r9, r11
sub r10, r11
jne 0x1400213f6
test rbx, rbx
je 0x1400214dd
movzx ecx, byte [r14]
mov eax, ecx
shr rax, 2
mov al, byte [rax + r13 + 0x5f9e0]
mov byte [r9], al
add r9, r11
cmp rbx, r11
jbe 0x1400214bb
movzx edx, byte [r14 + 1]
and ecx, ebp
mov eax, edx
shl ecx, 4
shr eax, 4
and edx, 0xf
add ecx, eax
mov al, byte [rcx + r13 + 0x5f9e0]
mov byte [r9], al
add r9, r11
shl edx, 2
mov al, byte [rdx + r13 + 0x5f9e0]
mov byte [r9], al
jmp 0x1400214d3
and rcx, rbp
add rcx, rcx
mov al, byte [r13 + rcx*8 + 0x5f9e0]
mov byte [r9], al
add r9, r11
mov byte [r9], 0x3d
add r9, r11
mov byte [r9], 0x3d
add r9, r11
mov eax, r9d
mov byte [r9], 0
sub eax, r12d
movsxd rdi, eax
lea rcx, [rdi + rdi*2]
call fcn.14003941c
xor ebx, ebx
xor r13d, r13d
mov r14, rax
test rdi, rdi
je 0x1400215aa
xor eax, eax
lea r15d, [rbx + 1]
movsx rsi, byte [rax + r12]
lea eax, [rsi - 0x41]
cmp al, 0x19
jbe 0x14002157f
lea eax, [rsi - 0x61]
cmp al, 0x19
jbe 0x14002157f
lea eax, [rsi - 0x30]
cmp al, 9
jbe 0x14002157f
mov edx, esi
lea rcx, str.__.___
call fcn.14002e524
test rax, rax
jne 0x14002157f
mov eax, ebp
lea rcx, [rdi + rdi*2]
cmp rax, rcx
ja 0x1400215a5
mov byte [rbx + r14], 0x25
lea rdx, [0x140000000]
inc ebx
movzx eax, sil
shr rax, 4
add ebp, 2
add r15d, 2
mov al, byte [rax + rdx + 0x66618]
mov byte [rbx + r14], al
inc ebx
mov rax, rsi
and eax, 0xf
mov al, byte [rax + rdx + 0x66618]
mov byte [rbx + r14], al
jmp 0x14002158f
mov eax, r15d
lea rcx, [rdi + rdi*2]
cmp rax, rcx
ja 0x1400215a5
mov byte [rbx + r14], sil
inc r13d
inc ebx
mov eax, r13d
inc ebp
inc r15d
cmp rax, rdi
jb 0x14002150a
mov r15, qword [rsp + 0x50]
call fcn.1400064a8
mov r9, rax
mov r8d, ebx
mov rdx, r14
mov rcx, r15
call fcn.14000df50
mov rcx, r14
call fcn.140032990
mov rcx, r12
call fcn.140032990
mov rbx, qword [rsp + 0x58]
mov rax, r15
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400218ac
Capabilities:
Get session information
Get session user name

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea rax, [r11 + 0x10]
mov rbx, rcx
mov qword [r11 + 0x18], rdi
lea r9, [r11 + 0x18]
mov dword [rsp + 0x48], edi
or edx, 0xffffffff
mov qword [r11 - 0x18], rax
lea r8d, [rdi + 5]
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x14002192a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
cmp eax, 0x104
jge 0x140021906
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x140021918
mov r8d, 0x103
call fcn.14002d5d0
mov word [rbx + 0x206], di
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov eax, 1
jmp 0x14002192c
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140021b0c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12, rcx
xor ebx, ebx
mov rcx, qword [rdx]
mov r15, r8
mov rsi, rdx
cmp dword [rcx - 0x10], ebx
jne 0x140021b3c
xor eax, eax
jmp 0x140021c5c
mov qword [rsp + 0x30], rbx
mov r8d, 3
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140021b88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rsi]
lea rdx, str.add_zip._open_file_fail_err___lu_____s_
mov r8d, eax
lea rcx, [0x14005f708]
call fcn.140025b7c
jmp 0x140021b35
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x78], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [0x140073338], ebx
mov r14d, eax
jne 0x140021bd8
cmp dword [rsp + 0x78], ebx
jne 0x140021bb4
cmp r14d, 0x500000
jbe 0x140021bd8
mov r8, qword [rsi]
lea rdx, str.add_zip._file_size_over_5M____s_
lea rcx, [0x14005f708]
call fcn.140025b7c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140021b35
mov rcx, r14
call fcn.14003941c
mov rbp, rax
mov rcx, rdi
test rax, rax
je 0x140021bcd
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], ebx
mov r8d, r14d
mov qword [rsp + 0x20], rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140021c52
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x88]
test r8d, r8d
je 0x140021c4d
mov r9, qword [r15]
mov rdx, rbp
mov rcx, r12
call fcn.140023c2c
test al, al
je 0x140021c4d
mov r8, qword [rsi]
lea rdx, str.add_zip_success.___s_
lea rcx, [0x14005f708]
call fcn.140025b7c
mov ebx, 1
mov rcx, rbp
call fcn.140032990
mov eax, ebx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140021fc8
Capabilities:
Get file size

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
test rcx, rcx
je 0x14002202b
mov qword [rax - 0x18], rbx
lea r8d, [rbx + 3]
mov dword [rax - 0x20], ebx
xor r9d, r9d
mov edx, 0x80000000
mov dword [rax - 0x28], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002202b
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
shl rax, 0x20
add rax, rbx
jmp 0x14002202d
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140022038
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rdi, rdx
lea rcx, [rbp - 0x10]
mov rdx, r8
mov rsi, r8
call fcn.1400224ec
lea rcx, [rbp + 0x38]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdx, qword [rbp - 0x10]
mov ebx, eax
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400220a0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
test ebx, ebx
je 0x14002211b
cmp dword [rbp + 0x20], 0
je 0x140022192
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.1400224ec
and qword [rsp + 0x40], 0
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x38], rdx
xor r9d, r9d
and qword [rsp + 0x30], 0
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rdx, qword [rbp - 8]
mov ebx, eax
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140022113
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
test ebx, ebx
je 0x14002211b
xor eax, eax
jmp 0x140022197
mov rcx, qword [rbp + 0x38]
lea rax, [rbp + 0x20]
mov r9d, 4
lea rdx, str.FullDump
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test dword [rbp + 0x20], 0xfffffffd
lea rdx, str.HASH
je 0x14002217e
mov rcx, qword [rdi]
mov r9d, 1
xor r8d, r8d
mov eax, dword [rcx - 0x10]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140022188
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret