joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004118
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [str.exit_r_n]
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 0x50]
xor r9d, r9d
mov dword [rsp + 0x30], eax
movzx eax, word [0x140009584]
mov word [rsp + 0x34], ax
mov al, byte [0x140009586]
lea r8d, [r9 + 7]
mov byte [rsp + 0x36], al
call fcn.1400043d0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea rcx, [rsp + 0x38]
call fcn.1400046e4
mov esi, eax
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004198
lea rdx, [rbx + 8]
call fcn.140004340
test eax, eax
je 0x1400041f2
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400041ae
lea rdx, [rbx + 0x30]
call fcn.140004340
test eax, eax
je 0x1400041f2
mov rcx, qword [rbx + 0x58]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140004204
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp dword [rbx + 0x64], 0
je 0x140004183
lea rcx, [rsp + 0x38]
call fcn.1400046e4
sub eax, esi
cmp eax, dword [rbx + 0x64]
jbe 0x140004183
mov rcx, qword [rbx + 0x58]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
cmp eax, 0xffffffff
je 0x1400041f2
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000421e
lea rdx, [rbx + 8]
call fcn.140004340
test eax, eax
je 0x1400041f2
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x140004234
lea rdx, [rbx + 0x30]
call fcn.140004340
test eax, eax
je 0x1400041f2
mov rcx, qword [rbx + 0x58]
lea rdx, [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400041f2
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400041f4

Function at 0x140004340
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x30
and qword [rax - 0x10], 0
mov rbx, rdx
and dword [rax + 0x18], 0
lea rax, [rax + 0x18]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400043c3
mov eax, dword [rsp + 0x50]
test eax, eax
jne 0x140004385
mov eax, 1
jmp 0x1400043c5
mov rdx, rax
mov rcx, rbx
call fcn.140006470
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x58]
and dword [rsp + 0x58], 0
mov rdx, rax
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400043c3
mov edx, dword [rsp + 0x58]
mov rcx, rbx
call fcn.1400064c0
jmp 0x14000437e
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140004458
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
and dword [rsp + 0x30], 0
mov rbx, r9
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140004489
test rbx, rbx
je 0x140004487
mov eax, dword [rsp + 0x30]
mov qword [rbx], rax
mov al, 1
add rsp, 0x40
pop rbx
ret
Function at 0x140004fbc
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r12, rdx
lea rdi, [rbp - 0x40]
mov r13, rcx
mov al, 0x41
mov byte [rdi], al
inc rdi
inc al
cmp al, 0x5a
jle 0x140004fe4
mov al, 0x61
lea rcx, [rbp - 0x26]
mov byte [rcx], al
inc rcx
inc al
cmp al, 0x7a
jle 0x140004ff5
mov al, 0x30
lea rcx, [rbp - 0xc]
mov byte [rcx], al
inc rcx
inc al
cmp al, 0x39
jle 0x140005006
lea rcx, [rdx*4]
mov word [rbp - 2], 0x2f2b
xor ebx, ebx
xor r14d, r14d
call fcn.140001c24
xor r11d, r11d
mov r15, rax
test r12, r12
je 0x140005182
mov eax, r11d
lea esi, [rbx + 3]
mov r10d, r11d
mov cl, byte [r13]
dec r12
mov byte [rbp + rax + 0x48], cl
inc ebx
mov r9b, byte [rbp + 0x4a]
inc rax
mov dl, byte [rbp + 0x49]
inc r13
mov dil, byte [rbp + 0x48]
cmp rax, rsi
jne 0x1400050c4
mov al, dil
mov cl, dil
shr al, 2
and cl, sil
mov byte [rbp + 0x58], al
mov r8, r11
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, r9b
mov byte [rbp + 0x59], cl
mov cl, dl
shr al, 6
and cl, 0xf
shl cl, 2
add cl, al
mov al, r9b
and al, 0x3f
mov byte [rbp + 0x5a], cl
mov byte [rbp + 0x5b], al
add r14d, 4
movzx eax, byte [rbp + r8 + 0x58]
inc r8
movzx ecx, byte [rbp + rax - 0x40]
mov word [r15 + r10*2], cx
inc r10
cmp r8, 4
jl 0x1400050a2
mov ebx, r11d
mov rax, r11
test r12, r12
jne 0x140005041
test ebx, ebx
jle 0x140005182
cmp ebx, esi
jge 0x1400050ff
mov eax, esi
movsxd rcx, ebx
sub eax, ebx
xor edx, edx
movsxd r8, eax
lea rax, [rbp + 0x48]
add rcx, rax
call fcn.140001b9c
mov r9b, byte [rbp + 0x4a]
xor r11d, r11d
mov dl, byte [rbp + 0x49]
mov dil, byte [rbp + 0x48]
mov al, dil
lea ecx, [rbx + 1]
shr al, 2
and dil, sil
mov byte [rbp + 0x58], al
mov al, dl
shr al, 4
and dl, 0xf
shl dil, 4
add dil, al
shl dl, 2
mov al, r9b
mov byte [rbp + 0x59], dil
shr al, 6
and r9b, 0x3f
add dl, al
mov byte [rbp + 0x5b], r9b
mov byte [rbp + 0x5a], dl
movsxd r8, ecx
test ecx, ecx
jle 0x140005164
movsxd rax, r14d
mov rdx, r11
add r14d, ecx
lea rdi, [r15 + rax*2]
movzx eax, byte [rbp + rdx + 0x58]
inc rdx
movzx ecx, byte [rbp + rax - 0x40]
mov word [rdi], cx
lea rdi, [rdi + 2]
cmp rdx, r8
jl 0x14000514b
cmp ebx, esi
jge 0x140005182
movsxd rax, r14d
sub esi, ebx
movsxd rcx, esi
add r14d, esi
lea rdi, [r15 + rax*2]
mov eax, 0x3d
movzx eax, ax
rep stosw word [rdi], ax
mov rcx, qword [rbp + 0x50]
movsxd rax, r14d
mov word [r15 + rax*2], r11w
test rcx, rcx
je 0x140005196
mov qword [rcx], rax
mov rbx, qword [rsp + 0xa0]
mov rax, r15
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005860
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov rsi, r9
mov dword [rsp + 0x40], 0xff
mov r14, r8
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140005943
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], rbx
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], rbx
xor edx, edx
and qword [rsp + 0x20], rbx
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140005938
lea ebx, [rdi + 1]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call r14
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
add edi, ebx
and qword [rsp + 0x20], 0
mov edx, edi
mov dword [rsp + 0x40], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400058ec
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x260]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140005964
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x50
lea rax, [r11 - 0x18]
xor ebx, ebx
mov qword [r11 - 0x28], rax
mov rdi, r9
lea rax, [r11 - 0x14]
mov qword [r11 - 0x30], rbx
mov rsi, r8
mov qword [r11 - 0x38], rax
lea r9d, [rbx + 2]
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400059f9
mov ecx, dword [rsp + 0x40]
lea edx, [rbx + 1]
call fcn.140001bd0
lea rcx, [rsp + 0x40]
mov qword [rdi], rax
mov qword [rsp + 0x30], rcx
lea r9d, [rbx + 2]
mov qword [rsp + 0x28], rax
mov r8, rsi
lea rax, [rsp + 0x44]
mov rdx, rbp
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400059f1
lea ebx, [rax + 1]
jmp 0x1400059f9
mov rcx, qword [rdi]
call fcn.140001bfc
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400074f0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x298]
sub rsp, 0x390
lea rax, str.Default
mov rdi, rcx
movups xmm0, xmmword [rax]
lea rdx, [rbp - 0x50]
mov ecx, 0x80
movups xmm1, xmmword [rax + 0x10]
xor esi, esi
lea rbx, [rbp - 0x50]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
add rdx, rcx
movups xmm0, xmmword [rax + 0x70]
add rax, rcx
movups xmmword [rdx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
mov rax, qword [rax + 0x40]
movups xmmword [rdx + 0x20], xmm1
movups xmmword [rdx + 0x30], xmm0
mov qword [rdx + 0x40], rax
cmp word [rbp - 0x50], si
je 0x14000766d
mov r8d, 0x208
lea rdx, [rbp + 0x80]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, str.GoogleChromeUser_Data_
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, rbx
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.History
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x80]
call fcn.140007a24
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000766d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140006de8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140007418
test eax, eax
jne 0x14000766d
lea r9, [0x140006a50]
mov qword [rsp + 0x20], rdi
lea r8d, [rax + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140006f08
mov rcx, qword [rsp + 0x30]
call fcn.140007ad0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rbx, [rbx + rax*2]
cmp word [rbx], si
jne 0x14000759b
lea r11, [rsp + 0x390]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140007688
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x620]
sub rsp, 0x720
mov rdi, rcx
lea rdx, [rbp - 0x50]
lea rcx, str.APPDATA
mov r8d, 0x208
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, str.MozillaFirefoxProfiles_
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str..default_release
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400077a5
lea rdx, [rbp + 0x3fc]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str.places.sqlite
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140007a24
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400077a5
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140006de8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140007418
test eax, eax
jne 0x1400077a5
lea r9, [0x140006c70]
mov qword [rsp + 0x20], rdi
lea r8d, [rax + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140006f08
mov rcx, qword [rsp + 0x30]
call fcn.140007ad0
xor eax, eax
jmp 0x1400077aa
mov eax, 1
lea r11, [rsp + 0x720]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140007a24
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
and qword [rax - 0x28], 0
xor r9d, r9d
mov r14, rdx
mov dword [rax - 0x30], 0x80
mov edx, 0x80000000
mov dword [rax - 0x38], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007ab8
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
je 0x140007ab8
mov ecx, esi
call fcn.140007af4
mov rdi, rax
test rax, rax
je 0x140007ab8
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140007ab8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov qword [r14], rsi
jmp 0x140007aba
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140002c30
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140114f40]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140002def
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140002def
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.14000b6e0
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x140002cba
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x140002cbd
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400e43c8]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov rax, qword [0x140114f40]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x140002d07
mov rsi, qword [rax + 0x98]
jmp 0x140002d0a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140002d35
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140114f40]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140002daf
inc rbx
cmp rbx, 5
jl 0x140002d91
jmp 0x140002ddb
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140002df1
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400dde30
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140006f50
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 0x140006fad
lea rbx, [0x1400e5c70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140006f94
cmp r10, 2
jb 0x140006f94
cmp byte [r9], r8b
jne 0x140006f94
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 0x140006f70
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140006fef
lea rbx, [0x1400e5c70]
cmp r8b, 0x23
jne 0x140006fd3
cmp byte [r9], r8b
jne 0x140006fd3
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 0x140006fc0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400071b0
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 0x1400071ce
mov qword [r8], r14
lea rdx, [0x1400e5740]
call fcn.140007000
mov rbx, rax
test rax, rax
jne 0x1400071f3
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 0x14000731f
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 0x14000731f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000731f
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 0x14000731f
cmp rdi, 0xffffffffffffffff
je 0x14000731f
mov rcx, rdi
call fcn.14000b6e0
mov rbp, rax
test rax, rax
je 0x14000731f
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 0x14000730c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140114f40]
test r8, r8
je 0x140007301
movsx rdx, word [r8 + 0x5438]
lea rcx, [r8 + 0x543c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400072f6
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 + 0x5438], cx
movsx rax, cx
lea rcx, [r8 + 0x543c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x5434]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140007328
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000731a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000732a
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 0x140015230
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1400e5c70]
movsxd rcx, dword [rcx + 0x108]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0x110]
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 + 0x40f8], ebx
jne 0x1400152c4
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001f990
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140019450
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140114f40]
mov edi, ecx
cmp byte [rbx + 0x4df5], 0
jne 0x1400194b1
cmp byte [rbx + 0x4df6], 0
jne 0x1400194b1
movsx r9d, word [rbx + 0x51f0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140006d30
test dil, 2
je 0x1400195ef
jmp 0x14001954b
movss xmm0, dword [rbx + 0x3a08]
mov eax, dword [rbx + 0x4ac0]
movaps xmm1, xmm0
mulss xmm1, dword [0x1400fdf1c]
mulss xmm0, dword [0x1400fdf14]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x14001950c
xor ecx, ecx
movss dword [rbx + 0x4ad0], xmm1
mov qword [rbx + 0x4ad8], rcx
or eax, 1
movss dword [rbx + 0x4ad4], xmm0
mov dword [rbx + 0x4ac4], 1
movss xmm0, dword [rbx + 0x3a64]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x1400fde40]
lea rcx, [rsp + 0x20]
movsx r9d, word [rbx + 0x51f0]
or eax, 0x40
mov edx, reloc.WS2_32.dll_recv
mov dword [rbx + 0x4ac0], eax
movss dword [rbx + 0x4b20], xmm0
call fcn.140006d30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400195a0
lea r11, [0x1400e5c70]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140019583
cmp byte [r8], r9b
jne 0x140019583
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 0x140019570
not ecx
call fcn.14000f0e0
test rax, rax
je 0x1400195ef
cmp byte [rax + 0xca], 0
je 0x1400195ef
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, reloc.WS2_32.dll_recv
inc word [rbx + 0x51f0]
movsx r9d, word [rbx + 0x51f0]
call fcn.140006d30
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140011fd0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dde30
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret