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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x318
mov rax, qword [0x7ff8266e2050]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rsi, r9
mov r14d, r8d
mov r15d, edx
mov r12, rcx
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x60], r9
mov rbx, qword [rsp + 0x370]
and qword [rsp + 0x58], 0
and dword [rsp + 0x44], 0
lea rax, [0x7ff82669ef10]
cmp qword [section..data], rax
je 0x7ff8266b0696
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
mov rax, qword [section..data]
call qword [case.0x7ff8266a4768.0]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x7ff8266b0815
cmp r14d, 0x7008
je 0x7ff8266b06ce
mov rcx, r12
call fcn.7ff8266a1fbc
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x7ff8266b080c
mov r10, qword [rax + 0x18]
cmp r14d, 0x2004
je 0x7ff8266b072c
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8d, r14d
mov edx, r15d
mov rcx, r12
mov rax, qword [r10 + 0x80]
call qword [case.0x7ff8266a4768.0]
mov esi, eax
or ecx, 0xffffffff
lock xadd dword [rdi], ecx
cmp ecx, 1
je 0x7ff8266b07c4
test esi, esi
jne 0x7ff8266b07fd
mov rdx, qword [rsp + 0x58]
test rdx, rdx
jne 0x7ff8266b07d2
xor eax, eax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.7ff8266a4480
add rsp, 0x318
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp qword [0x7ff8266e2828], 0
je 0x7ff8266a1be0
mov ecx, dword [0x7ff8266e2068]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov rcx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x7ff8266a1be0
xor eax, eax
jmp 0x7ff8266a1bfc
cmp r15d, 0xffff
jne 0x7ff8266a1c15
test rbx, rbx
je 0x7ff8266b06fa
cmp dword [rbx], 4
jb 0x7ff8266b06fa
mov eax, dword [rcx + 0x88]
mov dword [rsi], eax
mov dword [rbx], 4
xor eax, eax
jmp 0x7ff8266a1c91
mov ecx, 0x271e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or eax, 0xffffffff
jmp 0x7ff8266a1c91
cmp r15d, 0xffff
jne 0x7ff8266a1c3f
test rsi, rsi
je 0x7ff8266b0778
test rbx, rbx
je 0x7ff8266b0778
mov eax, dword [rbx]
cmp eax, 0x174
jb 0x7ff8266b0778
mov dword [rsp + 0x44], eax
mov dword [rbx], 0x274
mov qword [rsp + 0x58], rsi
lea rsi, [rsp + 0x80]
mov qword [rsp + 0x60], rsi
mov r14d, 0x2005
mov dword [rsp + 0x48], r14d
jmp 0x7ff8266a1c3f
mov dword [rbx], 0x174
mov dword [rsp + 0x40], 0x271e
or eax, 0xffffffff
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x7ff8266b079a
mov rcx, rdi
call fcn.7ff8266b49d8
mov eax, dword [rsp + 0x40]
jmp 0x7ff8266b0815
mov rcx, rdi
call fcn.7ff8266b49d8
nop
jmp 0x7ff8266a1c79
lea rcx, [rsp + 0x80]
call 0x7ff8266c8d90
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x44]
mov dword [rbx], ecx
jmp 0x7ff8266b07f4
test eax, eax
jne 0x7ff8266b0815
jmp 0x7ff8266a1c8f
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x7ff8266b0815
mov eax, 0x277b
jmp 0x7ff8266b0811
mov eax, 0x2736
mov dword [rsp + 0x40], eax
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or eax, 0xffffffff
jmp 0x7ff8266a1c91
Function at 0x7ff8266a1d90
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
mov rdi, rcx
lea rcx, [0x7ff82669ef10]
mov esi, r8d
mov r14, rdx
cmp rax, rcx
je 0x7ff8266a1eae
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x20]
call qword [case.0x7ff8266a4768.0]
mov dword [rbp - 0x30], eax
test eax, eax
jne 0x7ff8266a1e9b
mov rcx, rdi
call fcn.7ff8266a1fbc
mov rbx, rax
test rax, rax
je 0x7ff8266b087e
mov rcx, qword [rax + 0x18]
lea r9, [rbp - 0x2c]
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x18]
add rax, 0x10
mov dword [rbp - 0x18], esi
mov qword [rbp - 0x10], r14
mov r8d, 1
mov r10, qword [rcx + 0xa8]
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
mov rcx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x38]
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov rax, r10
call qword [case.0x7ff8266a4768.0]
mov edi, eax
or eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
je 0x7ff8266b085c
test edi, edi
jne 0x7ff8266a1e90
test dword [rbp + 0x38], 0x8000
jne 0x7ff8266b086a
mov eax, dword [rbp - 0x2c]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword [rbp - 0x30]
test eax, eax
je 0x7ff8266b0877
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or eax, 0xffffffff
jmp 0x7ff8266a1e77
cmp qword [0x7ff8266e2828], 0
je 0x7ff8266a1dcd
mov ecx, dword [0x7ff8266e2068]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov qword [rbp - 0x28], rax
test rax, rax
je 0x7ff8266b0850
and dword [rbp - 0x30], 0
jmp 0x7ff8266a1de6
mov rax, qword [section..data]
jmp 0x7ff8266a1dcd
mov rcx, rbx
call fcn.7ff8266b49d8
nop
jmp 0x7ff8266a1e63
mov eax, 0x2738
mov dword [rbp - 0x30], eax
jmp 0x7ff8266a1e93
mov eax, 0x277b
jmp 0x7ff8266b0883
mov eax, 0x2736
mov dword [rbp - 0x30], eax
jmp 0x7ff8266a1e9b

Function at 0x7ff8266a2330
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x7ff8266e2068]
cmp ecx, 0xffffffff
jne 0x7ff8266a2348
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x7ff8266a2341
lea rcx, [0x7ff8266e2930]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rdx, qword [rbx]
cmp qword [rdx + 8], rbx
jne 0x7ff8266a23c4
mov rax, qword [rbx + 8]
cmp qword [rax], rbx
jne 0x7ff8266a23c4
mov qword [rax], rdx
lea rcx, [0x7ff8266e2930]
mov qword [rdx + 8], rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
and qword [rbx], 0
mov rcx, rbx
call fcn.7ff8266a23d4
mov rcx, qword [0x7ff8266e2850]
mov r8, rbx
xor edx, edx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov ecx, 3
int 0x29
int3
Function at 0x7ff8266a23d4
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test byte [0x7ff8266e27f8], 1
jne 0x7ff8266b0a36
mov r8, qword [rbx + 0x58]
xor edx, edx
mov rcx, qword [0x7ff8266e2850]
and qword [rbx + 0x28], 0
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov r8, qword [rbx + 0x60]
xor edx, edx
mov rcx, qword [0x7ff8266e2850]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov r8, qword [rbx + 0x90]
xor edx, edx
mov rcx, qword [0x7ff8266e2850]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
cmp qword [rbx], 0
jne 0x7ff8266a245f
mov ecx, dword [0x7ff8266e2068]
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
je 0x7ff8266b0a50
mov rcx, qword [rbx + 0x30]
lea rdx, [rbx + 0x10]
call sym.WS2_32.dll_WahCloseThread
and qword [rbx + 0x30], 0
and qword [rbx + 0x70], 0
add rsp, 0x20
pop rbx
ret
mov ecx, 0xe
lea rdx, [0x7ff8266d81d0]
mov r8, rbx
call 0x7ff8266d3198
nop
jmp 0x7ff8266a23ea
test byte [0x7ff8266e27f4], 1
je 0x7ff8266a245f
mov ecx, 0xf
lea rdx, [0x7ff8266d81d0]
call 0x7ff8266d2008
nop
jmp 0x7ff8266a245f
Function at 0x7ff8266a3c50
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x80
mov rax, qword [section..data]
mov rdi, rcx
lea rcx, [0x7ff82669ef10]
mov rsi, r9
mov ebp, r8d
mov r14, rdx
cmp rax, rcx
je 0x7ff8266b12b4
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [case.0x7ff8266a4768.0]
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x7ff8266a3d5a
mov rcx, rdi
call fcn.7ff8266a1fbc
mov rbx, rax
test rax, rax
je 0x7ff8266b1309
mov rcx, qword [rax + 0x18]
mov r9, rsi
mov rax, qword [rsp + 0x68]
mov r8d, ebp
add rax, 0x10
mov rdx, r14
mov r10, qword [rcx + 0xb8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
mov rcx, rdi
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov rax, r10
call qword [case.0x7ff8266a4768.0]
mov edi, eax
or eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
je 0x7ff8266b12f4
test edi, edi
je 0x7ff8266a3d8a
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x7ff8266b1302
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or eax, 0xffffffff
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
xor eax, eax
jmp 0x7ff8266a3d6b
cmp qword [0x7ff8266e2828], 0
je 0x7ff8266a3c8f
mov ecx, dword [0x7ff8266e2068]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x7ff8266b12e8
and dword [rsp + 0x60], 0
jmp 0x7ff8266a3cab
mov rax, qword [section..data]
jmp 0x7ff8266a3c8f
mov rcx, rbx
call fcn.7ff8266b49d8
nop
jmp 0x7ff8266a3d4a
mov eax, 0x277b
jmp 0x7ff8266b130e
mov eax, 0x2736
mov dword [rsp + 0x60], eax
jmp 0x7ff8266a3d5a
Function at 0x7ff8266a3da0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x20], r9d
push rbp
push rdi
push r14
lea rbp, [rax - 0x4f]
sub rsp, 0x90
mov rax, qword [section..data]
mov rdi, rcx
lea rcx, [0x7ff82669ef10]
mov esi, r8d
mov r14, rdx
cmp rax, rcx
je 0x7ff8266b1318
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x17]
call qword [case.0x7ff8266a4768.0]
mov dword [rbp + 7], eax
test eax, eax
jne 0x7ff8266b137f
mov rcx, rdi
call fcn.7ff8266a1fbc
mov rbx, rax
test rax, rax
je 0x7ff8266b1377
mov rcx, qword [rax + 0x18]
lea r9, [rbp + 0xb]
mov rax, qword [rbp + 0xf]
lea rdx, [rbp + 0x1f]
add rax, 0x10
mov dword [rbp + 0x1f], esi
mov qword [rbp + 0x27], r14
mov r8d, 1
mov r10, qword [rcx + 0xb8]
lea rcx, [rbp + 7]
mov qword [rsp + 0x50], rcx
mov rcx, rdi
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
mov rax, qword [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov rax, r10
call qword [case.0x7ff8266a4768.0]
mov edi, eax
or eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
je 0x7ff8266b1356
test edi, edi
jne 0x7ff8266a3eb3
test dword [rbp + 0x6f], 0x8000
jne 0x7ff8266b1364
mov eax, dword [rbp + 0xb]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword [rbp + 7]
jmp 0x7ff8266b136c
cmp qword [0x7ff8266e2828], 0
je 0x7ff8266a3dde
mov ecx, dword [0x7ff8266e2068]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov qword [rbp + 0xf], rax
test rax, rax
je 0x7ff8266b134a
and dword [rbp + 7], 0
jmp 0x7ff8266a3df7
mov rax, qword [section..data]
jmp 0x7ff8266a3dde
mov rcx, rbx
call fcn.7ff8266b49d8
nop
jmp 0x7ff8266a3e86
mov eax, 0x2738
mov dword [rbp + 7], eax
test eax, eax
jne 0x7ff8266b137f
mov eax, 0x277b
jmp 0x7ff8266b137c
mov eax, 0x2736
mov dword [rbp + 7], eax
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or eax, 0xffffffff
jmp 0x7ff8266a3e9a
Function at 0x7ff8266b42d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov rax, qword [section..data]
lea rcx, [0x7ff82669ef10]
cmp rax, rcx
jne 0x7ff8266b4314
cmp qword [0x7ff8266e2828], 0
je 0x7ff8266b4314
mov ecx, dword [0x7ff8266e2068]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x7ff8266b4333
mov rax, qword [section..data]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [case.0x7ff8266a4768.0]
test eax, eax
je 0x7ff8266b4333
cmp eax, 0x2734
je 0x7ff8266b4333
xor eax, eax
jmp 0x7ff8266b4363
mov eax, dword [0x7ff8266e206c]
test eax, eax
je 0x7ff8266b435b
cmp eax, 1
je 0x7ff8266b4350
call fcn.7ff82669f68c
cmp dword [0x7ff8266e206c], 1
jne 0x7ff8266b435b
mov rax, qword [0x7ff8266e2a10]
or dword [rax + 0x64], 0x40
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x78]
add rsp, 0x28
ret

Function at 0x7ff8266be7b0
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x80
mov rax, qword [section..data]
mov rdi, rcx
lea rcx, [0x7ff82669ef10]
mov rsi, r9
mov ebp, r8d
mov r14, rdx
cmp rax, rcx
jne 0x7ff8266be81f
cmp qword [0x7ff8266e2828], 0
je 0x7ff8266be81f
mov ecx, dword [0x7ff8266e2068]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x7ff8266be818
and dword [rsp + 0x60], 0
jmp 0x7ff8266be83b
mov rax, qword [section..data]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [case.0x7ff8266a4768.0]
mov dword [rsp + 0x60], eax
test eax, eax
jne 0x7ff8266be8fa
mov rcx, rdi
call fcn.7ff8266a1fbc
mov rbx, rax
test rax, rax
je 0x7ff8266be8f1
mov rcx, qword [rax + 0x18]
mov r9, rsi
mov rax, qword [rsp + 0x68]
mov r8d, ebp
add rax, 0x10
mov rdx, r14
mov r10, qword [rcx + 0xd8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
mov rcx, rdi
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
mov rax, r10
call qword [case.0x7ff8266a4768.0]
mov edi, eax
or eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x7ff8266be8da
mov rcx, rbx
call fcn.7ff8266b49d8
test edi, edi
jne 0x7ff8266be8e2
xor eax, eax
jmp 0x7ff8266be90b
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x7ff8266be8fa
mov eax, 0x277b
jmp 0x7ff8266be8f6
mov eax, 0x2736
mov dword [rsp + 0x60], eax
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or eax, 0xffffffff
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x7ff8266c1680
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
mov rbp, rcx
lea rcx, [0x7ff82669ef10]
mov rdi, r9
mov r14d, r8d
mov r15, rdx
cmp rax, rcx
jne 0x7ff8266c16eb
cmp qword [0x7ff8266e2828], 0
je 0x7ff8266c16eb
mov ecx, dword [0x7ff8266e2068]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x7ff8266c16e4
and dword [rsp + 0x50], 0
jmp 0x7ff8266c1707
mov rax, qword [section..data]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [case.0x7ff8266a4768.0]
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x7ff8266c17e6
mov rcx, rbp
call fcn.7ff8266a1fbc
mov rsi, rax
test rax, rax
je 0x7ff8266c17dd
mov al, byte [rax + 0x2a]
mov r9, rdi
mov rdx, qword [rsp + 0x58]
neg al
mov r8d, r14d
sbb ecx, ecx
not ecx
mov ebx, dword [rdx + 0x88]
and ecx, 0x20
mov dword [rdx + 0x88], ecx
mov rdx, r15
mov rax, qword [rsi + 0x18]
mov rcx, rbp
mov r10, qword [rax + 0x98]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov rax, r10
call qword [case.0x7ff8266a4768.0]
mov rdi, rax
mov rax, qword [rsp + 0x58]
mov dword [rax + 0x88], ebx
or eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x7ff8266c17b6
mov rcx, rsi
call fcn.7ff8266b49d8
cmp rdi, 0xffffffffffffffff
je 0x7ff8266c17ce
cmp rdi, rbp
je 0x7ff8266c17c9
mov rcx, rdi
call fcn.7ff8266a14ac
mov rax, rdi
jmp 0x7ff8266c17f8
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x7ff8266c17e6
mov eax, 0x277b
jmp 0x7ff8266c17e2
mov eax, 0x2736
mov dword [rsp + 0x50], eax
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or rax, 0xffffffffffffffff
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140003890
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400038ed
lea rbx, [0x140055ad0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400038d4
cmp r10, 2
jb 0x1400038d4
cmp byte [r9], r8b
jne 0x1400038d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400038b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000392f
lea rbx, [0x140055ad0]
cmp r8b, 0x23
jne 0x140003913
cmp byte [r9], r8b
jne 0x140003913
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003900
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x140003a4e
mov qword [r8], r14
lea rdx, [0x140055618]
call fcn.140003940
mov rbx, rax
test rax, rax
jne 0x140003a73
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003b9f
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003b9f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003b9f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003b9f
cmp rdi, 0xffffffffffffffff
je 0x140003b9f
mov rcx, rdi
call fcn.140007d70
mov rbp, rax
test rax, rax
je 0x140003b9f
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140003b8c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140064838]
test r8, r8
je 0x140003b81
movsx rdx, word [r8 + 0x6030]
lea rcx, [r8 + 0x6034]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003b76
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6030], cx
movsx rax, cx
lea rcx, [r8 + 0x6034]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x602c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003ba8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140003b9a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140003baa
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140007510
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140055ad0]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x4050], ebx
jne 0x1400075a4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001be00
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400075c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140055ad0]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret