joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140075a34
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 0x140075a64
xor eax, eax
jmp 0x140075b27
mov rbp, rbx
cmp word [rax], si
je 0x140075a89
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140075a70
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140075a6c
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.140073874
movsxd r14, eax
test eax, eax
jne 0x140075ac7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140075a5d
mov rcx, r14
call fcn.140070164
mov rdi, rax
test rax, rax
jne 0x140075ae0
xor ecx, ecx
call fcn.14006ed8c
jmp 0x140075abc
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.140073874
test eax, eax
jne 0x140075b11
mov rcx, rdi
call fcn.14006ed8c
jmp 0x140075b1b
xor ecx, ecx
call fcn.14006ed8c
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 0x140075b44
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140075bcb
mov rsi, rbx
cmp word [rax], bp
je 0x140075b8a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140075b74
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140075b70
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140070164
mov rdi, rax
test rax, rax
je 0x140075bb8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14008ded0
mov rbp, rdi
xor ecx, ecx
call fcn.14006ed8c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140078ce8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14006dee0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140078d89
cmp ebx, dword [rsp + 0x30]
je 0x140078d82
test esi, esi
je 0x140078d82
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140078d5d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140078d6a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140078d47
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140078d6e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140078d8b
mov eax, 1
jmp 0x140078d8b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007addc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14007adf2
mov al, 1
jmp 0x14007ae52
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14007ae03
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14007ae50
mov ecx, dword [rcx + 0x18]
nop
call fcn.140076794
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007ae50
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14007ae50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14007ae50
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14007ae52
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14007c1e0
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.140064a28
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14007c26a
cmp byte [rbp - 0x21], r15b
je 0x14007c265
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007c2a0
call fcn.14006f674
test eax, eax
jne 0x14007c28c
cmp byte [rbp - 0x21], r15b
je 0x14007c284
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007c2a0
cmp byte [rbp - 0x21], r15b
je 0x14007c29d
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.14006a960
test eax, eax
jne 0x14007c340
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140064a28
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14007c2df
cmp byte [rbp - 0x21], r15b
je 0x14007c314
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007c314
call fcn.14006f674
test eax, eax
jne 0x14007c300
cmp byte [rbp - 0x21], r15b
je 0x14007c2f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007c314
cmp byte [rbp - 0x21], r15b
je 0x14007c311
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.14006a960
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007c340
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007c343
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007c351
mov rcx, rdi
call fcn.14006ed8c
cmp byte [rbp + 0x3f], r15b
je 0x14007c360
mov rcx, qword [rbp + 0x27]
call fcn.14006ed8c
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 0x14007fae0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x180
mov rax, qword [0x1400c9040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 7
jbe 0x14007fb14
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14007fb27
mov al, 1
jmp 0x14007fc4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14007fc43
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x265
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::CreateDirectoryIfNecessary_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.14004c600
nop
mov dword [rsp + 0x30], 1
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.1400012e0
mov rdi, rax
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14007fb8f
mov rdx, qword [rbx]
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.14004da10
nop
mov dword [rsp + 0x30], 3
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007fbd1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call fcn.140002610
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x14007fc1c
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007fc17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007fc6c
call fcn.140055548
movdqa xmm0, xmmword [0x140097e60]
movdqu xmmword [rsp + 0x168], xmm0
mov byte [rsp + 0x158], 0
lea rcx, [rsp + 0x50]
call fcn.14004c8d0
xor al, al
jmp 0x14007fc4b
mov rcx, rbx
call fcn.14007fe60
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140055780
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rdi
ret
call fcn.14005c2b4
nop
int3
Function at 0x14007fe60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x140
mov rbx, rcx
mov dword [rsp + 0x150], 0
cmp qword [rcx + 0x18], 7
jbe 0x14007fe81
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14007fef7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x251
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x30]
call fcn.14004c600
nop
mov dword [rsp + 0x150], 1
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012e0
mov rcx, rax
mov rdx, rbx
call fcn.14004b0c0
nop
lea rcx, [rsp + 0x30]
call fcn.14004c8d0
xor al, al
add rsp, 0x140
pop rbx
ret
test al, 0x10
jne 0x14007ff6c
mov dword [rsp + 0x20], 2
mov r9d, 0x255
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x30]
call fcn.14004c460
nop
mov dword [rsp + 0x150], 2
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012e0
mov rcx, rax
mov rdx, rbx
call fcn.14004b0c0
mov rcx, rax
lea rdx, str.:_not_a_directory
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004c680
xor al, al
add rsp, 0x140
pop rbx
ret
mov al, 1
add rsp, 0x140
pop rbx
ret
Function at 0x140085c10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rdi, rcx
mov dword [rsp + 0x148], 0
mov rax, qword [0x1400cdfb8]
nop
mov ebx, 1
test rax, rax
jne 0x140085c55
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x1400cdfb8]
nop
test rax, rax
je 0x140085c40
cmp eax, 2
jne 0x140085c99
mov dword [rsp + 0x20], eax
mov r9d, 0x99
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.14004c460
nop
mov dword [rsp + 0x148], ebx
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov rcx, rax
call fcn.1400012e0
nop
jmp 0x140085d3f
mov rax, qword [0x1400cdfa0]
test rax, rax
je 0x140085cb2
mov rcx, rdi
call rax
test al, al
jne 0x140085d5d
lock xadd qword [0x1400cdfe8], rbx
lea rax, [rbx + 1]
cmp rax, 1
jle 0x140085cd2
xor edx, edx
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1400cdf98], eax
mov qword [0x1400cdf90], rdi
mov rcx, qword [0x1400c9ca0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 2
mov r9d, 0xc9
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.14004c460
nop
mov dword [rsp + 0x148], 2
lea rdx, str.crash_server_did_not_respond__self_terminating
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004c680
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xffff7001
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret
Function at 0x14008bec0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
movzx edi, r8b
mov rbx, rcx
mov dword [rsp + 0x150], 0
cmp qword [rcx + 0x18], 7
jbe 0x14008bee9
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14008c075
test dil, dil
je 0x14008c002
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14008c002
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14008bf20
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14008bf8d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x80
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::IsDirectory_const_class_base::FilePath__bool_
lea rcx, [rsp + 0x30]
call fcn.14004c600
nop
mov dword [rsp + 0x150], 4
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012e0
mov rcx, rax
mov rdx, rbx
call fcn.14004b0c0
nop
lea rcx, [rsp + 0x30]
call fcn.14004c8d0
jmp 0x14008bf98
shr eax, 4
and al, 1
jne 0x14008c075
mov dword [rsp + 0x20], 2
mov r9d, 0x5c
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingCreateDirectory_const_class_base::FilePath__enum_crashpad::FilePermissions_bool_
lea rcx, [rsp + 0x30]
call fcn.14004c460
nop
mov dword [rsp + 0x150], 1
mov rdx, rbx
mov rcx, rax
call fcn.14004b0c0
mov rcx, rax
lea rdx, str._not_a_directory
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004c680
xor al, al
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x61
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutil_file_filesystem_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingCreateDirectory_const_class_base::FilePath__enum_crashpad::FilePermissions_bool_
lea rcx, [rsp + 0x30]
call fcn.14004c600
nop
mov dword [rsp + 0x150], 2
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.1400012e0
mov rcx, rax
mov rdx, rbx
call fcn.14004b0c0
nop
lea rcx, [rsp + 0x30]
call fcn.14004c8d0
xor al, al
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret
Function at 0x14008c830
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x140
mov rbx, rcx
mov dword [rsp + 0x158], 0
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx edx, ax
shr dx, 8
cmp al, 6
jb 0x14008c904
jne 0x14008c868
cmp dx, 1
jbe 0x14008c904
mov ecx, dword [0x1400ccbd0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1400ce050], eax
jg 0x14008c918
xor edx, edx
mov r8d, 0x10000000
mov rcx, rbx
call qword [0x1400ce048]
test eax, eax
jne 0x14008c90d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x21
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDK_sentry_native_0.7.2externalcrashpadutilwincritical_section_with_debug_info.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::CrashpadInitializeCriticalSectionEx_struct__RTL_CRITICAL_SECTION__unsigned_long_unsigned_long_
lea rcx, [rsp + 0x30]
call fcn.14004c600
nop
mov dword [rsp + 0x158], 1
lea rdx, [0x1400aa740]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004c8d0
xor al, al
add rsp, 0x140
pop rbx
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, 1
add rsp, 0x140
pop rbx
ret
lea rcx, [0x1400ce050]
call fcn.1400555f8
cmp dword [0x1400ce050], 0xffffffff
jne 0x14008c88f
mov r8b, 1
lea rdx, str.::InitializeCriticalSectionEx
lea rcx, [0x14009d848]
call fcn.140047880
mov qword [0x1400ce048], rax
lea rcx, [0x1400ce050]
call fcn.14005558c
jmp 0x14008c88f

Function at 0x14008ca20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14008ca48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14008ca48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400044b0
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 0x14000450d
lea rbx, [0x1400c3980]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400044f4
cmp r10, 2
jb 0x1400044f4
cmp byte [r9], r8b
jne 0x1400044f4
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 0x1400044d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000454f
lea rbx, [0x1400c3980]
cmp r8b, 0x23
jne 0x140004533
cmp byte [r9], r8b
jne 0x140004533
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 0x140004520
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004690
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400046aa
mov qword [r8], 0
lea rdx, [0x1400c3768]
call fcn.140004560
mov rbx, rax
test rax, rax
jne 0x1400046ca
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 fcn.14008f710
mov esi, eax
cmp eax, 0xffffffff
je 0x140004798
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140090258
test eax, eax
jne 0x140004798
mov rcx, rbx
call fcn.14008f710
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004798
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140090258
test eax, eax
jne 0x140004798
cmp rdi, 0xffffffffffffffff
je 0x140004798
mov rax, qword [0x1400e1960]
test rax, rax
je 0x14000473a
inc dword [rax + 0x3b4]
mov rcx, rdi
call fcn.140096710
mov rsi, rax
test rax, rax
je 0x140004798
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400910a8
mov rcx, rbx
cmp rax, rdi
je 0x140004786
call fcn.14008feb8
mov rax, qword [0x1400e1960]
test rax, rax
je 0x14000477c
dec dword [rax + 0x3b4]
mov rcx, rsi
call fcn.140090e34
jmp 0x1400047a0
call fcn.14008feb8
test r14, r14
je 0x140004793
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400047a2
mov rcx, rbx
call fcn.14008feb8
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 0x1400104f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400e1960]
lea rdx, [0x1400c3980]
mov r8d, ecx
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
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1400105a7
lea ecx, [r9 + 1]
test r8d, r8d
je 0x140010593
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140010598
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140017be0
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 0x1400114c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400de080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400e1960]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x140011520
cmp byte [rbx + 0x1f4e], 0
jne 0x140011520
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004430
test dil, 1
je 0x14001163e
jmp 0x1400115a8
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 [0x1400cb260]
mulss xmm1, dword [0x1400cb24c]
lea edx, [rax + 0x10]
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 [0x1400cb18c]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.140004430
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400115f8
lea r11, [0x1400c3980]
cmp r9b, 0x23
jne 0x1400115db
cmp byte [r8], r9b
jne 0x1400115db
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 0x1400115c8
not ecx
call fcn.14000b1a0
test rax, rax
je 0x14001163e
cmp byte [rax + 0x8e], 0
je 0x14001163e
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.140004430
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d7a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140084e10
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret