joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f550
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], r9d
push rdi
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rsp + 0xa0]
lea r9, [rax + 0x20]
xor r14d, r14d
mov qword [rax - 0x48], r14
mov qword [rax - 0x50], r14
mov dword [rax - 0x58], r14d
mov dword [rax + 0x20], r14d
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x14012e300]
lea rbp, [0x14012e2f8]
movabs r15, 0x4d54ee85da812030
mov dword [rsp + 0x44], r14d
add rdx, r15
mov edi, eax
cmp rdx, 1
jbe 0x14001f5d6
mov rcx, qword [0x14012e2f8]
mov edx, eax
mov r8, qword [rcx + 0x30]
mov rcx, rbp
call r8
jmp 0x14001f5db
test edi, edi
setne al
movzx eax, al
movabs r10, 0x4800144005b3
add rax, 2
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x48], rbp
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov r9, qword [rbx + 0x10]
cmp r9, 1
je 0x14001f61e
mov eax, dword [rbx]
mov r8d, eax
jmp 0x14001f64e
mov rcx, qword [rbx + 8]
mov rax, r10
mov r8d, dword [rbx]
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add eax, r8d
cmp eax, 0x40
jne 0x14001f690
mov rcx, qword [0x14012e300]
add rcx, r15
mov dword [rsp + 0x44], r14d
cmp rcx, 1
jbe 0x14001f684
mov rax, qword [0x14012e2f8]
mov edx, 0x2746
mov rcx, rbp
call qword [rax + 0x30]
mov dword [rsp + 0x40], 0x2746
jmp 0x14001f6ff
mov al, 1
mov dword [rsp + 0x40], 0x2746
jmp 0x14001f6ff
cmp r9, 1
jne 0x14001f6c3
mov rcx, qword [rbx + 8]
mov rax, r10
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x14
imul rax, rax, 0x1ffff7
sub rcx, rax
imul eax, ecx, 0x3e8
add r8d, eax
cmp r8d, 0x4d2
jne 0x14001f723
mov rcx, qword [0x14012e300]
add rcx, r15
mov dword [rsp + 0x44], r14d
cmp rcx, 1
jbe 0x14001f6f5
mov rax, qword [0x14012e2f8]
mov edx, 0x274d
mov rcx, rbp
call qword [rax + 0x30]
jmp 0x14001f6f7
mov al, 1
mov dword [rsp + 0x40], 0x274d
movzx eax, al
mov qword [rsp + 0x48], rbp
add rax, 2
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movsd xmm1, qword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
test esi, esi
je 0x14001f72e
mov eax, 0xffffffff
jmp 0x14001f74b
mov eax, dword [rsp + 0x98]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsp + 0x50], r14
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbx + 0x10], xmm0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14001f770
Capabilities:
Get socket status

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14012e040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, qword [rbp + 0x220]
mov rax, r8
mov qword [rsp + 0x50], rax
movzx r13d, dl
mov qword [rsp + 0x48], r9
mov r12, rcx
cmp rcx, 0xffffffffffffffff
jne 0x14001f82d
mov rcx, qword [0x14012e300]
lea r14, [0x14012e2f8]
xor esi, esi
movabs r15, 0x4d54ee85da812030
add rcx, r15
mov dword [rsp + 0x34], esi
cmp rcx, 1
jbe 0x14001f7f8
mov rax, qword [0x14012e2f8]
mov edx, 0x2719
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14001f7fa
mov al, 1
movzx eax, al
add rax, 2
mov dword [rsp + 0x30], 0x2719
mov qword [rsp + 0x40], rax
xor eax, eax
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movsd qword [rdi + 0x10], xmm1
jmp 0x14001f9d6
cmp byte [rbp + 0x218], 0
je 0x14001f85b
test r13b, 0x10
je 0x14001f85b
xorps xmm0, xmm0
xor esi, esi
movups xmmword [rdi], xmm0
mov qword [rsp + 0x68], rsi
xor eax, eax
movsd xmm0, qword [rsp + 0x68]
movsd qword [rdi + 0x10], xmm0
jmp 0x14001f9d6
mov r8, r9
mov qword [rsp + 0x2f8], rbx
mov rdx, rax
mov qword [rsp + 0x20], rdi
call fcn.14001f550
test eax, eax
jns 0x14001f9cc
and r13b, 1
lea r14, [0x14012e2f8]
xor esi, esi
movabs r15, 0x4d54ee85da812030
test r13b, r13b
jne 0x14001f9f8
mov rbx, qword [0x14012e300]
mov dword [rsp + 0x34], esi
lea rax, [rbx + r15]
cmp rax, 1
jbe 0x14001f8cb
mov rax, qword [0x14012e2f8]
mov edx, 0x2733
mov rcx, r14
call qword [rax + 0x30]
mov rbx, qword [0x14012e300]
jmp 0x14001f8cd
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x70]
add rax, 2
mov dword [rsp + 0x30], 0x2733
mov qword [rsp + 0x40], rax
mov rcx, rdi
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rbp - 0x80], xmm1
movups xmmword [rsp + 0x70], xmm0
call fcn.14001b4a0
test al, al
jne 0x14001f974
lea rax, [rbx + r15]
mov dword [rsp + 0x34], esi
cmp rax, 1
jbe 0x14001f92e
mov rax, qword [0x14012e2f8]
mov edx, 0x4d5
mov rcx, r14
call qword [rax + 0x30]
jmp 0x14001f930
mov al, 1
movzx eax, al
lea rdx, [rsp + 0x58]
add rax, 2
mov dword [rsp + 0x30], 0x4d5
mov qword [rsp + 0x40], rax
mov rcx, rdi
movsd xmm1, qword [rsp + 0x40]
mov qword [rsp + 0x38], r14
movups xmm0, xmmword [rsp + 0x30]
movsd qword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x58], xmm0
call fcn.14001b4a0
test al, al
je 0x14001f9f8
lea ecx, [r12 + 1]
mov qword [rbp - 0x68], r12
xor r9d, r9d
mov dword [rbp - 0x70], 1
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
mov edx, eax
mov rcx, rdi
shr edx, 0x1f
mov ebx, eax
call fcn.14001e950
test ebx, ebx
je 0x14001f9ad
js 0x14001f9f8
mov r8, qword [rsp + 0x48]
mov rcx, r12
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
call fcn.14001f550
test eax, eax
js 0x14001f892
mov eax, eax
mov rbx, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400c8700
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x14001f9ce
Function at 0x1400293d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10, rdx
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movabs rax, 0xaaaaaaaaaaaaaaab
mov rbx, rcx
mul r8
mov r9, rcx
shr rdx, 1
mov r11, rdx
je 0x140029464
nop
movzx eax, byte [r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r9], al
movzx eax, byte [r10 + 1]
movsx ecx, byte [r10]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
movzx eax, byte [rcx + rdi]
mov byte [r9 + 1], al
movzx eax, byte [r10 + 2]
movsx ecx, byte [r10 + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
movzx eax, byte [rax + rdi]
mov byte [r9 + 2], al
movsx rax, byte [r10 + 2]
add r10, 3
and eax, 0x3f
movzx eax, byte [rax + rdi]
mov byte [r9 + 3], al
add r9, 4
sub r11, 1
jne 0x140029400
lea rax, [rdx + rdx*2]
sub r8, rax
sub r8, 1
je 0x1400294b9
cmp r8, 1
jne 0x1400294e5
movzx eax, byte [r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r9], al
movsx ecx, byte [r10]
movzx eax, byte [r10 + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
movzx eax, byte [rcx + rdi]
mov byte [r9 + 1], al
movsx rax, byte [r10 + 1]
and eax, 0xf
movzx eax, byte [rdi + rax*4]
mov byte [r9 + 2], al
mov byte [r9 + 3], 0x3d
jmp 0x1400294e1
movzx eax, byte [r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r9], al
movsx rax, byte [r10]
and eax, 3
add rax, rax
movzx eax, byte [rdi + rax*8]
mov byte [r9 + 1], al
mov word [r9 + 2], 0x3d3d
add r9, 4
mov rdi, qword [rsp + 0x10]
sub r9, rbx
mov rbx, qword [rsp + 8]
mov rax, r9
ret
Function at 0x14002d340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x14012e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
movzx eax, word [r8]
mov r14, rcx
add ax, ax
movzx ecx, word [r8 + 0x1e]
mov word [rsp + 0x22], ax
add ax, word [r8 + 2]
add ax, ax
movsxd rbx, edx
mov word [rsp + 0x24], ax
add ax, word [r8 + 4]
add ax, ax
mov word [rsp + 0x26], ax
add ax, word [r8 + 6]
add ax, ax
mov word [rsp + 0x28], ax
add ax, word [r8 + 8]
add ax, ax
mov word [rsp + 0x2a], ax
add ax, word [r8 + 0xa]
add ax, ax
mov word [rsp + 0x2c], ax
add ax, word [r8 + 0xc]
add ax, ax
mov word [rsp + 0x2e], ax
add ax, word [r8 + 0xe]
add ax, ax
mov word [rsp + 0x30], ax
add ax, word [r8 + 0x10]
add ax, ax
mov word [rsp + 0x32], ax
add ax, word [r8 + 0x12]
add ax, ax
mov word [rsp + 0x34], ax
add ax, word [r8 + 0x14]
add ax, ax
mov word [rsp + 0x36], ax
add ax, word [r8 + 0x16]
add ax, ax
mov word [rsp + 0x38], ax
add ax, word [r8 + 0x18]
add ax, ax
mov word [rsp + 0x3a], ax
add ax, word [r8 + 0x1a]
add ax, ax
mov word [rsp + 0x3c], ax
add ax, word [r8 + 0x1c]
add ax, ax
mov word [rsp + 0x3e], ax
movzx eax, ax
add ecx, eax
cmp ecx, 0x8000
je 0x14002d44c
mov r8d, 0x85
lea rdx, [0x14010ea40]
lea rcx, str.code__bl_count_maxBits__1___1__maxBits__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, rbx
test ebx, ebx
js 0x14002d4fa
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], r15
xor r15d, r15d
mov esi, r15d
movzx edi, word [r14 + rsi*4 + 2]
test edi, edi
je 0x14002d4dd
lea rcx, [rsp + 0x20]
movzx ebx, word [rcx + rdi*2]
lea rcx, [rcx + rdi*2]
lea eax, [rbx + 1]
mov word [rcx], ax
cmp edi, 0x20
jbe 0x14002d4ae
mov r8d, 0x2be
lea rdx, str.E:_boost_1_83_0_boost_beastzlibdetaildeflate_stream.hpp
lea rcx, str.len___8__sizeof_unsigned_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, r15w
nop dword [rax]
nop word [rax + rax]
movzx ecx, bx
shr bx, 1
and cx, 1
or ax, cx
add ax, ax
add edi, 0xffffffff
jne 0x14002d4c0
shr ax, 1
mov word [r14 + rsi*4], ax
inc rsi
cmp rsi, rbp
jle 0x14002d472
mov r15, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c8700
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
Function at 0x1400392e0
Capabilities:
Contain obfuscated stackstrings
Encrypt data using salsa20 or chacha

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x14012e040]
xor rax, rsp
mov qword [rbp - 9], rax
mov eax, dword [rcx + 0x40]
mov rdi, rcx
mov dword [rbp - 0x39], eax
xor esi, esi
mov eax, dword [rcx + 0x44]
mov ebx, select
mov dword [rbp - 0x35], eax
mov eax, dword [rcx + 0x48]
lea r14, [rdi + 0x3c]
mov dword [rbp - 0x31], eax
mov eax, dword [rcx + 0x4c]
mov dword [rbp - 0x2d], eax
mov eax, dword [rcx + 0x50]
movdqu xmm9, xmmword [rbp - 0x39]
mov dword [rbp - 0x29], eax
mov eax, dword [rcx + 0x54]
mov dword [rbp - 0x25], eax
mov eax, dword [rcx + 0x58]
mov dword [rbp - 0x21], eax
mov eax, dword [rcx + 0x5c]
mov rcx, qword [rcx + 0x60]
mov dword [rbp - 0x1d], eax
mov rax, rcx
movdqu xmm8, xmmword [rbp - 0x29]
shr rax, 4
mov dword [rbp - 0x19], eax
lea rax, [rbp - 0xd]
shr rcx, 0x24
mov dword [rbp - 0x69], 0x61707865
mov dword [rbp - 0x65], 0x3320646e
mov dword [rbp - 0x61], 0x79622d32
mov dword [rbp - 0x5d], 0x6b206574
mov dword [rbp - 0x15], ecx
mov dword [rbp - 0xd], 0xdeadbeef
mov dword [rbp - 0x11], 0xdeadbeef
movdqu xmm7, xmmword [rbp - 0x19]
movdqu xmm6, xmmword [rbp - 0x69]
movdqu xmmword [rbp - 0x49], xmm6
cmp rdi, rax
ja 0x1400393e9
lea rax, [rbp - 0x49]
cmp r14, rax
jb 0x1400393e9
mov r8d, ebx
lea rdx, [rbp - 0x49]
sub r8, rsi
lea rcx, [rdi + rsi*4]
shl r8, 2
lea rdx, [rdx + rsi*4]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call fcn.14003b1d0
jmp 0x140039414
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm9
movups xmmword [rdi + 0x20], xmm8
movups xmmword [rdi + 0x30], xmm7
mov rcx, rdi
call fcn.14003b1d0
lea rax, [rbp - 0xd]
cmp rdi, rax
ja 0x140039441
lea rax, [rbp - 0x49]
cmp r14, rax
jb 0x140039441
lea rdx, [rbp - 0x49]
mov rcx, rsi
sub rdx, rdi
lea rax, [rdi + rsi*4]
sub rbx, rcx
nop word [rax + rax]
mov ecx, dword [rdx + rax]
add dword [rax], ecx
lea rax, [rax + 4]
sub rbx, 1
jne 0x140039430
jmp 0x140039479
movdqu xmm0, xmmword [rdi]
paddd xmm6, xmm0
movdqu xmmword [rdi], xmm6
movdqu xmm0, xmmword [rdi + 0x10]
paddd xmm0, xmm9
movdqu xmmword [rdi + 0x10], xmm0
movdqu xmm0, xmmword [rdi + 0x20]
paddd xmm0, xmm8
movdqu xmmword [rdi + 0x20], xmm0
movdqu xmm0, xmmword [rdi + 0x30]
paddd xmm0, xmm7
movdqu xmmword [rdi + 0x30], xmm0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400c8700
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14003ddc0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push r12
push r15
sub rsp, 0x30
mov rdi, r8
lea r12, [0x140133450]
sub rdi, r12
mov r15, rcx
sar rdi, 2
test rdi, rdi
je 0x14003dfa4
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x60], rsi
sar rbx, 2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
cmp rdi, 0x26f
jb 0x14003de16
mov eax, 0xb
jmp 0x14003de44
cmp rdi, 0x44
jb 0x14003de23
mov eax, 7
jmp 0x14003de44
cmp rdi, 0x27
jb 0x14003de30
mov eax, 5
jmp 0x14003de44
cmp rdi, 7
jb 0x14003de3d
mov eax, 3
jmp 0x14003de44
lea rax, [rdi - 1]
shr rax, 1
mov rsi, rdi
lea r14, [rbx + 1]
sub rsi, rax
shr rsi, 1
lea r13, [rsi + rax]
cmp rdi, rbx
jbe 0x14003de5d
mov r14, rdi
mov r8, rdi
mov qword [rsp + 0x58], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r14, r14
je 0x14003df0a
xor edx, edx
lea rax, [rcx + rsi]
div rdi
mov r11d, dword [r12 + rdx*4]
lea r10, [r12 + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [r12 + rdx*4]
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
mov r8d, dword [r12 + rdx*4]
xor r8d, dword [rbp]
xor r8d, r11d
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x14003dece
mov rax, rbx
jmp 0x14003dee2
cmp rcx, rbx
ja 0x14003dedf
mov rax, qword [r15]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x14003dee2
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [r12 + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r14
jb 0x14003de81
add r14, rdi
cmp rcx, r14
jae 0x14003df8b
inc rsi
lea rbp, [rcx - 1]
inc r13
xor edx, edx
lea rax, [rsi + rbp]
div rdi
mov r10d, dword [r12 + rdx*4]
lea r11, [r12 + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [r12 + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [r12 + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [r12 + rdx*4], r8d
mov dword [r12 + r9*4], r8d
cmp rax, r14
jb 0x14003df20
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x140045d30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140045d91
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140045d50
mov ecx, dword [r9]
jmp 0x140045e7b
cmp ecx, 0x4e0
jb 0x140045e7b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140045db0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140045e00
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14004e330
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x10
lea r8, [rcx + 0x10]
mov rsi, rdx
cmp rcx, r8
je 0x14004e53c
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
nop word [rax + rax]
mov r11, qword [rcx + 8]
mov eax, dword [rsi]
mov r10, r11
mov r9, qword [rcx]
mov dword [rsp], eax
cmp r11, 4
jb 0x14004e3b9
movzx ebx, byte [rsp + 2]
mov rdx, r11
movzx edi, byte [rsp + 1]
shr rdx, 2
imul r11, rdx, 0xfffffffffffffffc
add r11, r10
movzx r10d, byte [rsp + 3]
nop dword [rax]
nop word [rax + rax]
xor byte [r9], al
xor byte [r9 + 1], dil
xor byte [r9 + 2], bl
xor byte [r9 + 3], r10b
add r9, 4
sub rdx, 1
jne 0x14004e3a0
test r11, r11
je 0x14004e520
xor r10d, r10d
cmp r11, 8
jb 0x14004e4b3
lea rdx, [r9 - 1]
add rdx, r11
lea rax, [rsp + r11 - 1]
cmp r9, rax
ja 0x14004e3ed
lea rax, [rsp]
cmp rdx, rax
jae 0x14004e4b3
cmp r11, 0x40
jb 0x14004e47e
mov rdx, r11
mov rbx, r11
and edx, 0x3f
sub rbx, rdx
lea rdi, [rsp]
sub rdi, r9
lea rbp, [rsp + 0x10]
sub rbp, r9
lea rax, [r9 + 0x20]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x20]
add r10, 0x40
movdqu xmm1, xmmword [rdi + rax - 0x20]
movdqu xmm2, xmmword [rdi + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqu xmm0, xmmword [rax - 0x50]
movdqu xmm1, xmmword [rax + rbp - 0x60]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax + rbp - 0x40]
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm1, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp r10, rbx
jb 0x14004e420
cmp rdx, 8
jb 0x14004e4ae
mov rdx, r11
and rdx, 0xfffffffffffffff8
lea rbx, [rsp]
sub rbx, r9
lea rax, [r10 + r9]
movq xmm0, qword [rax]
add r10, 8
movq xmm1, qword [rbx + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp r10, rdx
jb 0x14004e490
cmp r10, r11
jae 0x14004e4e0
lea rdx, [r10 + r9]
lea rbx, [rsp]
sub rbx, r9
mov r9, r11
sub r9, r10
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r9, 1
jne 0x14004e4d0
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
mov rax, r11
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsi], al
lea rax, [r11 + 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsi + 1], al
lea rax, [r11 - 2]
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsi + 2], al
lea rax, [r11 - 1]
and eax, 3
movzx eax, byte [rsp + rax + 0x20]
mov byte [rsi + 3], al
add rcx, 0x10
cmp rcx, r8
jne 0x14004e360
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
add rsp, 0x10
pop rsi
ret
Function at 0x14004f160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
xor eax, eax
lock xadd dword [rcx + 0x3c], eax
test eax, eax
je 0x14004f19c
xor eax, eax
jmp 0x14004f364
lea r13, [rcx + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edx, edx
mov r15d, edx
mov esi, edx
mov ebp, edx
cmp qword [rdi + 0x20], rdx
jne 0x14004f1c2
cmp rdi, qword [rbx + 0x10]
jne 0x14004f2a5
movabs r14, 0x4d54ee85da812030
lea r13, [0x14012e2f8]
cmp rbp, r12
je 0x14004f283
mov rbx, qword [rdi]
test rbx, rbx
je 0x14004f283
mov dword [rsp + 0x24], edx
mov rcx, qword [0x14012e300]
add rcx, r14
cmp rcx, 1
jbe 0x14004f212
mov rax, qword [0x14012e2f8]
mov edx, 0x3e3
mov rcx, r13
call qword [rax + 0x30]
xor edx, edx
jmp 0x14004f214
mov al, 1
movzx eax, al
add rax, 2
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x3e3
mov qword [rsp + 0x28], r13
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx + 0x38], xmm0
movsd xmm1, qword [rsp + 0x30]
movsd qword [rbx + 0x48], xmm1
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004f25d
mov rax, qword [rcx + 0x20]
mov qword [rdi], rax
test rax, rax
jne 0x14004f259
mov qword [rdi + 8], rdx
mov qword [rcx + 0x20], rdx
mov qword [rbx + 0x20], rdx
test rsi, rsi
je 0x14004f275
mov qword [rsi + 0x20], rbx
inc rbp
mov rsi, rbx
jmp 0x14004f1d3
mov r15, rbx
inc rbp
mov rsi, rbx
jmp 0x14004f1d3
cmp qword [rdi], 0
mov r14, qword [rsp + 0x80]
lea r13, [r14 + 0x60]
jne 0x14004f2a5
mov rdx, rdi
mov rcx, qword [rsp + 0x88]
call fcn.140039510
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, r15
test r15, r15
je 0x14004f361
mov rdi, r15
mov r12d, 1
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r15 + 0x20]
mov r15, rcx
mov qword [rdi + 0x20], 0
mov rdi, rcx
xor eax, eax
test rcx, rcx
cmovne rax, rsi
mov rsi, rax
mov dword [rbx + 0x30], r12d
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x14004f312
mov rbx, rdi
test rdi, rdi
jne 0x14004f2d0
jmp 0x14004f361
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], 0
mov rax, qword [r14 + 0x98]
test rax, rax
je 0x14004f335
mov qword [rax + 0x20], rbx
jmp 0x14004f33c
mov qword [r14 + 0x90], rbx
mov qword [r14 + 0x98], rbx
test r15, r15
je 0x14004f353
mov qword [rbx + 0x20], r15
mov qword [r14 + 0x98], rsi
xchg dword [r14 + 0x58], r12d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, rbp
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret