joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180060a40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180060a87
xor al, al
jmp 0x180060b29
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180060ab1
xor al, al
jmp 0x180060b29
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180060b21
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180060b21
mov al, 1
jmp 0x180060b29
jmp 0x180060b27
xor al, al
add rsp, 0x78
ret

Function at 0x180060e30
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800982d0]
mov qword [rsp + 0x28], rax
jmp 0x180060e50
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180060e7f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180060e7d
call sub.KERNEL32.dll_GetLastError
jmp 0x180060e81
jmp 0x180060e42
xor eax, eax
add rsp, 0x38
ret
Function at 0x180061540
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x1800982e8], eax
je 0x18006155b
mov eax, 0x10dd
jmp 0x180061680
mov rax, qword [0x180098300]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180061605
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x1800615d0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x1800615d0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180060190
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180063790
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180061567
mov qword [0x180098300], 0
call fcn.180060bf0
mov rax, qword [0x1800982f8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180061669
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180063790
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180061621
mov qword [0x1800982f8], 0
mov dword [0x1800982e8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180061bb0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1800982ec], 0
je 0x180061bcd
mov eax, dword [0x1800982ec]
jmp 0x180061c93
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180061be0
xor eax, eax
jmp 0x180061c93
mov ecx, 0x10
call fcn.180063798
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180061c4e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180061c33
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180063790
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1800982ec], eax
mov qword [0x1800982f0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180061c93
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180061c68
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180061c09
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1800982f8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1800982f8], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1800630d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18006315c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180067910]
cmp byte [rcx + rax], 0
je 0x18006315c
dec r8
sub rdx, 1
jne 0x180063142
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140003860
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rcx]
movsxd rdx, dword [rdx]
mov rcx, qword [rdi + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003e530
mov rdx, rax
mov rcx, qword [rdi + 0x10]
test byte [rax + 8], 0xf
jne 0x140003890
mov byte [rcx + 8], 0
jmp 0x14000389d
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rdi + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rdi
call fcn.1400123e0
mov rbx, rax
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.140011e10
nop
movzx r8d, bl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs r9, 0x100000001b3
imul r8, r9
mov rcx, rbx
shr rcx, 8
movzx edx, cl
xor r8, rdx
imul r8, r9
mov rax, rbx
shr rax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x18
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x20
movzx ecx, al
xor r8, rcx
imul r8, r9
mov rax, rbx
shr rax, 0x28
movzx eax, al
xor rax, r8
imul rax, r9
mov rcx, rbx
shr rcx, 0x30
movzx edx, cl
xor rax, rdx
imul rax, r9
shr rbx, 0x38
xor rax, rbx
imul rax, r9
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x20], xmm0
movabs rbx, 0xcbf29ce484222325
xor edx, edx
mov r8, qword [r8 + 8]
test r8, r8
je 0x140007273
movabs r9, 0x100000001b3
mov rcx, qword [rsp + 0x20]
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r9
inc rdx
cmp rdx, r8
jb 0x140007260
mov r9, rbx
mov r8, r15
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140007c20
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400072ae
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rax + 0x30], xmm1
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x140007451
movabs rax, 0x492492492492492
cmp qword [rbp + 0x10], rax
jne 0x1400072cc
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r13, [rbp + 8]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], 0
mov ecx, gethostname
call fcn.14011d828
mov rsi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r15]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rax + 0x30], xmm1
mov rcx, qword [rbp + 0x10]
movss xmm3, dword [rbp]
add rcx, 1
xorps xmm0, xmm0
js 0x140007322
cvtsi2ss xmm0, rcx
jmp 0x140007337
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [rbp + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x14000734a
cvtsi2ss xmm2, rdi
jmp 0x140007362
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
jbe 0x1400073f9
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x140148d48]
comiss xmm0, xmm1
jb 0x1400073a0
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400073a0
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x1400073d2
cmp rdi, 0x200
jae 0x1400073cf
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1400073d2
mov rdi, rcx
mov rdx, rdi
mov rcx, rbp
call fcn.1400079e0
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140007c20
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x140007432
mov qword [rcx + rax*8], rsi
jmp 0x140007444
cmp r9, rdx
jne 0x14000743d
mov qword [rcx + rax*8], rsi
jmp 0x140007449
cmp qword [rcx + rax*8 + 8], r8
jne 0x140007449
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400079e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
sub rsp, 0x78
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x40], rcx
mov rbp, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140007a1a
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0xa0], rsi
mov rsi, qword [rbp + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x70], rdi
mov r8, rsi
inc ecx
mov qword [rsp + 0x58], r14
shl rbx, cl
lea r14, [rbp + 0x18]
mov rcx, r14
mov qword [rsp + 0x20], r14
lea rdx, [rbx + rbx]
call fcn.140005f70
lea rax, [rbx - 1]
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x30], rax
mov rbx, qword [rbp + 8]
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rsi
je 0x140007be0
mov qword [rsp + 0x68], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x60], r13
movabs r10, 0x100000001b3
mov qword [rsp + 0x50], r15
nop word [rax + rax]
movups xmm0, xmmword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
xor ecx, ecx
mov rdi, qword [rdi]
mov rdx, rax
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140007ad4
mov r9, qword [rsp + 0x30]
nop
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, r8
jb 0x140007ac0
mov r12, qword [rbp + 0x30]
and r12, rdx
shl r12, 4
add r12, qword [r14]
mov r15, qword [r12]
cmp r15, rsi
jne 0x140007af9
mov qword [r12], rbx
mov qword [r12 + 8], rbx
jmp 0x140007bb6
mov r14, qword [r12 + 8]
cmp r8, qword [r14 + 0x18]
jne 0x140007b46
mov rdx, qword [r14 + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007b46
mov r8, qword [r14]
cmp r8, rbx
je 0x140007b3f
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + 8], rbx
jmp 0x140007ba7
cmp r15, r14
je 0x140007b82
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov rbp, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
nop
mov r14, qword [r14 + 8]
cmp rbp, qword [r14 + 0x18]
jne 0x140007b7d
mov rdx, qword [r14 + 0x10]
mov r8, rbp
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140007bf9
cmp r15, r14
jne 0x140007b60
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rbx
mov qword [r14 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12], rbx
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
mov rbp, qword [rsp + 0x40]
mov rbx, rdi
movabs rax, 0xcbf29ce484222325
cmp rdi, rsi
jne 0x140007aa0
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x58]
add rsp, 0x78
pop rbp
pop rbx
ret
mov r8, qword [r14]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140007ba7
Function at 0x140007cf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [r8 + 0x10]
mov r11, qword [r8 + 0x18]
mov rdi, rdx
xor edx, edx
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm0
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140007d43
mov rcx, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rdx
xor r9, rax
imul r9, rbx
cmp rdx, r11
jb 0x140007d30
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x140007d77
cmp rax, r8
jne 0x140007d6d
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140007d82
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007d82
cmp rax, r8
jne 0x140007d82
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, gethostname
dec qword [r10 + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov qword [rbx + 8], rcx
mov rcx, r8
call fcn.14011d700
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140011460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
movabs rax, 0xfffffffffffffff
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140011491
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x70], rsi
mov rsi, qword [0x140168fe8]
or rax, rbx
bsr rcx, rax
mov r8, rsi
mov qword [rsp + 0x78], rdi
inc ecx
shl rbx, cl
lea rcx, [0x140168ff8]
lea rdx, [rbx + rbx]
call fcn.140005f70
lea r10, [rbx - 1]
mov qword [0x140169018], rbx
mov rbx, qword [0x140168fe8]
mov qword [0x140169010], r10
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rsi
je 0x140011685
mov qword [rsp + 0x60], rbp
movabs r11, 0x100000001b3
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movups xmm0, xmmword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rdi, qword [rdi]
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp + 0x20], xmm0
mov rcx, rax
test r8, r8
je 0x140011554
mov r9, qword [rsp + 0x20]
nop dword [rax]
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r8
jb 0x140011540
mov r12, qword [0x140168ff8]
and rcx, r10
shl rcx, 4
add r12, rcx
mov r15, qword [r12]
cmp r15, rsi
jne 0x14001157c
mov qword [r12], rbx
mov qword [r12 + 8], rbx
jmp 0x140011632
mov r14, qword [r12 + 8]
cmp r8, qword [r14 + 0x18]
jne 0x1400115c9
mov rdx, qword [r14 + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400115c9
mov r8, qword [r14]
cmp r8, rbx
je 0x1400115c2
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + 8], rbx
jmp 0x140011628
cmp r15, r14
je 0x140011603
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov rbp, qword [rsp + 0x28]
mov r13, qword [rsp + 0x20]
mov r14, qword [r14 + 8]
cmp rbp, qword [r14 + 0x18]
jne 0x1400115fe
mov rdx, qword [r14 + 0x10]
mov r8, rbp
mov rcx, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140011646
cmp r15, r14
jne 0x1400115e1
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rbx
mov qword [r14 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12], rbx
movabs r11, 0x100000001b3
mov rbx, rdi
cmp rdi, rsi
je 0x14001166c
mov r10, qword [0x140169010]
jmp 0x140011510
mov r8, qword [r14]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140011628
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret
Function at 0x140022ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov eax, 1
mov qword [rsp + 0x38], rsi
mov r11, rcx
mov rdi, rdx
movzx ecx, byte [rdx + 0xb]
shl eax, cl
cmp byte [rdx + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
jge 0x140022f30
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x140022f30
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x140022f33
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x140022f6e
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140022f5f
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140022f5f
mov rcx, r11
call fcn.140022af0
add r10, 0x10
sub rbx, 1
jne 0x140022f41
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140022fd0
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x140022f99
test al, al
je 0x140022fc7
mov byte [r10 + 9], ntohl
jmp 0x140022fc7
test al, al
je 0x140022faf
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x140022faf
mov rcx, r11
call fcn.140022af0
test byte [r10 + 8], 0x40
je 0x140022fc7
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140022fc7
mov rcx, r11
call fcn.140022af0
add r10, 0x18
cmp r10, rsi
jb 0x140022f80
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140023007
mov rcx, rdi
call fcn.140022a60
mov rcx, qword [r11 + 0x90]
mov qword [rax], rcx
mov qword [r11 + 0x90], rdi
and byte [rdi + 9], 0xc7
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x140023011
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x14002e370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x80], rbx
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor esi, esi
lea r11, [0x140134550]
xorps xmm1, xmm1
mov r10d, esi
mov r14d, esi
mov r9d, esi
mov r8, qword [rax]
mov edi, esi
movsx r15d, byte [r8]
mov qword [r13], rbx
movzx eax, byte [rbx]
test byte [rax + r11 + 1], 8
je 0x14002e3df
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r11 + 1], 8
jne 0x14002e3d0
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x14002e3f6
mov r12d, ebp
jmp 0x14002e400
cmp byte [rbx], 0x2b
mov r12d, esi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x80]
jne 0x14002e559
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x14002e559
movsd xmm2, qword [0x140148c78]
lea r13, [0x140134550]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, r15d
jne 0x14002e45b
test edi, edi
jne 0x14002e4b0
mov edi, ebp
inc rdx
jmp 0x14002e440
test byte [r8 + r13 + 1], 0x10
je 0x14002e4b0
test r10d, r10d
jne 0x14002e473
cmp r8b, 0x30
jne 0x14002e473
inc r14d
jmp 0x14002e4a4
inc r10d
cmp r10d, 0x1e
jg 0x14002e4a1
test byte [rcx + r13 + 1], 2
je 0x14002e489
add ecx, 0xffffffd0
jmp 0x14002e48f
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x14002e4a4
inc r9d
test edi, edi
je 0x14002e4ab
dec r9d
inc rdx
jmp 0x14002e440
mov r13, qword [rsp + 0x20]
lea eax, [r14 + r10]
test eax, eax
je 0x14002e559
mov qword [r13], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x14002e53f
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x14002e4e7
lea rdx, [r11 + 2]
jmp 0x14002e4f1
cmp al, 0x2b
jne 0x14002e4ef
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
lea r11, [0x140134550]
test byte [r8 + r11 + 1], 2
je 0x14002e559
nop dword [rax]
nop dword [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r11 + 1], 2
jne 0x14002e510
mov eax, esi
mov qword [r13], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r12d, r12d
je 0x14002e54b
xorps xmm1, xmmword [0x1401493f0]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x14002e55c
xorps xmm0, xmm0
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140037700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
cmp r8, 0x28
ja 0x140037727
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.140037550
movabs rax, 0x7fffffffffffffdf
cmp rbp, rax
jae 0x1400377b4
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 0x19]
mov qword [rsp + 0x38], rsi
mov r8d, 4
mov qword [rsp + 0x40], rdi
mov rdi, qword [rcx + 0x18]
mov ebx, dword [rdi + 0x60]
call fcn.14002ba90
movzx ecx, byte [rdi + 0x64]
mov r8, rbp
and cl, 0x18
mov rdx, r14
mov rsi, rax
mov byte [rax + 9], cl
mov byte [rax + 8], reloc.WS2_32.dll_sendto
mov rcx, qword [rdi + 0x70]
mov qword [rax], rcx
lea rcx, [rax + 0x18]
mov qword [rdi + 0x70], rax
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
mov byte [rax + rbp + 0x18], 0
mov qword [rax + 0x10], rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.14002b990
int3