joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b388
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140061120
sub rsp, rax
mov rax, qword [0x14007b008]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14005394c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005b3d7
mov rax, rbp
jmp 0x14005b4df
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xb8000]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14005c4c4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xb8000]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14005b4db
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005b4db
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14005c4c4
test rax, rax
js 0x14005b4db
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14005b4db
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14005b4cd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14005b4cd
cmp byte [rcx], 0xd
jne 0x14005b4b3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005b4c2
cmp byte [rcx + 1], 0xa
jne 0x14005b4c2
inc rcx
jmp 0x14005b4c2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x7b950]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005b495
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14005b4df
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400102e0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005b840
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400b8000]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14005b89e
cmp word [rdx], r12w
jne 0x14005b89e
or byte [rax + r8*8 + 0x38], cl
jmp 0x14005b8a4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14005b9ff
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14005b9da
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14005b8dd
mov rcx, r9
jmp 0x14005b900
cmp r9, rdx
jae 0x14005b917
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14005b8c1
jmp 0x14005b9ff
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005b9d4
cmp dword [rsp + 0x80], edi
je 0x14005b9d4
mov rdx, r14
lea r11, [0x1400b8000]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14005b9ad
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14005b980
mov word [rbx], r12w
jmp 0x14005b9fb
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14005b989
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14005b9fb
cmp word [rsp + 0x70], r12w
jne 0x14005b9ba
cmp rbx, rsi
je 0x14005b97a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14005c4cc
cmp word [rsp + 0x70], r12w
je 0x14005b9ff
mov word [rbx], r13w
jmp 0x14005b9fb
lea r11, [0x1400b8000]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14005b9f7
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14005b9ff
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005f668
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14003e408
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14005f6f2
cmp byte [rbp - 0x21], r15b
je 0x14005f6ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14005f728
call fcn.140051618
test eax, eax
jne 0x14005f714
cmp byte [rbp - 0x21], r15b
je 0x14005f70c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14005f728
cmp byte [rbp - 0x21], r15b
je 0x14005f725
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14004d1dc
test eax, eax
jne 0x14005f7c8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003e408
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14005f767
cmp byte [rbp - 0x21], r15b
je 0x14005f79c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14005f79c
call fcn.140051618
test eax, eax
jne 0x14005f788
cmp byte [rbp - 0x21], r15b
je 0x14005f781
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14005f79c
cmp byte [rbp - 0x21], r15b
je 0x14005f799
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14004d1dc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14005f7c8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14005f7cb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14005f7d9
mov rcx, rdi
call fcn.1400502fc
cmp byte [rbp + 0x3f], r15b
je 0x14005f7e8
mov rcx, qword [rbp + 0x27]
call fcn.1400502fc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140061210
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140061238
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140061238
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003c00
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003c34
cmp word [rcx], 0x5a4d
jne 0x140003c34
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003c34
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003c34
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003b40
test eax, eax
jne 0x140003c50
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003bb0
test rax, rax
je 0x140003c45
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.1400043f9
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004300
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400042a0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004754
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x14053ec98]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x14053ec94]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x1400047a2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000479a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140004889
inc ebx
add rax, 0x28
jmp 0x14000477a
mov rcx, r12
call fcn.140004f81
mov rbp, rax
test rax, rax
jne 0x1400047c1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1400046f0
movsxd rbx, ebx
mov rax, qword [0x14053ec98]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.14000502f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14053ec98]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004823
mov rax, qword [0x14053ec98]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400046f0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140004883
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140004883
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 [0x14053ec98]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140004883
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400046f0
inc dword [0x14053ec94]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004cb0
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x14053ed00]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14053ece0]
test rbx, rbx
je 0x140004cfc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004cf6
test eax, eax
jne 0x140004cf6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004cce
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004eb0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004ed3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004ed3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004ed4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004f0e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004f05
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004f10
inc r8d
add rax, 0x28
jmp 0x140004eec
xor eax, eax
ret

Function at 0x140004f81
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140536d70]
mov r8, rcx
mov rcx, r9
call fcn.140004eb0
test eax, eax
je 0x140004fad
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004ed4
xor eax, eax
add rsp, 0x28
ret
Function at 0x14056b7e0
Capabilities:
Encode data using xor

Disassembly:
call fcn.1406750f7
push r14
jp 0x140551465
int3
jne 0x1405e098b
syscall
push r13
mov qword [rsp], 0x442615a8
call fcn.1406eb62b
xchg qword [rsp + r13*2 - 0x7a2144c], rax
mov r13, qword [rsp + 0x40]
test qword [rsp + 0x30], r14
ja 0x14061b3cd
sbb al, al
loope 0x14056b86e
int3
add byte [rax], al
call fcn.14055f1b0
add rsp, 0x20
pop rbp
ret
add dword [rsp + r13*8 - 0x1e885278], r14d
jno 0x14060e99f
jae 0x14062066e
xchg ebp, eax
rcr byte [rdi + 0x61], 1
invalid
shr r15, 0xa8
sete r15b
push r10
movzx r15d, r15b
add qword [rsp + r15*2 + 8], 0xffffffffbfaaea37
movabs r10, 0x79ab70058336ab1e
and r10, 0xffffffff920b1106
lea rsi, [rsi + r15*2 + 1]
call fcn.1406b55e7
syscall
call fcn.140602a8a
call fcn.14054e99a
sti
sti
mov edi, 0x888e430d
fistp word [r13 + 0x33f866bb]
outsd dx, dword [rsi]
sub eax, 0xd30876ab
out 0xa5, eax
xor ebp, esi
and bl, bh
invalid
js 0x14056b7e0
movabs rsi, 0x9f2bc3a5f78133b2
cmp rsi, 0xffffffffec861ab4
push r10
mov rsi, qword [rsp + 0x20]
mov rsi, qword [rsi]
jb 0x140551490
push r8
mov r8, qword [rsp + r12 - 0x6cd8]
lea rcx, [rcx + r12*2 - 0x286310d1]
jg fcn.1406b796b
jge 0x140558fbf
call fcn.140618c16
lodsb al, byte [rsi]
wait
pop rdi
xor eax, 0x3f92c6f1
jl 0x140632574
adc eax, 0x4fbadec1
pushfq
fistp word [r10]
jmp 0x12d2b9795
out 0xe4, al
lodsb al, byte [rsi]
push 0xffffffffffffffc2
lock and byte [rsi - 0x6a], dh
invalid

Function at 0x1405ca3b5
Capabilities:
Encode data using xor

Disassembly:
mov rsi, rbx
xor esi, 0xc90c7733
mov rbx, qword [rsp + 0x30]
mov rbx, qword [rbx + rsi - 0x6ab18183]
xor esi, 0x42055917
neg esi
xor sil, 0xbf
jge 0x1405fffb4
movzx esi, si
lea rbx, [rbx + rsi*4 + 0x650780b6]
jge 0x140685531
lea rsi, [rsi + rsi*8 - 0x4cf434a]
mov qword [rsp + rsi*2 + 0x99bb9ee], rsi
cmp si, 0x70a4
call fcn.140559a15

Function at 0x1405cff93
Capabilities:
Encode data using base64

Disassembly:
neg dword [rsp + r14*2 - 0xf63e]
ja 0x140699bd6
sub r9b, 0x1b
mov rcx, qword [rsp + r14*2 - 0xf646]
mov rcx, qword [rcx]
ja 0x140602280
not r9
call fcn.1406bda62
push rdx
pushfq
movabs rdx, 0x6d3f1c08e6a23413
neg dl
sub dx, 0x1438
push r15
push rbp
mov rbp, rdx
mov rdx, qword [rsp + 0x18]
xchg qword [rsp + 0x20], rdx
js 0x1405fb592
call fcn.14068a51c

Function at 0x14060fb92
Capabilities:
Encode data using xor

Disassembly:
mov r14, qword [rsp + r14*2 - 0x92bc]
mov qword [rsp + 0x40], rbx

Function at 0x14067cb48
Capabilities:
Encode data using xor

Disassembly:
xor byte [rsp + 0x30], 0x8a
jl 0x140559742
sub byte [rax - 0x12], 0x59
pop rsi
pop ax
mov esi, 0xc1b61900
or byte es:[rdi], r13b
invalid
Function at 0x140853525
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
dec bh
test ah, 0x8e
not r10b
mov qword [rsp + 0x10], rdi
shr r11b, cl
rcl rbx, cl
xor edi, edi
mov ebx, esp
setge r10b
movsx r10d, r15w
movzx ebx, r8b
mov r11, rcx
setae r9b
movsxd r10, esp
mov r8, rdi
dec r9b
cmove r10w, r8w
movsx r10w, bl
nop
cmovle r10w, di
movsx r9d, di
movsx r9w, al
movzx r9d, byte [r11]
bswap r10
xchg r10w, r10w
movsx r10, r13w
movzx r10d, byte [rdx]
jmp 0x14085358e
inc r11
jmp 0x140853596
inc rdx
test bl, bl
jmp 0x1408535a0
je 0x1408535cc
mov ecx, r8d
mov eax, 0x832ead01
jmp 0x1408535b3
rol eax, cl
cmp r14b, 0xa5
add al, r8b
xor r9b, al
jmp 0x1408535c4
inc r8
cmp r11b, 0x2f
stc
test r9b, r9b
jmp 0x1408535d4
je 0x1408535e8
cmp r9b, r10b
jmp 0x1408535e2
je 0x140853576
cmp r9b, r10b
jae 0x140853601
or eax, 0xffffffff
not ebx
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov rbx, qword [rsp + 8]
bswap ax
xchg dil, dil
movzx eax, sp
seta dil
movsx rax, sp
mov eax, edi
mov di, ax
mov rdi, qword [rsp + 0x10]
jmp 0x140853626
ret
Function at 0x140012050
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov dword [rsp + 0x28], r9d
xorps xmm0, xmm0
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x3c], eax
xor r9d, r9d
mov dword [rsp + 0x4c], eax
mov rbx, rcx
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x40], r8
lea r8d, [r9 + 0x30]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x20], 0x7f244536
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140012109
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, rbx
lea r8d, [r9 + 0x30]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 8
jb 0x140012109
cmp dword [rsp + 0x50], 0x7f244536
jne 0x140012109
cmp dword [rsp + 0x54], 3
jne 0x140012109
mov eax, dword [rsp + 0x58]
jmp 0x14001210b
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006d260
add rsp, 0x90
pop rbx
ret

Function at 0x140013c30
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 0x140013c8d
lea rbx, [0x140071630]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140013c74
cmp r10, 2
jb 0x140013c74
cmp byte [r9], r8b
jne 0x140013c74
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 0x140013c50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140013ccf
lea rbx, [0x140071630]
cmp r8b, 0x23
jne 0x140013cb3
cmp byte [r9], r8b
jne 0x140013cb3
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 0x140013ca0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140022460
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140094060]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x1400224c1
cmp byte [rbx + 0x424e], 0
jne 0x1400224c1
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140013ac0
test dil, 1
je 0x1400225e8
jmp 0x14002254a
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400877a0]
mulss xmm1, dword [0x140087780]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x1400876dc]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.140013ac0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400225a0
lea r11, [0x140071630]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140022583
cmp byte [r8], r9b
jne 0x140022583
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140022570
not ecx
call fcn.14001b390
test rax, rax
je 0x1400225e8
cmp byte [rax + 0x96], 0
je 0x1400225e8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5332]
call fcn.140013ac0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001db60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006d260
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140027710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400277b7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002776a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140029680
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140014640
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140094058]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400277bf
mov rcx, rbx
call fcn.140014640
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14004d8c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd8
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
xor r14d, r14d
mov eax, dword [rdx + rcx]
cmp dword [0x140097898], eax
jle 0x14004d9b9
lea rcx, [0x140097898]
call fcn.14006d550
cmp dword [0x140097898], 0xffffffff
jne 0x14004d9b9
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], recv
mov byte [rbp - 0x11], r14b
lea r8d, [r14 + 0x15]
lea rdx, str.MmAllocatePagesForMdl
lea rcx, [rbp - 0x11]
call fcn.140054980
nop
lea r8, [rbp - 0x11]
mov rdx, qword [0x140094078]
mov rcx, r15
call fcn.14004e550
mov qword [0x140097840], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x14004d9ad
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d9a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d9a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d350
nop
lea rcx, [0x140097898]
call fcn.14006d4f0
mov r8, qword [0x140097840]
test r8, r8
jne 0x14004da9e
mov dword [rbp - 0x71], 0xc658c623
mov dword [rbp - 0x6d], 0xc65bc627
mov dword [rbp - 0x69], 0xc61cc63a
mov dword [rbp - 0x65], 0xc613c617
mov dword [rbp - 0x61], 0xc6e5c6e5
mov dword [rbp - 0x5d], 0xc6f7c6a2
mov dword [rbp - 0x59], 0xc6a5c6eb
mov dword [rbp - 0x55], 0xc6eec6e0
mov dword [rbp - 0x51], 0xc6edc6e6
mov dword [rbp - 0x4d], 0xc6c6c6aa
mov dword [rbp - 0x49], 0xc6ccc6e1
mov dword [rbp - 0x45], 0xc6e0c6e2
mov dword [rbp - 0x41], 0xc6f0c6f3
mov dword [rbp - 0x3d], 0xc6f6c6e6
mov dword [rbp - 0x39], 0xc6f4c6c4
mov dword [rbp - 0x35], 0xc6f2c6f1
mov dword [rbp - 0x31], 0xc6dfc6eb
mov dword [rbp - 0x2d], 0xc6e9c6f5
mov dword [rbp - 0x29], 0xc6f9c6d1
mov dword [rbp - 0x25], 0xc6f2
mov byte [rbp - 0x21], 1
mov ecx, 0x3988
nop
movzx eax, r14w
sub ax, cx
xor word [rbp + r14*2 - 0x71], ax
inc r14
cmp r14, 0x27
jb 0x14004da60
mov byte [rbp - 0x21], 0
lea rdx, [rbp - 0x71]
mov rcx, qword [0x140070250]
call fcn.140054b30
lea rdx, [0x140054d10]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor eax, eax
jmp 0x14004dad1
mov qword [rbp + 0xf], r14
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea rdx, [rbp + 0xf]
mov rcx, r15
call fcn.140054d70
mov rcx, qword [rbp + 0xf]
test al, al
cmove rcx, r14
mov rax, rcx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14006d260
add rsp, 0xd8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret