joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14021ec20
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov ebx, ecx
call fcn.14030be00
test eax, eax
jne 0x14021edbd
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp byte [0x140439d14], bpl
mov qword [rsp + 0x38], rdi
jne 0x14021ec55
mov edi, ebp
jmp 0x14021ec71
mov ecx, 5
call qword [0x140439d80]
mov rdi, rax
test rax, rax
je 0x14021ec71
mov rcx, rax
call qword [0x140439d90]
test ebx, ebx
jle 0x14021ed9f
test rsi, rsi
je 0x14021ed9f
cmp dword [0x14043f410], ebp
jne 0x14021ed28
xor ecx, ecx
call fcn.1401fbc00
movups xmm0, xmmword [str.expand_32_byte_k_jA_]
movaps xmmword [0x14043f410], xmm0
test rax, rax
jne 0x14021ecc8
xorps xmm0, xmm0
mov qword [0x14043f440], rax
movups xmmword [0x14043f420], xmm0
mov dword [0x14043f448], eax
movups xmmword [0x14043f430], xmm0
jmp 0x14021ed0c
mov ecx, dword [0x140439ec0]
test ecx, ecx
je 0x14021ecfa
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14043f420], xmm0
mov dword [0x14043f420], ecx
movups xmmword [0x14043f430], xmm0
mov qword [0x14043f440], rax
mov dword [0x14043f448], eax
jmp 0x14021ed0c
lea r8, [0x14043f420]
mov edx, 0x2c
mov rcx, rax
call qword [rax + 0x68]
mov eax, dword [0x14043f440]
xor cl, cl
mov byte [0x14043f490], cl
mov dword [0x14043f44c], eax
mov dword [0x14043f440], ebp
jmp 0x14021ed2f
movzx ecx, byte [0x14043f490]
movzx eax, cl
lea rbp, [0x14043f450]
cmp ebx, eax
jle 0x14021ed81
nop dword [rax]
test cl, cl
je 0x14021ed5f
movzx r8d, cl
mov rdx, rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, byte [0x14043f490]
sub ebx, ecx
add rsi, rcx
inc dword [0x14043f440]
lea rdx, [0x14043f410]
mov rcx, rbp
call fcn.14022bf60
mov cl, 0x40
mov byte [0x14043f490], cl
cmp ebx, 0x40
jg 0x14021ed40
movzx eax, cl
mov rcx, rsi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
sub byte [0x14043f490], bl
jmp 0x14021eda5
mov dword [0x14043f410], ebp
test rdi, rdi
je 0x14021edb3
mov rcx, rdi
call qword [0x140439da0]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140226eb0
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 0x1402270a9
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x60], rbp
nop dword [rax + rax]
movsxd r14, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r15d, dword [rsi + 0x14]
shl r14, 5
add r14, qword [r12 + 0x20]
test al, al
jne 0x140226f11
inc dword [rbx + 0x38]
mov ebp, dword [rbx + 0x38]
jmp 0x140226f20
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0xe4]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x140226f4d
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.14027f0c0
jmp 0x140226f7b
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], r15d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [r14 + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.1402d8080
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x140226fbf
mov edx, 5
mov rcx, rdi
call fcn.14027f130
test eax, eax
jne 0x140227095
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 rax, [rax + rcx*8]
mov ecx, dword [rdi + 0x90]
mov dword [rax + 0xc], r13d
add ecx, 2
mov dword [rax + 8], ecx
mov byte [rax + 1], r13b
mov qword [rax + 0x10], r13
mov word [rax + 2], r13w
mov qword [rax + 0x18], 0x7f
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], 0x61
mov qword [rax + 0x38], 2
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], 0x80
mov qword [rax + 0x50], r13
mov qword [rax + 0x58], r13
mov qword [rax + 0x60], 0x7a
mov qword [rax + 0x68], r13
mov qword [rax + 0x70], r13
add dword [rdi + 0x90], 5
test rax, rax
je 0x140227095
mov dword [rax + 0x3c], ebp
lea edx, [r15 + 1]
mov dword [rax + 4], edx
lea ecx, [r15 - 1]
mov dword [rax + 0x20], edx
mov dword [rax + 0x34], ecx
mov dword [rax + 0x54], edx
mov dword [rax + 0x50], ebp
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x140227089
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140227089
mov dword [rbx + rax*4 + 0xe4], ebp
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140226ef0
mov rbp, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402382c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
push r14
sub rsp, 0x68
movzx eax, byte [rdx]
mov r14, rdx
mov rdi, rcx
cmp al, 0xb0
jne 0x1402382d9
movzx eax, byte [rdx + 2]
cmp al, 0xb1
jne 0x1402382e3
mov rcx, qword [rdx + 0x20]
jmp 0x1402382f3
cmp al, 0x8a
jne 0x140238477
mov rax, qword [rdx + 0x20]
mov rcx, qword [rax + 0x20]
movsxd rcx, dword [rcx]
cmp ecx, 1
je 0x140238477
mov dword [r8], 0
cmp byte [rdx], 0x8a
jne 0x14023831a
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.1402abec0
mov eax, dword [rdi + 0x38]
mov qword [rsp + 0x60], r12
mov r12, rcx
mov qword [rsp + 0x58], r13
lea r13d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x88], r13d
mov dword [rdi + 0x38], eax
test ecx, ecx
jle 0x140238462
mov qword [rsp + 0x80], rbx
lea rcx, [0x1402e8e30]
mov qword [rsp + 0x90], rbp
mov edx, 2
mov qword [rsp + 0x50], r15
mov ebp, r13d
xor r15d, r15d
mov qword [rsp + 0x98], rsi
lea r13, [fcn.1402396b0]
nop dword [rax]
cmp byte [rdi + 0x23], 0
mov rax, qword [r14 + 0x20]
mov rbx, qword [rax + r15 + 8]
je 0x1402383d0
mov word [rsp + 0x44], dx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x48], 0
test rbx, rbx
je 0x1402383c0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140318700
cmp word [rsp + 0x44], 0
je 0x1402383d0
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1402b5480
jmp 0x140238410
mov rsi, qword [rdi]
test rbx, rbx
je 0x1402383ec
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.140238750
mov rbx, rax
cmp byte [rsi + 0x67], 0
jne 0x140238400
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call fcn.1402b39a0
test rbx, rbx
je 0x140238410
mov rdx, rbx
mov rcx, rsi
call fcn.1402b78c0
inc ebp
lea rcx, [0x1402e8e30]
add r15, 0x20
mov edx, 2
sub r12, 1
jne 0x140238380
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
mov eax, dword [rsp + 0x88]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov r12, qword [rsp + 0x60]
mov eax, r13d
mov r13, qword [rsp + 0x58]
add rsp, 0x68
pop r14
pop rdi
ret
mov rcx, rdi
add rsp, 0x68
pop r14
pop rdi
jmp fcn.1402b6f50
Function at 0x1402964c0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.1402d7cb0
test ebx, ebx
jne 0x140296529
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.1402d7cb0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140299ba0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r12
push r15
sub rsp, 0x20
xor edi, edi
mov r12, r8
mov r15, rdx
mov rbx, rcx
cmp dword [rcx + 0x40], edi
jne 0x140299bdc
cmp qword [rcx + 0x20], rdi
jne 0x140299bdc
mov r9, qword [rcx + 0x10]
lea rdx, str.SELECT_data_FROM__Q._q_node_WHERE_nodeno_
mov r8, qword [rcx + 8]
call fcn.14029a1d0
mov qword [rbx + 0x20], rax
cmp dword [rbx + 0x40], edi
jne 0x140299d2a
mov rcx, qword [rbx + 0x20]
mov r8, r15
mov edx, 1
call fcn.140220c20
mov rcx, qword [rbx + 0x20]
call fcn.1401f5d20
cmp eax, 0x64
jne 0x140299cfa
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x40], rbp
call fcn.1401f6940
mov rsi, qword [rbx + 0x20]
movsxd r14, eax
test rsi, rsi
jne 0x140299c3f
lea rcx, [0x140413cd8]
call fcn.1401f7520
mov rbp, rax
jmp 0x140299cb7
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140299c51
call qword [0x140439d90]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x140299c66
cmp di, word [rsi + 0xc0]
jb 0x140299c81
mov rcx, qword [rsi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402b27c0
lea rcx, [0x140413cd8]
call fcn.1401f7520
mov rcx, qword [rsi]
mov rbp, rax
mov edx, dword [rsi + 0x34]
cmp byte [rcx + 0x67], dil
jne 0x140299c9d
test edx, edx
jne 0x140299c9d
mov eax, edi
jmp 0x140299ca2
call fcn.1402269e0
mov dword [rsi + 0x34], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140299cb7
call qword [0x140439da0]
call fcn.14030be00
test eax, eax
jne 0x140299cd0
mov rcx, r14
call fcn.1402d7360
mov rdi, rax
test rax, rax
jne 0x140299cd9
mov dword [rbx + 0x40], 7
jmp 0x140299ceb
mov r8, r14
mov rdx, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov dword [r12], r14d
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rbx + 0x20]
call fcn.1401f6df0
mov ecx, dword [rbx + 0x40]
test ecx, ecx
jne 0x140299d2a
mov dword [rbx + 0x40], eax
mov ecx, eax
test eax, eax
jne 0x140299d2a
test rdi, rdi
jne 0x140299d2a
mov r8, r15
lea rdx, str.Node__lld_missing_from_database
mov rcx, rbx
call fcn.140299b20
mov rbx, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x20
pop r15
pop r12
pop rdi
ret
Function at 0x140299d40
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 0x140299da3
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
mov rdx, qword [rsp + r15*8 + 0x40]
call fcn.14029a1d0
mov rdi, rax
mov qword [r14 + 0x28], rax
cmp dword [rbx + 0x40], 0
jne 0x140299e59
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.140220c20
mov rcx, rdi
call fcn.1401f5d20
cmp eax, 0x65
jne 0x140299dfb
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.140299b20
jmp 0x140299e48
cmp eax, 0x64
jne 0x140299e48
xor edx, edx
mov rcx, rdi
call fcn.1401f64e0
mov r9, rax
cmp rax, rbp
je 0x140299e48
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.140299b20
mov rcx, rdi
call fcn.1401f6df0
cmp dword [rbx + 0x40], 0
jne 0x140299e59
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 0x1402ba1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x28
xor r11d, r11d
mov rdi, r8
mov ebx, r11d
mov r14, rdx
mov rsi, rcx
cmp dword [rcx + 0x28], ebx
jle 0x1402ba2c9
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
lea r12, str.main
mov qword [rsp + 0x20], r15
lea r15, [0x140412f30]
nop
mov rax, qword [rsi + 0x20]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovge r10d, ebx
movsxd rcx, r10d
shl rcx, 5
mov rbp, qword [rcx + rax + 0x18]
test rdi, rdi
je 0x1402ba241
mov r8, qword [rcx + rax]
mov r9, rdi
sub r9, r8
nop dword [rax]
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1402ba27c
test ecx, ecx
jne 0x1402ba28a
lea rcx, [rbp + 0x20]
xor r8d, r8d
mov rdx, r14
call fcn.14023ab50
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1402ba260
inc ebx
cmp ebx, dword [rsi + 0x28]
jl 0x1402ba200
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
movzx edx, byte [rax + r15]
movzx ecx, byte [rcx + r15]
cmp ecx, edx
jne 0x1402ba28f
inc r8
jmp 0x1402ba230
test r10d, r10d
jne 0x1402ba259
mov r9, rdi
mov rax, r12
sub r9, r12
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [r9 + rax]
cmp edx, ecx
jne 0x1402ba2b5
test edx, edx
je 0x1402ba241
inc rax
jmp 0x1402ba2a0
movzx r8d, byte [rcx + r15]
movzx edx, byte [rdx + r15]
cmp edx, r8d
jne 0x1402ba259
inc rax
jmp 0x1402ba2a0
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402cbb90
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, qword [rcx]
lea rbp, [rcx + 0x68]
xor ebx, ebx
mov r13, r8
mov r15, rcx
mov esi, ebx
mov r12d, dword [r14 + 0x18]
cmp qword [rbp], rbx
jne 0x1402cbc84
mov r8, qword [r14 + 0x10]
lea rcx, str.SELECT_sz_FROM__Q._q_docsize_WHERE_id_
mov rdx, qword [r14 + 8]
call fcn.14021e5b0
mov rdi, rax
test rax, rax
jne 0x1402cbbf6
mov esi, 7
jmp 0x1402cbc84
mov rax, qword [r15]
mov r9d, 0x85
mov qword [rsp + 0x30], rbx
mov r8d, 0xffffffff
mov qword [rsp + 0x28], rbp
mov rdx, rdi
mov qword [rsp + 0x20], rbx
inc dword [rax + 0x78]
mov rcx, qword [r14]
call fcn.1402d6e50
mov esi, eax
mov rax, qword [r15]
dec dword [rax + 0x78]
cmp dword [0x140439d10], ebx
je 0x1402cbc7b
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x1402cbc44
call qword [0x140439d90]
mov rcx, rdi
call qword [0x140439d48]
dec qword [0x14043f378]
movsxd rcx, eax
sub qword [0x14043f330], rcx
mov rcx, rdi
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x1402cbc84
call qword [0x140439da0]
jmp 0x1402cbc84
mov rcx, rdi
call qword [0x140439d38]
mov rdi, qword [rbp]
mov rcx, rdi
call fcn.1401f6df0
test rdi, rdi
je 0x1402cbd8e
mov r8, qword [rsp + 0x78]
mov edx, 1
mov rcx, rdi
call fcn.140220c20
mov rcx, rdi
call fcn.1401f5d20
cmp eax, 0x64
jne 0x1402cbd7a
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1402cbcce
call qword [0x140439d90]
mov rcx, qword [rdi + 0xa0]
test rcx, rcx
je 0x1402cbce3
cmp bx, word [rdi + 0xc0]
jb 0x1402cbcfe
mov rcx, qword [rdi]
mov edx, 0x19
mov dword [rcx + 0x50], 0x19
call fcn.1402b27c0
lea rcx, [0x140413cd8]
call fcn.1401f7520
mov rcx, qword [rdi]
mov r14, rax
mov edx, dword [rdi + 0x34]
cmp byte [rcx + 0x67], bl
jne 0x1402cbd19
test edx, edx
jne 0x1402cbd19
mov eax, ebx
jmp 0x1402cbd1e
call fcn.1402269e0
mov dword [rdi + 0x34], eax
mov rax, qword [rdi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1402cbd33
call qword [0x140439da0]
xor edx, edx
mov rcx, rdi
call fcn.1401f6940
mov ebp, eax
mov esi, ebx
test r12d, r12d
jle 0x1402cbd6c
cmp ebx, ebp
jge 0x1402cbd7a
movsxd rcx, esi
lea rdx, [rcx*4]
movsxd rcx, ebx
add rcx, r14
add rdx, r13
call fcn.1402c6d50
add ebx, eax
inc esi
cmp esi, r12d
jl 0x1402cbd46
cmp ebx, ebp
jne 0x1402cbd7a
mov rcx, rdi
call fcn.1401f6df0
jmp 0x1402cbd90
mov rcx, rdi
call fcn.1401f6df0
test eax, eax
mov ecx, 0x10b
cmove eax, ecx
jmp 0x1402cbd90
mov eax, esi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1402cd7f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [rsp + 0x70]
xor ebp, ebp
movsxd rdi, r9d
mov rsi, r8
mov r14d, edx
mov r13, rcx
mov r8d, edx
mov dword [r15], ebp
test rcx, rcx
je 0x1402cd934
lea eax, [rdi - 1]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r12
mov r9d, 0xd
movsxd rdx, eax
test eax, eax
js 0x1402cd857
nop dword [rax]
movsx ecx, byte [rdx + rsi]
lea eax, [r9*8]
xor ecx, eax
xor r9d, ecx
sub rdx, 1
jns 0x1402cd840
lea r12d, [r9*8]
mov eax, r9d
xor r12, r8
xor r12, rax
and r12d, 0x1ff
mov rbx, qword [r13 + r12*8]
test rbx, rbx
je 0x1402cd8a6
nop dword [rax]
cmp dword [rbx + 0xc], r14d
jne 0x1402cd89d
cmp dword [rbx + 8], edi
jne 0x1402cd89d
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1402cd917
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1402cd880
lea rbp, [rdi + 0x18]
call fcn.14030be00
test eax, eax
jne 0x1402cd922
mov rcx, rbp
call fcn.1402d7360
mov rbx, rax
test rax, rax
je 0x1402cd922
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
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 sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r13 + r12*8]
mov qword [rbx + 0x10], rcx
xor ecx, ecx
mov eax, ecx
mov qword [r13 + r12*8], rbx
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov dword [r15], 1
mov eax, ebp
jmp 0x1402cd8fb
test rbp, rbp
mov eax, 7
mov ecx, 0
cmovle eax, ecx
jmp 0x1402cd8fb
mov eax, ebp
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret

Function at 0x1402cdf10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov edi, edx
cmp ecx, 0x80
jge 0x1402cdf32
lea edx, [rcx - 0x41]
cmp edx, 0x19
lea eax, [rcx + 0x20]
cmova eax, ecx
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x10000
jge 0x1402cdff7
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov qword [rsp + 0x38], rsi
mov r11d, r10d
lea rsi, [0x140000000]
mov r9d, 0xa2
mov ebx, 0xffffffff
lea eax, [r11 + r9]
mov r8d, ecx
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
movzx edx, word [rsi + rdx*4 + 0x40d840]
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 0x1402cdf60
lea r8, [rbx*4 + 0x40d840]
mov rbx, qword [rsp + 0x30]
movzx edx, word [r8 + rsi]
movzx eax, byte [r8 + rsi + 3]
add eax, edx
cmp ecx, eax
jge 0x1402cdfda
movzx eax, byte [r8 + rsi + 2]
xor edx, ecx
and edx, eax
test dl, 1
jne 0x1402cdfda
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x40dad0]
add eax, ecx
movzx ecx, ax
mov rsi, qword [rsp + 0x38]
test edi, edi
je 0x1402ce005
cmp edi, 2
sete r10b
mov edx, r10d
add rsp, 0x20
pop rdi
jmp fcn.14027aa90
lea eax, [rcx - 0x10400]
cmp eax, 0x27
lea eax, [rcx + 0x28]
jbe 0x1402ce007
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x140313df0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.1402d7360
mov rbx, rax
test rax, rax
jne 0x140313e34
mov eax, 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp byte [0x140439d14], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
je 0x140313e99
mov rax, qword [0x140439ea0]
test rax, rax
je 0x140313e5e
mov ecx, 0xc8
call rax
test eax, eax
jne 0x140313e99
lea rsi, [rbx + 8]
mov qword [rbx + 0x10], r15
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x1402eb5a0]
mov qword [rbx + 0x18], rbp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
jne 0x140313eb1
jmp 0x140313ea1
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x140313ece
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x14032aa6c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14032aab6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14032aab6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14032aab6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14032aab6
cmp dword [rcx + 0x84], 0xe
jbe 0x14032aab6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14032aab8
xor al, al
add rsp, 0x28
ret
Function at 0x140334400
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm9
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x90], xmm7
movaps xmmword [rsp + 0x80], xmm6
mov eax, dword [0x14043f660]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x70], 0
je 0x14033462c
mov eax, dword [0x14043f660]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movdqu xmm6, xmmword [rax + 0x78]
inc qword [rax + 0x78]
pshufd xmm7, xmm6, 0x44
pxor xmm7, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm8, xmm6, 0xee
pxor xmm8, xmmword [0x14033aac0]
mov ebx, 1
lea r14, [rsp + 0x60]
xorps xmm9, xmm9
lea rsi, [rsp + 0x30]
lea rdi, [rsp + 0x28]
nop word cs:[rax + rax]
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm6
movaps xmmword [r14], xmm9
mov qword [r14 + 0x10], 0
mov qword [rsp + 0x28], rbx
mov r8d, 8
mov rcx, rsi
mov rdx, rdi
call fcn.140049ef0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
rol rcx, 0x15
xor rax, r8
add rdx, rax
rol rax, 0x11
mov r8, rdx
rol r8, 0x20
xor r8, rax
xor r8, rcx
inc rbx
xor r8, rdx
je 0x1403344b0
mov eax, dword [0x14043f660]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x20], 1
mov qword [rax + 0x28], r8
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1403387f0
jmp 0x14033444f