joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002538b
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x1400253a1
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x140025504
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14002553e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140025543
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14002558c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400287e0]
cmp byte [rcx + rax], 0
je 0x14002558c
dec r8
sub rdx, 1
jne 0x140025572
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400258fc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14002561c
mov ebx, eax
test eax, eax
jne 0x14002592c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14002598f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140025986
test al, 0x10
je 0x140025986
bt eax, 0xa
jae 0x14002597f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400259a0
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14002597b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002597b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140025986
and dword [rsp + 0x3c], 0
jmp 0x14002598b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002691c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140026966
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140026966
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140026966
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140026966
cmp dword [rcx + 0x84], 0xe
jbe 0x140026966
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140026968
xor al, al
add rsp, 0x28
ret
Function at 0x14008e970
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140136040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140065820]
mov qword [rsp + 0x20], rax
lea rcx, [0x14014dde0]
lea rdx, [0x1400656c0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14008ea04
cmp dword [0x14014dde8], 0
jne 0x14008ea00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14014ddec]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14008ea00
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140092400
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14008e9e8
call fcn.1400a984c
int3

Function at 0x1400918c8
Capabilities:
Parse pe header

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

Function at 0x140091c20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140091c98
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140091c98
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140091c98
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140091c8c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140091caa
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140091c7a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140091c9a

Function at 0x1400a4018
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a4160
Function at 0x1400a4160
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400a4160
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400a41cf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a41cf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a41cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a41cf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a41cf
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a41cf
cmp dword [rcx + 0xf8], 0
je 0x1400a41cf
mov ecx, ebx
call fcn.1400a4098
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400a42f4
nop
cmp dword [rbp + 0x20], 0
je 0x1400a421d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400a412c
int3
Function at 0x1400e0080
Capabilities:
Encode data using xor

Disassembly:
pop r14
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov rdi, 0x4ad1e86
mov r15, 0x4a43681
xor rdi, r15
sub r14, rdi
mov rsi, r14
mov r15, 0x6ae0a04
mov r11, 0x6bcb68c
xor r15, r11
add r14, r15
mov r13, qword [r14]
mov rdi, 0x5485d57
mov r15, 0x50cb157
xor rdi, r15
add rsi, rdi
mov rcx, rsi
mov rdx, 0x71cb916
mov rdi, 0x71cb446
xor rdx, rdi
mov r8, 0x40
lea r9, [rbp - 8]
call r13
mov r15, 0x34d03fb
mov rsi, 0x37f2c83
xor rsi, r15
add rsi, r14
xor rdi, rdi
test rdi, rdi
je 0x1400e011a
jne 0x1400e010f
jmp 0x1400f871f
mov cl, byte [rsi + rdi]
xor cl, 0x56
mov byte [rsi + rdi], cl
inc rdi
mov r15, 0x71cb916
mov r11, 0x71cb446
xor r15, r11
cmp rdi, r15
jb 0x1400e011a
jmp rsi
invalid
loope 0x1400f8709
fistp dword [rcx + rdi*8 - 0x7cb76f01]
invalid
Function at 0x140004240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, r8
mov r15, rdx
mov r12, rcx
mov qword [rsp + 0x20], r8
mov rbp, 0xffffffffffffffff
mov rbx, rbp
nop dword [rax + rax]
inc rbx
cmp byte [r8 + rbx], 0
jne 0x140004280
mov qword [rsp + 0x28], rbx
xor esi, esi
test rbx, rbx
je 0x1400042e5
mov r8, rbx
mov edx, 0x2e
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400042e5
sub rax, rdi
cmp rax, 0xffffffffffffffff
je 0x1400042e5
mov rcx, rax
cmp rbx, rax
cmovb rcx, rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rcx
inc rax
cmp rbx, rax
jb 0x1400043cb
sub rbx, rax
cmp rbx, 0xffffffffffffffff
cmovb rbp, rbx
lea r9, [rdi + rax]
jmp 0x1400042ee
mov r9, rsi
mov rbp, rsi
mov rcx, rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov ebx, esi
mov r10d, 0xa6a2333
mov r11d, r10d
movabs r13, 0x100000001b3
test rcx, rcx
je 0x140004352
movq rdi, xmm0
mov r14, qword [rsp + 0x28]
nop dword [rax]
movzx r8d, byte [rdi]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rax, cl
xor rax, r11
imul rax, r13
add r11, rax
inc ebx
lea rdi, [rdi + 1]
movsxd rax, ebx
cmp rax, r14
jb 0x140004320
test rbp, rbp
je 0x140004392
nop word [rax + rax]
movzx r8d, byte [r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rdx, cl
xor rdx, r10
imul rdx, r13
add r10, rdx
inc esi
lea r9, [r9 + 1]
movsxd rdx, esi
cmp rdx, rbp
jb 0x140004360
mov r9, r11
mov r8, r10
mov rdx, r15
mov rcx, r12
call fcn.140003f60
mov rax, r15
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400399f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140006b50
nop
int3
Function at 0x1400057c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
mov eax, 0x2040
call fcn.14003ab80
sub rsp, rax
xor bl, bl
movabs rsi, 0x7ffffffffe8287bf
xor dil, dil
movabs rbp, 0x7fffffffffffffff
mov r14d, 0xff
nop
cmp dword [0x14007e0c4], 0
mov ecx, dword [0x14007eb44]
jne 0x140005838
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne cl
test ax, ax
jne 0x14000584a
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140005847
test bl, bl
sete bl
movzx ecx, bl
cmp cl, dil
je 0x14000594d
movzx edi, cl
test cl, cl
lea rcx, [rsp + 0x30]
mov r8d, 0x5dc
je 0x1400058d0
lea r9, str.Harbor_bot_started_
mov edx, 1
call fcn.140001620
mov rax, qword [0x14007e2a0]
cmp rax, qword [0x14007e2a8]
je 0x1400058a6
mov r8d, 0x2010
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x14007e2a0], 0x2010
jmp 0x1400058b3
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140007a30
mov ecx, 0x11
mov dl, 1
call fcn.140004880
mov ecx, 0x2a
mov dl, 1
call fcn.140004880
jmp 0x140005951
lea r9, str.Harbor_bot_paused_
mov edx, 4
call fcn.140001620
mov rax, qword [0x14007e2a0]
cmp rax, qword [0x14007e2a8]
je 0x140005911
mov r8d, 0x2010
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x14007e2a0], 0x2010
jmp 0x14000591e
lea r8, [rsp + 0x30]
mov rdx, rax
call fcn.140007a30
mov ecx, 0x11
xor edx, edx
call fcn.140004880
mov ecx, 0x2a
xor edx, edx
call fcn.140004880
lea rcx, [rsp + 0x2060]
call fcn.1400013e0
mov rax, qword [rsp + 0x2060]
jmp 0x1400059b6
test cl, cl
je 0x140005999
mov edx, 0x3c3
mov dword [rsp + 0x20], 1
mov ecx, 0x21d37e
mov r9d, 1
mov r8d, 0x1ee
call fcn.140004c40
test al, al
je 0x140005999
mov ecx, 0x45
call fcn.1400046d0
lea rcx, [rsp + 0x2060]
call fcn.1400013e0
mov rax, qword [rsp + 0x2060]
jmp 0x1400059b6
lea rcx, [rsp + 0x2060]
call fcn.1400013e0
mov rax, qword [rsp + 0x2060]
mov qword [rsp + 0x2068], rax
cmp rax, rsi
je 0x1400059e8
mov ecx, 1
cmovl ecx, r14d
test cl, cl
jns 0x1400059e8
add rax, 0x17d7840
lea rcx, [rsp + 0x2068]
mov qword [rsp + 0x2068], rax
call fcn.140007980
jmp 0x140005800
lea rcx, [rsp + 0x2068]
mov qword [rsp + 0x2068], rbp
call fcn.140007980
jmp 0x140005800
Function at 0x140006b70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
mov rbx, qword [rdx + 8]
xor r11d, r11d
mov r9, qword [rcx]
test rbx, rbx
je 0x140006bd8
mov r10, qword [rdx]
mov qword [rsp + 0x10], rdi
movabs rdi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
lea edx, [r8 - 0x41]
cmp dl, 0x19
lea eax, [r8 + 0x20]
movzx ecx, al
cmova ecx, r8d
inc r11d
movsx rdx, cl
xor rdx, r9
movsxd rcx, r11d
imul rdx, rdi
add r9, rdx
cmp rcx, rbx
jb 0x140006ba0
mov rdi, qword [rsp + 0x10]
mov rax, r9
pop rbx
ret
Function at 0x140007670
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
lea rcx, [0x14007e990]
mov rbx, r8
mov rdi, rdx
call sub.KERNEL32.dll_AcquireSRWLockShared
movabs rcx, 0x100000001b3
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor r8d, r8d
xor rdx, rax
movzx eax, byte [rsp + 0x51]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x52]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x53]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x54]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x55]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x56]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x57]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x14007e9c8]
and rcx, rdx
mov rdx, qword [0x14007e9a0]
shl rcx, 4
add rcx, qword [0x14007e9b0]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x140007745
mov rcx, qword [rcx]
cmp rbx, qword [rax + 0x10]
je 0x140007748
cmp rax, rcx
je 0x140007745
mov rax, qword [rax + 8]
cmp rbx, qword [rax + 0x10]
jne 0x140007734
jmp 0x140007748
mov rax, r8
test rax, rax
mov rcx, rdx
cmovne rcx, rax
lea rax, [rsp + 0x20]
cmp rcx, rdx
jne 0x140007768
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], r8
jmp 0x140007771
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax]
lea rcx, [0x14007e990]
movups xmmword [rdi], xmm0
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x1400081a0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400081d5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400068a0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140008344
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400082bc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140008333
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400082f9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400082f3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140008333
cmp r9, rdx
je 0x14000830f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140008355
cmp r9, rdx
jne 0x140008300
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140008240
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140008333
Function at 0x140009850
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 0x1400098ad
lea rbx, [0x140072fe0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009894
cmp r10, 2
jb 0x140009894
cmp byte [r9], r8b
jne 0x140009894
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 0x140009870
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400098ef
lea rbx, [0x140072fe0]
cmp r8b, 0x23
jne 0x1400098d3
cmp byte [r9], r8b
jne 0x1400098d3
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 0x1400098c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140009a4a
mov qword [r8], 0
lea rdx, [0x1400770cc]
call fcn.140009900
mov rbx, rax
test rax, rax
jne 0x140009a6a
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 0x140009b43
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 0x140009b43
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009b43
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 0x140009b43
cmp rdi, 0xffffffffffffffff
je 0x140009b43
mov rax, qword [0x14007e978]
test rax, rax
je 0x140009ae0
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140009b43
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 0x140009b30
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14007e978]
test rax, rax
je 0x140009b25
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009b4c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009b3e
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009b4e
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 0x1400154c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14007e978]
lea r10, [0x140072fe0]
mov r8, rcx
mov rbx, qword [rax + 0x1c10]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov rax, r8
shr rax, 8
movzx edx, al
mov rax, r8
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr rax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x18
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x20
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr rax, 0x28
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
mov rax, r8
xor rdx, rcx
shr r8, 0x38
shr rax, 0x30
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
xor rcx, r8
shr edi, 8
mov r8d, dword [rbx + 4]
xor edi, dword [r10 + rcx*4]
not edi
cmp r9d, r8d
jne 0x1400155e0
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1400155cc
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400155d1
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001c9b0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140016480
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14007e978]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x1400164e0
cmp byte [rbx + 0x1f4e], 0
jne 0x1400164e0
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400097d0
test dil, 1
je 0x140016606
jmp 0x14001656a
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140077a60]
mov edx, 0x10
mulss xmm1, dword [0x140077a54]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x1400779dc]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.1400097d0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400165c0
lea r11, [0x140072fe0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400165a3
cmp byte [r8], r9b
jne 0x1400165a3
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 0x140016590
not ecx
call fcn.1400100e0
test rax, rax
je 0x140016606
cmp byte [rax + 0x8e], 0
je 0x140016606
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.1400097d0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140012700
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400399f0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001aa20
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 + 0x3098], 0
lea rbx, [rcx + 0x30a0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001aac7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001aa7a
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.14001c7f0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140009e90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3098]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x30a8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14007e970]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001aacf
mov rcx, rbx
call fcn.140009e90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret