joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800618e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.180028660
mov rbx, rax
test rax, rax
jne 0x18006191e
lea eax, [rbx + 7]
jmp 0x1800619a0
cmp byte [0x180182d54], 0
je 0x180061972
mov rax, qword [0x180182ee0]
test rax, rax
je 0x18006193e
mov ecx, 0xc8
call rax
test eax, eax
jne 0x180061972
lea rax, [rbx + 8]
mov qword [rbx + 0x10], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x18002be80]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rbx + 0x18], rsi
xor ecx, ecx
call fcn.180135118
mov qword [rbx], rax
test rax, rax
jne 0x180061982
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x18006199b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18006f280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push r14
sub rsp, 0x28
mov rbx, rdx
mov r14, rcx
movzx edx, byte [rdx]
movzx eax, dl
cmp dl, 0xb0
jne 0x18006f29d
movzx eax, byte [rbx + 2]
cmp al, 0xb1
jne 0x18006f2a7
mov rax, qword [rbx + 0x20]
jmp 0x18006f2b7
cmp al, 0x8a
jne 0x18006f354
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rax]
cmp ecx, 1
je 0x18006f354
mov qword [rsp + 0x50], rdi
xor edi, edi
mov dword [r8], edi
cmp dl, 0x8a
jne 0x18006f2e9
mov rdx, rbx
mov rcx, r14
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop rbx
jmp fcn.18006cfd0
mov eax, dword [r14 + 0x38]
mov qword [rsp + 0x40], rbp
mov rbp, rcx
mov qword [rsp + 0x20], r15
lea r15d, [rax + 1]
add eax, ecx
mov dword [r14 + 0x38], eax
test ecx, ecx
jle 0x18006f34f
mov qword [rsp + 0x48], rsi
mov esi, r15d
mov rdx, qword [rbx + 0x20]
mov r8d, esi
mov rcx, r14
mov rdx, qword [rdx + rdi + 8]
call fcn.180071ee0
inc esi
lea rdi, [rdi + 0x20]
sub rbp, 1
jne 0x18006f310
mov rsi, qword [rsp + 0x48]
mov eax, r15d
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
add rsp, 0x28
pop r14
pop rbx
ret
mov eax, r15d
jmp 0x18006f338
mov rdx, rbx
mov rcx, r14
add rsp, 0x28
pop r14
pop rbx
jmp fcn.180071ce0
Function at 0x180095be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x180095dd8
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd rbp, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r14d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [r12 + 0x20]
test al, al
jne 0x180095c42
inc dword [rbx + 0x38]
mov r15d, dword [rbx + 0x38]
jmp 0x180095c52
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r15d, dword [rbx + rax*4 + 0xe4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r14 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x180095c7f
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x37
mov rcx, rdi
call fcn.18004fc80
jmp 0x180095cad
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.180094ec0
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x180095cec
mov rcx, rdi
call fcn.18004fb40
test eax, eax
jne 0x180095dc4
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r13d
lea ecx, [r14 + 1]
mov byte [rdx + 1], r13b
add eax, 2
mov dword [rdx + 8], eax
lea eax, [r14 - 1]
mov qword [rdx + 0x10], r13
mov word [rdx + 2], r13w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r13
mov qword [rdx + 0x28], r13
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r13
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r13
mov qword [rdx + 0x58], r13
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r13
mov qword [rdx + 0x70], r13
add dword [rdi + 0x90], 5
mov dword [rdx + 0x34], eax
mov eax, 8
mov word [rdx + 0x4a], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x3c], r15d
mov dword [rdx + 0x50], r15d
mov dword [rdx + 0x54], ecx
test r15d, r15d
je 0x180095db8
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x180095db8
mov dword [rbx + rax*4 + 0xe4], r15d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180095c20
mov r15, qword [rsp + 0x30]
mov r13, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x18010e100
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd r15, edx
mov rdi, qword [rcx + r15*8 + 0x28]
lea r14, [rcx + r15*8]
mov qword [rsp + 0x40], rax
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov qword [rsp + 0x48], rax
mov rbp, r9
mov rsi, r8
mov rbx, rcx
test rdi, rdi
jne 0x18010e163
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
mov rdx, qword [rsp + r15*8 + 0x40]
call fcn.18010dff0
mov rdi, rax
mov qword [r14 + 0x28], rax
cmp dword [rbx + 0x40], 0
jne 0x18010e219
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.180057de0
mov rcx, rdi
call fcn.1800567d0
cmp eax, 0x65
jne 0x18010e1bb
test r15d, r15d
lea rcx, str.__rowid
lea rax, str.__parent
mov r9, rbp
cmovne rax, rcx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov r8, rsi
call fcn.18010e080
jmp 0x18010e208
cmp eax, 0x64
jne 0x18010e208
xor edx, edx
mov rcx, rdi
call fcn.1800575d0
mov r9, rax
cmp rax, rbp
je 0x18010e208
test r15d, r15d
mov qword [rsp + 0x30], rbp
lea rcx, str.__rowid
mov qword [rsp + 0x28], rsi
lea rax, str.__parent
mov r8, rsi
cmovne rax, rcx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.18010e080
mov rcx, rdi
call fcn.1800558e0
cmp dword [rbx + 0x40], 0
jne 0x18010e219
mov dword [rbx + 0x40], eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x1801129e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x70]
xor r13d, r13d
movsxd rdi, r9d
mov r14d, edx
mov rsi, r8
mov rdx, rcx
mov r9d, r14d
mov dword [r15], r13d
test rcx, rcx
je 0x180112b23
lea eax, [rdi - 1]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], r12
lea r10d, [r13 + 0xd]
movsxd r8, eax
test eax, eax
js 0x180112a48
nop dword [rax + rax]
movsx ecx, byte [r8 + rsi]
lea eax, [r10*8]
xor ecx, eax
xor r10d, ecx
sub r8, 1
jns 0x180112a30
lea ecx, [r10*8]
mov eax, r10d
xor rcx, r9
xor rcx, rax
and ecx, 0x1ff
mov rbx, qword [rdx + rcx*8]
lea r12, [rdx + rcx*8]
test rbx, rbx
je 0x180112a96
nop dword [rax]
cmp dword [rbx + 0xc], r14d
jne 0x180112a8d
cmp dword [rbx + 8], edi
jne 0x180112a8d
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, rsi
call fcn.1801468d0
test eax, eax
je 0x180112b09
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180112a70
mov qword [rsp + 0x58], rbp
lea rbp, [rdi + 0x18]
call fcn.1800e0910
test eax, eax
jne 0x180112b15
mov rcx, rbp
call fcn.180028660
mov rbx, rax
test rax, rax
je 0x180112b15
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.180131080
lea rcx, [rbx + 0x18]
mov dword [rbx + 8], edi
mov r8, rdi
mov qword [rbx], rcx
mov rdx, rsi
mov dword [rbx + 0xc], r14d
call fcn.180133760
mov rcx, qword [r12]
mov eax, r13d
mov qword [rbx + 0x10], rcx
mov qword [r12], rbx
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov dword [r15], 1
mov eax, r13d
jmp 0x180112af2
test rbp, rbp
mov eax, 7
cmovle eax, r13d
jmp 0x180112aed
mov eax, r13d
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x18011cd00
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x98]
xorps xmm0, xmm0
mov rdi, rcx
xor r12d, r12d
mov rcx, qword [rsp + 0x90]
mov r14d, r9d
and r14d, 8
mov ebp, r9d
movups xmmword [rbx + 8], xmm0
mov r15d, 1
mov r13d, r12d
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx], rcx
mov rsi, qword [rdi + 0x60]
test rsi, rsi
jne 0x18011cda4
mov rdx, qword [rdi]
lea rcx, str.SELECT_pgno_FROM__q._q_idx_WHERE_segid__AND_term___ORDER_BY_term_DESC_LIMIT_1
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.18002b780
mov r8, rax
lea rdx, [rdi + 0x60]
mov rcx, rdi
call fcn.180119b00
mov rcx, qword [rsp + 0x90]
mov rsi, qword [rdi + 0x60]
cmp dword [rdi + 0x34], r12d
jne 0x18011cf10
movsxd r8, dword [rcx]
mov edx, r15d
mov rcx, rsi
call fcn.180057de0
movsxd r9, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov rcx, rsi
mov byte [rsp + 0x28], r12b
mov qword [rsp + 0x20], r12
call fcn.180057bc0
mov rcx, rsi
call fcn.1800567d0
cmp eax, 0x64
jne 0x18011ce04
xor edx, edx
mov rcx, rsi
call fcn.180057530
movsxd r13, eax
mov r15, r13
sar r15, 1
and r13d, 1
mov rcx, rsi
call fcn.1800558e0
mov edx, 1
mov dword [rdi + 0x34], eax
mov rcx, rsi
call fcn.180057a30
test eax, eax
jne 0x18011ce32
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18011ce32
call qword [0x180182de0]
mov rax, qword [rsp + 0x90]
mov rdx, rbx
mov rcx, rdi
mov eax, dword [rax + 4]
cmp r15d, eax
cmovge eax, r15d
cmovge r12d, r13d
dec eax
mov dword [rbx + 0xc], eax
call fcn.18011b440
cmp qword [rbx + 0x10], 0
je 0x18011ce7d
mov eax, dword [rsp + 0x80]
mov r8, rbx
mov r9, qword [rsp + 0x78]
mov edx, r14d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.18011c6b0
cmp dword [rdi + 0x34], 0
jne 0x18011cee0
test r14d, r14d
jne 0x18011cee0
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x18011cee0
and ebp, 2
je 0x18011cea5
or edx, 2
mov dword [rbx + 8], edx
test r12d, r12d
je 0x18011ced1
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x18011cebf
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x18011ced1
mov rax, qword [rbx]
mov rcx, rdi
mov r8d, dword [rax]
call fcn.18011b260
mov qword [rbx + 0x50], rax
test ebp, ebp
je 0x18011cee0
mov rdx, rbx
mov rcx, rdi
call fcn.18011c440
test byte [rbx + 8], 2
je 0x18011cef3
lea rax, [0x18011bc30]
mov qword [rbx + 0x28], rax
jmp 0x18011cf10
mov rax, qword [rdi]
lea rcx, [0x18011bf70]
lea rdx, [0x18011bcc0]
cmp dword [rax + 0x5c], 1
cmove rcx, rdx
mov qword [rbx + 0x28], rcx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180128db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov r13, qword [rcx]
xor esi, esi
mov qword [rsp + 0x70], rsi
mov r12, r8
mov rbx, rdx
mov r15, rcx
lea edi, [rsi + 1]
test r8, r8
jne 0x180128e20
xor r9d, r9d
lea r8, [rsp + 0x70]
lea edx, [rsi + 2]
call fcn.180128500
test eax, eax
jne 0x180128fb3
mov rsi, qword [rsp + 0x70]
mov r8, rbx
mov rcx, rsi
mov edx, edi
call fcn.180057de0
mov rcx, rsi
call fcn.1800567d0
cmp eax, 0x64
je 0x180128e20
mov rcx, rsi
call fcn.1800558e0
jmp 0x180128fb3
mov rcx, qword [r15 + 8]
mov r8, rbx
mov qword [rsp + 0x78], rbp
mov edx, edi
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], 0xffffffff
call fcn.180122000
mov ebx, eax
test eax, eax
jne 0x180128f93
mov rbp, rdi
xor r14d, r14d
mov r8d, 0x202
mov r9d, 0x400
cmp edi, dword [r13 + 0x18]
jg 0x180128fcf
mov rax, qword [r13 + 0x28]
cmp byte [rax + rbp - 1], 0
jne 0x180128f82
test rsi, rsi
je 0x180128e9e
mov edx, edi
mov rcx, rsi
call fcn.180057670
mov edx, edi
mov rcx, rsi
mov rbx, rax
call fcn.180057350
jmp 0x180128f21
test r12, r12
je 0x180128f82
mov rcx, qword [r14 + r12]
test rcx, rcx
jne 0x180128eb4
xor ebx, ebx
jmp 0x180128eee
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x180128ed1
cmp byte [rcx + 0x16], 1
jne 0x180128ed1
mov rbx, qword [rcx + 8]
jmp 0x180128eee
test dl, 1
je 0x180128eda
xor ebx, ebx
jmp 0x180128eee
mov dl, 1
call fcn.18004f230
mov rcx, qword [r14 + r12]
mov rbx, rax
mov r9d, 0x400
movzx eax, word [rcx + 0x14]
test al, 2
je 0x180128f01
cmp byte [rcx + 0x16], 1
jne 0x180128f01
mov edx, dword [rcx + 0x10]
jmp 0x180128f23
test al, 0x10
je 0x180128f12
mov edx, dword [rcx + 0x10]
test r9w, ax
je 0x180128f23
add edx, dword [rcx]
jmp 0x180128f23
test al, 1
je 0x180128f1a
xor edx, edx
jmp 0x180128f23
mov dl, 1
call fcn.18004f8f0
mov edx, eax
xor r8d, r8d
mov dword [rsp + 0x3c], r8d
test rbx, rbx
je 0x180128f60
mov rax, qword [r13 + 0x70]
lea rcx, [0x180128cc0]
mov qword [rsp + 0x28], rcx
mov r9, rbx
mov rcx, qword [r13 + 0x68]
mov r8d, 4
mov dword [rsp + 0x20], edx
lea rdx, [rsp + 0x30]
call qword [rax + 0x10]
mov r8d, dword [rsp + 0x3c]
mov ebx, eax
mov rcx, qword [r15 + 0x20]
movsxd rax, r8d
sub qword [rcx + r14], rax
mov rax, qword [r15 + 0x20]
cmp qword [r14 + rax], 0
jl 0x180128fc8
mov r8d, 0x202
mov r9d, 0x400
inc edi
inc rbp
add r14, 8
test ebx, ebx
je 0x180128e64
dec qword [r15 + 0x18]
mov rcx, rsi
call fcn.1800558e0
test ebx, ebx
cmove ebx, eax
mov r14, qword [rsp + 0x80]
mov eax, ebx
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
mov ebx, 0x10b
jmp 0x180128f93
cmp qword [r15 + 0x18], 1
jge 0x180128f93
mov rcx, rsi
mov ebx, 0x10b
call fcn.1800558e0
jmp 0x180128fa4
Function at 0x18012d240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov edi, edx
cmp ecx, 0x80
jge 0x18012d262
lea edx, [rcx - 0x41]
cmp edx, 0x19
lea eax, [rcx + 0x20]
cmova eax, ecx
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x10000
jge 0x18012d327
xor r10d, r10d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov r9d, 0xa2
mov r11d, r10d
lea rsi, [0x180000000]
lea ebx, [r10 - 1]
nop
lea eax, [r11 + r9]
mov r8d, ecx
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
movzx edx, word [rsi + rdx*4 + 0x158f20]
sub r8d, edx
mov edx, eax
cmovs edx, ebx
test r8d, r8d
movsxd rbx, edx
lea edx, [rax + 1]
cmovs edx, r11d
dec eax
test r8d, r8d
mov r11d, edx
cmovs r9d, eax
cmp r9d, edx
jge 0x18012d290
lea r8, [rbx*4 + 0x158f20]
mov rbx, qword [rsp + 0x30]
movzx edx, word [r8 + rsi]
movzx eax, byte [r8 + rsi + 3]
add eax, edx
cmp ecx, eax
jge 0x18012d30a
movzx eax, byte [r8 + rsi + 2]
xor edx, ecx
and edx, eax
test dl, 1
jne 0x18012d30a
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x15a4a0]
add eax, ecx
movzx ecx, ax
mov rsi, qword [rsp + 0x38]
test edi, edi
je 0x18012d335
cmp edi, 2
sete r10b
mov edx, r10d
add rsp, 0x20
pop rdi
jmp fcn.1801021a0
lea eax, [rcx - 0x10400]
cmp eax, 0x27
lea eax, [rcx + 0x28]
jbe 0x18012d337
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400020b0
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 r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a360
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a3a5
xor al, al
jmp 0x14000a3f2
cmp word [rbx], 0
je 0x14000a3bd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a3b0
cmp word [rsp + 0x30], 0
je 0x14000a3eb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a413
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a3d0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b570
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f650
int3
Function at 0x14000abb0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f650
sub rsp, rax
mov rax, qword [0x14002d008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002ed70]
lea rsi, [0x140033db0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac29
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a420
test al, al
je 0x14000ad0f
lea rcx, [rsp + 0x20]
call fcn.140013c9c
movsxd r11, dword [0x14002ed70]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002ed70], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac64
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac54
add rax, 2
test ecx, ecx
jne 0x14000ac40
test edx, edx
je 0x14000ac87
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac34
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ac70
cmp rax, 2
jne 0x14000ac8b
cmp word [rdi + 2], 0x3a
jne 0x14000ac8b
mov al, 1
jmp 0x14000acee
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000acb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000acb8
mov bl, 1
jmp 0x14000acbc
test bl, bl
je 0x14000ace3
cmp dword [0x14002ed70], 0x400
jge 0x14000ace3
mov rcx, rdi
call fcn.140013c9c
movsxd rdx, dword [0x14002ed70]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002ed70], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b570
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000aa50
int3
Function at 0x14000ae30
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002ed78]
test rcx, rcx
je 0x14000ae6b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae5e
mov rcx, qword [0x14002ed78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002ed78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140035dc8], 0
je 0x14000af5e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140028898]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400315b0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af3f
test al, 0x10
je 0x14000af3f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aee5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000be44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000be8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000be8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000be8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000be8e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000be8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000be90
xor al, al
add rsp, 0x28
ret

Function at 0x14000f644
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f4a3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f4a3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f4a3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f4a3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f4a3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f4a3
cmp dword [rcx + 0xf8], 0
je 0x14000f4a3
mov ecx, ebx
call fcn.14000f560
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f330
nop
cmp dword [rbp + 0x20], 0
je 0x14000f4f1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f4fc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f434