joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095690
Capabilities:
Log keystrokes

Disassembly:
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400f6f40]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8d, 0x6d1
xor edx, edx
lea rcx, [0x1401cd912]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x40], 0x20
jmp 0x1400956f5
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15c
jg 0x1400958f9
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x1401cd658]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x168], 0xffffffff
jne 0x140095726
jmp 0x1400956eb
cmp dword [rsp + 0x40], 0x140
jl 0x140095802
cmp dword [rsp + 0x40], 0x14e
jg 0x140095802
mov dword [rsp + 0x1b8], 0x60
mov dword [rsp + 0x1bc], 0x61
mov dword [rsp + 0x1c0], 0x62
mov dword [rsp + 0x1c4], 0x63
mov dword [rsp + 0x1c8], 0x64
mov dword [rsp + 0x1cc], 0x65
mov dword [rsp + 0x1d0], 0x66
mov dword [rsp + 0x1d4], 0x67
mov dword [rsp + 0x1d8], 0x68
mov dword [rsp + 0x1dc], 0x69
mov dword [rsp + 0x1e0], 0x6e
mov dword [rsp + 0x1e4], 0x6f
mov dword [rsp + 0x1e8], 0x6a
mov dword [rsp + 0x1ec], 0x6d
mov dword [rsp + 0x1f0], 0x6b
mov eax, dword [rsp + 0x40]
sub eax, 0x140
cdqe
mov eax, dword [rsp + rax*4 + 0x1b8]
mov dword [rsp + 0x164], eax
jmp 0x14009581b
mov edx, 1
mov ecx, dword [rsp + 0x168]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 0xffffffff
jne 0x140095895
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 1
jge 0x1400958a4
jmp 0x1400956eb
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 5
lea rcx, [0x1401cd912]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x178]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1400956eb
mov rcx, rsp
lea rdx, [0x1400b7b90]
call fcn.14009aa00
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140099fc0
add rsp, 0x220
pop rdi
ret
Function at 0x140098980
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400f6f40]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, str.libOSMesa.dll
mov qword [rsp + 0x38], rax
lea rax, str.OSMesa.dll
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
cmp qword [0x1401ce268], 0
je 0x1400989db
mov eax, 1
jmp 0x140098b5b
mov dword [rsp + 0x20], 0
jmp 0x1400989ef
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + rax*8 + 0x38], 0
je 0x140098a21
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1401ce268], rax
cmp qword [0x1401ce268], 0
je 0x140098a1f
jmp 0x140098a21
jmp 0x1400989e5
cmp qword [0x1401ce268], 0
jne 0x140098a43
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.14008e000
xor eax, eax
jmp 0x140098b5b
lea rdx, str.OSMesaCreateContextExt
mov rcx, qword [0x1401ce268]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ce270], rax
lea rdx, str.OSMesaCreateContextAttribs
mov rcx, qword [0x1401ce268]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ce278], rax
lea rdx, str.OSMesaDestroyContext
mov rcx, qword [0x1401ce268]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ce280], rax
lea rdx, str.OSMesaMakeCurrent
mov rcx, qword [0x1401ce268]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ce288], rax
lea rdx, str.OSMesaGetColorBuffer
mov rcx, qword [0x1401ce268]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ce290], rax
lea rdx, str.OSMesaGetDepthBuffer
mov rcx, qword [0x1401ce268]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ce298], rax
lea rdx, str.OSMesaGetProcAddress
mov rcx, qword [0x1401ce268]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401ce2a0], rax
cmp qword [0x1401ce270], 0
je 0x140098b3c
cmp qword [0x1401ce280], 0
je 0x140098b3c
cmp qword [0x1401ce288], 0
je 0x140098b3c
cmp qword [0x1401ce290], 0
je 0x140098b3c
cmp qword [0x1401ce298], 0
je 0x140098b3c
cmp qword [0x1401ce2a0], 0
jne 0x140098b56
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.14008e000
call fcn.140098b90
xor eax, eax
jmp 0x140098b5b
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400b7fe0]
call fcn.14009aa00
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140099fc0
add rsp, 0x70
pop rdi
ret

Function at 0x14009ae4c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009ae96
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009ae96
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009ae96
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009ae96
cmp dword [rcx + 0x84], 0xe
jbe 0x14009ae96
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009ae98
xor al, al
add rsp, 0x28
ret
Function at 0x14012ea80
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov byte [rsp + 0x38], 0
xor eax, eax
mov qword [rsp + 0x40], rax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14012cef0
mov byte [rsp + 0x38], 1
mov rdi, qword [rdi + 0x40]
mov rbx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov ecx, reloc.WS2_32.dll_recv
call fcn.140382738
mov rsi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rsi
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14012a7c0
nop
mov qword [rsp + 0x40], rsi
xor edi, edi
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], dil
mov r9b, 0x20
lea r8d, [rdi - 1]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14012d470
mov rbx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14012eb5f
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012eb5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012ec24
call fcn.140382774
cmp rbx, 0xa
jbe 0x14012ec15
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], dil
mov r9b, 0x20
mov r8d, 0xffffffff
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14012d470
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14012eb97
mov rbx, qword [rax]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14012ebd0
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012ebcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012ec1e
call fcn.140382774
movdqa xmm0, xmmword [0x1403c0a10]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], dil
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14012cef0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140382da0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140389824
int3
call fcn.140389824
int3
Function at 0x140131db0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rdi, rcx
mov qword [rbp + 0x47], rcx
xor ebx, ebx
call fcn.140131c90
nop
mov qword [rdi + 0x1a8], rbx
mov qword [rdi + 0x1b8], rbx
mov qword [rdi + 0x1c0], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x1a8], bl
mov qword [rdi + 0x1c8], rbx
mov qword [rdi + 0x1d8], rbx
mov qword [rdi + 0x1e0], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x1c8], bl
mov qword [rdi + 0x1e8], rbx
mov qword [rdi + 0x1f8], rbx
mov qword [rdi + 0x200], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x1e8], bl
mov qword [rdi + 0x208], rbx
mov qword [rdi + 0x218], rbx
mov qword [rdi + 0x220], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x208], bl
mov qword [rdi + 0x228], rbx
mov qword [rdi + 0x238], rbx
mov qword [rdi + 0x240], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x228], bl
mov qword [rdi + 0x248], rbx
mov qword [rdi + 0x258], rbx
mov qword [rdi + 0x260], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x248], bl
mov qword [rdi + 0x278], rbx
mov qword [rdi + 0x280], rbx
mov qword [rdi + 0x288], rbx
mov qword [rdi + 0x290], rbx
mov qword [rdi + 0x298], rbx
mov qword [rdi + 0x2a0], rbx
mov qword [rdi + 0x2a8], rbx
mov word [rdi + 0x2b0], bx
mov byte [rdi + 0x2b2], bl
mov qword [rdi + 0x2b8], rbx
mov qword [rdi + 0x2c8], rbx
mov qword [rdi + 0x2d0], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x2b8], bl
mov qword [rdi + 0x2d8], rbx
mov qword [rdi + 0x2e8], rbx
mov qword [rdi + 0x2f0], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x2d8], bl
mov qword [rdi + 0x2f8], rbx
mov qword [rdi + 0x308], rbx
mov qword [rdi + 0x310], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x2f8], bl
mov word [rbp - 0x55], gethostbyname
lea rcx, [rdi + 0x318]
mov qword [rbp - 0x51], rcx
mov byte [rbp - 0x53], bl
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x54]
lea rdx, [rbp - 0x55]
call fcn.14012a6d0
nop
mov dword [rbp - 0x51], 0x5074c03
mov word [rbp - 0x4d], 0x100
lea rcx, [rdi + 0x338]
mov qword [rbp - 0x49], rcx
mov edx, ebx
nop dword [rax + rax]
lea eax, [rdx + 0x33]
xor byte [rbp + rdx - 0x51], al
inc rdx
cmp rdx, 4
jb 0x140131f70
mov byte [rbp - 0x4c], 0
lea r9, [rbp - 0x59]
lea r8, [rbp - 0x4d]
lea rdx, [rbp - 0x51]
call fcn.14012a6d0
nop
movdqa xmm0, xmmword [0x1403c1630]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm1, xmmword [0x1403c1640]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm0, xmmword [str.269:v__5_80N_b]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x1403c1620]
movdqa xmmword [rbp - 9], xmm1
movdqa xmm0, xmmword [0x1403c1670]
movdqa xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x1403c1660]
movdqa xmmword [rbp + 0x17], xmm1
movdqa xmm0, xmmword [0x1403c1650]
movdqa xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x37], 0xc7d1c5e7
mov word [rbp + 0x3b], 0x100
lea rcx, [rdi + 0x358]
mov qword [rbp - 0x49], rcx
nop dword [rax]
lea edx, [rbx + 0x33]
xor byte [rbp + rbx - 0x39], dl
inc rbx
cmp rbx, 0x74
jb 0x140132010
mov byte [rbp + 0x3c], 0
lea r9, [rbp - 0x59]
lea r8, [rbp + 0x3b]
lea rdx, [rbp - 0x39]
call fcn.14012a6d0
nop
mov rax, rdi
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140134650
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x140134846
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140134704
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x1401346c0
mov ecx, dword [r10]
jmp 0x1401347e7
cmp ecx, 0x4e0
jb 0x1401347e7
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140134720
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140134770
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x1401346a0
movzx ecx, byte [rdi + 8]
or esi, eax
add cl, 0xff
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x140134690
xor edx, edx
mov eax, ebp
div r15d
xor edx, edx
mov ecx, eax
mov eax, esi
div r15d
cmp eax, ecx
jb 0x14013486a
xor edx, edx
mov eax, ebp
div r15d
cmp edx, r14d
jne 0x140134680
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x1401353a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
xor r14d, r14d
mov rdi, rcx
mov esi, r14d
mov ebp, r14d
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x140135434
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x1401353f0
mov ecx, dword [r10]
jmp 0x140135517
cmp ecx, 0x4e0
jb 0x140135517
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140135450
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1401354a0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 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 ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x1401353d0
add rbp, qword [rdi + 8]
or esi, ecx
cmp rbp, 0x20
jb 0x1401353c2
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x140139c90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x1e], 0
mov rbx, rcx
je 0x140139cb6
xor eax, eax
lea r8d, [rax - 0x68]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x1d
jb 0x140139ca1
mov byte [rdx + 0x1e], 0
call fcn.1401399d0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140139cd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x20], 0
mov rbx, rcx
je 0x140139cf6
xor eax, eax
lea r8d, [rax - 0x68]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x1f
jb 0x140139ce1
mov byte [rdx + 0x20], 0
call fcn.1401399d0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x14013b600
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rdx, [rcx + 0x18]
lea rcx, [rsp + 0x48]
call fcn.140157610
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x14013b64f
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0xa8], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xb0], xmm0
movsd xmm1, qword [rsi + 0x10]
movsd qword [rsp + 0xc0], xmm1
mov rsi, qword [rbx]
lea rdi, [rbx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14013b6b2
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x14013b79b
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14013b6a0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov ecx, 0xc8
call fcn.14016eda0
mov rbx, rax
mov qword [rax + 0x20], rbp
lea rax, [0x1401766e0]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x38], rax
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x48]
call fcn.1401576a0
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rbx + 0xa8], xmm0
movsd xmm1, qword [rsp + 0xc0]
movsd qword [rbx + 0xb8], xmm1
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14017e120
nop
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14013b778
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14013b778
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14013b778
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.14015da70
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x14013b6b2
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013e280
nop
nop
jmp 0x14013b73f
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x70
lea rdx, [rcx + 0x80]
add rsp, 0x28
jmp 0x14013b600
Function at 0x14013b7c0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], r14
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x14013b805
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rsp + 0x80], xmm1
mov rbp, qword [rbx]
lea rsi, [rbx + 8]
mov rbx, qword [rsi]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14013b848
cmp qword [rax], rbx
je 0x14013b903
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14013b836
lea rax, [rsp + 0x30]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x30]
mov ecx, 0x98
call fcn.14016eda0
mov rdi, rax
mov qword [rax + 0x20], r14
lea rax, [0x140176a50]
mov qword [rdi + 0x28], rax
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x30], r14d
lea rdx, [rsp + 0x30]
lea rcx, [rdi + 0x38]
call fcn.1401543d0
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x78], xmm0
movsd xmm1, qword [rsp + 0x80]
movsd qword [rdi + 0x88], xmm1
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
call fcn.14017e120
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14013b8eb
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
cmp qword [rax + 8], 0
je 0x14013b848
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14013e300
nop
nop
jmp 0x14013b8d0
Function at 0x14013b930
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x100
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140154170
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0xb8], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rsp + 0xc8], xmm1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xd0], xmm0
mov rax, qword [rdi + 8]
test rax, rax
je 0x14013b98a
lock inc dword [rax + 8]
mov rax, qword [rdi]
mov qword [rsp + 0xd0], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0xd8], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0xe0], rax
mov rdi, qword [rsi]
mov rbx, qword [rsi + 8]
mov ecx, dword [0x1404dc78c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14013b9d7
cmp qword [rax], rbx
je 0x14013bac8
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14013b9c5
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov ecx, 0xe8
call fcn.14016eda0
mov rbx, rax
mov qword [rax + 0x20], rbp
lea rax, [0x140176f20]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
lea rcx, [rbx + 0x38]
lea rdx, [rsp + 0x40]
call fcn.1401550b0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov r8, rbx
lea rdx, [rsi + 8]
mov rcx, rdi
call fcn.14017e120
nop
mov edi, 0xffffffff
mov rbx, qword [rsp + 0xd8]
test rbx, rbx
je 0x14013ba77
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14013ba77
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14013ba77
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x14013baab
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14013baab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14013baab
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.14015da70
mov rbx, qword [rsp + 0x128]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14013b9d7
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.14013e590
nop
nop
jmp 0x14013ba3c