joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020e28
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x140061674], 0
mov ecx, dword [0x140061670]
je 0x140020e45
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140020e4b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140020e8b
mov rcx, rax
call fcn.140021084
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [0x140061670]
xor edx, edx
cmp byte [0x140061674], dl
je 0x140020e7c
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140020e82
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140020e8b
lea ecx, [rax + 7]
int 0x29
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax]
and qword [rdx + rcx], 0
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r14
mov rdi, rcx
mov ecx, dword [0x140061668]
cmp byte [0x14006166c], 0
je 0x14002125a
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140021260
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400212ec
mov ecx, dword [0x140061658]
cmp byte [0x14006165c], al
je 0x14002127f
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140021285
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140021301
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov rax, qword [rdi + 8]
lea r8, [rbp - 0x18]
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.1400204f4
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400212ec
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x1400212ec
mov rbx, qword [rbp - 0x10]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140007d8e.8]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400212ec
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140007d8e.8]
nop
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
lea rax, [0x140061658]
mov qword [rbp - 0x28], rax
and dword [rbp - 0x20], 0
mov r14d, 7
lea ebx, [r14 - 6]
mov ecx, dword [0x140061658]
mov edx, ebx
cmp byte [0x14006165c], 0
je 0x140021333
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140021339
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140021342
mov rcx, r14
int 0x29
lock xadd dword [rbp - 0x20], ebx
mov rcx, qword [rdi + 0x10]
add rcx, 8
mov r8, qword [rdi + 8]
mov r8, qword [r8]
mov rdx, qword [rdi]
call fcn.14001cff0
mov rcx, qword [rdi + 0x10]
call fcn.140020960
or edi, 0xffffffff
mov eax, dword [rbp - 0x20]
test eax, eax
je 0x1400212ec
mov eax, edi
lock xadd dword [rbp - 0x20], eax
mov rcx, qword [rbp - 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140021391
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140021397
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14002136a
mov rcx, r14
int 0x29
jmp 0x14002136a
Function at 0x1400213b4
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x140061668]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x140061668]
mov edx, edi
cmp byte [0x14006166c], 0
je 0x1400213fa
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140021400
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140021409
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
mov rdx, qword [rsi + 8]
call fcn.14001d8b0
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140021458
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140021447
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14002144d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140021420
lea ecx, [rax + 7]
int 0x29
jmp 0x140021420
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140021464
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x140061668]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x140061668]
mov edx, edi
cmp byte [0x14006166c], 0
je 0x1400214aa
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400214b0
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400214b9
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
mov rdx, qword [rsi + 8]
call fcn.14001d550
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140021508
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x1400214f7
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400214fd
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400214d0
lea ecx, [rax + 7]
int 0x29
jmp 0x1400214d0
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140021514
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
and dword [rsp + 0x28], 0
lea rax, [0x140061668]
cmp byte [0x14006166c], 0
mov ebp, 7
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov ecx, dword [0x140061668]
lea ebx, [rbp - 6]
mov edx, ebx
je 0x140021558
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14002155e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140021567
mov rcx, rbp
int 0x29
lock xadd dword [rsp + 0x28], ebx
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
add rcx, 8
call fcn.14001d650
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400215b8
or eax, 0xffffffff
lock xadd dword [rsp + 0x28], eax
mov rdx, qword [rsp + 0x20]
cmp byte [rdx + 4], 0
mov ecx, dword [rdx]
je 0x1400215a5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400215ad
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14002157d
mov rcx, rbp
int 0x29
jmp 0x14002157d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400215c8
Capabilities:
Set thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rsi
mov rsi, rcx
lea rax, [0x140061668]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x30], 0
mov edi, 1
mov ecx, dword [0x140061668]
mov edx, edi
cmp byte [0x14006166c], 0
je 0x14002160e
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140021614
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14002161d
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], edi
mov rcx, qword [rsi]
add rcx, 8
call fcn.14001d9a0
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140021668
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], dl
mov ecx, dword [rcx]
je 0x140021657
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x14002165d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140021630
lea ecx, [rax + 7]
int 0x29
jmp 0x140021630
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140021674
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x30
and dword [rsp + 0x28], 0
lea rax, [0x140061668]
cmp byte [0x14006166c], 0
mov ebp, 7
mov rdi, rcx
mov qword [rsp + 0x20], rax
mov ecx, dword [0x140061668]
lea ebx, [rbp - 6]
mov edx, ebx
je 0x1400216b8
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x1400216be
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400216c7
mov rcx, rbp
int 0x29
lock xadd dword [rsp + 0x28], ebx
mov rcx, qword [rdi]
add rcx, 8
call fcn.14001da40
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140021714
or eax, 0xffffffff
lock xadd dword [rsp + 0x28], eax
mov rdx, qword [rsp + 0x20]
cmp byte [rdx + 4], 0
mov ecx, dword [rdx]
je 0x140021701
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140021709
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1400216d9
mov rcx, rbp
int 0x29
jmp 0x1400216d9
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov r14, rcx
xor ebx, ebx
mov ecx, dword [0x140061668]
cmp byte [0x14006166c], bl
je 0x140022be0
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140022be6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140022cb6
mov ecx, dword [0x140061658]
cmp byte [0x14006165c], bl
je 0x140022c05
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140022c0b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022c1a
mov ebx, 1
jmp 0x140022cb6
lea rax, [0x140061668]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov esi, 1
mov ecx, dword [0x140061668]
mov edx, esi
cmp byte [0x14006166c], bl
je 0x140022c47
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022c4d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140022c56
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], esi
mov rdx, qword [r14]
mov rcx, qword [rdx]
add rcx, 8
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
mov r8b, byte [rax]
mov edx, dword [rdx]
call fcn.14001d300
mov sil, al
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140022cb3
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], bl
mov ecx, dword [rcx]
je 0x140022ca2
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022ca8
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140022c7b
lea ecx, [rax + 7]
int 0x29
jmp 0x140022c7b
mov bl, sil
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop r14
ret
Function at 0x140022ccc
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov r14, rcx
xor ebx, ebx
mov ecx, dword [0x140061668]
cmp byte [0x14006166c], bl
je 0x140022d00
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140022d06
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140022dcd
mov ecx, dword [0x140061658]
cmp byte [0x14006165c], bl
je 0x140022d25
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140022d2b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022d3a
mov ebx, 1
jmp 0x140022dcd
lea rax, [0x140061668]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov esi, 1
mov ecx, dword [0x140061668]
mov edx, esi
cmp byte [0x14006166c], bl
je 0x140022d67
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022d6d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140022d76
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], esi
mov rdx, qword [r14]
mov rcx, qword [rdx]
add rcx, 8
mov rdx, qword [rdx + 8]
call fcn.14001d3d0
mov sil, al
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140022dca
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], bl
mov ecx, dword [rcx]
je 0x140022db9
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022dbf
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140022d92
lea ecx, [rax + 7]
int 0x29
jmp 0x140022d92
mov bl, sil
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop r14
ret
Function at 0x140022de0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov r14, rcx
xor ebx, ebx
mov ecx, dword [0x140061668]
cmp byte [0x14006166c], bl
je 0x140022e14
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140022e1a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140022ee1
mov ecx, dword [0x140061658]
cmp byte [0x14006165c], bl
je 0x140022e39
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140022e3f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022e4e
mov ebx, 1
jmp 0x140022ee1
lea rax, [0x140061668]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov esi, 1
mov ecx, dword [0x140061668]
mov edx, esi
cmp byte [0x14006166c], bl
je 0x140022e7b
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022e81
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140022e8a
lea ecx, [rax + 7]
int 0x29
lock xadd dword [rsp + 0x30], esi
mov rdx, qword [r14]
mov rcx, qword [rdx]
add rcx, 8
mov rdx, qword [rdx + 8]
call fcn.14001d490
mov sil, al
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140022ede
or eax, 0xffffffff
lock xadd dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x28]
xor edx, edx
cmp byte [rcx + 4], bl
mov ecx, dword [rcx]
je 0x140022ecd
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140022ed3
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140022ea6
lea ecx, [rax + 7]
int 0x29
jmp 0x140022ea6
mov bl, sil
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop r14
ret

