joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400092c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140009350
cmp r11, r10
ja 0x1400093c6
cmp r10, rdx
ja 0x1400093da
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140009352
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140009330
jmp 0x1400093b4
ja 0x14000935a
mov r11, r10
cmp rax, r8
jne 0x1400092f4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140009390
mov rdi, r8
sub ecx, edx
jns 0x1400093ab
jmp 0x1400093b6
cmp r8, rsi
je 0x1400093eb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400093b6
xor al, 1
cmp rdi, rsi
jne 0x140009370
jmp 0x1400093b6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.HK_a_
mov rcx, r11
mov rdx, r10
call fcn.14001b880
ud2
lea r8, str.HK_a_
mov rcx, r10
call fcn.14001b610
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001b690
ud2

Function at 0x14000dce0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140006ea0
cmp rax, rcx
je 0x14000dd05
cmp rdx, 4
jae 0x14000dd08
xor eax, eax
xor r8d, r8d
jmp 0x14000dda0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14001d410]
movdqa xmm3, xmmword [0x14001d420]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000dd30
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000ddb7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000dda0
ret
Function at 0x14000f0b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14000f10b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000f10b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000f126
cmp eax, 0x42
jne 0x14000f10b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000f1d6
cmp byte [r9 + r11], 0x5f
jne 0x14000f1d6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000f23e
mov rcx, rsi
xor edx, edx
call fcn.14000a470
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14000a470
test al, al
jne 0x14000f2d1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000f162
lea rdx, [0x1400759c4]
mov r8d, 1
call fcn.140007310
test al, al
jne 0x14000f2d1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000f11a
xor r14d, r14d
lea rbx, [0x140075d78]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000f194
cmp byte [rax + rcx], 0x45
je 0x14000f2fa
sub r14, 1
jb 0x14000f1b9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000f1b9
mov r8d, 2
mov rdx, rbx
call fcn.140007310
test al, al
jne 0x14000f2d1
mov rcx, rsi
call fcn.14000bcd0
test al, al
jne 0x14000f2d1
mov rax, qword [rsi]
test rax, rax
jne 0x14000f180
jmp 0x14000f11a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000f298
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000f232
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000f21c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000f20b
add dl, 0xa9
jmp 0x14000f21a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000f298
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000f298
movzx edx, bl
add rax, rdx
jae 0x14000f1e0
jmp 0x14000f298
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000f298
cmp rax, rcx
jae 0x14000f295
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000f2d9
cmp qword [rsi + 0x20], 0
je 0x14000f2f3
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14000f0b0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000f11c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000f2e8
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140075d38]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140007310
test al, al
je 0x14000f2e8
mov dil, 2
jmp 0x14000f11a
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x14000f2a3
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000f11a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000f11a
Function at 0x140015de0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, rdx
movzx r9d, byte [rdx + 0x38]
movzx r8d, byte [rdx + 0x3a]
xor edx, edx
cmp r9b, 1
ja 0x140015e47
movzx r11d, byte [rax + 0x10]
test r8b, r8b
jne 0x140015fa8
cmp r11b, 5
jb 0x140015fa8
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r9b, r9b
jne 0x140015e37
cmp r11b, 6
je 0x140015e37
mov esi, 2
cmp rdx, 2
jb 0x140016056
cmp rsi, rdx
jne case.0x140014e74.31
xor edx, edx
jmp 0x140015fa8
xor r10d, r10d
add rdx, r10
lea rdi, [r10 + rsi]
inc rdi
cmp rdi, rdx
sete dl
movzx r10d, byte [r10 + rsi]
test dl, 1
jne 0x140015f9d
invalid
cmp r10b, 0x2e
jne 0x140015f9d
invalid
movzx edx, byte [rdi]
cmp dl, 0x5c
sete r10b
cmp dl, 0x2f
sete dl
or dl, r10b
jmp 0x140015fa8
cmp r10b, 0x2e
sete r10b
xchg esp, eax
ret 0x2044
invalid
xor r10d, r10d
test r9b, r9b
jne case.default.0x140015fd0
xchg esi, eax
invalid
invalid
invalid
cmp r11b, 6
je case.default.0x140015fd0
invalid
invalid
invalid
movzx r10d, r11b
lea r11, [0x140077f58]
add byte [rdi + 0x63], cl
adc al, 0x93
mov r10, qword [rax + 0x20]
mov r10, qword [rax + 0x20]
mov r11, qword [rax + 0x30]
xor byte [rcx - 0x73], cl
jae 0x140015fed
mov r10d, 6
jmp case.default.0x140015fd0
mov r10, qword [rax + 0x20]
mov r11, qword [rax + 0x30]
xor byte [rcx - 0x73], cl
jae 0x140016017
mov r10d, 2
jmp case.default.0x140015fd0
lea r8, str.library_std_srcpath.rs
mov ecx, 2
call fcn.14001b510
ud2
clc
add ecx, dword [rdi]
xchg dword [rbx + 3], esp
add byte [rax], al

Function at 0x14001b0b8
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400446a0]
mov dword [rax], 1
mov rax, qword [0x1400446b0]
mov dword [rax], 1
mov rax, qword [0x1400446c0]
mov dword [rax], 1
mov rax, qword [0x140044640]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140020380
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x14004bb28], 0
mov r12, rcx
mov r13, rdx
mov rdi, r8
je 0x140020408
lea rdx, [0x1400429c2]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140020510
mov rsi, qword [0x14004bb20]
jmp 0x1400203c5
lea rsi, [rdx + rax + 4]
mov rdx, rsi
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rsi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea rdx, [rsi + rax + 1]
mov eax, dword [rdx]
test ebx, ebx
jne 0x1400203c0
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, r12
mov rdx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp fcn.14001e800
mov r8d, 0xa
mov edx, 3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov r9d, dword [rax]
mov eax, dword [rax + 4]
lea rcx, [rdx + 8]
mov qword [0x14004bb20], rcx
test eax, eax
je 0x1400204f8
sub eax, 1
lea r8, [rdx + rax + 9]
mov eax, 0xffffffff
nop dword [rax + rax]
movzx edx, byte [rcx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add rcx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
cmp r8, rcx
jne 0x140020460
not eax
cmp r9d, eax
jne 0x140020597
mov byte [0x14004bb28], 1
jmp 0x14002039d
cmp byte [0x14004bb18], 0
jne 0x1400203b4
mov rbx, qword [sym.imp.python310.dll_PyDict_New]
call rbx
mov qword [0x14004bb78], rax
call rbx
mov qword [0x14004bb70], rax
call rbx
mov qword [0x14004bb68], rax
call rbx
mov qword [0x14004bba8], rax
call rbx
mov qword [0x14004bba0], rax
call rbx
mov qword [0x14004bb98], rax
call rbx
mov qword [0x14004bb88], rax
call rbx
mov byte [0x14004bb18], 1
mov qword [0x14004bb80], rax
mov rax, qword [sym.imp.python310.dll__PyRuntime]
mov rax, qword [rax + 0x1f0]
mov rax, qword [rax + 0x10]
add rax, 0xda0
mov qword [0x14004bb30], rax
jmp 0x1400203b4
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140029a40
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14003af50
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14003af50
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14002a6f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14004c048]
test eax, eax
je 0x14002a78a
lea rax, [0x14004c020]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14004c050]
mov qword [rbp - 8], rax
jmp 0x14002a76e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14002a762
cmp qword [rbp - 0x10], 0
je 0x14002a762
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14002a728
lea rax, [0x14004c020]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002a78b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14002a890
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14002a8b8
mov eax, 0
jmp 0x14002a906
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14002a8e1
mov eax, 0
jmp 0x14002a906
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14002a901
mov eax, 0
jmp 0x14002a906
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14002a90c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14002a98a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14002a981
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14002a981
mov rax, qword [rbp - 8]
jmp 0x14002a99f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14002a954
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001b00
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1400f6398]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1400fb3d8]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x140001b34
jnp 0x140001b57
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14008b870
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x1400fb3e8]
mov ecx, dword [0x1400f9b20]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140001c8f
mov eax, dword [0x1400fb3f8]
mov ecx, dword [0x1400f9b20]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140001cc9
rdtsc
mov r15, rax
mov r14, rdx
xor esi, esi
lea rbx, [rsp + 0x20]
mov qword [rbx], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rdi, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rbx], rsi
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rdi, qword [0x1400fb3f0]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x1400bc170]
subpd xmm1, xmmword [0x1400bc180]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsi]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x1400c1670]
ucomisd xmm1, xmm0
ja 0x140001b34
shl r14, 0x20
or r15, r14
sub r15, qword [0x1400fb3e0]
movq xmm1, r15
punpckldq xmm1, xmmword [0x1400bc170]
subpd xmm1, xmmword [0x1400bc180]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1400fb3d8], xmm6
jmp 0x140001b34
lea rcx, [0x1400fb3e8]
call fcn.1400897dc
cmp dword [0x1400fb3e8], 0xffffffff
jne 0x140001ba0
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1400fb3e0], rdx
lea rcx, [0x1400fb3e8]
call fcn.140089cd8
jmp 0x140001ba0
lea rcx, [0x1400fb3f8]
call fcn.1400897dc
cmp dword [0x1400fb3f8], 0xffffffff
jne 0x140001bc5
lea rdi, [rsp + 0x20]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov qword [0x1400fb3f0], rax
lea rcx, [0x1400fb3f8]
call fcn.140089cd8
jmp 0x140001bc5

Function at 0x140002ef0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1400f7678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140002f24
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x140002f24
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x140002f1e
Function at 0x140003020
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400f7678]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14000305e
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140003057
call fcn.1400051f0
jmp 0x14000303e
Function at 0x1400051f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14008b800
sub rsp, rax
mov rax, qword [0x1400f6398]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1400f7678]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400052a4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400052e6
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14008ea40
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1400897d4
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14008e630
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14008b870
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140005440
test al, al
je 0x1400052e9
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400052ec
mov eax, 0xffffffff
lock cmpxchg dword [0x1400f7678], ecx
mov ecx, dword [rsp + 0x2c]
je 0x140005228
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1400f7678]
mov dword [rsp + 0x2c], ecx
jmp 0x140005228
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.140005440
test al, al
je 0x140005311
cmp dword [rsp + 0x2c], 0xffffffff
je 0x140005311
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400052bb
int3

Function at 0x140005440
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140005455
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x140005c60
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x1400f6398]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x1400c16c8]
mov qword [rcx], rax
add rcx, 8
call fcn.1400136e0
lea rcx, [rsi + 0x10]
call fcn.1400136e0
xor edi, edi
mov byte [rsi + 0x18], dil
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], edi
call fcn.1400136e0
mov byte [rsi + 0x48], dil
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rdi
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebx, 0x3f800000
mov dword [rsi + 0xd0], ebx
mov dword [rsi + 0xd8], edi
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebx
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebx
mov qword [rsi + 0x150], rdi
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x158], ebx
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], ebx
mov qword [rsi + 0x1a0], rdi
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], edi
mov eax, dword [0x1400c4238]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.140006160
lea rcx, [rsi + 0x2f8]
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], rdi
xor edx, edx
call fcn.140005ed0
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.140005ed0
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.140005ed0
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], ebx
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.140006270
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140006090
lea rbx, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
call fcn.1400060d0
mov rax, qword [rbx]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.140006060
mov rcx, rsi
call fcn.14001f920
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x140005ebc
call fcn.140007a00
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
call fcn.140007660
mov qword [0x1400fb7b0], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008b870
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x140005e75