joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800012ec
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x150
mov rax, qword [0x180015850]
xor rax, rsp
mov qword [rsp + 0x140], rax
and dword [rsp + 0x30], 0
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x180001429
lea r14d, [rdi + 0x35]
cmp word [rbx + 0x18], 0x34
jne 0x18000141c
mov rcx, qword [rbx + 0x10]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, dword [rsp + 0x30]
mov ecx, 0xf8
cmp esi, 0x100
cmova esi, ecx
mov dword [rsp + 0x30], esi
cmp eax, 0xffffffff
jne 0x18000138c
movzx r9d, word [rbx + 8]
mov r8, qword [rbx]
lea rdx, str._s:_d_n
lea rcx, [0x180017e20]
mov word [rbx + 0x18], r14w
call fcn.1800010a8
jmp 0x18000141a
test esi, esi
je 0x1800013e7
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x100
call fcn.180003250
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x40]
mov r8d, esi
call fcn.180001654
cmp eax, dword [rsp + 0x30]
jne 0x1800013fa
cmp byte [rsp + 0x40], 0
je 0x1800013fa
movzx r9d, word [rbx + 8]
mov r8, qword [rbx]
lea rax, [rsp + 0x40]
lea rdx, str._s:_d___s__n
lea rcx, [0x180017e20]
mov qword [rsp + 0x20], rax
call fcn.1800010a8
jmp 0x180001415
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
movsx eax, word [rbx + 0x1a]
sub ecx, dword [rbx + 0xc]
cmp ecx, eax
jbe 0x18000141a
movzx r9d, word [rbx + 8]
mov r8, qword [rbx]
lea rdx, str._s:_d_n
lea rcx, [0x180017e20]
call fcn.1800010a8
mov word [rbx + 0x18], r14w
inc edi
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x18000132d
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800033f0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180001458
Capabilities:
Get socket status

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x588]
sub rsp, 0x680
mov rax, qword [0x180015850]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor edi, edi
mov rbx, rcx
mov dword [rsp + 0x34], 0x64
and dword [rsp + 0x30], edi
test rcx, rcx
je 0x1800015bf
lea r14d, [rdi + 0x35]
cmp word [rbx + 0x18], 0x33
jne 0x1800015b2
and dword [rbp + 0x150], 0
and dword [rsp + 0x40], 0
and dword [rbp + 0x360], 0
mov rax, qword [rbx + 0x10]
mov dword [rbp + 0x150], 1
lea r9, [rsp + 0x40]
mov qword [rbp + 0x158], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x10]
lea r8, [rbp + 0x150]
mov qword [rbp + 0x368], rax
lea rax, [rsp + 0x30]
lea rdx, [rbp + 0x360]
xor ecx, ecx
mov dword [rbp + 0x360], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x40]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x1800015ab
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp + 0x150]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x18000159a
movzx edx, word [rbx + 8]
mov rcx, qword [rbx]
call fcn.180001b88
test eax, eax
jne 0x1800015ab
movzx eax, word [rbx + 8]
mov ecx, 0xfffa
sub ax, 0x15
test cx, ax
jne 0x18000157d
cmp word [rbx + 8], 0x1a
je 0x18000157d
mov eax, reloc.WS2_32.dll_gethostbyname
mov word [rbx + 0x18], ax
jmp 0x1800015b0
movzx r9d, word [rbx + 8]
mov r8, qword [rbx]
lea rdx, str._s:_d_n
lea rcx, [0x180017e20]
call fcn.1800010a8
jmp 0x1800015ab
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsx ecx, word [rbx + 0x1a]
sub eax, dword [rbx + 0xc]
cmp eax, ecx
jbe 0x1800015b0
mov word [rbx + 0x18], r14w
inc edi
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x1800014a5
mov eax, edi
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1800033f0
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1800015ec
Capabilities:
Receive data
Receive 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, r8d
mov rsi, rdx
mov rbp, rcx
test r8d, r8d
jle 0x180001636
mov r8d, edi
xor r9d, r9d
mov rdx, rsi
sub r8d, ebx
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
add rsi, rcx
add ebx, ecx
cmp ecx, 0xffffffff
je 0x18000164d
cmp ebx, edi
jl 0x180001610
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
or eax, 0xffffffff
jmp 0x180001638
Function at 0x18000198c
Capabilities:
Send icmp echo request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, r9
mov ebp, r8d
mov r14, rdx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r15d, eax
call qword [0x180017e40]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1800019c9
xor eax, eax
jmp 0x180001a0c
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x38], 0x7d0
xor edi, edi
mov dword [rsp + 0x30], eax
movzx r9d, bp
mov r8, r14
mov edx, r15d
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call sub.IPHLPAPI.DLL_IcmpSendEcho
mov rcx, rsi
mov ebx, eax
call sub.IPHLPAPI.DLL_IcmpCloseHandle
test ebx, ebx
setne dil
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x180001ed0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x40
and qword [rax - 0x10], 0
and dword [rax - 0x18], 0
or qword [rdx], 0xffffffffffffffff
mov dword [rax - 0x20], r8d
mov rbx, rdx
mov edx, 3
mov dword [rax - 0x28], r8d
lea r9d, [rdx - 2]
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x180001f10
xor eax, eax
jmp 0x180001f38
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x180001f33
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x217
sete cl
test ecx, ecx
je 0x180001f10
mov eax, 1
add rsp, 0x40
pop rbx
ret

