joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000963c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000966c
xor eax, eax
jmp 0x14000972f
mov rbp, rbx
cmp word [rax], si
je 0x140009691
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140009678
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140009674
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000955c
movsxd r14, eax
test eax, eax
jne 0x1400096cf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140009665
mov rcx, r14
call fcn.14000a518
mov rdi, rax
test rax, rax
jne 0x1400096e8
xor ecx, ecx
call fcn.140007bbc
jmp 0x1400096c4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000955c
test eax, eax
jne 0x140009719
mov rcx, rdi
call fcn.140007bbc
jmp 0x140009723
xor ecx, ecx
call fcn.140007bbc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000cc20
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000862c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000ccaa
cmp byte [rbp - 0x21], r15b
je 0x14000cca5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000cce0
call fcn.14000ad28
test eax, eax
jne 0x14000cccc
cmp byte [rbp - 0x21], r15b
je 0x14000ccc4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000cce0
cmp byte [rbp - 0x21], r15b
je 0x14000ccdd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140007c0c
test eax, eax
jne 0x14000cd80
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000862c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000cd1f
cmp byte [rbp - 0x21], r15b
je 0x14000cd54
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000cd54
call fcn.14000ad28
test eax, eax
jne 0x14000cd40
cmp byte [rbp - 0x21], r15b
je 0x14000cd39
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000cd54
cmp byte [rbp - 0x21], r15b
je 0x14000cd51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140007c0c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000cd80
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000cd83
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000cd91
mov rcx, rdi
call fcn.140007bbc
cmp byte [rbp + 0x3f], r15b
je 0x14000cda0
mov rcx, qword [rbp + 0x27]
call fcn.140007bbc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000fbd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000fbf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000fbf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400049a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movups xmm0, xmmword [0x140039bc0]
mov r8, rcx
movsd xmm5, qword [rcx + 0x10]
movups xmmword [rsp + 0x30], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140004ba0
xor r9d, r9d
cmp dword [0x140046018], 2
jl 0x140004b60
movdqa xmm0, xmmword [0x14003ecb0]
lea rcx, [rsp + 0x34]
movdqa xmm4, xmmword [0x14003eca0]
mov eax, 1
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x14003ec30]
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm8
movdqa xmm8, xmmword [0x14003ec60]
movd xmm7, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [rsp + 0x50], xmm9
movd xmm9, eax
nop dword [rax + rax]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm6
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm6
pmuldq xmm0, xmm4
add r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x10
jl 0x140004a40
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
jmp 0x140004ba0
lea r10, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x94f2095
lea r10, [r10 + 1]
imul r9d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r10 - 1], al
cmp r9d, 0x10
jl 0x140004b70
movsd xmm3, qword [r8 + 8]
lea rdx, str.head_2d
movsd xmm2, qword [r8]
lea rcx, [rsp + 0x30]
movq r9, xmm3
movsd qword [rsp + 0x20], xmm5
movq r8, xmm2
call fcn.140001290
add rsp, 0x98
ret
Function at 0x140007d40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
movsd xmm0, qword [str.u_GBYQM_e]
movsd qword [rbp + 0x27], xmm0
movzx eax, word [0x140039a50]
mov word [rbp + 0x2f], ax
movzx ecx, byte [0x140039a52]
mov byte [rbp + 0x27], 0x46
xor byte [rbp + 0x28], 0x34
xor byte [rbp + 0x29], 0x35
xor byte [rbp + 0x2a], 0x36
xor byte [rbp + 0x2b], 0x37
xor byte [rbp + 0x2c], 0x38
xor byte [rbp + 0x2d], 0x39
xor byte [rbp + 0x2e], 0x3a
xor al, 0x3b
mov byte [rbp + 0x2f], al
xor byte [rbp + 0x30], 0x3c
xor cl, 0x3d
mov byte [rbp + 0x31], cl
lea rdx, [rbp + 0x27]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rdx, [0x1400469f8]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x140007df9
mov eax, dword [0x140046a00]
sub eax, dword [0x1400469f8]
mov dword [0x1400469d8], eax
mov eax, dword [0x140046a04]
sub eax, dword [0x1400469fc]
mov dword [0x1400469dc], eax
call fcn.14000b3c0
mov ebx, eax
mov ecx, 8
call fcn.1400374f0
lea rcx, [0x140004be0]
mov qword [rax], rcx
mov qword [rbp + 0x27], rax
lea rcx, [rbp + 0x3f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140008c40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x37], rax
test rax, rax
je 0x140007eed
cmp dword [rbp + 0x3f], 0
jne 0x140007e58
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x27], xmm0
lea rcx, [rbp + 0x27]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140007e78
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x37], xmm0
test ebx, ebx
je 0x140007ebd
cmp ebx, 1
jne 0x140007ebd
call fcn.140002ab0
lea rbx, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
lea rdi, [0x140006790]
nop dword [rax]
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rdi
lea rax, [rbp - 0x19]
mov qword [rbp + 0x1f], rax
lea rcx, [rbp - 0x19]
call fcn.14000bb00
test eax, eax
jne 0x140007ea0
cmp dword [rbp + 0x3f], 0
je 0x140007eca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140037280
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov dword [rbp + 0x3f], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140007f30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
call fcn.140007160
test eax, eax
jne 0x140008171
call fcn.140007490
test eax, eax
jne 0x140008171
call fcn.140001cd0
test eax, eax
jne 0x140008171
call fcn.140007d40
test eax, eax
jne 0x140008171
cmp byte [0x140039c2b], 0
movups xmm0, xmmword [0x140039c10]
mov eax, dword [0x140039c28]
movsd xmm1, qword [0x140039c20]
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x48], eax
movsd qword [rsp + 0x40], xmm1
je 0x140008160
xor r8d, r8d
cmp dword [0x140046018], 2
jl 0x140008119
movdqa xmm0, xmmword [0x14003ecb0]
lea rcx, [rsp + 0x34]
movdqa xmm5, xmmword [0x14003ec30]
mov eax, 1
movdqa xmm4, xmmword [0x14003eca0]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x14003ec60]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm8
movd xmm8, eax
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14003ec90]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140008000
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
cmp r8d, 0x1c
jge 0x140008160
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x1c
jl 0x140008130
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x30]
call fcn.1400028c0
xor eax, eax
add rsp, 0x88
ret
Function at 0x14000d250
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 0x14000d2ad
lea rbx, [0x14003a1a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000d294
cmp r10, 2
jb 0x14000d294
cmp byte [r9], r8b
jne 0x14000d294
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 0x14000d270
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000d2ef
lea rbx, [0x14003a1a0]
cmp r8b, 0x23
jne 0x14000d2d3
cmp byte [r9], r8b
jne 0x14000d2d3
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 0x14000d2c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000d430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000d44a
mov qword [r8], 0
lea rdx, [0x140039f0c]
call fcn.14000d300
mov rbx, rax
test rax, rax
jne 0x14000d46a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000d541
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 0x14000d541
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000d541
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000d541
cmp rdi, 0xffffffffffffffff
je 0x14000d541
mov rax, qword [0x140046a68]
test rax, rax
je 0x14000d4de
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000d541
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 0x14000d52e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140046a68]
test rax, rax
je 0x14000d523
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000d54a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000d53c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000d54c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000f060
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14003a1a0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x140046a68]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x3e74], ebx
jne 0x14000f0ed
mov dword [rax + 0x3e78], ebx
cmp dword [rax + 0x3ec0], ebx
jne 0x14000f0fc
mov byte [rax + 0x3ec4], 1
cmp dword [rax + 0x3e5c], ebx
jne 0x14000f113
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001fc50
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140018570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x140046a68]
lea r10, [0x14003a1a0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x3e28]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x3e5c], edi
jne 0x140018615
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.14001fc50
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x140018649
inc r8d
test ecx, ecx
je 0x140018632
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140018637
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140020d60
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140019b70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140046a68]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x140019bd1
cmp byte [rbx + 0x41ce], 0
jne 0x140019bd1
movsx r9d, word [rbx + 0x52a6]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000d1d0
test dil, 1
je 0x140019cf8
jmp 0x140019c5a
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52a6]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14003eb24]
mulss xmm1, dword [0x14003eb0c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x14003ea40]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.14000d1d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140019cb0
lea r11, [0x14003a1a0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140019c93
cmp byte [r8], r9b
jne 0x140019c93
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 0x140019c80
not ecx
call fcn.140013320
test rax, rax
je 0x140019cf8
cmp byte [rax + 0x8e], 0
je 0x140019cf8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52a6]
mov edx, 0x10
movsx r9d, word [rbx + 0x52a6]
call fcn.14000d1d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140015a10
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140037280
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14001e9a0
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 + 0x5358], 0
lea rbx, [rcx + 0x5360]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001ea47
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001e9fa
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.140020ba0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000d800
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5358]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5368]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140046a61]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001ea4f
mov rcx, rbx
call fcn.14000d800
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140037fec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140038036
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140038036
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140038036
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140038036
cmp dword [rcx + 0x84], 0xe
jbe 0x140038036
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140038038
xor al, al
add rsp, 0x28
ret
Function at 0x180005860
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 0x1800058bd
lea rbx, [0x18008a500]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800058a4
cmp r10, 2
jb 0x1800058a4
cmp byte [r9], r8b
jne 0x1800058a4
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 0x180005880
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800058ff
lea rbx, [0x18008a500]
cmp r8b, 0x23
jne 0x1800058e3
cmp byte [r9], r8b
jne 0x1800058e3
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 0x1800058d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180005a40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180005a5a
mov qword [r8], 0
lea rdx, [0x1800897c0]
call fcn.180005910
mov rbx, rax
test rax, rax
jne 0x180005a7a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180005b51
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 0x180005b51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180005b51
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180005b51
cmp rdi, 0xffffffffffffffff
je 0x180005b51
mov rax, qword [0x1800dd3d0]
test rax, rax
je 0x180005aee
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180005b51
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 0x180005b3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800dd3d0]
test rax, rax
je 0x180005b33
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180005b5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180005b4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180005b5c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret