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

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004900
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004900
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140002e90
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002dab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002e35
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002d90
mov rcx, rbx
call fcn.1400037b0
mov rdi, rax
test rax, rax
je 0x140002eb2
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400038f0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002e97
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002e2e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002e40
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002e2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002cf0
nop dword [rax]
xor esi, esi
jmp 0x140002db8
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002cf0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002cf0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003420
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x14000347c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003473
test rsi, rsi
je 0x140003473
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003458
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400037b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006ae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400037d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400037d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400037d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000382d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003824
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400037d0
add rax, 0x28
cmp rax, r9
jne 0x140003810
xor eax, eax
ret

Function at 0x140003830
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ae0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000384f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003858
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000384f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400038f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ae0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000390f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003918
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140752ea5
Capabilities:
Encode data using xor

Disassembly:
lea r11, [r11*8 + 0x7a045397]
or r11, r11
sub r11b, 0x23
xor r11d, 0x45265197
xor r11d, 0x5fd570ab
not qword [rsp + 8]
not r11b
cmp byte [rsp + 8], r11b
setle r11b
jns 0x140752eb0
setne r11b
sete r11b
not dword [rsp + 8]
mov word [rsp + 8], r11w
xor byte [rsp + 8], r11b
mov r11w, word [rsp + 0xa]
test dword [rsp + 8], r11d
mov r11, qword [rsp + 0x18]
call fcn.14075c707
push qword [rdi]
stc
invalid

Function at 0x1407660c2
Capabilities:
Encode data using xor

Disassembly:
test bp, 0x3083
lea r11, [r11*2 + 0x4c2d2e27]
mov r11b, 0x89
call fcn.1407acb3f
xor dword [rbp + 0x58], esi
sub r15b, 3
bswap r12
and word [rsp + 0x28], 0x5c22
xor qword [rsp + 0x58], 0x474c2c17
or rbx, qword [rsp + 0x58]
cmovge esi, dword [rsp + 0x2c]
setbe r15b
jg 0x140804612
sbb eax, 0xdcb3cfe9
fdivrp st(2)
jne 0x14074d4b8
invalid
ja 0x140867929
neg byte [rsp + 0x50]
ja 0x1406ff1a2
xor sil, r11b
neg rbp
cmp byte [rsp + 0xb0], r11b
seto r11b
test dword [rsp + 0x50], 0x43187def
movsx r11d, bl
jo 0x14074d4bf
add qword [rsp + 0x38], 0x9f480
cmp dword [rsp + 0xb0], 0x65c176ca
mov rbx, qword [rsp + 0x68]
call fcn.1406ff177

Function at 0x1407ad499
Capabilities:
Encode data using xor

Disassembly:
bswap r9
jns 0x140694b3f
adc ebp, ebx
push rsi
add ah, byte [rcx + 0x3b4262fe]
invalid

Function at 0x14087e845
Capabilities:
Encode data using xor

Disassembly:
setl r9b
sub r10b, byte [rsp + 0x36]
setno r10b
lea rsp, [rsp + 8]
ret 8
mov rdi, qword [rsp + 0x20]
movzx r10d, byte [rsp + 0x34]
jo 0x14087e87a
add qword [rsp + 0x38], 0x11af9f
sub r14, 0x1ea7a55
not dword [rsp + 0x10]
and r10b, 0x34
cmp dword [rsp + 0x30], 0x7fc76702
not r11w
not bp
not r14
jl 0x140769eeb

Function at 0x1408833dc
Capabilities:
Encode data using xor

Disassembly:
movabs r10, 0xd507ba1232278b8
add qword [rsp], 0x7cb43
sub r10w, r10w
setno r10b
seto r10b
jl 0x140679a11
neg r10b
ret 8

Function at 0x1408865e3
Capabilities:
Encode data using xor

Disassembly:
call fcn.14074ab01
mov r13, qword [rsp + 0x38]
bswap r15
movabs r9, 0x1a886e6b5d802b39
jns 0x140832b53
cmp r13d, r9d
mov r9, qword [rsp + 0x20]
not r15w
not r15w
movzx r15d, r10b
mov r10w, word [rsp + 0x1d]
not r13b
not r14d
jb 0x1407f64ae
mov rdx, rsi
and dx, word [rsp + 0xc]
setae dl
xor byte [rsp + 0x50], 0x3c
and edx, 0x27d5158c
seta r10b
call fcn.140765b37
add byte [rax], al
pop rdi
pop rdi
jae 0x1408866ba
pop rdi
js 0x1408866ae
jo 0x1408866c2
imul ebp, dword [rdi + 0x6e], 0x706f635f
jns fcn.140886657
xor qword [r14 + 0x3c], r14
hlt
sbb al, 0x6c
outsb dx, byte [rsi]
xchg edx, eax
out 0xeb, al
xor byte [rax + 0x2e30d967], dh
mov gs, word [rcx + 0x19]
invalid
movabs eax, dword [0x5be69d1ecc5c2691]
loopne 0x140886679
push 0xfffffffffe7e60d9
sbb word [rdi + 9], ax
fldenv [rax + 0x7e]
invalid
and dl, byte [rsi + 0x33efdc66]
mov esp, 0x41aa9e16
jae 0x140886662
xor eax, 0xbb55ece6
movabs r14, 0x51266e68a24d54f0
retf

Function at 0x140ca966a
Capabilities:
Encode data using xor

Disassembly:
xor qword [rsp + 0x38], 0x792d29cc
call fcn.14071fe88
js 0x14087e99c
int1
invalid
Function at 0x140caf464
Capabilities:
Encode data using xor

Disassembly:
setge byte [rsp + 0x18]
neg word [rsp + 0x18]
sets byte [rsp + 0x18]
or r10, qword [rsp + 0x18]
test r12d, esi
jo 0x140706ef2
add r10d, 0x66246ac7
Function at 0x14000d300
Capabilities:
Log keystrokes via application hook

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rdx, [0x14000d790]
xor r8d, r8d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xor r9d, r9d
lea rdx, [0x140009da0]
xor r8d, r8d
lea ecx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
nop dword [rax]
nop word [rax + rax]
mov r9d, 0xff
lea rcx, [rsp + 0x20]
mov r8d, r9d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000d350
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14000d350

Function at 0x14000e5b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x30], rbx
mov rcx, r8
call fcn.140027890
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000e601
mov r14, qword [rbx]
lea rbp, [rdx + r14]
mov rdi, r14
jmp 0x14000e60b
lea rbp, [rdx + rbx]
mov rdi, rbx
mov r14, rbx
cmp rdi, rbp
je 0x14000e62c
sub r14, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r14 + rdi], al
inc rdi
cmp rdi, rbp
jne 0x14000e613
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000e639
mov r8, qword [rbx]
xor edi, edi
movabs r9, 0xcbf29ce484222325
mov ecx, edi
test rdx, rdx
je 0x14000e674
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x14000e660
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140028650
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000e71d
cmp rdx, qword [r15 + 8]
je 0x14000e71d
mov rdx, qword [rdx + 0x30]
shl rdx, 6
add rdx, 0x20
add rdx, qword [r15 + 0x40]
mov rcx, rsi
call fcn.14002d560
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000e6ea
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000e6e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e731
mov rcx, r8
call fcn.1400fefdc
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400fef80
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov qword [rsi], rdi
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
jmp 0x14000e6b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000e820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x30], rbx
mov rcx, r8
call fcn.140027890
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000e871
mov rbp, qword [rbx]
lea r14, [rdx + rbp]
mov rdi, rbp
jmp 0x14000e87b
lea r14, [rdx + rbx]
mov rdi, rbx
mov rbp, rbx
cmp rdi, r14
je 0x14000e89b
sub rbp, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rdi + rbp], al
inc rdi
cmp rdi, r14
jne 0x14000e883
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000e8a8
mov r8, qword [rbx]
xor edi, edi
movabs r9, 0xcbf29ce484222325
mov ecx, edi
test rdx, rdx
je 0x14000e8e4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x14000e8d0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140028650
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000e986
cmp rcx, qword [r15 + 8]
je 0x14000e986
imul rdx, qword [rcx + 0x30], 0x78
add rdx, 0x20
add rdx, qword [r15 + 0x40]
mov rcx, rsi
call fcn.1400289a0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000e953
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000e94e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e99c
mov rcx, r8
call fcn.1400fefdc
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400fef80
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.140029840
mov qword [rsi + 0x40], rdi
mov qword [rsi + 0x48], rdi
mov qword [rsi + 0x50], rdi
jmp 0x14000e91d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001fd60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
call fcn.140027890
mov rcx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14001fdab
mov rsi, qword [rdi]
lea rbp, [rcx + rsi]
mov rbx, rsi
jmp 0x14001fdb5
lea rbp, [rcx + rdi]
mov rbx, rdi
mov rsi, rdi
cmp rbx, rbp
je 0x14001fdd8
sub rsi, rbx
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rbx], al
inc rbx
cmp rbx, rbp
jne 0x14001fdc0
mov rcx, qword [rdi + 0x10]
mov r8, rdi
mov rbx, qword [rdi + 0x18]
cmp rbx, 0x10
jb 0x14001fde8
mov r8, qword [rdi]
xor edx, edx
movabs r9, 0xcbf29ce484222325
test rcx, rcx
je 0x14001fe24
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, r10
inc rdx
cmp rdx, rcx
jb 0x14001fe10
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140028650
cmp qword [rax + 8], 0
setne sil
cmp rbx, 0x10
jb 0x14001fe70
lea rdx, [rbx + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001fe6b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001fea7
mov rcx, r8
call fcn.1400fefdc
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400fef80
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140027590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rcx, rdx
call fcn.140027890
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400275d9
mov rsi, qword [rbx]
lea rbp, [rdx + rsi]
mov rdi, rsi
jmp 0x1400275e3
lea rbp, [rbx + rdx]
mov rdi, rbx
mov rsi, rbx
cmp rdi, rbp
je 0x140027608
sub rsi, rdi
nop dword [rax + rax]
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rdi], al
inc rdi
cmp rdi, rbp
jne 0x1400275f0
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140027615
mov r8, qword [rbx]
movabs r9, 0xcbf29ce484222325
xor r15d, r15d
mov ecx, r15d
test rdx, rdx
je 0x140027654
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x140027640
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140028650
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x14002767c
cmp rdi, qword [r14 + 8]
je 0x14002767c
mov rdi, qword [rdi + 0x30]
jmp 0x140027743
mov rdi, qword [r14 + 0x48]
sub rdi, qword [r14 + 0x40]
sar rdi, 6
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140027a10
mov rcx, qword [rax]
mov qword [rcx + 0x30], rdi
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rsi, qword [r14 + 0x48]
cmp rsi, qword [r14 + 0x50]
je 0x1400276ef
mov rdx, rbx
mov rcx, rsi
call fcn.14002d560
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x30], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
add qword [r14 + 0x48], 0x40
jmp 0x140027708
lea r9, [rsp + 0x20]
mov r8, rbx
mov rdx, rsi
lea rcx, [r14 + 0x40]
call fcn.1400273d0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140027743
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002773e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002773e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fefdc
shl rdi, 6
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140027781
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002777c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400277b5
mov rcx, r8
call fcn.1400fefdc
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400fef80
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140028f20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14013d0f0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x98], rdx
mov rcx, rdx
call fcn.140027890
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140028f74
mov rsi, qword [rbx]
lea rbp, [rdx + rsi]
mov rdi, rsi
jmp 0x140028f7e
lea rbp, [rdx + rbx]
mov rdi, rbx
mov rsi, rbx
cmp rdi, rbp
je 0x140028f9e
sub rsi, rdi
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + rdi], al
inc rdi
cmp rdi, rbp
jne 0x140028f86
mov rdx, qword [rbx + 0x10]
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140028fab
mov r8, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test rdx, rdx
je 0x140028fe4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, rdx
jb 0x140028fd0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140028650
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14002900c
cmp rcx, qword [r14 + 8]
je 0x14002900c
mov rsi, qword [rcx + 0x30]
jmp 0x1400290c6
mov rcx, qword [r14 + 0x48]
sub rcx, qword [r14 + 0x40]
movabs rax, 0x8888888888888889
imul rcx
lea rsi, [rcx + rdx]
sar rsi, 6
mov rax, rsi
shr rax, 0x3f
add rsi, rax
mov r8, rbx
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.140027a10
mov rcx, qword [rax]
mov qword [rcx + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.140029840
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
mov rdi, qword [r14 + 0x48]
cmp rdi, qword [r14 + 0x50]
je 0x14002909d
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov rcx, rdi
call fcn.14002d560
nop
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x30]
call fcn.1400289a0
nop
add qword [r14 + 0x48], 0x78
jmp 0x1400290b2
lea r9, [rsp + 0x30]
mov r8, rbx
mov rdx, rdi
lea rcx, [r14 + 0x40]
call fcn.140028c50
nop
lea rcx, [rsp + 0x70]
call fcn.140029c20
lea rcx, [rsp + 0x30]
call fcn.140029a60
imul rdi, rsi, 0x78
add rdi, qword [r14 + 0x40]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140029104
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400290ff
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029143
mov rcx, r8
call fcn.1400fefdc
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400fef80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140040680
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400406e1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400406a0
mov ecx, dword [r10]
jmp 0x1400407ca
cmp ecx, 0x4e0
jb 0x1400407ca
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140040700
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140040750
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140044b70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140044bcd
lea rbx, [0x14011a230]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140044bb4
cmp r10, 2
jb 0x140044bb4
cmp byte [r9], r8b
jne 0x140044bb4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140044b90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140044c0f
lea rbx, [0x14011a230]
cmp r8b, 0x23
jne 0x140044bf3
cmp byte [r9], r8b
jne 0x140044bf3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140044be0
mov rbx, qword [rsp + 8]
not eax
ret