Function at 0x180001f40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
and dword [rsp + 0x60], ebx
mov rbp, rcx
test r8d, r8d
je 0x180001f9e
mov r14d, 0x2000
mov r8d, edi
mov edx, ebx
lea r9, [rsp + 0x60]
sub r8d, ebx
mov rcx, rbp
cmp r8d, r14d
cmova r8d, r14d
and qword [rsp + 0x20], 0
add rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180001fb6
add ebx, dword [rsp + 0x60]
cmp ebx, edi
jb 0x180001f6c
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x180001fa3

Function at 0x1800020d8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp dword [rcx], 0xa2a1de0
je 0x1800020f5
cmp dword [rcx], 0x56a2b5f0
jne 0x1800020fe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
add rsp, 0x28
ret
Function at 0x180002104
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, 0x100000
mov ecx, esi
call fcn.180002a68
mov rbx, rax
test rax, rax
je 0x180002242
lea rcx, [0x180017e20]
mov edx, esi
call fcn.180001044
test eax, eax
je 0x180002242
lea rdx, [rsp + 0x30]
lea rcx, str..pipePIPEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
mov r8d, esi
call fcn.180001ed0
test eax, eax
je 0x180002229
lea rcx, [0x180001c90]
xor edx, edx
call fcn.180002854
mov rdi, rax
test rax, rax
je 0x18000221f
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8d, esi
mov rdx, rbx
lea rcx, [0x180017e20]
test eax, eax
je 0x1800021d8
call fcn.180001120
test eax, eax
je 0x1800021bb
mov rcx, qword [rsp + 0x30]
mov r8d, eax
mov rdx, rbx
call fcn.180001f40
test eax, eax
je 0x1800021cb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
jmp 0x18000217a
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x180002207
call fcn.180001120
test eax, eax
je 0x1800021f1
mov rcx, qword [rsp + 0x30]
mov r8d, eax
mov rdx, rbx
call fcn.180001f40
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180002280
call fcn.18000192c
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call fcn.18000279c
lea rcx, [rsp + 0x30]
call fcn.180001eac
lea rcx, [0x180017e20]
call fcn.180001000
mov rcx, rbx
call fcn.180002a28
call fcn.1800020a0
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18000279c
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
lea rax, [rcx - 1]
mov rbx, rcx
cmp rax, 0xfffffffffffffffd
ja 0x1800027c0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
pop rbx
ret

Function at 0x180002854
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
mov rbx, rdx
mov rdi, rcx
call fcn.1800028bc
test eax, eax
je 0x18000287f
mov rax, qword [rsp + 0x50]
jmp 0x1800028ae
mov rcx, qword [rsp + 0x50]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x180002893
call fcn.18000279c
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rbx
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800028bc
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x510
mov rax, qword [0x180015850]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
call fcn.1800027c8
mov r8, qword [0x180016bb0]
xor ebx, ebx
test r8, r8
jne 0x1800028fe
xor eax, eax
jmp 0x180002968
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x1800028fa
lea rdx, [rsp + 0x30]
mov rcx, rax
mov qword [r14], rax
mov dword [rsp + 0x60], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1800028fa
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov qword [rsp + 0xb0], rsi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1800028fa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1800033f0
mov rbx, qword [rsp + 0x548]
add rsp, 0x510
pop r14
pop rdi
pop rsi
ret

Function at 0x18000298c
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x180015850]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1800033f0
add rsp, 0x1d8
ret
Function at 0x14001a3d0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1400216c4]
syscall
ret

Function at 0x14001a3dc
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1400216c0]
syscall
ret

Function at 0x14001a3e8
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1400216bc]
syscall
ret

Function at 0x14001a3f4
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1400216b8]
syscall
ret

Function at 0x14001a400
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x1400216b4]
syscall
ret
Function at 0x140001d30
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, rcx
mov rsi, rdx
lea rcx, str.Injecting__s.._n
call fcn.140001010
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
mov dword [rsp + 0x40], ebp
lea r8d, [rbp + 1]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140001dee
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
je 0x140001de5
mov ecx, r14d
call fcn.1400025c4
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, r14d
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140001e28
mov rcx, rbx
call fcn.140002580
mov ebp, 0x8123
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
lea rcx, str.Unable_to_load_find__s_n
call fcn.140001010
mov rcx, rbp
call fcn.140002580
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002560
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rbx
mov rcx, r15
call fcn.140001070
test al, al
jne 0x140001e54
mov rdx, rsi
lea rcx, str.Failed_to_inject__s_n
call fcn.140001010
mov rcx, rbx
jmp 0x140001e00
mov rcx, rbx
call fcn.140002580
mov rdx, rsi
lea rcx, str._s_successfully_injected__n
call fcn.140001010
mov eax, 1
jmp 0x140001e07
Function at 0x140001140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x14005bc70]
mov r9d, edx
mov r10d, 8
mov ecx, r9d
mov eax, r9d
shr ecx, 1
mov r9d, ecx
xor r9d, 0xedb88320
test al, 1
cmove r9d, ecx
sub r10, 1
jne 0x140001152
mov dword [r8], r9d
inc edx
add r8, 4
cmp edx, 0x100
jb 0x140001149
mov byte [0x14005bc68], 1
ret

Function at 0x14000118c
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
mov esi, 0x68
lea rcx, [rbp - 0x49]
mov r8d, esi
xor edx, edx
call fcn.14001ee30
xorps xmm0, xmm0
mov dword [rbp - 0x49], esi
xor eax, eax
mov dword [rbp - 0x29], 1
movups xmmword [rdi], xmm0
mov rcx, rbx
mov qword [rdi + 0x10], rax
mov dword [rbp + 7], 1
mov dword [rbp + 0x17], 1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rbp - 0x49]
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
xor esi, esi
test eax, eax
je 0x14000132e
mov ecx, dword [rbp - 0x29]
lea eax, [rsi + 2]
inc ecx
lea r13, [rsi - 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400231b4
mov qword [rdi], rax
test rax, rax
je 0x14000132a
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14000125d
mov r8d, dword [rbp - 0x29]
mov rcx, rax
add r8, r8
call fcn.14001f230
mov ecx, dword [rbp - 0x29]
mov rax, qword [rdi]
mov word [rax + rcx*2], si
mov ecx, dword [rbp + 7]
mov r15d, 0x2f
test ecx, ecx
je 0x14000128a
mov rax, qword [rbp - 1]
test rax, rax
je 0x14000128a
cmp word [rax], r15w
jne 0x14000128a
dec ecx
add rax, 2
mov dword [rbp + 7], ecx
mov qword [rbp - 1], rax
test ecx, ecx
jne 0x14000126e
mov ebx, dword [rbp + 0x17]
mov eax, 2
inc ebx
add ebx, ecx
lea ecx, [rbx + 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400231b4
mov qword [rdi + 8], rax
test rax, rax
je 0x1400012fd
mov word [rax], r15w
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400012d2
mov r8d, dword [rbp + 7]
mov rcx, qword [rdi + 8]
add r8, r8
add rcx, 2
call fcn.14001f230
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1400012f5
mov ecx, dword [rbp + 7]
mov rax, qword [rdi + 8]
inc rcx
mov r8d, dword [rbp + 0x17]
add r8, r8
lea rcx, [rax + rcx*2]
call fcn.14001f230
mov rax, qword [rdi + 8]
mov word [rax + rbx*2], si
mov eax, dword [rbp + 7]
mov ecx, dword [rbp - 0x35]
inc eax
mov dword [rdi + 0x10], eax
movzx eax, word [rbp - 0x25]
mov word [rdi + 0x14], ax
sub ecx, 3
je 0x140001326
cmp ecx, 1
je 0x140001320
mov byte [rdi + 0x16], sil
jmp 0x14000132a
mov byte [rdi + 0x16], 2
jmp 0x14000132a
mov byte [rdi + 0x16], 1
mov al, 1
jmp 0x140001330
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001bfb0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400015b4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0x14005bc68], 0
jne 0x1400015ed
call fcn.140001140
or ebx, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 0x10
movzx eax, byte [rdx]
mov ecx, ebx
xor rcx, rax
shr ebx, 8
movzx eax, cl
inc rdx
lea rcx, [0x14005bc70]
xor ebx, dword [rcx + rax*4]
sub r8, 1
jne 0x1400015fb
call fcn.1400231bc
not ebx
xor eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001bfb0
add rsp, 0x40
pop rbx
ret

Function at 0x14000176c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
movzx r11d, cl
shl r11d, 2
mov rbx, r8
movzx r8d, r9b
xor r10b, r10b
add r8d, r11d
shl r8d, 2
movzx eax, r10b
inc r10b
add eax, r8d
mov cl, byte [rax + rbx]
xor byte [rdx], cl
inc rdx
cmp r10b, 4
jb 0x14000178d
inc r9b
cmp r9b, 4
jb 0x14000177f
mov rbx, qword [rsp + 8]
ret
Function at 0x1400017b4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0x10
lea r14d, [rcx + 0x18]
lea r13d, [rcx - 0xc]
cmp rcx, 0x10
jne 0x14000198c
movups xmm0, xmmword [rbx + 0xb0]
mov r8, rbx
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14000176c
mov sil, 1
lea rdx, [rbp - 0x20]
mov r8, r13
mov rcx, rdx
mov r9, r13
movzx eax, byte [rcx]
lea r10, [0x140048070]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r13
sub r9, 1
jne 0x140001822
inc rdx
sub r8, 1
jne 0x14000181c
mov al, byte [rbp - 0x1b]
mov cl, byte [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov al, byte [rbp - 0x17]
mov byte [rbp - 0x1b], al
mov al, byte [rbp - 0x13]
mov byte [rbp - 0x17], al
mov al, byte [rbp - 0x16]
mov byte [rbp - 0x13], cl
mov cl, byte [rbp - 0x1e]
mov byte [rbp - 0x1e], al
mov al, byte [rbp - 0x12]
mov byte [rbp - 0x16], cl
mov cl, byte [rbp - 0x1a]
mov byte [rbp - 0x1a], al
mov al, byte [rbp - 0x11]
mov byte [rbp - 0x12], cl
mov cl, byte [rbp - 0x1d]
mov byte [rbp - 0x1d], al
mov al, byte [rbp - 0x15]
mov byte [rbp - 0x11], al
mov al, byte [rbp - 0x19]
mov byte [rbp - 0x15], al
mov byte [rbp - 0x19], cl
cmp sil, 0xa
je 0x140001952
lea r11, [rbp - 0x1f]
mov r15, r13
mov r9b, byte [r11 - 1]
mov r8b, byte [r11 + 2]
mov dl, r9b
xor dl, byte [r11]
xor r8b, byte [r11 + 1]
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
mov r10b, r8b
imul ecx, eax, 0x1b
xor r10b, r9b
xor r10b, byte [r11]
xor cl, dl
mov dl, byte [r11 + 1]
xor dl, byte [r11]
xor cl, r9b
xor cl, r10b
mov al, dl
mov byte [r11 - 1], cl
add dl, dl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
mov al, r8b
shr al, 7
add r8b, r8b
movzx eax, al
xor cl, dl
mov dl, byte [r11 + 2]
xor cl, byte [r11]
xor dl, r9b
xor cl, r10b
mov byte [r11], cl
imul ecx, eax, 0x1b
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
xor cl, r8b
xor cl, byte [r11 + 1]
xor cl, r10b
mov byte [r11 + 1], cl
imul ecx, eax, 0x1b
xor cl, dl
xor cl, byte [r11 + 2]
xor cl, r10b
mov byte [r11 + 2], cl
add r11, r13
sub r15, 1
jne 0x14000189d
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, sil
call fcn.14000176c
inc sil
jmp 0x140001815
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, 0xa
call fcn.14000176c
mov eax, 0xf
mov cl, byte [rax + rbx + 0xb0]
cmp cl, 0xff
jne 0x140001981
mov byte [rbx + rax + 0xb0], 0
sub rax, 1
jns 0x140001965
jmp 0x14000198a
inc cl
mov byte [rbx + rax + 0xb0], cl
xor ecx, ecx
mov al, byte [rbp + rcx - 0x20]
inc rcx
xor byte [rdi], al
inc rdi
sub r14, 1
jne 0x1400017ee
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001bfb0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140002fe4
Capabilities:
Encode data using xor

Disassembly:
neg r8d
mov r10, rcx
movsxd r11, r8d
mov r9, rdx
mov r8d, 0xa
sub r10, rdx
movsxd rcx, dword [r10 + r9]
movsxd rdx, dword [r9]
xor rdx, rcx
and rdx, r11
mov rax, rdx
xor rax, rcx
mov qword [r10 + r9], rax
movsxd rax, dword [r9]
xor rax, rdx
mov qword [r9], rax
lea r9, [r9 + 8]
sub r8, 1
jne 0x140002ff9
ret

Function at 0x1400036c8
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x98], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp - 0x80]
movups xmm1, xmmword [rdx + 0x10]
mov rdx, r8
movd eax, xmm0
movups xmmword [rbp + 0x80], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x70], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x8f], al
call fcn.1400024e8
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140003024
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000331c
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140002070
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400026dc
xor eax, eax
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14001bfb0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
Function at 0x140003c6c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x14005ca30]
lea r8, [0x14005c070]
cmp edx, 0x270
jl 0x140003d25
mov rdx, r8
lea r11, [0x14005c3fc]
mov r9d, 0x7fffffff
lea r10, [0x14004d900]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003c9c
lea rdx, [0x14005c3fc]
lea r11, [0x14005ca2c]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003cd0
mov eax, dword [0x14005ca2c]
mov ecx, dword [0x14005c070]
and eax, 0x80000000
and ecx, r9d
or ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [0x14005c6a0]
mov dword [0x14005ca2c], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x14005ca30], edx
mov ecx, dword [r8 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x140004214
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov rbx, rdx
mov byte [rcx + 8], 0
mov rsi, rcx
lea rbp, [rax + 0x18]
call fcn.1400040a0
mov r8d, 0x208
mov qword [rsp + 0x30], rbp
and qword [rsp + 0x28], 0
lea rdx, [rsi + 0xa]
mov r9d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call fcn.140025940
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea rcx, [rsi + 0xa]
mov dword [rsi + 0x41c], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140004284
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
call fcn.1400040a0
mov r8d, 0x208
mov qword [rsp + 0x30], rbx
and qword [rsp + 0x28], 0
lea rdx, [rbp + 0xa]
mov r9d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call fcn.140025940
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea rcx, [rbp + 0xa]
mov dword [rbp + 0x41c], eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]