joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bc40
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x14001bc60
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, dh
movzx edi, ah
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, bh
shr eax, 0x10
movzx ebp, ch
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, bh
movzx edi, ch
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
movzx esi, dh
mov edx, dword [r15 + 0xc]
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 1]
mov eax, dword [r15]
xor r8d, dword [r14 + rbp*8 + 1]
xor eax, r10d
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor ecx, r12d
xor ebx, r11d
xor edx, r8d
sub r13d, 1
jne 0x14001bc60
lea r14, [r14 + 0x800]
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi]
movzx r11d, byte [r14 + rdi]
movzx r12d, byte [r14 + rbp]
movzx esi, dl
movzx edi, dh
movzx ebp, ah
movzx r8d, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl edi, 8
shl ebp, 8
xor r10d, edi
xor r11d, ebp
shr edx, 0x10
movzx esi, bh
movzx edi, ch
shr eax, 0x10
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
shl esi, 8
shl edi, 8
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x10
shl ebp, 0x10
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, bh
movzx ebp, ch
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x18
shl ebp, 0x18
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, dh
movzx edi, ah
mov edx, dword [r15 + 0x1c]
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
mov eax, dword [r15 + 0x10]
shl esi, 0x18
shl edi, 0x18
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
lea r14, [r14 - 0x800]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret
Function at 0x14001c110
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14001e140]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.14001be20
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x14001c11d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r10, rsp
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r10
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14001e140]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.14001be20
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi]
mov r14, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
mov rbp, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
lea rsp, [rsi + 0x30]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x14001c4ed
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
push rdx
call fcn.14001c250
mov r8, qword [rsp]
cmp eax, 0
jne 0x14001c6ed
mov r14d, dword [r8 + 0xf0]
xor rdi, rdi
lea rcx, [rdi + r14*4]
mov rsi, r8
lea rdi, [r8 + rcx*4]
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
lea rsi, [rsi + 0x10]
lea rdi, [rdi - 0x10]
cmp rdi, rsi
jne 0x14001c528
lea rax, [0x14001d900]
mov rsi, qword [rax + 0x28]
mov rdi, qword [rax + 0x30]
mov rbp, qword [rax + 0x38]
mov r15, r8
sub r14d, 1
nop
lea r15, [r15 + 0x10]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov rbx, rax
mov rdx, rcx
and rbx, rsi
and rdx, rsi
mov r9, rbx
mov r12, rdx
shr r9, 7
lea r8, [rax + rax]
shr r12, 7
lea r11, [rcx + rcx]
sub rbx, r9
sub rdx, r12
and r8, rdi
and r11, rdi
and rbx, rbp
and rdx, rbp
xor rbx, r8
xor rdx, r11
mov r8, rbx
mov r11, rdx
and rbx, rsi
and rdx, rsi
mov r10, rbx
mov r13, rdx
shr r10, 7
lea r9, [r8 + r8]
shr r13, 7
lea r12, [r11 + r11]
sub rbx, r10
sub rdx, r13
and r9, rdi
and r12, rdi
and rbx, rbp
and rdx, rbp
xor rbx, r9
xor rdx, r12
mov r9, rbx
mov r12, rdx
and rbx, rsi
and rdx, rsi
mov r10, rbx
mov r13, rdx
shr r10, 7
xor r8, rax
shr r13, 7
xor r11, rcx
sub rbx, r10
sub rdx, r13
lea r10, [r9 + r9]
lea r13, [r12 + r12]
xor r9, rax
xor r12, rcx
and r10, rdi
and r13, rdi
and rbx, rbp
and rdx, rbp
xor r10, rbx
xor r13, rdx
xor rax, r10
xor rcx, r13
xor r8, r10
xor r11, r13
mov rbx, rax
mov rdx, rcx
xor r9, r10
xor r12, r13
shr rbx, 0x20
shr rdx, 0x20
xor r10, r8
xor r13, r11
rol eax, 8
rol ecx, 8
xor r10, r9
xor r13, r12
rol ebx, 8
rol edx, 8
xor eax, r10d
xor ecx, r13d
shr r10, 0x20
shr r13, 0x20
xor ebx, r10d
xor edx, r13d
mov r10, r8
mov r13, r11
shr r10, 0x20
shr r13, 0x20
rol r8d, 0x18
rol r11d, 0x18
rol r10d, 0x18
rol r13d, 0x18
xor eax, r8d
xor ecx, r11d
mov r8, r9
mov r11, r12
xor ebx, r10d
xor edx, r13d
shr r8, 0x20
shr r11, 0x20
rol r9d, 0x10
rol r12d, 0x10
rol r8d, 0x10
rol r11d, 0x10
xor eax, r9d
xor ecx, r12d
xor ebx, r8d
xor edx, r11d
mov dword [r15], eax
mov dword [r15 + 4], ebx
mov dword [r15 + 8], ecx
mov dword [r15 + 0xc], edx
sub r14d, 1
jne 0x14001c56c
xor rax, rax
mov r15, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
mov r13, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x14002b090
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test rcx, rcx
jle 0x14002b167
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp rcx, 0x64
jle 0x14002b0fc
xor r8d, r8d
imul rax, rbx, 0xfffffffffffffff6
xor ecx, ecx
lea edx, [r8 + 1]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
lea rdx, [rsp + 0x50]
mov rbx, rax
xor eax, eax
xor r9d, r9d
mov dword [rsp + 0x28], eax
mov rcx, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x140240f48]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
xorps xmm0, xmm0
sub rax, qword [rsp + 0x58]
cvtsi2ss xmm0, qword [rsp + 0x60]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x14002b120
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x14002c050
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
lea r14, reloc.WS2_32.dll_getpeername
mov r15, r9
mov rax, qword [r14 + rax*8]
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp qword [rcx], rax
jb 0x14002c095
call fcn.14002be80
test eax, eax
je 0x14002c095
or eax, 0xffffffff
jmp 0x14002c1dd
movsx rax, byte [rbx]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov rcx, rbx
mov edi, 0x1505
test rax, rax
je 0x14002c0c4
imul rdi, rdi, 0x21
lea rcx, [rcx + 1]
add rdi, rax
movsx rax, byte [rcx]
test rax, rax
jne 0x14002c0b0
mov rcx, qword [rsi + 0x10]
xor edx, edx
mov rax, rdi
div qword [r14 + rcx*8]
mov r9, rdi
mov r8, rbx
mov r14, rdx
mov rcx, rsi
shl r14, 4
add r14, qword [rsi + 8]
mov rdx, r14
call fcn.14002bd90
mov rbp, rax
test rax, rax
je 0x14002c121
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14002c116
mov rdx, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x14002c116
dec rdx
mov qword [rcx + 8], rdx
jne 0x14002c116
call fcn.14002e4b0
mov qword [rbp + 0x18], r15
xor eax, eax
jmp 0x14002c1d3
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002c125
add rcx, 0x29
je 0x14002c1d0
call qword [sub.MSVCR120.dll_malloc]
test rax, rax
je 0x14002c1d0
mov rdx, rax
mov qword [rax], rdi
mov qword [rax + 0x20], r12
sub rdx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rdx + rbx + 0x27], cl
test cl, cl
jne 0x14002c160
mov qword [rax + 0x18], r15
lea rcx, [rax + 8]
lea r8, [rsi + 0x18]
mov qword [rcx + 8], rcx
mov qword [rcx], rcx
mov rdx, qword [r14]
cmp rdx, r8
jne 0x14002c1b2
cmp rdx, qword [r14 + 8]
jne 0x14002c1b2
mov qword [rcx + 8], r8
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8]
mov qword [rax + 8], rcx
mov qword [r8], rcx
mov qword [r14 + 8], rcx
mov qword [r14], rcx
inc qword [rsi]
xor eax, eax
jmp 0x14002c1d3
mov qword [rcx + 8], rdx
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [rdx]
mov qword [rax + 8], rcx
mov qword [rdx], rcx
mov qword [r14], rcx
inc qword [rsi]
xor eax, eax
jmp 0x14002c1d3
or eax, 0xffffffff
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002df80
Capabilities:
Hash data using djb2

Disassembly:
sub rsp, 0x28
mov r10, rdx
test rcx, rcx
je 0x14002dff9
cmp dword [rcx], 0
jne 0x14002dff9
movsx rax, byte [rdx]
lea r11, [rcx + 0x10]
mov r9d, 0x1505
mov rcx, rdx
test rax, rax
je 0x14002dfc4
nop word [rax + rax]
imul r9, r9, 0x21
lea rcx, [rcx + 1]
add r9, rax
movsx rax, byte [rcx]
test rax, rax
jne 0x14002dfb0
mov r8, qword [r11 + 0x10]
xor edx, edx
lea rcx, reloc.WS2_32.dll_getpeername
mov rax, r9
div qword [rcx + r8*8]
mov r8, r10
mov rcx, r11
shl rdx, 4
add rdx, qword [r11 + 8]
call fcn.14002bd90
test rax, rax
je 0x14002dff9
mov rax, qword [rax + 0x18]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14002eff0
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x30
mov esi, ecx
call fcn.1400328d0
mov eax, dword [0x1402c7d7c]
test eax, eax
jne 0x14002f120
lea edx, [rax + 1]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov dword [0x1402c7d7c], 1
mov qword [rsp + 0x48], 0xffffffffffe17b80
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor edi, edi
lea rdx, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x28], edi
mov rbx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140198db0
test esi, esi
jne 0x14002f081
mov eax, dword [0x1402c7c4c]
test eax, eax
cmovne esi, eax
lea rcx, [0x1402c7888]
call fcn.1401b9380
cmp dword [0x1402c7cc4], edi
je 0x14002f09a
call fcn.140048550
call fcn.140049b20
lea rcx, [0x1402c7888]
call fcn.1401b9960
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
cmp qword [0x1402c7e10], rdi
je 0x14002f0f4
cmp dword [0x1402c7bb8], edi
jle 0x14002f0ef
lea rbx, [0x1402cb7b0]
nop
cmp dword [0x1402c7c48], 0
jne 0x14002f0ef
movsx ecx, word [rbx]
call fcn.14004b1c0
inc edi
add rbx, 2
cmp edi, dword [0x1402c7bb8]
jl 0x14002f0d0
call fcn.14004b9e0
mov rcx, qword [0x1402dde80]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [0x1402dde88]
call qword [sym.imp.MSVCR120.dll_free]
mov ecx, esi
call qword [sym.imp.MSVCR120.dll_exit]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
Function at 0x140030bf0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx eax, byte [rdx + 0x1cc]
xor ebx, ebx
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x40], ebx
imul rdi, rax, 0x6f8
lea rax, [0x1402c7ed0]
add rdi, rax
or rax, 0xffffffffffffffff
lea rdx, [rdi + 0x308]
inc rax
cmp byte [rdx + rax], bl
jne 0x140030c40
neg rax
mov qword [rsp + 0x28], rdx
lea r9, [rdi + 0x288]
sbb eax, eax
lea r8, str._s_c_s
lea rcx, [rsp + 0x50]
and eax, 0x3a
mov edx, 0x200
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR120.dll__snprintf]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
lea rdx, [rdi + 0x48]
lea r9, str._method_:__getblocktemplate____params_:______id_:9_r_n
lea r8, [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call fcn.1400411b0
mov rdi, rax
test rax, rax
jne 0x140030cdc
cmp dword [rsp + 0x40], 0xffffffff
jne 0x140030d69
cmp dword [0x1402c7cc0], ebx
mov dword [reloc.WS2_32.dll_accept], ebx
jne 0x140030cd5
lea rdx, str.gbt_not_supported__block_height_notices_disabled
lea ecx, [rax + 0x10]
call fcn.140040950
xor eax, eax
jmp 0x140030d98
cmp dword [rax], ebx
jne 0x140030d69
lea r10, [0x1401d35f4]
mov ecx, WSACleanup
mov r8d, 0x1505
mov rax, r10
nop dword [rax]
imul r8, r8, 0x21
lea rax, [rax + 1]
add r8, rcx
movsx rcx, byte [rax]
test rcx, rcx
jne 0x140030d00
mov rcx, qword [rdi + 0x20]
xor edx, edx
lea r9, reloc.WS2_32.dll_getpeername
mov rax, r8
div qword [r9 + rcx*8]
lea rax, [rdi + 0x28]
mov r9, rdx
shl r9, 4
add r9, qword [rdi + 0x18]
mov rdx, qword [r9]
cmp rdx, rax
jne 0x140030d45
cmp rdx, qword [r9 + 8]
je 0x140030d69
cmp qword [rdx - 8], r8
jne 0x140030dbb
mov rax, rbx
nop
movzx ecx, byte [rdx + rax + 0x20]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x140030dbb
cmp rax, 7
jne 0x140030d50
mov rbx, qword [rdx + 0x10]
mov rdx, rbp
mov rcx, rbx
call fcn.140030880
mov ebx, eax
test rdi, rdi
je 0x140030d96
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140030d96
dec rcx
mov qword [rdi + 8], rcx
jne 0x140030d96
mov rcx, rdi
call fcn.14002e4b0
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401bddc0
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
cmp rdx, qword [r9 + 8]
je 0x140030d69
mov rdx, qword [rdx + 8]
jmp 0x140030d45
Function at 0x140037a90
Capabilities:
Hash data using djb2

Disassembly:
push rbp
sub rsp, 0x50
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, qword [0x1402dded8]
test rbp, rbp
je 0x140037c89
cmp dword [rbp], 0
jne 0x140037c89
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rsp + 0x70], rdi
lea rbx, [0x1402582f8]
nop word [rax + rax]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140037bd9
lea rdx, str.config
call qword [sym.imp.MSVCR120.dll__stricmp]
test eax, eax
je 0x140037bc6
mov rdi, qword [rbx - 0x18]
mov rcx, rbp
mov rdx, rdi
call fcn.14002df80
test rax, rax
je 0x140037bc6
cmp dword [rbx - 0x10], 0
je 0x140037bb3
mov ecx, dword [rax]
cmp ecx, 2
jne 0x140037b56
mov rcx, qword [rax + 0x10]
call qword [sym.imp.MSVCR120.dll__strdup]
mov rdi, rax
test rax, rax
je 0x140037bc6
mov ecx, dword [rbx]
mov rdx, rax
call fcn.140036240
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_free]
jmp 0x140037bc6
cmp ecx, 3
jne 0x140037b78
mov r8d, dword [rax + 0x10]
lea rdx, [0x1401d399c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120.dll_sprintf]
lea rdx, [rsp + 0x20]
jmp 0x140037bbf
cmp ecx, 4
jne 0x140037ba0
movsd xmm2, qword [rax + 0x10]
lea rdx, [0x1401d39ac]
lea rcx, [rsp + 0x30]
movq r8, xmm2
call qword [sym.imp.MSVCR120.dll_sprintf]
lea rdx, [rsp + 0x30]
jmp 0x140037bbf
lea rdx, str.JSON_option__s_invalid
mov r8, rdi
xor ecx, ecx
call fcn.140040950
jmp 0x140037bc6
cmp dword [rax], 5
jne 0x140037bc6
lea rdx, [0x1401d30d9]
mov ecx, dword [rbx]
call fcn.140036240
inc esi
add rbx, 0x20
movsxd rax, esi
cmp rax, 0x43
jb 0x140037ae0
cmp dword [rbp], 0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jne 0x140037c89
lea r10, str.pools
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov r9d, 0x1505
mov rax, r10
nop word [rax + rax]
imul r9, r9, 0x21
lea rax, [rax + 1]
add r9, rcx
movsx rcx, byte [rax]
test rcx, rcx
jne 0x140037c10
mov rcx, qword [rbp + 0x20]
xor edx, edx
lea r8, reloc.WS2_32.dll_getpeername
mov rax, r9
div qword [r8 + rcx*8]
lea rax, [rbp + 0x28]
shl rdx, 4
add rdx, qword [rbp + 0x18]
mov r8, qword [rdx]
cmp r8, rax
jne 0x140037c52
cmp r8, qword [rdx + 8]
je 0x140037c89
cmp qword [r8 - 8], r9
jne 0x140037c9c
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [r8 + rcx + 0x20]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140037c9c
cmp rcx, 6
jne 0x140037c60
mov rcx, qword [r8 + 0x10]
test rcx, rcx
je 0x140037c89
cmp dword [rcx], 1
jne 0x140037c89
call fcn.14003fa80
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401bddc0
add rsp, 0x50
pop rbp
ret
cmp r8, qword [rdx + 8]
je 0x140037c89
mov r8, qword [r8 + 8]
jmp 0x140037c52
Function at 0x14003a7a0
Capabilities:
Encode data using xor

