joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006544
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
test r9d, r9d
je 0x1400065bb
mov rcx, qword [0x1400453cc]
add esi, 2
xor edx, edx
lea eax, [rsi + 1]
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400065bb
mov rcx, rax
test rbx, rbx
je 0x1400065ac
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
lea rdx, [0x140033788]
mov rcx, rdi
call sub.msvcrt.dll_wcscat
jmp 0x1400065b8
lea rdx, [0x140033788]
call sub.msvcrt.dll_wcscpy
mov rbx, rdi
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
jne 0x140006645
mov eax, dword [reloc.WS2_32.dll_bind]
cmp eax, 2
je 0x140006610
cmp eax, 0x18
je 0x140006606
and qword [rsp + 0x20], 0
lea r8d, [rsi + rsi]
lea r9, [rsp + 0x58]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140006645
mov rcx, rbx
call fcn.14002a880
jmp 0x140006618
mov rcx, rbx
call fcn.14002a4e0
mov rcx, rax
mov rbx, rax
call sub.msvcrt.dll_strlen
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.14002a870
test rdi, rdi
je 0x14000665c
mov rcx, qword [0x1400453cc]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000cce0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r12
sub rsp, 0x48
xor ebx, ebx
mov r12d, edx
mov ebp, 1
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov edx, 0x80000000
mov r8d, ebp
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000ceb9
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
je 0x14000cd6c
test eax, eax
jle 0x14000cd6c
mov rdx, qword [0x14004abe0]
lea r9, [rsp + 0x80]
mov r8d, eax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000cd6c
cmp dword [rsp + 0x80], edi
cmove ebx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14000ceb4
mov rdx, qword [0x14004abe0]
mov rax, rdx
cmp dword [rdx], 0x50555245
jne 0x14000ceb4
mov esi, dword [rdx + 8]
add rax, 0xc
lea ecx, [rsi - 0x52455331]
cmp ecx, 8
ja 0x14000ceb4
lea ecx, [rdi - 8]
mov qword [rsp + 0x40], r15
movsxd r15, ecx
lea rcx, [r15 + rdx]
cmp rax, rcx
jae 0x14000ceaf
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x88], r14
lea r13, [0x14000cfd0]
nop word [rax + rax]
cmp dword [rax], 0x434e5354
movsxd rdi, dword [rax + 4]
lea r14, [rax + 8]
jne 0x14000ce8b
test edi, edi
jle 0x14000ce8b
mov rcx, qword [0x1400453cc]
lea r8, [rdi + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000ce8b
lea rcx, [rax + 0x28]
mov r8, rdi
mov rdx, r14
mov dword [rax + 0x10], edi
mov dword [rax + 0x14], r12d
mov qword [rax + 8], rcx
call sub.msvcrt.dll_memcpy
cmp esi, 0x52455331
je 0x14000ce64
jle 0x14000ce7a
cmp esi, 0x52455333
jle 0x14000ce50
mov qword [rbx + 0x18], r13
lea rax, [0x14000fa60]
jmp 0x14000ce76
lea rax, [0x14000cee0]
mov qword [rbx + 0x18], rax
lea rax, [0x14000fa30]
jmp 0x14000ce76
lea rax, [0x14000ced0]
mov qword [rbx + 0x18], rax
lea rax, [0x14000fa20]
mov qword [rbx + 0x20], rax
mov rax, qword [0x140045bc0]
mov qword [0x140045bc0], rbx
mov qword [rbx], rax
mov rdx, qword [0x14004abe0]
lea rax, [r14 + rdi]
add rdx, r15
cmp rax, rdx
jb 0x14000cde0
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x70]
add rsp, 0x48
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000fd50
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
mov rcx, qword [0x14004a360]
call fcn.14000667c
cmp dword [0x140042018], 0
mov rdi, qword [rax]
je 0x14000fdc7
cmp qword [0x14004a380], rdi
jne 0x14000fdc7
cmp dword [0x140045dc4], 0
je 0x14000fdc7
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140045dc8]
mov qword [rsp + 0x38], rsi
xor esi, esi
test rbx, rbx
je 0x14000fdb7
cmp rbx, rdi
je 0x14000fdac
cmp dword [rbx + 0x38], esi
jne 0x14000fdac
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [rbx + 0x38], esi
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000fd98
mov rbx, qword [rsp + 0x30]
mov dword [0x140045dc4], esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000fdd0
Capabilities:
Check for time delay via gettickcount
Suspend thread

