joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400759b4
Capabilities:
Resolve dns

Disassembly:
jmp 0x14012f070
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x112
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6e8]
mov rax, qword [0x1401b3080]
xor rax, rbp
mov qword [rbp + 0x670], rax
lea rcx, [0x1401d14ae]
call fcn.140078d5d
mov rax, qword [rbp + 0x6a0]
movzx eax, word [rax]
cmp eax, 2
jne 0x14012f0f5
mov rax, qword [rbp + 0x6a0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rbp + 0x6b8]
mov dword [rcx], eax
jmp 0x14012f12a
mov rax, qword [rbp + 0x6a0]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x14012f123
mov rax, qword [rbp + 0x6a0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rbp + 0x6b8]
mov dword [rcx], eax
jmp 0x14012f12a
xor al, al
jmp 0x14012f1ae
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x401
rep stosb byte [rdi], al
lea rcx, [rbp + 0x10]
call fcn.140078f1a
mov qword [rbp + 0x668], rax
lea rcx, [rbp + 0x10]
call fcn.14007603a
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rbp + 0x668]
mov r9d, ecx
mov r8, rax
mov edx, dword [rbp + 0x6a8]
mov rcx, qword [rbp + 0x6a0]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x14012f194
xor al, al
jmp 0x14012f1ae
lea rcx, [rbp + 0x10]
call fcn.14007603a
mov rdx, rax
mov rcx, qword [rbp + 0x6b0]
call fcn.140074299
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14017c8b0]
call fcn.140077f61
mov rax, rdi
mov rcx, qword [rbp + 0x670]
xor rcx, rbp
call fcn.140076477
lea rsp, [rbp + 0x688]
pop rdi
pop rbp
ret

Function at 0x140076a3a
Capabilities:
Terminate process

Disassembly:
jmp 0x1401585b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400774a8
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x1400f6c00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, WSACleanup
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [0x1401b3080]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x1401d14ae]
call fcn.140078d5d
mov rax, qword [rbp + 0x2a0]
mov byte [rax], 0
lea rdx, [rbp + 0x10]
mov cx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400f6c6f
mov rax, qword [rbp + 0x2a0]
mov byte [rax], 1
mov rax, qword [rbp + 0x2a0]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14017d030]
call fcn.140077f61
mov rax, rdi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.140076477
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret

Function at 0x1400774c1
Capabilities:
Parse pe header

Disassembly:
jmp 0x14015b1f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14015b210
xor al, al
jmp 0x14015b291
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14015b223
xor al, al
jmp 0x14015b291
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14015b24d
xor al, al
jmp 0x14015b291
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14015b261
xor al, al
jmp 0x14015b291
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14015b273
xor al, al
jmp 0x14015b291
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14015b28f
xor al, al
jmp 0x14015b291
mov al, 1
add rsp, 0x38
ret
Function at 0x1400778ea
Capabilities:
Connect socket
Set socket configuration

Disassembly:
jmp 0x140106590
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x1401b3080]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1401d14ae]
call fcn.140078d5d
mov rax, qword [rbp + 0x150]
mov rcx, qword [rax]
call fcn.14007511c
movzx eax, al
mov dl, 1
mov rcx, qword [rbp + 0x158]
call fcn.140078042
mov rax, qword [rbp + 0x160]
mov r8d, dword [rax + 0x10]
mov rax, qword [rbp + 0x160]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x14010669f
call fcn.1400765a8
movzx eax, al
test eax, eax
je 0x140106653
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 8]
mov dword [rax], 2
xor al, al
jmp 0x14010678a
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x10]
mov r8, qword [rax]
mov rdx, qword [rcx]
mov rcx, qword [rbp + 0x158]
call fcn.140078e43
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 8]
mov dword [rcx], eax
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 8]
cmp dword [rax], 0
je 0x14010669f
xor al, al
jmp 0x14010678a
xor edx, edx
mov rcx, qword [rbp + 0x158]
call fcn.140078042
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x20]
imul rax, qword [rax], 0x3e8
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x28]
mov rax, qword [rcx]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x118]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x24], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x24]
mov r8d, 0x1006
mov edx, 0xffff
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 0x30]
imul rax, qword [rax], 0x3e8
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x150]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx]
cqo
mov ecx, 0x3e8
idiv rcx
mov rcx, qword [rbp + 0x118]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x44], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0x44]
mov r8d, 0x1005
mov edx, 0xffff
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rbp + 0x150]
mov rax, qword [rax + 8]
mov dword [rax], 0
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14017c670]
call fcn.140077f61
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140076477
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140077cff
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
jmp 0x1400b4520
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x208
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x228]
mov rax, qword [0x1401b3080]
xor rax, rbp
mov qword [rbp + 0x1c0], rax
lea rcx, [0x1401d135a]
call fcn.140078d5d
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1400b45a0
mov rcx, qword [rbp + 0x1f8]
call fcn.140075635
jmp 0x1400b471d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400b45ce
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rcx, qword [rbp + 0x1f8]
call fcn.140075635
jmp 0x1400b471d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400b45fb
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
mov rcx, qword [rbp + 0x1f8]
call fcn.140075635
jmp 0x1400b471d
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x48]
call fcn.14007622e
nop
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x200]
mov r8, qword [rbp + 0x1f8]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x188]
call fcn.140074d57
mov qword [rbp + 0x1b8], rax
mov rdx, qword [rbp + 0x1b8]
lea rcx, [rbp + 0x48]
call fcn.1400753bf
lea rcx, [rbp + 0x188]
call fcn.140074dc0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea rcx, [rbp + 0x48]
call fcn.1400776ec
inc rax
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x1400b4700
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x1400b4700
lea rcx, [rbp + 0x48]
call fcn.14007465e
mov qword [rbp + 0x1b8], rax
lea rcx, [rbp + 0x48]
call fcn.1400776ec
inc rax
mov rcx, qword [rbp + 0x1b8]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ucrtbased.dll_strcpy_s]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rbp + 0x88]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rcx, [rbp + 0x48]
call fcn.140074dc0
nop
mov rcx, qword [rbp + 0x1f8]
call fcn.140075635
lea rcx, [rbp - 0x30]
lea rdx, [0x140173e60]
call fcn.140077f61
mov rcx, qword [rbp + 0x1c0]
xor rcx, rbp
call fcn.140076477
lea rsp, [rbp + 0x1d8]
pop rdi
pop rbp
ret
Function at 0x140078af1
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x14012f2f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1401b3080]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1401d14ae]
call fcn.140078d5d
mov dword [rbp + 0xa4], 0x80
lea r8, [rbp + 0xa4]
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14012f386
mov r9, qword [rbp + 0x1b0]
mov r8, qword [rbp + 0x1a8]
mov edx, dword [rbp + 0xa4]
lea rcx, [rbp + 0x10]
call fcn.1400759b4
lea rcx, [rbp - 0x20]
lea rdx, [0x14017c980]
call fcn.140077f61
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140076477
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140078c4a
Capabilities:
Write file on windows

Disassembly:
jmp 0x140087690
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x1401b3080]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1401d10f2]
call fcn.140078d5d
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x1400876f6
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400876fd
mov al, 1
jmp 0x14008784d
call fcn.140075437
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.140075437
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140077c19
movzx eax, al
test eax, eax
je 0x14008774e
xor al, al
jmp 0x14008784d
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x1400877b3
cmp dword [rbp + 0x154], 1
je 0x1400877be
cmp dword [rbp + 0x154], 3
je 0x14008783c
jmp 0x14008784b
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14008780e
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14008780e
xor al, al
jmp 0x14008784d
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140087829
mov dword [rbp + 0x154], 1
jmp 0x140087833
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14008784d
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14008784d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1401717b0]
call fcn.140077f61
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140076477
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400790c8
Capabilities:
Send data
Send data on socket

Disassembly:
jmp 0x140106da0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401d14ae]
call fcn.140078d5d
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 8]
mov r8, qword [rbp + 0xf0]
mov r8, qword [r8]
mov qword [rbp + 0xc0], r8
mov r9d, dword [rax]
mov r8d, dword [rcx]
mov rdx, qword [rdx]
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_send]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0xb91058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb911df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xb91089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xb9106f
add dl, dl
jne 0xb91096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xb910f6
xor eax, eax
add dl, dl
jne 0xb910a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xb911ad
add dl, dl
jne 0xb910b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb910c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb910d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb910dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xb910ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xb9107e
mov eax, 1
add dl, dl
jne 0xb91106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb91113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xb910fb
sub eax, ebx
mov ebx, 1
jne 0xb9114c
mov ecx, 1
add dl, dl
jne 0xb9112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb9113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xb91123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xb9107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb91168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb91175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xb9115d
cmp eax, 0x7d00
jae 0xb9119b
cmp eax, 0x500
jb 0xb91196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xb9107e
cmp eax, 0x7f
ja 0xb9119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xb9107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xb911d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0xb9107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000a3e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x18000a476
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x18018c810]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18003f320
test rdi, rdi
je 0x18000a4f6
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x18000a50f
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x18000a607
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x18000a688
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x18000a614
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x18000a4d0
add r8, rcx
cmp r9, 8
jae 0x18000a61d
jmp 0x18000a688
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.18003f320
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x18000a688
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x18000a688
mov r8, rcx
cmp r9, 8
jb 0x18000a688
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x18000a620
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x18002f580
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x18002f79d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x18018c990]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x18002f5f0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x18018c9a0]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x18002f71a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x18002f6f0
movdqa xmm1, xmmword [0x18018c9a0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x18018c9b0], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x18002f7bb
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.18002f110
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x18003f320
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x18003f362
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x18003f36a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x18003f37b
jmp 0x18003f392
xor r10d, r10d
jmp 0x18003f41d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x18003f392
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x18003f3a9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x18003f3c9
add r11, r8
jmp 0x18003f4fa
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x18003f492
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x18003f440
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x18003f4b0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x18003f4c2
jmp 0x18003f4dc
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x18003f4dc
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x18003f4f6
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x180045f80
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x180045fb5
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x180045fba
call fcn.1801041c0
mov ecx, dword [0x18021a9d8]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0xa8], 1
mov qword [rcx + 0xb0], rax
mov qword [rcx + 0xb8], rdx
add rsp, 0x38
ret