Disassembly:
test r9d, r9d
je 0x14003a921
push rsi
push r14
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], r12
lea eax, [r9 - 1]
mov rbx, rdx
lea r10d, [rax + rax*2]
mov rbp, rcx
mov r12, 0xffffffffffffff98
shl r10d, 2
mov qword [rsp + 0x28], r13
sub rbx, rcx
lea r14, [r8 + r10*8]
sub rbp, rdx
mov qword [rsp + 0x20], r15
mov rdi, r14
mov rsi, rcx
mov r15d, r9d
sub rdi, rcx
sub r12, rcx
lea rcx, [rsi + 0x10]
mov edx, 3
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm2, xmmword [rcx + rbx]
lea rax, [rsi + 0x58]
add rax, rcx
add rcx, 0x20
add rax, r12
movdqu xmm1, xmmword [rax + rbx]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x20], xmm2
dec rdx
jne 0x14003a810
mov rcx, rsi
call fcn.14003a240
lea rdx, [rsi + 0x58]
add rdx, rbx
cmp r14, rdx
ja 0x14003a898
lea rcx, [rsi + 0x58]
lea rax, [rbx + rsi]
add rcx, rdi
cmp rcx, rax
jb 0x14003a898
mov rax, rsi
mov edx, reloc.WS2_32.dll_inet_ntoa
nop word [rax + rax]
mov rcx, qword [rbx + rax]
lea rax, [rax + 8]
xor rcx, qword [rax - 8]
mov qword [rdi + rax - 8], rcx
dec rdx
jne 0x14003a880
jmp 0x14003a8e3
mov rcx, r14
lea rax, [rdx - 0x48]
mov edx, 3
sub rcx, rbx
sub rcx, rsi
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rax + rbp - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rax + rbp - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + rax - 0x20], xmm1
dec rdx
jne 0x14003a8b0
sub rbp, 0x60
add rbx, 0x60
sub r14, 0x60
sub rdi, 0x60
dec r15
jne 0x14003a800
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x38
pop r14
pop rsi
ret
Function at 0x14003ac70
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r15
sub rsp, 0x48
mov rdi, rcx
mov ecx, dword [rsp + 0x80]
mov r15, r8
test ecx, ecx
je 0x14003ae9a
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov rax, r15
sub rax, rdi
mov r13, rdx
sub rdx, r9
sub rax, r9
sub r13, rdi
mov qword [rsp + 0x20], r14
sub r13, r9
lea r11, [rdx + 0x48]
lea r10, [rax - 0x20]
mov r14, rdi
add r13, 0xffffffffffffffe0
lea r8, [rdi + 0x10]
sub r14, r9
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x70], r10
sub r15, r9
lea rbx, [r9 + 0x10]
lea rsi, [rax - 0x10]
lea r12, [rdx - 0x10]
mov qword [rsp + 0x68], rcx
nop dword [rax]
nop dword [rax + rax]
lea rbp, [r15 - 0x10]
lea rax, [rbx + r11]
add rbp, rbx
cmp rbp, rax
ja 0x14003ad4d
lea rax, [r15 + 0x48]
lea r9, [rbx + r12]
add rax, rbx
cmp rax, r9
jb 0x14003ad4d
mov rax, rdi
sub r9, rbp
mov r8d, reloc.WS2_32.dll_inet_ntoa
nop dword [rax]
lea rdx, [rbx + rax]
lea rax, [rax + 8]
add rdx, rsi
mov rcx, qword [r9 + rdx]
add rcx, qword [rdx]
xor qword [rax - 8], rcx
dec r8
jne 0x14003ad30
jmp 0x14003adb2
mov r9, rbx
mov rdx, r8
mov r8d, 3
sub r9, rbp
add r9, r12
nop
lea rax, [rbx + r10]
lea rcx, [rbx + rsi]
add rcx, rdx
add rdx, 0x20
movdqu xmm1, xmmword [rax + rdx - 0x20]
lea rax, [rbx + r13]
movdqu xmm0, xmmword [rax + rdx - 0x20]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rdx - 0x30]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx]
movdqu xmmword [rdx - 0x30], xmm1
movdqu xmm1, xmmword [r9 + rcx]
paddq xmm1, xmm0
movdqu xmm0, xmmword [rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
dec r8
jne 0x14003ad60
mov rcx, rdi
call fcn.14003a240
mov rcx, rbx
mov eax, 3
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm1, xmmword [r14 + rcx - 0x10]
movdqu xmm2, xmmword [r14 + rcx]
add rcx, 0x20
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x20], xmm2
dec rax
jne 0x14003adc2
mov rax, qword [rdi + 0x58]
mov r10, qword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
xor qword [rbp], rax
mov rax, qword [rdi]
lea r8, [rdi + 0x10]
xor qword [rbx + r15 - 8], rax
mov rax, qword [rdi + 8]
sub r14, 0x60
xor qword [rbx + r15], rax
mov rax, qword [r8]
xor qword [rbx + r15 + 8], rax
mov rax, qword [rdi + 0x18]
xor qword [rbx + r15 + 0x10], rax
mov rax, qword [rdi + 0x20]
xor qword [rbx + r15 + 0x18], rax
mov rax, qword [rdi + 0x28]
xor qword [rbx + r15 + 0x20], rax
mov rax, qword [rdi + 0x30]
xor qword [rbx + r15 + 0x28], rax
mov rax, qword [rdi + 0x38]
xor qword [rbx + r15 + 0x30], rax
mov rax, qword [rdi + 0x40]
xor qword [rbx + r15 + 0x38], rax
mov rax, qword [rdi + 0x48]
xor qword [rbx + r15 + 0x40], rax
mov rax, qword [rdi + 0x50]
xor qword [rbx + r15 + 0x48], rax
dec qword [rsp + 0x68]
mov rbx, rcx
jne 0x14003ad00
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
pop r15
pop rdi
ret