joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0b50
Capabilities:
Create thread

Disassembly:
push rbx
neg rsp
sub rsp, 0xffffffffffffffb0
neg rsp
mov rax, qword [0x14024f2e0]
xchg r11, r11
jmp 0x1400a0cb1
xor edx, edx
xor ecx, ecx
call fcn.1400f0f58
mov dword [rsp - 0x3c], 0x5ce67d19
xchg r10, rax
jmp 0x1400a0b83
mov qword [rsp + 0x30], r10
xchg r10, rax
test rax, rax
xchg r8, r8
je 0x1400a0d46
cmp dword [rbx + 0x1b8], 0
jmp 0x1400a0d25
xor dword [rsp + 0x20], 0x704e5af2
add dword [rsp + 0x20], 0x24a98ba
sub dword [rsp + 0x20], 0x4658b75d
xor dword [rsp + 0x20], 0x5c55bc94
sub dword [rsp + 0x20], 0x46118da7
jmp 0x1400a0bcf
mov r9, rax
mov dword [rsp - 0x28], ebp
lea r8, [0x14009f9a0]
jmp 0x1400a0b6b
add rsp, 8
ret
sub ecx, 0x22a7455a
sub ecx, 0xabe75ec
xor ecx, 0x127a7c11
sub ecx, 0x2c71f35a
call fcn.1400e354c
test rax, rax
je 0x1400a0cfe
jmp 0x1400a0c90
cmp dword [rbx + 0x1b8], 0
je 0x1400a0dde
mov dword [rsp - 0x28], 0x2b29c232
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
jmp 0x1400a0c36
call fcn.1400e284c
mov rdi, rdi
test eax, eax
jne 0x1400a0da1
xorps xmm0, xmm0
mov dword [rsp - 0x38], esi
jmp 0x1400a0cdb
xchg rcx, rbx
mov ecx, 0xadf465c
add ecx, 0x3620462c
add ecx, 0x2e90cfde
xor ecx, 0x57697bdc
add ecx, 0x32782307
jmp 0x1400a0be7
nop
add rsp, 0x25e9eb1c
sub rsp, 0x25e9eacc
nop
mov rbx, qword [rsp]
jmp 0x1400a0be2
mov dword [rsp - 0x1c], 0x2475c946
mov qword [rax], rbx
lea rcx, [0x14009fdf0]
xchg rcx, r9
mov qword [rax + 8], r9
xchg r9, rcx
jmp 0x1400a0cfe
xor rax, rsp
xchg rdi, rax
mov qword [rsp + 0x48], rdi
xchg rdi, rax
xchg rcx, rbx
mov rcx, rbx
jmp 0x1400a0c52
xchg r8, rbx
movups xmmword [r8 + 0x1b0], xmm0
xchg r8, rbx
jmp 0x1400a0c12
xchg rbx, r9
movups xmmword [r9 + 0x1b0], xmm0
xchg r9, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
xchg r14, r14
call fcn.1400e36a0
jmp 0x1400a0c77
mov qword [rsp + 0x40], rax
mov r14, r14
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x570d9270
sub dword [rsp + 0x20], 0x28f17d4c
jmp 0x1400a0ba2
jne 0x1400a0d3d
xchg rsi, rsi
xchg rsi, rsp
movaps xmm0, xmmword [rsi + 0x30]
xchg rsp, rsi
jmp 0x1400a0cc8
call fcn.1400f09b8
xchg rcx, rcx
nop
mov dword [rsp + 0x38], 0x1557479e
jmp 0x1400a0d84
add ecx, 0x47064160
xor ecx, 0x7e0870d2
call fcn.1400e2be8
nop
xchg r8, r8
jmp 0x1400a0dde
sub ecx, 0x5e0457f4
xor ecx, 0x4f937702
sub ecx, 0x15195486
jmp 0x1400a0d53
add dword [rsp + 0x38], 0x41fe212
add dword [rsp + 0x38], 0x28977c31
add dword [rsp + 0x38], 0x72abb99
jmp 0x1400a0dac
mov ecx, eax
call fcn.1400e2bac
xchg r8, r8
int3
sub dword [rsp + 0x38], 0x4849df2f
add dword [rsp + 0x38], 0x5f0e0194
xor dword [rsp + 0x38], 0x3d522023
add dword [rsp + 0x38], 0xee1386e
sub dword [rsp + 0x38], 0x7190dc6a
mov ecx, 0x618d4cec
jmp 0x1400a0d6d
mov ecx, 0x64a7653c
xor ecx, 0x74d18580
xor ecx, 0x6c03f5ec
sub ecx, 0x3b510312
xor ecx, 0x123ba9b4
add ecx, 0x2977717a
sub ecx, 0xd17d6bb
jmp 0x1400a0e0c
sub ecx, 0x2b1281c2
sub ecx, 0x446cd486
call fcn.1400e2be8
mov dword [rsp - 0xc], 0x1c95bb95
int3
Function at 0x1400a8730
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r9b, reloc.WS2_32.dll_select
test r8d, r8d
je 0x1400a8754
nop word [rax + rax]
xor byte [rdx], r9b
lea ecx, [rax + 0xb]
add r9b, cl
lea rdx, [rdx + 1]
inc eax
cmp eax, r8d
jb 0x1400a8740
ret

Function at 0x1400a8e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rdx + 0x18], 8
jb 0x1400a8e8e
mov rdx, qword [rdx]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x1400a95e0
Capabilities:
Modify service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor dil, dil
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x1400a969f
mov r8d, 0xf003f
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x1400a969f
mov qword [rsp + 0x90], rbp
lea r8, [rsp + 0x60]
mov ebp, 1
mov rcx, rax
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ControlService]
xor eax, eax
lea r8d, [rbp + 3]
mov qword [rsp + 0x50], rax
mov edx, 0xffffffff
mov qword [rsp + 0x48], rax
mov r9d, edx
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp eax, ebp
movzx edi, dil
cmove edi, ebp
mov rbp, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea r11, [rsp + 0x80]
movzx eax, dil
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a9da0
Capabilities:
Get disk information
Get storage device properties

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movsx ebx, cl
lea rcx, [rax + 8]
mov byte [rax + 8], bl
mov word [rax + 9], 0x5c3a
mov byte [rax + 0xb], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.0x1400a9de1.0
lea rcx, [0x140000000]
mov eax, eax
mov edx, dword [rcx + rax*4 + 0xa9ef0]
add rdx, rcx
jmp rdx
mov eax, 3
add rsp, 0x90
pop rbx
ret
mov eax, dword [0x140118270]
lea rcx, [rsp + 0x50]
movsd xmm0, qword [str..X:]
xor r9d, r9d
mov dword [rsp + 0x58], eax
xor edx, edx
movzx eax, word [0x140118274]
mov qword [rsp + 0xb0], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
movsd qword [rsp + 0x50], xmm0
lea r8d, [rdi + 3]
mov word [rsp + 0x5c], ax
mov word [rsp + 0x58], bx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], rdi
lea r9d, [rdi + 0xc]
mov rbx, rax
mov qword [rsp + 0x44], rdi
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x28
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
mov rcx, rbx
cmovne edi, dword [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 7
mov rdi, qword [rsp + 0xb0]
je case.0x1400a9de1.2
mov eax, 2
add rsp, 0x90
pop rbx
ret
mov eax, 1
add rsp, 0x90
pop rbx
ret
mov eax, 4
add rsp, 0x90
pop rbx
ret
mov eax, 5
add rsp, 0x90
pop rbx
ret
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x1400b6960
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x20
mov r11, rcx
movzx r10d, r8b
movabs rsi, 0x100000001b3
mov ebx, r9d
mov eax, r8d
movabs rbp, 0xcbf29ce484222325
xor r10, rbp
shr eax, 8
imul r10, rsi
movzx r9d, al
mov rdi, rdx
mov rdx, qword [r11 + 0x100e8]
xor r10, r9
imul r10, rsi
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor r10, rcx
mov eax, r8d
mov rcx, qword [r11 + 0x10110]
imul r10, rsi
shr rax, 0x18
xor r10, rax
imul r10, rsi
and rcx, r10
shl rcx, 4
add rcx, qword [r11 + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1400b6ad0
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x1400b6a15
cmp rax, rcx
je 0x1400b6ad0
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x1400b6a02
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400b6ad0
movzx ecx, byte [rsp + 0x49]
mov r11, qword [rax + 0x30]
mov r9, qword [rax + 0x20]
movzx r8d, bl
xor r8, rbp
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4a]
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4b]
imul r8, rsi
xor r8, rcx
imul r8, rsi
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rdx, qword [r11 + r10*8 + 8]
mov rcx, rdx
cmp rdx, r9
je 0x1400b6ad0
mov rax, qword [r11 + r10*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400b6a8e
nop dword [rax]
cmp rcx, rax
je 0x1400b6ad0
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x1400b6a80
test rcx, rcx
cmove rcx, r9
cmp rcx, r9
je 0x1400b6ad0
add r8, r8
mov rax, qword [r11 + r8*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400b6ac3
cmp rdx, rax
je 0x1400b6ac1
mov rdx, qword [rdx + 8]
cmp ebx, dword [rdx + 0x10]
jne 0x1400b6aa6
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400b6ad5
xor edx, edx
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400b6ad5
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1400201a0
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7f40
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x50
mov rsi, rcx
movzx r10d, dl
movabs r11, 0x100000001b3
mov eax, edx
shr eax, 8
movabs rdi, 0xcbf29ce484222325
xor r10, rdi
mov rbx, r9
imul r10, r11
mov r9d, r8d
movzx r8d, al
mov eax, edx
xor r10, r8
shr eax, 0x10
mov r8, qword [rsi + 0x100e8]
imul r10, r11
movzx ecx, al
xor r10, rcx
mov eax, edx
mov rcx, qword [rsi + 0x10110]
imul r10, r11
shr rax, 0x18
xor r10, rax
imul r10, r11
and rcx, r10
shl rcx, 4
add rcx, qword [rsi + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x1400b80b7
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x1400b7ff2
nop dword [rax]
cmp rax, rcx
je 0x1400b80b7
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1400b7fe0
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x1400b80b7
movzx ecx, byte [rsp + 0x71]
movzx r8d, r9b
xor r8, rdi
mov rdi, qword [rax + 0x30]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x72]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x73]
imul r8, r11
xor r8, rcx
imul r8, r11
mov r11, qword [rax + 0x20]
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rcx, qword [rdi + r10*8 + 8]
mov rdx, rcx
cmp rcx, r11
jne 0x1400b805e
add rax, 0x18
lea rdx, [rsp + 0x20]
mov rcx, rax
jmp 0x1400b80d9
mov r10, qword [rdi + r10*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400b8077
cmp rdx, r10
je 0x1400b8050
mov rdx, qword [rdx + 8]
cmp r9d, dword [rdx + 0x10]
jne 0x1400b8068
add rax, 0x18
test rdx, rdx
cmove rdx, r11
cmp rdx, r11
je 0x1400b8054
add r8, r8
mov rax, qword [rdi + r8*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400b80ae
cmp rcx, rax
je 0x1400b80ac
mov rcx, qword [rcx + 8]
cmp r9d, dword [rcx + 0x10]
jne 0x1400b8094
test rcx, rcx
cmove rcx, r11
jmp 0x1400b80e6
xor ecx, ecx
test rcx, rcx
cmove rcx, r11
jmp 0x1400b80e6
lea rcx, [rsi + 0x100e0]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
call fcn.1400b2220
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x18
lea r8, [rsp + 0x70]
call fcn.1400b1fd0
mov rcx, qword [rax]
add rcx, 0x18
cmp rcx, rbx
je 0x1400b8105
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x1400b8100
mov rdx, qword [rbx]
call fcn.1400191c0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400201a0
mov r8d, dword [rsp + 0x70]
mov r9, rax
mov edx, dword [rsp + 0x68]
mov rcx, rsi
call fcn.1400b6b00
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400b8270
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400b8421
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400b8140
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400b83e6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400b8360
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400b83d5
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x1400b839d
mov r8, qword [rax]
cmp r8, rcx
je 0x1400b8397
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400b83d5
cmp r9, rax
je 0x1400b83b1
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x1400b83fb
cmp r9, rax
jne 0x1400b83a2
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400b8310
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400b83d5
lea rcx, str.invalid_hash_bucket_count
call fcn.1400e1b58
int3
Function at 0x1400bc100
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
mov rbx, r8
mov ecx, 0x20
mov edi, edx
call fcn.1400e354c
test rax, rax
je 0x1400bc13b
lea rcx, [0x1400bc1c0]
mov qword [rax], rbx
mov qword [rax + 0x18], rcx
mov dword [rax + 8], edi
mov qword [rax + 0x10], rsi
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400b9e00]
xor ecx, ecx
mov dword [rsp + 0x20], 0
xor edx, edx
call fcn.1400f0f58
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400bc19a
cmp dword [rsp + 0x38], 0
je 0x1400bc1ad
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400e284c
test eax, eax
jne 0x1400bc1b8
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov ecx, 6
mov dword [rsp + 0x38], 0
call fcn.1400e2be8
int3
mov ecx, 1
call fcn.1400e2be8
int3
mov ecx, eax
call fcn.1400e2bac
int3
Function at 0x1400bebc0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx eax, word [rcx + 0x14]
lea rbx, [rcx + 0x18]
xor r13d, r13d
add rbx, rax
mov r12, rdx
mov r15, rcx
mov r14d, r13d
cmp r13w, word [rcx + 6]
jae 0x1400becc6
nop
mov qword [rsp + 0x20], r13
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], select
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], r13b
jne 0x1400bec20
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400191c0
mov rbp, qword [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
cmp rbp, 0x10
mov r8, qword [r12 + 0x10]
mov rcx, r12
cmovae rdx, rdi
cmp qword [r12 + 0x18], 0x10
jb 0x1400bec61
mov rcx, qword [r12]
cmp r8, qword [rsp + 0x30]
jne 0x1400bec76
call fcn.1400e6340
test eax, eax
jne 0x1400bec76
mov sil, 1
jmp 0x1400bec79
xor sil, sil
cmp rbp, 0x10
jb 0x1400becac
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400beca4
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400beced
mov rcx, rdi
call fcn.1400e3588
test sil, sil
jne 0x1400bece8
movzx eax, word [r15 + 6]
inc r14d
add rbx, 0x28
cmp r14d, eax
jb 0x1400bec00
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbx
jmp 0x1400becc8
call fcn.1400ea23c
int3
Function at 0x1400c0d80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
cmp qword [rdx + 0x18], 0x10
mov rdi, r9
mov rbx, r8
jb 0x1400c0d9a
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400c0e06
cmp qword [rbx + 0x18], 0x10
mov dword [rsp + 0x58], 8
mov qword [rsp + 0x30], 0
jb 0x1400c0dd2
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400c0e06
mov rcx, qword [rsp + 0x30]
mov qword [rdi], rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400c0e20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
cmp qword [rdx + 0x18], 0x10
mov rdi, r9
mov rbx, r8
jb 0x1400c0e3d
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400c0ecf
cmp qword [rbx + 0x18], 0x10
mov dword [rsp + 0x258], 0x200
mov dword [rsp + 0x30], 1
jb 0x1400c0e77
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x258]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x1400c0ecd
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400c0eb6
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400191c0
mov eax, ebx
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x1400c1a20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov eax, dword [rcx]
mov rbx, rdx
movups xmm0, xmmword [0x140119c78]
mov r11d, eax
movzx ecx, ax
movsd xmm1, qword [0x140119c88]
mov r9d, ecx
shr eax, 0x10
shr r9d, 8
shr r11d, 0x18
cmp word [0x140119c8e], 0
movzx edi, al
movzx r8d, cl
movups xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
je 0x1400c1bd3
xor ecx, ecx
cmp dword [0x14024f2c0], 2
jl 0x1400c1b88
movdqa xmm2, xmmword [0x140113370]
mov eax, 5
movdqa xmm3, xmmword [0x140113380]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140114610]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x140119c78]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [str.11111111]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x30], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.11111111]
pxor xmm2, xmm0
movq qword [rsp + 0x38], xmm2
mov eax, ecx
lea r10, [rsp + 0x30]
lea r10, [r10 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r10, [r10 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x3a
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r10 - 2], ax
cmp ecx, 0xc
jl 0x1400c1ba0
mov dword [rsp + 0x28], r11d
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.1400aef70
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400c25b0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
lea rax, fcn.1400c28d0
mov rbx, rcx
mov qword [rcx], rax
xor eax, eax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x30], rax
add rcx, 0x38
call fcn.1400c1cb0
mov ecx, 0x202
mov byte [rbx + 0x50], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
je 0x1400c261f
nop word [rax + rax]
cmp qword [rax + 8], rbx
je 0x1400c2653
add rax, 0x10
cmp rax, rdx
jne 0x1400c2610
mov dword [rsp + 0x20], 0xffffffff
mov qword [rsp + 0x28], rbx
cmp rdx, qword [rbx + 0x20]
je 0x1400c2641
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
add qword [rbx + 0x18], 0x10
jmp 0x1400c264f
lea r8, [rsp + 0x20]
lea rcx, [rbx + 0x10]
call fcn.1400b9840
mov byte [rbx + 0x50], 1
mov rax, rbx
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
Function at 0x1400c2d60
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
mov eax, 0x2040
call fcn.1400e38a0
sub rsp, rax
mov r14, rcx
mov r15, r9
mov rcx, rdx
mov rsi, r8
mov rbp, rdx
call fcn.1400c5d30
test al, al
jne 0x1400c2d96
mov al, 1
jmp 0x1400c2e7a
mov dword [r14 + 0x30], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp + 8]
xor r9d, r9d
mov qword [rsp + 0x2060], rbx
mov r8d, 0x2000
mov qword [rsp + 0x2068], rdi
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
je 0x1400c2e36
movzx ebx, byte [rsp + 0x30]
test edi, edi
je 0x1400c2e5f
jle 0x1400c2e17
mov rcx, qword [rsi + 0x68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsi + 0x38]
lea r9, [rsp + 0x40]
movsxd rax, edi
lea rcx, [rsi + 0x30]
add r9, rax
mov byte [rsp + 0x20], bl
lea r8, [rsp + 0x40]
call fcn.1400b9c20
mov rcx, qword [rsi + 0x68]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400c2e17
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8d, 0x2000
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400c2dd2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400c2e5f
mov rcx, qword [rsi + 0x30]
cmp qword [rsi + 0x38], rcx
je 0x1400c2e5b
mov r8, r15
mov rdx, rsi
mov rcx, r14
call fcn.1400c2b20
mov al, 1
jmp 0x1400c2e6a
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
xor al, al
mov rbx, qword [rsp + 0x2060]
mov rdi, qword [rsp + 0x2068]
mov rbp, qword [rsp + 0x2070]
add rsp, 0x2040
pop r15
pop r14
pop rsi
ret

Function at 0x1400c2f20
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14, rcx
mov rbx, r8
mov rcx, rdx
mov rbp, rdx
call fcn.1400c5dd0
test al, al
je 0x1400c2fee
mov rcx, qword [rbx + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [rbx + 0x50]
mov r9, qword [rbx + 0x48]
cmp r8, r9
je 0x1400c2fd4
mov rdx, r9
nop dword [rax]
mov rcx, qword [rbp + 8]
sub r8d, r9d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400c2fc3
mov rsi, qword [rbx + 0x48]
movsxd rdx, eax
add rdx, rsi
cmp rsi, rdx
je 0x1400c2fae
mov rdi, qword [rbx + 0x50]
mov rcx, rsi
sub rdi, rdx
mov r8, rdi
call fcn.1400e5740
lea rax, [rdi + rsi]
mov qword [rbx + 0x50], rax
mov rax, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x48]
mov r8d, eax
mov r9d, edx
cmp rax, rdx
jne 0x1400c2f70
jmp 0x1400c2fd4
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x50], rax
mov rcx, qword [rbx + 0x60]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400c2fe4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1400c3f62
lea r8, [rcx + 0x68]
jmp 0x1400c2f20
ret