Function at 0x14002648c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, r8
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x1400264a4
mov r8, qword [rbx + 0x30]
mov r10, qword [rbx + 0x18]
and r8, r9
add r8, r8
mov r9, qword [r10 + r8*8]
mov rcx, r9
cmp r9, qword [rbx + 8]
jne 0x1400264e4
mov rax, qword [rbx + 8]
jmp 0x1400264ec
mov rax, qword [r10 + r8*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x1400264ff
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x140026503
mov rcx, qword [rcx]
jmp 0x1400264d8
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret
Function at 0x140026510
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + r9]
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
inc r8
cmp r8, 8
jb 0x14002653f
mov r8, qword [rsi + 0x30]
and r8, rcx
add r8, r8
mov r11, qword [rsi + 0x18]
mov rbx, qword [r11 + r8*8]
mov rdx, qword [rsi + 8]
mov r10, rbx
cmp qword [r11 + r8*8], rdx
jne 0x140026582
mov rax, rdx
jmp 0x14002658a
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400265c8
mov rcx, qword [r9]
cmp qword [rbx + 0x10], rcx
je 0x14002659d
mov rbx, qword [rbx]
jmp 0x140026574
mov rdi, rbx
cmp qword [r11 + r8*8], rdx
jne 0x1400265ab
mov rax, rdx
jmp 0x1400265b3
mov rax, qword [r11 + r8*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400265c3
cmp rcx, qword [rbx + 0x10]
jne 0x1400265c3
mov rbx, qword [rbx]
jmp 0x1400265a0
cmp r10, rbx
jne 0x1400265ce
mov rdi, rdx
mov rbx, rdx
mov rax, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x1400265e6
inc rbp
mov rcx, qword [rax]
mov rax, rcx
cmp rcx, rbx
jne 0x1400265d8
mov rcx, qword [rdx]
cmp rdi, rcx
jne 0x14002663d
cmp rbx, rdx
jne 0x14002663d
mov qword [rdx], rdx
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
cmp rcx, qword [rsi + 8]
je 0x14002661b
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
cmp rbx, qword [rsi + 8]
jne 0x140026609
mov edx, 8
mov rcx, rsi
call fcn.140013520
jmp 0x140026642
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14002665c
cmp rdi, rbx
jne 0x14002662a
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14002665c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + r8 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x140026679
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x1400266d1
cmp qword [rcx + rdx*8], r8
jne 0x1400266c6
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400266ca
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400266de
cmp qword [rcx + rdx*8], r8
jne 0x1400266de
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140026998
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x1400269d0
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r10, qword [rcx + rax*8]
cmp r10, rdi
je 0x140026a15
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
mov rdx, rdi
cmp rdx, r10
je 0x140026a5f
mov rdi, qword [rdi + 8]
mov rdx, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r9], rax
jne 0x140026a18
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140026b84
mov qword [rsp + 0x20], rbx
mov r9, qword [rbx]
cmp rdx, r9
je 0x140026a99
mov rax, qword [rbx + 8]
mov qword [rax], r9
mov rax, qword [r9 + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rcx, qword [rdx + 8]
mov rax, qword [r9 + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 8]
mov qword [r9 + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov r9, qword [rsi + 0x18]
mov rax, qword [r9 + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140026ab9
mov qword [r9 + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140026ae8
cmp rax, rdx
jne 0x140026ac4
mov qword [r9 + r8*8], rbx
jmp 0x140026ae8
mov rax, qword [r9 + r8*8 + 8]
mov rcx, qword [rax]
mov qword [r9 + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140026ae8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140053188]
test rax, rax
jns 0x140026b09
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140026b1a
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140026b79
cmp rdx, 0x200
jae 0x140026b32
shl rdx, 3
jmp 0x140026b44
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140026b44
add rdx, rdx
mov rcx, rsi
call fcn.140013520
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140026b79
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140026998
cmp rdi, r15
jne 0x140026b59
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140029868
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x1400298c9
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1400298c9
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400298c9
cmp word [rax + 2], si
je 0x1400298c9
cmp dword [rax + 0x28], 0xfeef04bd
jne 0x1400298c9
add rax, 0x30
jmp 0x1400298d0
lea rax, [0x140053158]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140029974
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rcx
cmp byte [0x140061a6c], bl
mov ecx, dword [0x140061a68]
je 0x140029999
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x14002999f
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400299fd
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x1400299fd
mov rdx, qword [rax]
mov r8, qword [rax + 0x18]
mov rax, rbx
test rdx, rdx
je 0x1400299c7
mov rdx, qword [rdx]
test rdx, rdx
je 0x1400299c7
mov rax, qword [rdx]
lea rdx, [rcx - 1]
add rdx, r8
test rax, rax
je 0x1400299e6
mov rax, qword [rax]
test rax, rax
je 0x1400299e6
mov rax, qword [rax]
test rax, rax
je 0x1400299e6
mov rbx, qword [rax]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
dec rcx
and rcx, rdx
mov rcx, qword [rax + rcx*8]
movups xmm0, xmmword [rcx]
jmp 0x140029a0e
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
movdqu xmmword [rdi], xmm0
add rsp, 0x30
pop rdi
ret
Function at 0x140029a20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, dword [0x140061a68]
xor edi, edi
cmp byte [0x140061a6c], dil
je 0x140029a48
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x140029a4e
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140029aec
mov rax, qword [rax + 0x50]
cmp rax, 8
jb 0x140029a92
mov rcx, qword [rbx + 0x38]
lea rax, [rax*2 + 2]
cmp rax, 0x1000
jb 0x140029a8c
mov rdx, qword [rcx - 8]
sub rcx, rdx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029ad6
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x48], rdi
lea rcx, [rbx + 0x28]
mov esi, 7
mov qword [rbx + 0x50], rsi
mov word [rbx + 0x38], di
call fcn.140010cf8
mov rcx, rbx
call fcn.14001b938
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [0x140061a68]
xor edx, edx
cmp byte [0x140061a6c], dil
je 0x140029add
call qword [sym.imp.KERNEL32.dll_FlsSetValue]
jmp 0x140029ae3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140029aec
mov rcx, rsi
int 0x29
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret