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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
xor ebx, ebx
mov dword [rbp + 0x20], ebx
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea r14, str.CSecurityCenterApp::Quit
mov qword [rbp - 0x10], r14
mov edx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
lea esi, [rbx + 1]
add edx, eax
je 0x140121e7b
mov dword [rbp - 0x18], ebx
call fcn.140005ad0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov dword [rbp + 0x20], esi
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140121e3f
call fcn.140005ad0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov dword [rbp + 0x28], 0x20
mov qword [rsp + 0x30], r14
lea rax, str._s_start:
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x28]
movsx edx, bx
call fcn.140004c90
nop
mov eax, dword [rbp + 0x20]
test al, 1
je 0x140121eb8
and eax, 0xfffffffe
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x20], rbx
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
js 0x140121eb4
nop dword [rax + rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
jns 0x140121ea0
lock inc dword [rbp - 0x18]
mov rax, qword [0x1401c0ff8]
cmp eax, 0xffffffff
je 0x140121ed8
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [0x1401c0ff8]
jmp 0x140121ede
mov ecx, dword [0x1401c0ffc]
lea edx, [rcx + 1]
cmp eax, 0xffffffff
je 0x140121ef1
movsxd rdx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x140121f32
add rcx, 0x28
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x140077645.0]
mov rbx, rax
test rax, rax
je 0x140121f32
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140121f32
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
lea rcx, str.bdgettingstartedclsname
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140121f60
xchg byte [rdi + 0x2f0], sil
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor edx, edx
lea rcx, str.BdCommFailure_window_class_name
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140121f98
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140121f98
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [rbp - 0x10]
call fcn.140032660
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140121fc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rcx
xor edi, edi
mov dword [rbp + 0x20], edi
lea rcx, [rbp - 8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rsi, str.CSecurityCenterApp::Activate
mov qword [rbp - 0x10], rsi
mov edx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add edx, eax
je 0x140122066
mov dword [rbp - 0x18], edi
call fcn.140005ad0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov dword [rbp + 0x20], 1
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x14012202a
call fcn.140005ad0
mov qword [rbp - 0x20], rax
lock inc dword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov dword [rbp + 0x28], 0x20
mov qword [rsp + 0x30], rsi
lea rax, str._s_start:
mov qword [rsp + 0x28], rax
lea rax, str._CScopeTrace::operator___
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp + 0x28]
movsx edx, di
call fcn.140004c90
nop
mov eax, dword [rbp + 0x20]
test al, 1
je 0x14012209e
and eax, 0xfffffffe
mov dword [rbp + 0x20], eax
mov qword [rbp - 0x20], rdi
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
js 0x14012209a
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rbp - 0x18], eax
cmp eax, 1
jns 0x140122086
lock inc dword [rbp - 0x18]
mov rax, qword [0x1401c0ff8]
cmp eax, 0xffffffff
je 0x1401220be
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov rax, qword [0x1401c0ff8]
jmp 0x1401220c4
mov ecx, dword [0x1401c0ffc]
lea edx, [rcx + 1]
cmp eax, 0xffffffff
je 0x1401220d7
movsxd rdx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14012211a
add rcx, 0x28
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x140077645.0]
mov rbx, rax
test rax, rax
je 0x14012211a
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14012211a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x412
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
nop
lea rcx, [rbp - 0x10]
call fcn.140032660
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401276d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, ecx
xor ebx, ebx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareBitdefenderInternalCrashEnabled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140127713
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x140127806
test rbx, rbx
je 0x140127729
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
js 0x140127814
mov edx, 0x10
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401c1788], eax
jg 0x14012781f
xor ecx, ecx
mov rdx, qword [0x1401c1630]
lea r8, [0x14017ab28]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r8 + rcx*2 - 2]
jne 0x14012777f
cmp rcx, 8
jne 0x140127761
lea r8, [0x1401279a0]
jmp 0x1401277bd
xor eax, eax
lea r8, [0x14017ae58]
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x1401277ab
cmp rax, 8
jne 0x140127790
cmp cx, word [r8 + rax*2 - 2]
lea r8, [0x140127960]
lea rax, [0x140127980]
cmove r8, rax
lea rax, [0x1401c178c]
xor r9d, r9d
cmp dword [0x1401c178c], r9d
cmova r9, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140127814
mov rcx, rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140127814
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x1401c1788]
call fcn.14007e5c0
cmp dword [0x1401c1788], 0xffffffff
jne 0x140127751
mov dword [0x1401c178c], edi
lea rcx, [0x1401c1788]
call fcn.14007e560
jmp 0x140127751
Function at 0x1400094e0
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 0x14000953d
lea rbx, [0x140052ce0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009524
cmp r10, 2
jb 0x140009524
cmp byte [r9], r8b
jne 0x140009524
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 0x140009500
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000957f
lea rbx, [0x140052ce0]
cmp r8b, 0x23
jne 0x140009563
cmp byte [r9], r8b
jne 0x140009563
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 0x140009550
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009740
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 0x14000975e
mov qword [r8], r14
lea rdx, [0x140058450]
call fcn.140009590
mov rbx, rax
test rax, rax
jne 0x140009783
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 0x1400098ad
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400098ad
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400098ad
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 0x1400098ad
cmp rdi, 0xffffffffffffffff
je 0x1400098ad
mov rcx, rdi
call fcn.14000e070
mov rbp, rax
test rax, rax
je 0x1400098ad
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 0x14000989a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400d4380]
test r8, r8
je 0x14000988f
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140009884
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 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400098b6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1400098a8
mov qword [rsi], rdi
mov rax, rbp
jmp 0x1400098b8
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 0x140011220
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1400d4380]
mov r14d, edx
mov esi, dword [rsp + 0x90]
mov r10, rcx
mov eax, esi
and eax, 0x40000000
mov rbx, qword [rdi + 0x4040]
bts eax, 0x1d
mov r9d, dword [rdi + 0x4a50]
shr eax, 0x1d
mov r15d, eax
bts r15d, 8
test esi, esi
cmovns r15d, eax
mov eax, dword [rbx + 0x14]
and eax, 4
mov dword [rdi + 0x4a88], r15d
or eax, 0x1000103
bts r9d, 8
or esi, eax
mov dword [rdi + 0x4a50], r9d
cmp qword [rbx + 0x1c0], 0
jne 0x1400112c3
cmp qword [rdi + 0x4e40], 0
mov eax, 0x268
je 0x1400112c8
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r8]
call fcn.14001add0
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a70], xmm0
xor edx, edx
mov dword [rdi + 0x4a50], r9d
mov dword [rdi + 0x4a58], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x14001133b
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140009340
jmp 0x14001134c
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.140009340
mov rcx, qword [rsp + 0x30]
mov r8d, esi
movss xmm6, dword [rdi + 0x3918]
xor edx, edx
call fcn.140014390
mov rsi, qword [rdi + 0x4040]
movzx ebp, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], r14d
jne 0x140011393
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x1400576b1]
not r9d
lea r10, [0x140052ce0]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax]
cmp r8b, 0x23
jne 0x1400113c3
cmp byte [rdx], r8b
jne 0x1400113c3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1400113b0
not ebx
cmp dword [rdi + 0x40ac], ebx
jne 0x1400113f3
xor edx, edx
xor ecx, ecx
call fcn.14000da20
cmp dword [rdi + 0x4b78], r14d
jne 0x140011440
bt r15d, 8
jb 0x140011440
cmp word [rsi + 0x174], 0
jne 0x140011416
cmp byte [rsi + 0x17a], 0
je 0x140011440
xor edx, edx
mov rcx, rsi
call fcn.140016c50
xor edx, edx
mov rcx, rsi
call fcn.14001dc00
mov rdx, rsi
mov ecx, ebx
call fcn.14000da20
mov eax, dword [rdi + 0x4bb4]
mov dword [rdi + 0x40d8], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004fe20
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x140017730
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x140052ce0]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4094], ebx
jne 0x1400177c6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140023040
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400177d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x140052ce0]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14001bb20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400d4380]
mov edi, ecx
cmp byte [rbx + 0x4d75], 0
jne 0x14001bb81
cmp byte [rbx + 0x4d76], 0
jne 0x14001bb81
movsx r9d, word [rbx + 0x5ee8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400092c0
test dil, 2
je 0x14001bcaf
jmp 0x14001bc0a
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5ee8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140059414]
mulss xmm1, dword [0x140059408]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a68], rax
mov dword [rbx + 0x4a54], 1
movss dword [rbx + 0x4a60], xmm0
movss dword [rbx + 0x4a64], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x14005937c]
or dword [rbx + 0x4a50], 0x41
movss dword [rbx + 0x4ab0], xmm0
call fcn.1400092c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001bc60
lea r11, [0x140052ce0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001bc43
cmp byte [r8], r9b
jne 0x14001bc43
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001bc30
not ecx
call fcn.140011680
test rax, rax
je 0x14001bcaf
cmp byte [rax + 0xca], 0
je 0x14001bcaf
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x5ee8]
movsx r9d, word [rbx + 0x5ee8]
call fcn.1400092c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140014390
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004fe20
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400218b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6040], 0
lea rbx, [rcx + 0x6048]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140021957
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002190a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400241a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140009f30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6040]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6050]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400d4374]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002195f
mov rcx, rbx
call fcn.140009f30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140021c90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400d4380]
xor ebp, ebp
cmp byte [rbx + 0x5f98], bpl
jne 0x140021d6f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140021d68
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140009740
mov rsi, rax
test rax, rax
je 0x140021d68
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140021cf4
mov rcx, rax
call fcn.140021ec0
mov r8, qword [0x1400d4380]
test r8, r8
je 0x140021d5f
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140021d54
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 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f98], 1
movss xmm0, dword [rbx + 0x5f9c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140021dfe
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f9c], xmm0
jb 0x140021dfe
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140021df1
mov rax, qword [0x1400d4380]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f9c], ebp
call fcn.140022120
lea rdx, [0x140058454]
mov rcx, rdi
mov rsi, rax
call fcn.140009590
mov rdi, rax
test rax, rax
je 0x140021df8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140021df8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f9c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140021e20
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400d4380]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140021e83
mov qword [rsp], rbx
lea rbx, [0x140052ce0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021e63
cmp byte [r8], r9b
jne 0x140021e63
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140021e50
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fb0]
not eax
mov r8, qword [r10 + 0x5fb8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140021eaf
cmp dword [r8 + 8], eax
je 0x140021eb6
add r8, 0x48
cmp r8, rcx
jne 0x140021ea0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret