joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402726e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rcx]
mov rsi, rdx
mov edx, r8d
shl edx, 5
xor r8d, r8d
call sym.fseek
mov r9, qword [rbx]
mov r8d, 0x20
mov edx, 1
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fwrite

Function at 0x140272720
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rcx, qword [rcx]
mov rsi, rdx
andn rdx, rax, r8
shl edx, 5
xor r8d, r8d
call sym.fseek
mov r9, qword [rbx]
mov r8d, 0x20
mov edx, 1
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fwrite

Function at 0x140272760
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rcx, qword [rcx]
andn rdx, rax, rdx
mov rsi, r8
shl edx, 5
xor r8d, r8d
call sym.fseek
mov r9, qword [rbx]
mov r8d, 0x20
mov edx, 1
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fwrite

Function at 0x1402727a0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rcx, qword [rcx]
shl edx, 5
call sym.fseek
mov ecx, 0x20
call sym.malloc
mov r9, qword [rsi]
mov r8d, 0x20
mov edx, 1
mov rcx, rax
mov rbx, rax
call sym.fread
cmp rax, 0x20
mov eax, 0
cmovne rbx, rax
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x140272800
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rcx + 0x10]
xor r8d, r8d
mov rsi, rcx
mov rcx, qword [rcx]
andn rdx, rax, rdx
shl edx, 5
call sym.fseek
mov ecx, 0x20
call sym.malloc
mov r9, qword [rsi]
mov r8d, 0x20
mov edx, 1
mov rcx, rax
mov rbx, rax
call sym.fread
cmp rax, 0x20
mov eax, 0
cmovne rbx, rax
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x1402c5130
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
lea rsi, [0x140381580]
lea r11, [rsi + 0x18]
mov rbx, rcx
lea r10, [rcx + 0x5fe]
nop word [rax + rax]
movzx r9d, word [rsi]
mov rcx, r10
xor r8d, r8d
nop word [rax + rax]
movzx eax, word [rcx]
sub rcx, 2
mov edx, eax
imul eax, eax, 0xaaab
shr eax, 0x19
lea eax, [rax + rax*2]
shl eax, 8
sub edx, eax
mov eax, r8d
movzx edx, dx
and eax, 0xf
shlx eax, r9d, eax
add ax, word [rbx + rdx*2]
xor word [rbx + r8*2], ax
inc r8
cmp r8, 0x300
jne 0x1402c5160
add rsi, 2
cmp r11, rsi
jne 0x1402c5150
pop rbx
pop rsi
ret
Function at 0x1402cf0f0
Capabilities:
Authenticate hmac

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
xor r9d, r9d
mov rsi, r8
lea rbx, [rsp + 0xbf]
mov rdi, rdx
mov rbp, rcx
and rbx, 0xffffffffffffffc0
xor r8d, r8d
mov edx, 0x20
cmp rsi, 0x40
ja 0x1402cf2a0
call sym.sph_blake2b_init
mov eax, 0x36
lea rbx, [rsp + 0x40]
lea r12, [rbp + 0x100]
vpbroadcastb zmm0, eax
vmovdqu8 zmmword [rsp + 0x40], zmm0
test rsi, rsi
je 0x1402cf320
lea r13, [rsi - 1]
cmp rsi, 0x40
jne 0x1402cf1d3
vpxorq zmm0, zmm0, zmmword [rdi]
mov r8d, 0x40
mov rdx, rbx
mov rcx, rbp
vmovdqu8 zmmword [rsp + 0x40], zmm0
vzeroupper
call sym.sph_blake2b_update
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, r12
call sym.sph_blake2b_init
mov eax, 0x5c
vpbroadcastb zmm0, eax
vpxorq zmm0, zmm0, zmmword [rdi]
vmovdqu8 zmmword [rsp + 0x40], zmm0
mov r8d, 0x40
mov rdx, rbx
mov rcx, r12
vzeroupper
call sym.sph_blake2b_update
nop
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
cmp r13, 0x1e
jbe 0x1402cf35f
vmovdqu8 ymm1, ymmword [rsp + 0x40]
vpxor ymm0, ymm1, ymmword [rdi]
vmovdqu8 ymmword [rsp + 0x40], ymm0
cmp rsi, 0x20
je 0x1402cf212
mov eax, 0x20
nop dword [rax]
movzx edx, byte [rbx + rax]
xor dl, byte [rdi + rax]
mov byte [rbx + rax], dl
inc rax
cmp rax, rsi
jb 0x1402cf200
mov r8d, 0x40
mov rdx, rbx
mov rcx, rbp
vzeroupper
call sym.sph_blake2b_update
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, r12
call sym.sph_blake2b_init
mov eax, 0x5c
vpbroadcastb zmm0, eax
vmovdqu8 zmmword [rsp + 0x40], zmm0
cmp r13, 0x1e
jbe 0x1402cf310
vmovdqu8 ymm2, ymmword [rsp + 0x40]
mov rax, rsi
vpxor ymm0, ymm2, ymmword [rdi]
and rax, 0xffffffffffffffe0
vmovdqu8 ymmword [rsp + 0x40], ymm0
test sil, 0x1f
je 0x1402cf1ae
nop dword [rax + rax]
movzx edx, byte [rbx + rax]
xor dl, byte [rdi + rax]
mov byte [rbx + rax], dl
inc rax
cmp rax, rsi
jb 0x1402cf280
jmp 0x1402cf1ae
mov rcx, rbx
lea r12, [rbp + 0x100]
mov r13d, 0x1f
call sym.sph_blake2b_init
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
lea rdi, [rsp + 0x20]
call sym.sph_blake2b_update
mov rcx, rbx
mov esi, 0x20
mov rdx, rdi
lea rbx, [rsp + 0x40]
call sym.sph_blake2b_final
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, rbp
call sym.sph_blake2b_init
mov eax, 0x36
vpbroadcastb zmm0, eax
vmovdqu8 zmmword [rsp + 0x40], zmm0
jmp 0x1402cf1dd
xor eax, eax
jmp 0x1402cf280
mov r8d, 0x40
mov rdx, rbx
mov rcx, rbp
vzeroupper
call sym.sph_blake2b_update
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, r12
call sym.sph_blake2b_init
mov eax, 0x5c
vpbroadcastb zmm0, eax
vmovdqu8 zmmword [rsp + 0x40], zmm0
jmp 0x1402cf1ae
xor eax, eax
jmp 0x1402cf200
Function at 0x1402da8c4
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
xor rcx, rcx
mov ecx, edx
shr ecx, 6
mov rax, 0x40
movdqa xmm0, xmmword [rdi]
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm4, xmmword [rsi]
movdqa xmm5, xmmword [rsi + 0x10]
movdqa xmm8, xmmword [rsi + 0x20]
movdqa xmm9, xmmword [rsi + 0x30]
pxor xmm0, xmm4
pxor xmm1, xmm5
pxor xmm2, xmm8
pxor xmm3, xmm9
movdqa xmmword [rdi], xmm0
movdqa xmmword [rdi + 0x10], xmm1
movdqa xmmword [rdi + 0x20], xmm2
movdqa xmmword [rdi + 0x30], xmm3
add rdi, rax
add rsi, rax
dec ecx
jne 0x1402da8e2
mov rdi, r10
mov rsi, r11
ret

Function at 0x1402da940
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
xor rcx, rcx
mov ecx, esi
shr ecx, 1
movdqa xmm0, xmmword [rdi]
movdqa xmm12, xmm0
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm13, xmm1
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm14, xmm2
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm15, xmm3
movdqa xmm4, xmm1
paddd xmm4, xmm0
movdqa xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm3, xmm4
movdqa xmm4, xmm0
pxor xmm3, xmm5
paddd xmm4, xmm3
movdqa xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
movdqa xmm4, xmm3
pxor xmm2, xmm5
pshufd xmm3, xmm3, 0x93
paddd xmm4, xmm2
movdqa xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm1, xmm4
movdqa xmm4, xmm2
pxor xmm1, xmm5
pshufd xmm2, xmm2, 0x4e
paddd xmm4, xmm1
movdqa xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
movdqa xmm4, xmm3
pxor xmm0, xmm5
pshufd xmm1, xmm1, 0x39
paddd xmm4, xmm0
movdqa xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm1, xmm4
movdqa xmm4, xmm0
pxor xmm1, xmm5
paddd xmm4, xmm1
movdqa xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
movdqa xmm4, xmm1
pxor xmm2, xmm5
pshufd xmm1, xmm1, 0x93
paddd xmm4, xmm2
movdqa xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm3, xmm4
movdqa xmm4, xmm2
pxor xmm3, xmm5
pshufd xmm2, xmm2, 0x4e
paddd xmm4, xmm3
movdqa xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
pshufd xmm3, xmm3, 0x39
pxor xmm0, xmm5
dec ecx
jne 0x1402da97a
paddd xmm0, xmm12
movdqa xmmword [rdi], xmm0
paddd xmm1, xmm13
movdqa xmmword [rdi + 0x10], xmm1
paddd xmm2, xmm14
movdqa xmmword [rdi + 0x20], xmm2
paddd xmm3, xmm15
movdqa xmmword [rdi + 0x30], xmm3
mov rdi, r10
mov rsi, r11
ret
Function at 0x1402dab2c
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
xor rcx, rcx
mov ecx, esi
shr ecx, 1
movdqa xmm0, xmmword [rdi]
movdqa xmm12, xmm0
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm13, xmm1
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm14, xmm2
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm15, xmm3
paddd xmm0, xmm1
pxor xmm3, xmm0
pshuflw xmm3, xmm3, 0xb1
pshufhw xmm3, xmm3, 0xb1
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm3, 8
psrld xmm4, 0x18
pxor xmm3, xmm4
pshufd xmm0, xmm0, 0x93
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x39
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshuflw xmm3, xmm3, 0xb1
pshufhw xmm3, xmm3, 0xb1
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm3, 8
psrld xmm4, 0x18
pxor xmm3, xmm4
pshufd xmm0, xmm0, 0x39
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x93
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
dec ecx
jne 0x1402dab66
paddd xmm0, xmm12
movdqa xmmword [rdi], xmm0
paddd xmm1, xmm13
movdqa xmmword [rdi + 0x10], xmm1
paddd xmm2, xmm14
movdqa xmmword [rdi + 0x20], xmm2
paddd xmm3, xmm15
movdqa xmmword [rdi + 0x30], xmm3
mov rdi, r10
mov rsi, r11
ret

