joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401206b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1350]
mov eax, 0x1450
call fcn.140162380
sub rsp, rax
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rbp + 0x1340], rax
mov rdi, r8
mov rsi, rdx
mov rcx, qword [rcx]
call fcn.14011dd60
test al, al
jne 0x14012088f
movdqa xmm0, xmmword [0x1401921d0]
movdqu xmmword [rsp + 0x40], xmm0
xor ebx, ebx
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
cmp qword [rdi + 0x18], 0x10
jb 0x140120721
mov rdi, qword [rdi]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14012084f
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14012075c
nop dword [rax + rax]
inc rbx
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140120750
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov r8d, 0xffffffff
mov dword [rbp + 0x1334], r8d
mov dword [rbp - 0x4c], eax
mov edx, 1
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x4c], eax
inc rdx
cmp rdx, 0x270
jb 0x140120780
mov dword [rbp - 0x50], 0x270
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
dec rcx
shr rax, 1
cmp rax, r8
ja 0x1401207c0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
test rbx, rbx
jne 0x1401207e6
call fcn.1400bdf30
jmp 0x1401207ee
mov rdx, rbx
call fcn.140120450
mov rbx, qword [rsp + 0x38]
test rax, rax
je 0x14012080a
nop dword [rax + rax]
mov rbx, qword [rbx + 0x28]
sub rax, 1
jne 0x140120800
mov rcx, qword [rbx + 0x20]
mov ecx, dword [rcx + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
mov edx, eax
mov rcx, rsi
call fcn.14000f880
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, rsi
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.1401623e0
mov rbx, qword [rsp + 0x1488]
add rsp, 0x1450
pop rdi
pop rsi
pop rbp
ret
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140121380
nop
mov r8, rax
lea rdx, str.Ipv4Resolver::resolve__getaddrinfo_failed_
lea rcx, [rbp - 0x70]
call fcn.1400b74e0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140011900
lea rdx, [0x1401d25c0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call fcn.1400badf0
lea rdx, [0x1401d4088]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140124150
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8e8
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rsp + 0x8d0], rax
mov rbx, qword [rsp + 0x950]
mov r15, r8
mov r8d, dword [rsp + 0x960]
mov r12, r9
mov edi, dword [rsp + 0x958]
mov rbp, rcx
mov r13, qword [rsp + 0x968]
movzx r14d, dx
movzx edx, r14w
mov dword [r9], 0
call fcn.140124d00
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140124303
test rbx, rbx
je 0x14012423d
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0x80
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jns 0x1401241f2
lea rcx, str.getsockname
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x14012423d
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xor eax, eax
mov dword [rsp + 0x30], 0xa
mov dword [rsp + 0x28], eax
mov r9d, edi
mov r8, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov ebx, eax
test eax, eax
je 0x14012423d
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, ebx
lea rdx, str.getnameinfo___failed_:__d_n
mov rcx, rax
call fcn.140034970
mov dword [rsp + 0x30], r14d
lea rax, [0x14019260c]
mov qword [rsp + 0x28], rbp
lea r8, str.GET__s_HTTP__s_r_nHost:__s:_d_r_nConnection:_Close_r_nUser_Agent:_Windows__UPnP_1.1__MiniUPnPc_2.2.2_r_n_r_n
mov r9, r15
mov qword [rsp + 0x20], rax
mov edx, 0x800
lea rcx, [rsp + 0xd0]
call fcn.14001ed50
mov edi, eax
cmp eax, 0x800
jae 0x1401242fa
xor ebx, ebx
test eax, eax
jle 0x1401242ac
mov r8d, edi
movsxd rax, ebx
lea rdx, [rsp + 0xd0]
sub r8d, ebx
add rdx, rax
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x1401242ed
add ebx, eax
cmp ebx, edi
jl 0x140124282
mov r8, r13
mov rdx, r12
mov rcx, rsi
call fcn.140123a30
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, rbx
mov rcx, qword [rsp + 0x8d0]
xor rcx, rsp
call fcn.1401623e0
add rsp, 0x8e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.send
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x1401242c9
Function at 0x1401246a0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x278
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r15, qword [rsp + 0x2e0]
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsp + 0x2e8]
mov rdi, rbx
mov r12, qword [rsp + 0x2f0]
mov r14, r8
mov rsi, rdx
mov r13, rcx
inc rdi
cmp byte [rdi + rbp], 0
jne 0x1401246f1
mov byte [rsp + 0x50], 0
cmp r9w, 0x50
je 0x140124720
movzx r9d, r9w
lea r8, str.:_hu
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.14001ed50
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], edi
lea r8, str.POST__s_HTTP__s_r_nHost:__s_s_r_nUser_Agent:_Windows__UPnP_1.1__MiniUPnPc_2.2.2_r_nContent_Length:__d_r_nContent_Type:_text_xml_r_nSOAPAction:___s__r_nConnection:_Close_r_nCache_Control:_no_cache_r_nPragma:_no_cache_r_n_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov r9, rsi
mov edx, 0x200
mov qword [rsp + 0x20], r12
call fcn.14001ed50
movsxd r14, eax
cmp r14d, 0x200
jae 0x1401247e9
lea r15d, [r14 + rdi]
movsxd rcx, r15d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1401247e9
mov r8, r14
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movsxd r8, edi
lea rcx, [r14 + rsi]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
xor r9d, r9d
mov r8d, r15d
mov rdx, rsi
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
mov edi, eax
test eax, eax
jns 0x1401247de
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebx
lea r8, str.send
mov rcx, rax
lea rdx, str.Socket_error:__s___d_n
call fcn.140034970
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, edi
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1401623e0
add rsp, 0x278
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401252a0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x268
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, qword [rsp + 0x2b0]
mov rdi, rdx
mov eax, 0x10624dd3
mov qword [rsp + 0x48], rcx
imul r9d
mov ebp, r8d
mov dword [rsp + 0x40], 1
sar edx, 6
mov rbx, rcx
mov eax, edx
xor r8d, r8d
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
lea rdx, [rsp + 0x40]
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
lea ecx, [r9 + 0x40]
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x14012535c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebx
lea r8, str.select
mov rcx, rax
lea rdx, str.Socket_error:__s___d_n
call fcn.140034970
mov eax, 0xffffffff
jmp 0x1401253b3
jne 0x140125362
xor eax, eax
jmp 0x1401253b3
xor r9d, r9d
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jns 0x1401253a6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebx
lea r8, str.recv
mov rcx, rax
lea rdx, str.Socket_error:__s___d_n
call fcn.140034970
test rsi, rsi
je 0x1401253b1
mov dword [rsi], 0
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401623e0
add rsp, 0x268
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140130230
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov edx, 0x201000
xor ecx, ecx
mov r9d, 4
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx], rax
test rax, rax
je 0x140130263
mov rax, rbx
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.140130200
lea rdx, [0x1401d4348]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140130450
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov r8d, dword [rcx]
lea rbp, str.cw
mov r10, qword [rcx + 8]
mov rdi, rdx
mov rax, qword [rcx]
mov rbx, rcx
shr rax, 0x20
movabs rsi, 0xffffffff00000000
xor eax, r8d
mov r9d, eax
mov r11d, eax
mov eax, r10d
and r10, rsi
xor r9, rax
shl r11, 0x20
or r11, r8
mov rax, r9
shl rax, 0x20
xor r10, rax
mov qword [rcx], r11
or r10, r9
mov qword [rcx + 8], r10
mov r8, qword [rdx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl eax, 8
or edx, eax
mov rax, r8
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbp]
or edx, eax
movzx eax, r8b
shl edx, 8
movzx eax, byte [rax + rbp]
or eax, edx
ror eax, 8
xor rax, 1
mov rcx, rax
shl rcx, 0x20
or rcx, rax
xor r10, rcx
xor r11, rcx
mov qword [rbx + 8], r10
mov qword [rbx], r11
mov ecx, dword [rdi]
mov r9, qword [rdi + 8]
mov rax, qword [rdi]
shr rax, 0x20
xor eax, ecx
mov edx, eax
mov r10d, eax
mov eax, r9d
and r9, rsi
xor rdx, rax
shl r10, 0x20
mov rax, rdx
or r10, rcx
shl rax, 0x20
xor r9, rax
mov qword [rdi], r10
or r9, rdx
mov qword [rdi + 8], r9
mov r8, qword [rbx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl rax, 8
or rdx, rax
mov rbx, qword [rsp + 8]
mov rax, r8
mov rsi, qword [rsp + 0x18]
shr rax, 8
movzx ecx, al
shl rdx, 8
movzx eax, byte [rcx + rbp]
or rdx, rax
movzx eax, r8b
shl rdx, 8
movzx ecx, byte [rax + rbp]
mov rbp, qword [rsp + 0x10]
or rdx, rcx
mov ecx, edx
shl rcx, 0x20
mov eax, edx
or rcx, rax
xor r10, rcx
xor r9, rcx
mov qword [rdi], r10
mov qword [rdi + 8], r9
mov rdi, qword [rsp + 0x20]
ret
Function at 0x1401305d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov r8d, dword [rcx]
lea rbp, str.cw
mov r10, qword [rcx + 8]
mov rdi, rdx
mov rax, qword [rcx]
mov rbx, rcx
shr rax, 0x20
movabs rsi, 0xffffffff00000000
xor eax, r8d
mov r9d, eax
mov r11d, eax
mov eax, r10d
and r10, rsi
xor r9, rax
shl r11, 0x20
or r11, r8
mov rax, r9
shl rax, 0x20
xor r10, rax
mov qword [rcx], r11
or r10, r9
mov qword [rcx + 8], r10
mov r8, qword [rdx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl eax, 8
or edx, eax
mov rax, r8
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbp]
or edx, eax
movzx eax, r8b
shl edx, 8
movzx eax, byte [rax + rbp]
or eax, edx
ror eax, 8
xor rax, 2
mov rcx, rax
shl rcx, 0x20
or rcx, rax
xor r10, rcx
xor r11, rcx
mov qword [rbx + 8], r10
mov qword [rbx], r11
mov ecx, dword [rdi]
mov r9, qword [rdi + 8]
mov rax, qword [rdi]
shr rax, 0x20
xor eax, ecx
mov edx, eax
mov r10d, eax
mov eax, r9d
and r9, rsi
xor rdx, rax
shl r10, 0x20
mov rax, rdx
or r10, rcx
shl rax, 0x20
xor r9, rax
mov qword [rdi], r10
or r9, rdx
mov qword [rdi + 8], r9
mov r8, qword [rbx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl rax, 8
or rdx, rax
mov rbx, qword [rsp + 8]
mov rax, r8
mov rsi, qword [rsp + 0x18]
shr rax, 8
movzx ecx, al
shl rdx, 8
movzx eax, byte [rcx + rbp]
or rdx, rax
movzx eax, r8b
shl rdx, 8
movzx ecx, byte [rax + rbp]
mov rbp, qword [rsp + 0x10]
or rdx, rcx
mov ecx, edx
shl rcx, 0x20
mov eax, edx
or rcx, rax
xor r10, rcx
xor r9, rcx
mov qword [rdi], r10
mov qword [rdi + 8], r9
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140130750
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov r8d, dword [rcx]
lea rbp, str.cw
mov r10, qword [rcx + 8]
mov rdi, rdx
mov rax, qword [rcx]
mov rbx, rcx
shr rax, 0x20
movabs rsi, 0xffffffff00000000
xor eax, r8d
mov r9d, eax
mov r11d, eax
mov eax, r10d
and r10, rsi
xor r9, rax
shl r11, 0x20
or r11, r8
mov rax, r9
shl rax, 0x20
xor r10, rax
mov qword [rcx], r11
or r10, r9
mov qword [rcx + 8], r10
mov r8, qword [rdx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl eax, 8
or edx, eax
mov rax, r8
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbp]
or edx, eax
movzx eax, r8b
shl edx, 8
movzx eax, byte [rax + rbp]
or eax, edx
ror eax, 8
xor rax, 4
mov rcx, rax
shl rcx, 0x20
or rcx, rax
xor r10, rcx
xor r11, rcx
mov qword [rbx + 8], r10
mov qword [rbx], r11
mov ecx, dword [rdi]
mov r9, qword [rdi + 8]
mov rax, qword [rdi]
shr rax, 0x20
xor eax, ecx
mov edx, eax
mov r10d, eax
mov eax, r9d
and r9, rsi
xor rdx, rax
shl r10, 0x20
mov rax, rdx
or r10, rcx
shl rax, 0x20
xor r9, rax
mov qword [rdi], r10
or r9, rdx
mov qword [rdi + 8], r9
mov r8, qword [rbx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl rax, 8
or rdx, rax
mov rbx, qword [rsp + 8]
mov rax, r8
mov rsi, qword [rsp + 0x18]
shr rax, 8
movzx ecx, al
shl rdx, 8
movzx eax, byte [rcx + rbp]
or rdx, rax
movzx eax, r8b
shl rdx, 8
movzx ecx, byte [rax + rbp]
mov rbp, qword [rsp + 0x10]
or rdx, rcx
mov ecx, edx
shl rcx, 0x20
mov eax, edx
or rcx, rax
xor r10, rcx
xor r9, rcx
mov qword [rdi], r10
mov qword [rdi + 8], r9
mov rdi, qword [rsp + 0x20]
ret
Function at 0x1401308d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov r8d, dword [rcx]
lea rbp, str.cw
mov r10, qword [rcx + 8]
mov rdi, rdx
mov rax, qword [rcx]
mov rbx, rcx
shr rax, 0x20
movabs rsi, 0xffffffff00000000
xor eax, r8d
mov r9d, eax
mov r11d, eax
mov eax, r10d
and r10, rsi
xor r9, rax
shl r11, 0x20
or r11, r8
mov rax, r9
shl rax, 0x20
xor r10, rax
mov qword [rcx], r11
or r10, r9
mov qword [rcx + 8], r10
mov r8, qword [rdx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl eax, 8
or edx, eax
mov rax, r8
shr rax, 8
movzx ecx, al
shl edx, 8
movzx eax, byte [rcx + rbp]
or edx, eax
movzx eax, r8b
shl edx, 8
movzx eax, byte [rax + rbp]
or eax, edx
ror eax, 8
xor rax, 8
mov rcx, rax
shl rcx, 0x20
or rcx, rax
xor r10, rcx
xor r11, rcx
mov qword [rbx + 8], r10
mov qword [rbx], r11
mov ecx, dword [rdi]
mov r9, qword [rdi + 8]
mov rax, qword [rdi]
shr rax, 0x20
xor eax, ecx
mov edx, eax
mov r10d, eax
mov eax, r9d
and r9, rsi
xor rdx, rax
shl r10, 0x20
mov rax, rdx
or r10, rcx
shl rax, 0x20
xor r9, rax
mov qword [rdi], r10
or r9, rdx
mov qword [rdi + 8], r9
mov r8, qword [rbx + 8]
shr r8, 0x20
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
movzx edx, byte [rcx + rbp]
movzx eax, byte [rax + rbp]
shl rax, 8
or rdx, rax
mov rbx, qword [rsp + 8]
mov rax, r8
mov rsi, qword [rsp + 0x18]
shr rax, 8
movzx ecx, al
shl rdx, 8
movzx eax, byte [rcx + rbp]
or rdx, rax
movzx eax, r8b
shl rdx, 8
movzx ecx, byte [rax + rbp]
mov rbp, qword [rsp + 0x10]
or rdx, rcx
mov ecx, edx
shl rcx, 0x20
mov eax, edx
or rcx, rax
xor r10, rcx
xor r9, rcx
mov qword [rdi], r10
mov qword [rdi + 8], r9
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140134fe0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, r8
mov r10, rdx
mov r8, qword [rcx + 8]
mov rdi, r9
mov rbx, rcx
mov edx, eax
mov rcx, r10
mov r9d, 0xc8
call fcn.1401364d0
mov rcx, rbx
call fcn.140134280
mov rdx, qword [rbx + 8]
mov ebp, 0x80000
mov r11, qword [rdx + 0x20]
xor r11, qword [rdx]
mov rsi, qword [rdx + 0x28]
mov rcx, qword [rdx + 0x38]
xor rcx, qword [rdx + 0x18]
xor rsi, qword [rdx + 8]
mov rax, qword [rdx + 0x30]
xor rax, qword [rdx + 0x10]
movq xmm0, rcx
mov rcx, r11
movq xmm3, rax
punpcklqdq xmm3, xmm0
nop word [rax + rax]
mov rax, qword [rbx]
and ecx, 0x1ffff0
movq xmm0, rsi
movq xmm1, r11
punpcklqdq xmm1, xmm0
movdqu xmm2, xmmword [rcx + rax]
aesenc xmm2, xmm1
movq rdx, xmm2
movdqa xmm0, xmm2
mov r10, rdx
pxor xmm0, xmm3
movdqu xmmword [rcx + rax], xmm0
and r10d, 0x1ffff0
mov rcx, qword [rbx]
movdqa xmm3, xmm2
mov r9, qword [rcx + r10]
mov r8, qword [rcx + r10 + 8]
mov rax, r9
mul rdx
add rsi, rax
add r11, rdx
mov qword [rcx + r10], r11
xor r11, r9
mov rax, qword [rbx]
mov rcx, r11
mov qword [r10 + rax + 8], rsi
xor rsi, r8
sub rbp, 1
jne 0x140135060
mov rcx, rbx
call fcn.140135330
mov rcx, qword [rbx + 8]
lea edx, [rbp + 0x18]
call fcn.1401367e0
mov r10, qword [rbx + 8]
movzx eax, byte [r10]
and eax, 3
je 0x140135146
sub eax, 1
je 0x140135134
sub eax, 1
je 0x14013511c
cmp eax, 1
jne 0x140135157
mov r9, rdi
mov r8d, 0x640
mov rdx, r10
mov ecx, 0x100
call fcn.1401485a0
jmp 0x140135157
mov r9, rdi
mov r8d, 0x640
mov rdx, r10
mov ecx, 0x100
call fcn.140144f00
jmp 0x140135157
mov r8, rdi
mov edx, 0x640
mov rcx, r10
call fcn.140143a20
jmp 0x140135157
mov r8d, 0xc8
mov rdx, r10
mov rcx, rdi
call fcn.140141a70
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140135170
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, r8
mov r10, rdx
mov r8, qword [rcx + 8]
mov rdi, r9
mov rbx, rcx
mov edx, eax
mov rcx, r10
mov r9d, 0xc8
call fcn.1401364d0
mov rcx, rbx
call fcn.140134780
mov rdx, qword [rbx + 8]
mov ebp, 0x40000
mov r11, qword [rdx + 0x20]
xor r11, qword [rdx]
mov rsi, qword [rdx + 0x28]
mov r10, r11
mov rcx, qword [rdx + 0x38]
xor rcx, qword [rdx + 0x18]
xor rsi, qword [rdx + 8]
mov rax, qword [rdx + 0x30]
xor rax, qword [rdx + 0x10]
movq xmm0, rcx
movq xmm3, rax
punpcklqdq xmm3, xmm0
nop word [rax + rax]
mov rax, qword [rbx]
and r10d, 0x3ffff0
movq xmm0, rsi
movq xmm1, r11
punpcklqdq xmm1, xmm0
movdqu xmm2, xmmword [r10 + rax]
aesenc xmm2, xmm1
movq rdx, xmm2
movdqa xmm0, xmm2
pxor xmm0, xmm3
movdqa xmm3, xmm2
movdqu xmmword [r10 + rax], xmm0
mov r10, rdx
mov rcx, qword [rbx]
and r10d, 0x3ffff0
mov r9, qword [rcx + r10]
mov r8, qword [rcx + r10 + 8]
mov rax, r9
mul rdx
add rsi, rax
add r11, rdx
mov qword [rcx + r10], r11
xor r11, r9
mov rax, qword [rbx]
mov r9, r11
and r9d, 0x3ffff0
mov qword [r10 + rax + 8], rsi
xor rsi, r8
add r9, qword [rbx]
movsxd r10, dword [r9 + 8]
mov rax, qword [r9]
mov rcx, r10
or rcx, 5
cqo
idiv rcx
xor qword [r9], rax
xor r10, rax
sub rbp, 1
jne 0x1401351f0
mov rcx, rbx
call fcn.140135850
mov rcx, qword [rbx + 8]
lea edx, [rbp + 0x18]
call fcn.1401367e0
mov r10, qword [rbx + 8]
movzx eax, byte [r10]
and eax, 3
je 0x140135300
sub eax, 1
je 0x1401352ee
sub eax, 1
je 0x1401352d6
cmp eax, 1
jne 0x140135311
mov r9, rdi
mov r8d, 0x640
mov rdx, r10
mov ecx, 0x100
call fcn.1401485a0
jmp 0x140135311
mov r9, rdi
mov r8d, 0x640
mov rdx, r10
mov ecx, 0x100
call fcn.140144f00
jmp 0x140135311
mov r8, rdi
mov edx, 0x640
mov rcx, r10
call fcn.140143a20
jmp 0x140135311
mov r8d, 0xc8
mov rdx, r10
mov rcx, rdi
call fcn.140141a70
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401367d0
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0xc8
jmp fcn.1401364d0
Function at 0x140141a70
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.140141b30
mov r9b, 1
lea rcx, [rsp + 0x20]
mov r8b, 0x81
mov rdx, rbx
call fcn.140141810
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401623e0
add rsp, 0xb0
pop rbx
ret
Function at 0x140165650
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [rsp + 0x20]
mov qword [rbx], 0
mov qword [rbx + 0x18], sendto
test ecx, ecx
je 0x1401656f1
sub ecx, 5
je 0x1401656e8
sub ecx, 1
je 0x1401656be
cmp ecx, 3
mov rcx, rbx
je 0x1401656b5
mov qword [rbx + 0x10], 7
mov r8d, 7
lea rdx, str.unknown
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 7], 0
mov rax, rbx
add rsp, 0x50
pop rbx
ret
lea rdx, [0x1401a01cc]
jmp 0x1401656fb
mov qword [rbx + 0x10], 7
mov r8d, 7
lea rdx, str.Itanium
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 7], 0
mov rax, rbx
add rsp, 0x50
pop rbx
ret
lea rdx, [0x1401a01d0]
jmp 0x1401656f8
lea rdx, [0x1401a01e0]
mov rcx, rbx
mov qword [rbx + 0x10], 3
mov r8d, 3
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 3], 0
mov rax, rbx
add rsp, 0x50
pop rbx
ret

Function at 0x140165720
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [rcx], rax
mov dword [rcx + 8], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov dword [rbx], eax
shr eax, 1
mov dword [rbx + 4], eax
mov rax, rbx
add rsp, 0x50
pop rbx
ret