Disassembly:
push rsi
sub rsp, 0x20
mov rcx, qword [0x14004a360]
call fcn.14000667c
cmp dword [0x140042018], 0
mov rsi, qword [rax]
je 0x14000ff10
cmp dword [0x140045dc4], 0
jne 0x14000ff10
lea rcx, [0x140045dd0]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x14004557c], 0
je 0x14000fe46
lea rcx, [0x14004ac40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14005b0a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14004a3c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x14005b080]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [0x14004a380], rsi
mov dword [0x140045dc4], 1
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [0x140045dc8]
lea edi, [rax + 0xc8]
test rbx, rbx
je 0x14000fec3
cmp rbx, rsi
je 0x14000febb
cmp dword [rbx + 0x38], 0
jne 0x14000febb
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x14000feab
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rbx + 0x38], 0
je 0x14000fe90
cmp dword [rbx + 0x38], 0
jne 0x14000febb
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000fe83
cmp dword [0x14004557c], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
je 0x14000fefd
lea rcx, [0x14004a3c0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14005b0a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14004ac40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x140045dd0]
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x20
pop rsi
ret
Function at 0x140014a90
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
call fcn.1400148a0
call fcn.14000fdd0
xor ecx, ecx
call fcn.140014d50
test eax, eax
jne 0x140014aa0
mov rbx, qword [0x140045598]
test rbx, rbx
je 0x140014b80
cmp dword [0x1400455a0], eax
je 0x140014b80
cmp dword [0x140045e00], 0
mov eax, dword [0x14004558c]
mov dword [rsp + 0x20], 0x23
lea eax, [rax*4]
mov dword [rsp + 0x24], eax
je 0x140014b4b
mov rcx, qword [0x14004abe0]
movsxd r8, eax
mov rdx, rbx
call sub.msvcrt.dll_memcpy
xor r9d, r9d
cmp dword [0x14004558c], r9d
jle 0x140014b44
xor r8d, r8d
nop word [rax + rax]
mov rdx, qword [0x14004abe0]
inc r9d
add rdx, r8
add r8, 4
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 3]
mov byte [rdx], al
movzx eax, byte [rdx + 2]
mov byte [rdx + 3], cl
movzx ecx, byte [rdx + 1]
mov byte [rdx + 1], al
mov byte [rdx + 2], cl
cmp r9d, dword [0x14004558c]
jl 0x140014b10
mov rbx, qword [0x14004abe0]
call fcn.140025e30
lea rcx, [0x14005b0a0]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140045e28]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [rax + 0x18]
lea rcx, [0x14005b0a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x20], 1
call fcn.140025e30
lea rcx, [0x14005b0a0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140045e28]
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [rax + 0x18]
lea rcx, [0x14005b0a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x140045e28]
call qword [rax + 0x28]
lea rcx, [0x14004a3c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14005b0a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14004ac40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140045e18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140045e18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140045e20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140045e20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14004a3c0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14005b0a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14004ac40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14004a3c0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x14005b0a0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x14004ac40]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
add rsp, 0x40
pop rbx
ret
Function at 0x140017730
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea rdx, [0x140045e30]
nop dword [rax]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x14001774e
xor eax, 0xedb88320
test al, 1
je 0x14001775b
shr eax, 1
xor eax, 0xedb88320
jmp 0x14001775d
shr eax, 1
test al, 1
je 0x14001776a
shr eax, 1
xor eax, 0xedb88320
jmp 0x14001776c
shr eax, 1
test al, 1
je 0x140017779
shr eax, 1
xor eax, 0xedb88320
jmp 0x14001777b
shr eax, 1
test al, 1
je 0x140017788
shr eax, 1
xor eax, 0xedb88320
jmp 0x14001778a
shr eax, 1
test al, 1
je 0x140017797
shr eax, 1
xor eax, 0xedb88320
jmp 0x140017799
shr eax, 1
test al, 1
je 0x1400177a6
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400177a8
shr eax, 1
test al, 1
je 0x1400177b5
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400177b7
shr eax, 1
inc ecx
mov dword [rdx], eax
add rdx, 4
cmp ecx, 0x100
jl 0x140017740
ret

