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

Disassembly:
lea r11, [0x14001c500]
movdqu xmm7, xmmword [rcx]
lea rcx, [rcx + 0x10]
movdqa xmm0, xmmword [r11]
movdqa xmm1, xmmword [r11 + 0x10]
movdqa xmm2, xmmword [r11 + 0x20]
movdqa xmm3, xmmword [r11 + 0x30]
movdqa xmm4, xmmword [r11 + 0x40]
pcmpeqd xmm5, xmm5
movdqu xmm6, xmmword [rcx]
movdqa xmmword [rax], xmm7
lea rax, [rax + 0x10]
dec r10d
jmp 0x14001a790
pshufb xmm6, xmm4
movdqa xmm8, xmm0
movdqa xmm9, xmm1
pand xmm8, xmm6
pand xmm9, xmm6
movdqa xmm10, xmm2
pcmpeqb xmm8, xmm0
psllq xmm0, 4
movdqa xmm11, xmm3
pcmpeqb xmm9, xmm1
psllq xmm1, 4
pand xmm10, xmm6
pand xmm11, xmm6
movdqa xmm12, xmm0
pcmpeqb xmm10, xmm2
psllq xmm2, 4
movdqa xmm13, xmm1
pcmpeqb xmm11, xmm3
psllq xmm3, 4
movdqa xmm14, xmm2
movdqa xmm15, xmm3
pxor xmm8, xmm5
pxor xmm9, xmm5
pand xmm12, xmm6
pand xmm13, xmm6
movdqa xmmword [rax], xmm8
pcmpeqb xmm12, xmm0
psrlq xmm0, 4
movdqa xmmword [rax + 0x10], xmm9
pcmpeqb xmm13, xmm1
psrlq xmm1, 4
lea rcx, [rcx + 0x10]
pand xmm14, xmm6
pand xmm15, xmm6
movdqa xmmword [rax + 0x20], xmm10
pcmpeqb xmm14, xmm2
psrlq xmm2, 4
movdqa xmmword [rax + 0x30], xmm11
pcmpeqb xmm15, xmm3
psrlq xmm3, 4
movdqu xmm6, xmmword [rcx]
pxor xmm13, xmm5
pxor xmm14, xmm5
movdqa xmmword [rax + 0x40], xmm12
movdqa xmmword [rax + 0x50], xmm13
movdqa xmmword [rax + 0x60], xmm14
movdqa xmmword [rax + 0x70], xmm15
lea rax, [rax + 0x80]
dec r10d
jne 0x14001a790
movdqa xmm7, xmmword [r11 + 0x50]
repz ret
Function at 0x14001c700
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 0x14001c720
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, bh
movzx edi, ch
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, dh
shr ecx, 0x10
movzx ebp, ah
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 eax, 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, dh
movzx edi, ah
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
mov edx, dword [r15 + 0xc]
movzx edi, bh
movzx ebp, ch
mov eax, dword [r15]
xor r12d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 1]
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
sub r13d, 1
jne 0x14001c720
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi*8 + 2]
movzx r11d, byte [r14 + rdi*8 + 2]
movzx r12d, byte [r14 + rbp*8 + 2]
movzx esi, dl
movzx edi, bh
movzx ebp, ch
movzx r8d, byte [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and edi, 0xff00
and ebp, 0xff00
xor r10d, edi
xor r11d, ebp
shr ecx, 0x10
movzx esi, dh
movzx edi, ah
shr edx, 0x10
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
and esi, 0xff00
and edi, 0xff00
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr eax, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8]
mov ebp, dword [r14 + rbp*8]
and esi, 0xff0000
and edi, 0xff0000
and ebp, 0xff0000
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, dh
movzx ebp, ah
mov esi, dword [r14 + rsi*8]
mov edi, dword [r14 + rdi*8 + 2]
mov ebp, dword [r14 + rbp*8 + 2]
and esi, 0xff0000
and edi, 0xff000000
and ebp, 0xff000000
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, bh
movzx edi, ch
mov edx, dword [r15 + 0x1c]
mov esi, dword [r14 + rsi*8 + 2]
mov edi, dword [r14 + rdi*8 + 2]
mov eax, dword [r15 + 0x10]
and esi, 0xff000000
and edi, 0xff000000
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret
Function at 0x14001cb60
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, [0x14001e500]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.14001c8f0
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 0x14001cb6d
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, [0x14001e500]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.14001c8f0
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 0x14001cc40
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 0x14001cc60
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 0x14001cc60
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 0x14001d110
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, [0x14001f140]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.14001ce20
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 0x14001d11d
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, [0x14001f140]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.14001ce20
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 0x14001d4ed
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.14001d250
mov r8, qword [rsp]
cmp eax, 0
jne 0x14001d6ed
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 0x14001d528
lea rax, [0x14001e900]
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 0x14001d56c
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 0x14002c4a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test rcx, rcx
jle 0x14002c577
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp rcx, 0x64
jle 0x14002c50c
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 [0x14024c0a8]
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 0x14002c530
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
ret
Function at 0x14002d460
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 0x14002d4a5
call fcn.14002d290
test eax, eax
je 0x14002d4a5
or eax, 0xffffffff
jmp 0x14002d5ed
movsx rax, byte [rbx]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
mov rcx, rbx
mov edi, 0x1505
test rax, rax
je 0x14002d4d4
imul rdi, rdi, 0x21
lea rcx, [rcx + 1]
add rdi, rax
movsx rax, byte [rcx]
test rax, rax
jne 0x14002d4c0
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.14002d1a0
mov rbp, rax
test rax, rax
je 0x14002d531
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14002d526
mov rdx, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x14002d526
dec rdx
mov qword [rcx + 8], rdx
jne 0x14002d526
call fcn.14002f8c0
mov qword [rbp + 0x18], r15
xor eax, eax
jmp 0x14002d5e3
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002d535
add rcx, 0x29
je 0x14002d5e0
call qword [sub.MSVCR120.dll_malloc]
test rax, rax
je 0x14002d5e0
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 0x14002d570
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 0x14002d5c2
cmp rdx, qword [r14 + 8]
jne 0x14002d5c2
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 0x14002d5e3
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 0x14002d5e3
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 0x14002f390
Capabilities:
Hash data using djb2

Disassembly:
sub rsp, 0x28
mov r10, rdx
test rcx, rcx
je 0x14002f409
cmp dword [rcx], 0
jne 0x14002f409
movsx rax, byte [rdx]
lea r11, [rcx + 0x10]
mov r9d, 0x1505
mov rcx, rdx
test rax, rax
je 0x14002f3d4
nop word [rax + rax]
imul r9, r9, 0x21
lea rcx, [rcx + 1]
add r9, rax
movsx rax, byte [rcx]
test rax, rax
jne 0x14002f3c0
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.14002d1a0
test rax, rax
je 0x14002f409
mov rax, qword [rax + 0x18]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x140030400
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x30
mov esi, ecx
call fcn.140033d30
mov eax, dword [0x1402d4f7c]
test eax, eax
jne 0x140030530
lea edx, [rax + 1]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov dword [0x1402d4f7c], 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.140199a60
test esi, esi
jne 0x140030491
mov eax, dword [0x1402d4e4c]
test eax, eax
cmovne esi, eax
lea rcx, [0x1402d4a88]
call fcn.1401b6880
cmp dword [0x1402d4ec4], edi
je 0x1400304aa
call fcn.140049760
call fcn.14004ad30
lea rcx, [0x1402d4a88]
call fcn.1401b6e60
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
cmp qword [0x1402d5010], rdi
je 0x140030504
cmp dword [0x1402d4db8], edi
jle 0x1400304ff
lea rbx, [0x1402d89b0]
nop
cmp dword [0x1402d4e48], 0
jne 0x1400304ff
movsx ecx, word [rbx]
call fcn.14004c3d0
inc edi
add rbx, 2
cmp edi, dword [0x1402d4db8]
jl 0x1400304e0
call fcn.14004cbf0
mov rcx, qword [0x1402eb080]
call qword [sym.imp.MSVCR120.dll_free]
mov rcx, qword [0x1402eb088]
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 0x140032000
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140264330]
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, [0x1402d50d0]
add rdi, rax
or rax, 0xffffffffffffffff
lea rdx, [rdi + 0x308]
inc rax
cmp byte [rdx + rax], bl
jne 0x140032050
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.1400423c0
mov rdi, rax
test rax, rax
jne 0x1400320ec
cmp dword [rsp + 0x40], 0xffffffff
jne 0x140032179
cmp dword [0x1402d4ec0], ebx
mov dword [reloc.WS2_32.dll_accept], ebx
jne 0x1400320e5
lea rdx, str.gbt_not_supported__block_height_notices_disabled
lea ecx, [rax + 0x10]
call fcn.140041b60
xor eax, eax
jmp 0x1400321a8
cmp dword [rax], ebx
jne 0x140032179
lea r10, [0x1401de724]
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 0x140032110
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 0x140032155
cmp rdx, qword [r9 + 8]
je 0x140032179
cmp qword [rdx - 8], r8
jne 0x1400321cb
mov rax, rbx
nop
movzx ecx, byte [rdx + rax + 0x20]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x1400321cb
cmp rax, 7
jne 0x140032160
mov rbx, qword [rdx + 0x10]
mov rdx, rbp
mov rcx, rbx
call fcn.140031c90
mov ebx, eax
test rdi, rdi
je 0x1400321a6
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400321a6
dec rcx
mov qword [rdi + 8], rcx
jne 0x1400321a6
mov rcx, rdi
call fcn.14002f8c0
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401bb2c0
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
cmp rdx, qword [r9 + 8]
je 0x140032179
mov rdx, qword [rdx + 8]
jmp 0x140032155