Function at 0x1402db560
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, r8
mov r8d, 1
call sym.fwrite
cmp rax, 1
setne al
movzx eax, al
neg eax
add rsp, 0x28
ret
Function at 0x1402dd400
Capabilities:
Hash data using djb2

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movsx r8, byte [rdx]
mov rbp, rdx
test r8, r8
je 0x1402dd4ba
mov r9, rdx
mov esi, 0x1505
mov rax, rsi
inc r9
shl rax, 5
add rsi, rax
add rsi, r8
movsx r8, byte [r9]
test r8, r8
jne 0x1402dd420
mov r8, qword [rcx + 0x10]
lea rdi, [0x140381dc0]
mov rax, rsi
xor edx, edx
add rcx, 0x18
div qword [rdi + r8*8]
mov rdi, rdx
shl rdi, 4
add rdi, qword [rcx - 0x10]
mov rbx, qword [rdi]
cmp rbx, rcx
jne 0x1402dd47a
jmp 0x1402dd4b0
cmp rbx, qword [rdi + 8]
je 0x1402dd4a0
mov rbx, qword [rbx + 8]
cmp qword [rbx - 8], rsi
jne 0x1402dd470
lea rcx, [rbx + 0x20]
mov rdx, rbp
call sym.strcmp
test eax, eax
jne 0x1402dd470
mov rax, qword [rbx + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
cmp rbx, qword [rdi + 8]
jne 0x1402dd47a
jmp 0x1402dd494
mov esi, 0x1505
jmp 0x1402dd439

Function at 0x1402dd4d0
Capabilities:
Hash data using djb2

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbp, rdx
movsx rdx, byte [rdx]
mov r12, rcx
test rdx, rdx
je 0x1402dd652
mov rcx, rbp
mov esi, 0x1505
nop dword [rax + rax]
mov rax, rsi
inc rcx
shl rax, 5
add rsi, rax
add rsi, rdx
movsx rdx, byte [rcx]
test rdx, rdx
jne 0x1402dd500
mov rcx, qword [r12 + 0x10]
lea rdi, [0x140381dc0]
mov rax, rsi
xor edx, edx
lea r15, [r12 + 0x18]
div qword [rdi + rcx*8]
mov rdi, rdx
shl rdi, 4
add rdi, qword [r12 + 8]
mov r14, qword [rdi]
cmp r14, r15
je 0x1402dd600
mov rcx, qword [r14 - 8]
mov rbx, r14
jmp 0x1402dd572
cmp rbx, qword [rdi + 8]
je 0x1402dd5f0
mov rbx, qword [rbx + 8]
mov rcx, qword [rbx - 8]
cmp rsi, rcx
jne 0x1402dd560
lea rcx, [rbx + 0x20]
mov rdx, rbp
lea r13, [rbx - 8]
call sym.strcmp
test eax, eax
jne 0x1402dd560
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov r8, qword [rdi + 8]
cmp rbx, r14
je 0x1402dd620
cmp rbx, r8
je 0x1402dd630
mov qword [rcx + 8], rdx
mov qword [rdx], rcx
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1402dd5cb
mov rdx, qword [rcx + 8]
cmp rdx, 0xffffffffffffffff
je 0x1402dd5cb
dec rdx
mov qword [rcx + 8], rdx
je 0x1402dd640
mov rcx, r13
mov dword [rsp + 0x2c], eax
call sym.jsonp_free
dec qword [r12]
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 0xffffffff
jmp 0x1402dd5df
mov eax, 0xffffffff
cmp r14, qword [rdi + 8]
je 0x1402dd5df
mov rbx, r14
jmp 0x1402dd572
cmp rbx, r8
je 0x1402dd65c
mov qword [rdi], rdx
jmp 0x1402dd5a8
mov qword [rdi + 8], rcx
jmp 0x1402dd5a8
mov dword [rsp + 0x2c], eax
call sym.json_delete
mov eax, dword [rsp + 0x2c]
jmp 0x1402dd5cb
mov esi, 0x1505
jmp 0x1402dd519
vpbroadcastq xmm0, r15
vmovdqu xmmword [rdi], xmm0
jmp 0x1402dd5a8
Function at 0x1402dd7d0
Capabilities:
Hash data using djb2

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movsx r8, byte [rdx]
mov rbp, rdx
test r8, r8
je 0x1402dd88a
mov r9, rdx
mov esi, 0x1505
mov rax, rsi
inc r9
shl rax, 5
add rsi, rax
add rsi, r8
movsx r8, byte [r9]
test r8, r8
jne 0x1402dd7f0
mov r8, qword [rcx + 0x10]
lea rdi, [0x140381dc0]
mov rax, rsi
xor edx, edx
add rcx, 0x18
div qword [rdi + r8*8]
mov rdi, rdx
shl rdi, 4
add rdi, qword [rcx - 0x10]
mov rbx, qword [rdi]
cmp rbx, rcx
jne 0x1402dd84a
jmp 0x1402dd880
cmp rbx, qword [rdi + 8]
je 0x1402dd870
mov rbx, qword [rbx + 8]
cmp qword [rbx - 8], rsi
jne 0x1402dd840
lea rcx, [rbx + 0x20]
mov rdx, rbp
call sym.strcmp
test eax, eax
jne 0x1402dd840
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
cmp rbx, qword [rdi + 8]
jne 0x1402dd84a
jmp 0x1402dd863
mov esi, 0x1505
jmp 0x1402dd809

Function at 0x1402e04b0
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x1402e04d0
mov eax, dword [rcx]
test eax, eax
jne 0x1402e04d0
add rcx, 0x10
jmp sym.hashtable_get
xor eax, eax
ret

Function at 0x1402e04e0
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x1402e0500
mov eax, dword [rcx]
test eax, eax
jne 0x1402e0500
add rcx, 0x10
jmp sym.hashtable_del
mov eax, 0xffffffff
ret

Function at 0x1402e0580
Capabilities:
Hash data using djb2

Disassembly:
test rdx, rdx
je 0x1402e05a0
test rcx, rcx
je 0x1402e05a0
mov eax, dword [rcx]
test eax, eax
jne 0x1402e05a0
add rcx, 0x10
jmp sym.hashtable_iter_at
xor eax, eax
ret
Function at 0x1402e54f0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
mov ecx, 1
mov edx, 0x20
call sym.calloc
mov rbx, rax
mov eax, 0xc
test rbx, rbx
je 0x1402e5539
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [rbx], eax
je 0x1402e5544
test rdi, rdi
je 0x1402e5560
mov qword [rbx + 0x10], 0
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [rsi], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rcx, rbx
xor ebx, ebx
call sym.free
mov eax, 0xb
mov qword [rsi], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor eax, eax
jmp 0x1402e5539
Function at 0x1402e5c60
Capabilities:
Allocate thread local storage
Get common file path

Disassembly:
push rsi
push rbx
sub rsp, 0x428
mov eax, dword [0x14048b848]
mov esi, 1
test eax, eax
je 0x1402e5d90
lea rbx, [rsp + 0x20]
mov edx, 0x400
mov dword [0x14048b820], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1402e5e10
mov rcx, qword [0x14048b850]
test rcx, rcx
je 0x1402e5d70
lea rdx, str.QueueUserAPCEx
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rbx
mov rcx, qword [0x14048b850]
test rax, rax
mov qword [0x14048b810], rax
je 0x1402e5d40
lea rdx, str.QueueUserAPCEx_Init
call rbx
test rax, rax
je 0x1402e5ce8
call rax
test eax, eax
jne 0x1402e5d20
lea rax, [sym.ptw32_RegisterCancelation]
mov rcx, qword [0x14048b850]
mov qword [0x14048b810], rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14048b850], 0
mov eax, esi
add rsp, 0x428
pop rbx
pop rsi
ret
cmp qword [0x14048b850], 0
je 0x1402e5d0e
or dword [0x14048b820], 2
mov eax, esi
add rsp, 0x428
pop rbx
pop rsi
ret
lea rax, [sym.ptw32_RegisterCancelation]
test rcx, rcx
mov qword [0x14048b810], rax
je 0x1402e5d59
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14048b850], 0
mov eax, esi
add rsp, 0x428
pop rbx
pop rsi
ret
cmp qword [0x14048b810], 0
je 0x1402e5ed3
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1402e5cd4
mov edx, 0x20
mov ecx, 1
mov dword [0x14048b848], 1
call sym.calloc
test rax, rax
mov rbx, rax
je 0x1402e5e8e
mov rsi, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rsi
cmp eax, 0xffffffff
mov dword [rbx], eax
je 0x1402e5e80
mov edx, 0x20
mov ecx, 1
mov qword [0x14048b840], rbx
call sym.calloc
test rax, rax
mov rbx, rax
je 0x1402e5ec0
call rsi
cmp eax, 0xffffffff
mov dword [rbx], eax
je 0x1402e5eb1
mov qword [0x14048b838], rbx
mov esi, dword [0x14048b848]
jmp 0x1402e5c7c
mov rax, rbx
mov ecx, dword [rax]
add rax, 4
lea edx, [rcx - 0x1010101]
not ecx
and edx, ecx
and edx, 0x80808080
je 0x1402e5e13
mov ecx, edx
shr ecx, 0x10
test edx, 0x8080
cmove edx, ecx
lea rcx, [rax + 2]
cmove rax, rcx
add dl, dl
mov rdx, rbx
mov rcx, rbx
sbb rax, 3
sub rdx, rax
lea r8, [rdx + 0x3ff]
lea rdx, str.QUSEREX.DLL
call sym.strncat
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
mov qword [0x14048b850], rax
jmp 0x1402e5ca8
mov rcx, rbx
call sym.free
mov esi, dword [0x14048b848]
mov qword [0x14048b840], 0
test esi, esi
je 0x1402e5c7c
call sym.ptw32_processTerminate.part.5
mov esi, dword [0x14048b848]
jmp 0x1402e5c7c
mov rcx, rbx
call sym.free
nop dword [rax]
mov qword [0x14048b838], 0
mov esi, dword [0x14048b848]
jmp 0x1402e5e99
lea rax, [sym.ptw32_RegisterCancelation]
mov qword [0x14048b810], rax
jmp 0x1402e5d59
Function at 0x1402e5f00
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov edx, dword [0x14048b848]
test edx, edx
jne 0x1402e5f20
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
ret
mov rbx, qword [0x14048b840]
test rbx, rbx
je 0x1402e5fa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1402e5f55
cmp dword [rbx + 0x184], 1
je 0x1402e5fb0
mov eax, dword [0x14048b848]
test eax, eax
jne 0x1402e5fa0
mov rcx, qword [0x14048b850]
test rcx, rcx
je 0x1402e5f10
lea rdx, str.QueueUserAPCEx_Fini
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402e5f7f
call rax
mov rcx, qword [0x14048b850]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
ret
call sym.ptw32_processTerminate.part.5
jmp 0x1402e5f5f
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call sym.ptw32_threadDestroy
mov rax, qword [0x14048b840]
xor edx, edx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1402e5f55

Function at 0x1402e5ff0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [0x14048b848]
mov ebx, 1
test eax, eax
je 0x1402e6010
mov eax, ebx
add rsp, 0x28
pop rbx
pop rsi
ret
mov edx, 0x20
mov ecx, 1
mov dword [0x14048b848], 1
call sym.calloc
test rax, rax
mov rsi, rax
je 0x1402e608e
mov rbx, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rbx
cmp eax, 0xffffffff
mov dword [rsi], eax
je 0x1402e6080
mov edx, 0x20
mov ecx, 1
mov qword [0x14048b840], rsi
call sym.calloc
test rax, rax
mov rsi, rax
je 0x1402e60c0
call rbx
cmp eax, 0xffffffff
mov dword [rsi], eax
je 0x1402e60b1
mov qword [0x14048b838], rsi
mov ebx, dword [0x14048b848]
jmp 0x1402e6005
mov rcx, rsi
call sym.free
mov ebx, dword [0x14048b848]
mov qword [0x14048b840], 0
test ebx, ebx
je 0x1402e6005
call sym.ptw32_processTerminate.part.5
mov ebx, dword [0x14048b848]
jmp 0x1402e6005
mov rcx, rsi
call sym.free
nop dword [rax]
mov qword [0x14048b838], 0
mov ebx, dword [0x14048b848]
jmp 0x1402e6099
Function at 0x1402e60e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov ecx, dword [0x14048b848]
test ecx, ecx
jne 0x1402e6100
add rsp, 0x38
pop rbx
pop rsi
ret
call sym.pthread_win32_thread_detach_np.part.8
mov edx, dword [0x14048b848]
test edx, edx
je 0x1402e60f0
mov rbx, qword [0x14048b840]
test rbx, rbx
je 0x1402e6185
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1402e6144
cmp dword [rbx + 0x184], 1
je 0x1402e6190
mov eax, dword [0x14048b848]
test eax, eax
jne 0x1402e6185
mov rcx, qword [0x14048b850]
test rcx, rcx
je 0x1402e60f0
lea rdx, str.QueueUserAPCEx_Fini
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402e616e
call rax
mov rcx, qword [0x14048b850]
mov rax, qword [sym.imp.KERNEL32.dll_FreeLibrary]
add rsp, 0x38
pop rbx
pop rsi
jmp rax
call sym.ptw32_processTerminate.part.5
jmp 0x1402e614e
mov rax, qword [rbx + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call sym.ptw32_threadDestroy
mov rax, qword [0x14048b840]
xor edx, edx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x1402e6144
Function at 0x1402e6680
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14048b838]
test rbx, rbx
je 0x1402e66e2
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1402e66e2
test esi, esi
je 0x1402e66c7
mov rax, qword [rbx]
test rax, rax
je 0x1402e66c7
mov rcx, qword [rbx + 8]
call rax
mov rdx, qword [rbx + 0x10]
mov rcx, qword [0x14048b838]
call sym.pthread_setspecific
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1402e66f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x14048b838]
test rsi, rsi
mov rbx, rcx
mov qword [rcx], rdx
mov qword [rcx + 8], r8
je 0x1402e6750
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [0x14048b838]
mov rdx, rbx
mov rcx, rsi
mov qword [rbx + 0x10], rdi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.pthread_setspecific
xor edi, edi
jmp 0x1402e6730

Function at 0x1402e6760
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, qword [0x14048b840]
test rsi, rsi
mov rbx, rcx
je 0x1402e67c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsi]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x1402e67c2
mov rdi, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x10]
mov qword [rbx], rsi
mov qword [rbx + 8], rdi
mov rax, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r12, [rsp + 0x40]
mov rcx, r12
call sym.ptw32_new
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
test rbp, rbp
mov rsi, rbp
je 0x1402e67a7
or byte [rbp + 0x194], 1
mov dword [rbp + 0x184], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r13, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rbp + 0x198], eax
call r13
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r14, rax
call r13
lea r9, [rbp + 8]
mov r8, r15
mov rdx, r14
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1402e6870
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov rcx, qword [0x14048b840]
mov rdx, rbp
mov dword [rbp + 0x188], eax
call sym.pthread_setspecific
jmp 0x1402e67a7
mov rcx, r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
call sym.ptw32_threadReusePush
mov qword [rbx], 0
mov dword [rbx + 8], 0
jmp 0x1402e67ae