Function at 0x140019020
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rsi, rdx
lea rdx, [rsp + 0x40]
mov rbp, r8
mov rdi, rcx
xor ebx, ebx
call fcn.140019850
test eax, eax
je 0x140019119
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140019119
lea rdx, [rsp + 0xa4]
mov rcx, rbp
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140019119
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140019119
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140019110
test eax, eax
jle 0x140019110
lea ecx, [rdi + 1]
movsxd rcx, ecx
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x140019110
lea r9, [rsp + 0x138]
mov r8d, edi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140019110
cmp dword [rsp + 0x138], edi
jne 0x140019110
mov rcx, rsi
mov byte [rdi + rsi], bl
call fcn.140019530
mov ebx, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x110]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140019b70
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x270
lea r9, [rsp + 0x20]
xor edi, edi
mov rbp, r8
sub r9, rcx
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r9 + rcx - 1], al
test al, al
jne 0x140019ba0
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140019bc0
movzx eax, word [0x1400364a4]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140019be0
lea rbx, [rsp + 0x20]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
add rbx, rax
mov eax, 0x2a
mov word [rbx], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140019cf2
lea rax, [rsp + 0x15c]
sub rbx, rax
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x15c]
nop dword [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rbx + rax - 1], cl
test cl, cl
jne 0x140019c40
test byte [rsp + 0x130], 0x10
je 0x140019cb0
movzx edx, byte [rsp + 0x15c]
movzx ecx, byte [rsp + 0x15d]
cmp dl, byte [0x1400364a8]
jne 0x140019c89
cmp cl, byte [0x1400364a9]
jne 0x140019c89
movzx eax, byte [rsp + 0x15e]
cmp al, byte [0x1400364aa]
je 0x140019cc9
cmp dl, byte [0x140036094]
jne 0x140019c99
cmp cl, byte [0x140036095]
je 0x140019cc9
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
mov r8, rbp
call fcn.140019b70
jmp 0x140019cc5
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
mov r8, rbp
call fcn.140019020
test eax, eax
jne 0x140019ce4
lea rdx, [rsp + 0x130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140019c30
jmp 0x140019ce9
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x270]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001fd90
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.PureBasic_Console_Debugger__press_CtrlC_to_stop_program_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, 0x1f4
mov ecx, 0xfffffff5
mov word [rsp + 0x22], ax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140036470]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x140046270], rax
call sub.msvcrt.dll_setvbuf
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140038f40]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x140046278], rax
call sub.msvcrt.dll_setvbuf
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140038f40]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x140046280], rax
call sub.msvcrt.dll_setvbuf
mov rax, qword [0x140046278]
mov qword [0x14005a6a0], rax
call fcn.14001bf20
add rsp, 0x48
ret
Function at 0x140027ea0
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov edi, 1
lea rcx, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov r9d, edi
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor ebx, ebx
test eax, eax
je 0x140027f05
mov rcx, qword [rsp + 0xd0]
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1f]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0xd0]
test eax, eax
cmovne edi, ebx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test edi, edi
je 0x140027f71
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
call fcn.140025e30
mov rcx, rbx
movups xmm0, xmmword [0x140043d20]
mov dword [rsp + 0x34], eax
mov eax, dword [0x140049798]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 6
xor byte [rsp + rcx + 0x2b], al
movzx eax, byte [rsp + rcx + 0x2b]
xor byte [rsp + rcx + 0x2c], al
movzx eax, byte [rsp + rcx + 0x2c]
xor byte [rsp + rcx + 0x2d], al
movzx eax, byte [rsp + rcx + 0x2d]
xor byte [rsp + rcx + 0x2e], al
movzx eax, byte [rsp + rcx + 0x2e]
xor byte [rsp + rcx + 0x2f], al
movzx eax, byte [rsp + rcx + 0x2f]
xor byte [rsp + rcx + 0x30], al
cmp rcx, 0x1e
jl 0x140027f31
lea rcx, [rsp + 0x60]
call fcn.14002c4d4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov r8d, 0x20
call fcn.14002cd64
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14002c3f8
lea rdx, [0x140000000]
nop word [rax + rax]
movzx ecx, byte [rsp + rbx + 0x50]
inc rbx
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx + 0x3bf98]
mov byte [rdx + rbx*2 + 0x499d6], al
movzx eax, byte [rcx + rdx + 0x3bf98]
mov byte [rdx + rbx*2 + 0x499d7], al
cmp rbx, 0x10
jl 0x140027fb0
lea r8, [0x140049a68]
lea rdx, [rsp + 0x30]
lea rcx, [0x1400497f0]
mov r9d, 0x20
call fcn.14002e7c0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x140028b60
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x140028bbb
nop
mov rcx, qword [0x1400497b8]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140028bb5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x140028bd5
add ebx, esi
cmp ebx, edi
jl 0x140028b80
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x140028bc0
Function at 0x14002dad0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14002dd00
xor r10d, r10d
lea edx, [rax*4]
mov r11d, eax
movsxd r9, edx
test edx, edx
jle 0x14002db49
lea r8, [rbx + 8]
lea rcx, [rbx + 8]
lea r8, [r8 + r9*4]
nop
mov eax, dword [r8 - 8]
mov edx, dword [rcx - 8]
add r10, 4
mov dword [rcx - 8], eax
mov eax, dword [r8 - 4]
mov dword [r8 - 8], edx
mov edx, dword [rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8]
mov dword [r8 - 4], edx
mov edx, dword [rcx]
mov dword [rcx], eax
mov eax, dword [r8 + 4]
mov dword [r8], edx
mov edx, dword [rcx + 4]
mov dword [rcx + 4], eax
sub r9, 4
mov dword [r8 + 4], edx
lea r8, [r8 - 0x10]
lea rcx, [rcx + 0x10]
cmp r10, r9
jl 0x14002db00
cmp r11d, 1
jle 0x14002dced
mov qword [rsp + 0x30], rdi
add rbx, 2
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
nop word [rax + rax]
mov r8d, dword [rbx + 0xe]
lea rbx, [rbx + 0x10]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x3d740]
movzx eax, byte [rbx - 1]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
mov r9d, dword [rdi + rdx*4 + 0x3db40]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x3e340]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
movzx eax, byte [rbx]
xor r9d, dword [rdi + rcx*4 + 0x3e740]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
movzx eax, byte [rbx + 3]
movzx edx, byte [rdi + rax*4 + 0x3d740]
xor r9d, dword [rdi + rcx*4 + 0x3df40]
movzx eax, byte [rbx + 4]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
mov r8d, dword [rdi + rdx*4 + 0x3e340]
mov dword [rbx - 2], r9d
xor r8d, dword [rdi + rcx*4 + 0x3df40]
mov r9d, dword [rbx + 2]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x3d740]
movzx eax, r9b
mov r9d, dword [rbx + 6]
xor r8d, dword [rdi + rcx*4 + 0x3db40]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
movzx eax, byte [rbx + 7]
xor r8d, dword [rdi + rcx*4 + 0x3e740]
movzx edx, byte [rdi + rax*4 + 0x3d740]
movzx eax, byte [rbx + 8]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
mov dword [rbx + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x3e340]
xor r8d, dword [rdi + rcx*4 + 0x3df40]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x3d740]
movzx eax, r9b
mov r9d, dword [rbx + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x3db40]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
movzx eax, byte [rbx + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x3e740]
movzx edx, byte [rdi + rax*4 + 0x3d740]
movzx eax, byte [rbx + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
mov dword [rbx + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x3e340]
xor r8d, dword [rdi + rcx*4 + 0x3df40]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x3d740]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x3db40]
movzx ecx, byte [rdi + rax*4 + 0x3d740]
xor r8d, dword [rdi + rcx*4 + 0x3e740]
mov dword [rbx + 0xa], r8d
dec r10
jne 0x14002db70
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x14002e210
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rdi, rdx
mov rax, r9
mov r12, r9
cqo
mov rbx, r8
mov r13, rcx
and edx, 0xf
add rax, rdx
mov rbp, rax
and eax, 0xf
sub rax, rdx
sar rbp, 4
mov rsi, rax
test rax, rax
je 0x14002e25b
test rbp, rbp
jne 0x14002e258
xor eax, eax
jmp 0x14002e439
dec rbp
mov qword [rsp + 0x80], r14
mov r14, qword [rsp + 0xa0]
movups xmm0, xmmword [r14]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
test rbp, rbp
je 0x14002e2e2
mov qword [rsp + 0x88], r15
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r13 + 4]
lea rcx, [r13 + 0xf8]
mov r9, rbx
mov r8, rdi
call fcn.14002cea0
mov eax, dword [rsp + 0x20]
add rdi, 0x10
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
add rbx, 0x10
xor dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx - 4], eax
movups xmm0, xmmword [rdi - 0x10]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
dec rbp
jne 0x14002e290
mov r15, qword [rsp + 0x88]
test rsi, rsi
je 0x14002e42a
movups xmm0, xmmword [rdi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, [r13 + 0xf8]
movups xmmword [r14], xmm0
mov edx, dword [r13 + 4]
movups xmmword [rsp + 0x40], xmm0
call fcn.14002cea0
xor r9d, r9d
test rsi, rsi
je 0x14002e3f5
cmp rsi, 0x10
jb 0x14002e3b9
lea r10, [rsi + 0xf]
lea rdx, [rsi + 0xf]
lea r8, [rbx + 0x10]
add r10, rdi
add rdx, rbx
lea rcx, [rdi + 0x10]
cmp r8, r10
ja 0x14002e347
cmp rdx, rcx
jae 0x14002e3b9
lea rax, [rsp + rsi + 0x2f]
cmp r8, rax
ja 0x14002e35b
lea r8, [rsp + 0x30]
cmp rdx, r8
jae 0x14002e3b9
lea rdx, [rsp + 0x30]
cmp rdx, r10
ja 0x14002e36a
cmp rax, rcx
jae 0x14002e3b9
mov rax, rsi
mov rdx, rsi
lea r8, [rsp + 0x30]
and eax, 0xf
sub r8, rdi
sub rdx, rax
mov rax, rbx
sub rax, rdi
nop dword [rax]
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [r8 + rcx - 0x10]
add r9, 0x10
lea rcx, [rcx + 0x10]
pxor xmm0, xmm1
movdqu xmmword [rax + rcx - 0x10], xmm0
movdqu xmmword [r8 + rcx - 0x20], xmm1
cmp r9, rdx
jb 0x14002e390
cmp r9, rsi
jae 0x14002e3f5
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov r10, rbx
sub rdi, rax
sub r10, rcx
lea r8, [rsp + 0x30]
add r8, r9
inc r9
movzx eax, byte [r8 + rdi + 0x10]
movzx edx, al
xor dl, byte [r8]
mov byte [r8], al
mov byte [r8 + r10 + 0x10], dl
cmp r9, rsi
jb 0x14002e3d1
mov edx, dword [r13 + 4]
lea r8, [rsp + 0x30]
lea rcx, [r13 + 0xf8]
mov r9, rbx
call fcn.14002cea0
mov eax, dword [rsp + 0x20]
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
xor dword [rbx + 4], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx + 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx + 0xc], eax
jmp 0x14002e42e
movups xmmword [r14], xmm1
mov r14, qword [rsp + 0x80]
mov rax, r12
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret