joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b78f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1801867c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1800b7924
xor eax, eax
jmp 0x1800b7b21
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1800b7956
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1800b7b21
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1800b7a08
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.18005de20
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.18008b590
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1800b7b11
mov rcx, qword [rsp + 0x80]
call fcn.1800b0aa0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1800b7abe
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1800b7ab9
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1800b7b21
jmp 0x1800b7a34
cmp qword [rsp + 0x50], 0
jbe 0x1800b7b11
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18013d910
add rsp, 0x78
ret
Function at 0x1800b7b40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x1800b7b79
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1800b7c68
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1800b7c10
cmp qword [rsp + 0x20], 0
jle 0x1800b7c10
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x1800b7bb9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.18008b590
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x1800b7c58
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1800b7c58
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x180136d60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180136d9a
cmp dword [rsp + 0x20], 1
je 0x180136da1
cmp dword [rsp + 0x20], 2
je 0x180136dde
cmp dword [rsp + 0x20], 3
je 0x180136e32
jmp 0x180136e6c
mov al, 1
jmp 0x180136e6e
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x180136dcc
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180136dcc
mov dword [rsp + 0x24], 1
jmp 0x180136dd4
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
jmp 0x180136e6e
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x180136e27
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
call fcn.18013bca0
movzx eax, al
test eax, eax
je 0x180136e27
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x180136e12
mov dword [rsp + 0x28], 1
jmp 0x180136e1a
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 8], cl
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 8]
jmp 0x180136e6e
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0
je 0x180136e5d
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8001
test eax, eax
jne 0x180136e5d
mov dword [rsp + 0x2c], 1
jmp 0x180136e65
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
jmp 0x180136e6e
xor al, al
add rsp, 0x38
ret

Function at 0x18013bca0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18013bce6
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x18018f070]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x18013bce4
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x18018f070]
mov byte [rcx + rax], 1
mov al, 1
jmp 0x18013bd15
jmp 0x18013bd13
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0x100
jae 0x18013bcfd
jmp 0x18013bd03
call fcn.18013d660
nop
lea rax, [0x18018f070]
mov rcx, qword [rsp + 0x20]
mov byte [rax + rcx], 0
xor al, al
add rsp, 0x38
ret

Function at 0x18013cb80
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 0x18013cbba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18013cbbf
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 0x18013cc08
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18015bf80]
cmp byte [rcx + rax], 0
je 0x18013cc08
dec r8
sub rdx, 1
jne 0x18013cbee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14001111d
Capabilities:
Set registry value

Disassembly:
jmp 0x140018a40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0xe8], rax
lea rcx, [0x1400340fc]
call fcn.1400118ed
nop
mov rcx, qword [rbp + 0x110]
call fcn.14001130c
lea rcx, [rbp + 8]
mov qword [rsp + 0x20], rcx
mov r9d, 2
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140018b35
mov rcx, qword [rbp + 0x120]
call fcn.140011181
lea rax, [rax + rax + 2]
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x120]
call fcn.14001130c
mov qword [rbp + 0xe0], rax
mov rcx, qword [rbp + 0x118]
call fcn.14001130c
mov rcx, qword [rbp + 0xd8]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0xe0]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140026100]
call fcn.140011776
mov rcx, qword [rbp + 0xe8]
xor rcx, rbp
call fcn.14001146f
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret

Function at 0x140011127
Capabilities:
Set registry value

Disassembly:
jmp 0x140018500
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0xe8], rax
lea rcx, [0x1400340fc]
call fcn.1400118ed
nop
mov rcx, qword [rbp + 0x110]
call fcn.14001130c
lea rcx, [rbp + 8]
mov qword [rsp + 0x20], rcx
mov r9d, 2
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400185f5
mov rcx, qword [rbp + 0x120]
call fcn.140011181
lea rax, [rax + rax + 2]
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x120]
call fcn.14001130c
mov qword [rbp + 0xe0], rax
mov rcx, qword [rbp + 0x118]
call fcn.14001130c
mov rcx, qword [rbp + 0xd8]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0xe0]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140026180]
call fcn.140011776
mov rcx, qword [rbp + 0xe8]
xor rcx, rbp
call fcn.14001146f
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret

Function at 0x1400114f6
Capabilities:
Terminate process

Disassembly:
jmp 0x14001de00
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001163b
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001f150
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001f170
xor al, al
jmp 0x14001f1f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001f183
xor al, al
jmp 0x14001f1f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001f1ad
xor al, al
jmp 0x14001f1f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001f1c1
xor al, al
jmp 0x14001f1f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001f1d3
xor al, al
jmp 0x14001f1f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001f1ef
xor al, al
jmp 0x14001f1f1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400118b1
Capabilities:
Set registry value

Disassembly:
jmp 0x140018390
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400340fc]
call fcn.1400118ed
nop
lea rax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Icons
mov qword [rbp + 0x28], rax
lea rax, [0x140027a58]
mov qword [rbp + 0x48], rax
lea rax, str._windir_System32shell32.dll__50
mov qword [rbp + 0x68], rax
mov qword [rsp + 0x40], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x140018484
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x50]
lea rdx, [0x140026000]
call fcn.140011776
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14001146f
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x14001cf50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011933
movzx eax, al
test eax, eax
jne 0x14001cf70
mov ecx, 7
call fcn.140011785
nop
mov byte [rsp + 0x20], 0
call fcn.1400117d0
mov byte [rsp + 0x21], al
cmp dword [0x14002db78], 1
jne 0x14001cf94
mov ecx, 7
call fcn.140011785
nop
jmp 0x14001cfec
cmp dword [0x14002db78], 0
jne 0x14001cfe7
mov dword [0x14002db78], 1
lea rdx, [0x140025660]
lea rcx, [0x140025330]
call fcn.140011456
test eax, eax
je 0x14001cfc8
mov eax, 0xff
jmp 0x14001d0f1
lea rdx, [0x140025220]
lea rcx, [section..rdata]
call fcn.1400117b7
mov dword [0x14002db78], 2
jmp 0x14001cfec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001176c
call fcn.140011672
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001d049
mov rcx, qword [rsp + 0x30]
call fcn.140011389
movzx eax, al
test eax, eax
je 0x14001d049
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140035020]
nop
call fcn.1400116e5
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001d07d
mov rcx, qword [rsp + 0x38]
call fcn.140011389
movzx eax, al
test eax, eax
je 0x14001d07d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400118c5
nop
call fcn.14001d1a0
mov dword [rsp + 0x28], eax
call fcn.14001163b
movzx eax, al
test eax, eax
jne 0x14001d09c
mov ecx, dword [rsp + 0x28]
call fcn.1400110a5
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001d0ab
call fcn.1400118d9
nop
xor edx, edx
mov cl, 1
call fcn.140011352
mov eax, dword [rsp + 0x28]
jmp 0x14001d0f1
add rsp, 0x68
ret
Function at 0x180002640
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 0x18000269d
lea rbx, [0x1800381d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180002684
cmp r10, 2
jb 0x180002684
cmp byte [r9], r8b
jne 0x180002684
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 0x180002660
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800026df
lea rbx, [0x1800381d0]
cmp r8b, 0x23
jne 0x1800026c3
cmp byte [r9], r8b
jne 0x1800026c3
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 0x1800026b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180002950
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18000297f
mov r8d, 0x599
lea rdx, str.C:Usersuser_source_reposStarRailStarRailimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000298b
mov qword [rdi], 0
lea rdx, [0x180037e90]
mov rcx, rbx
call fcn.1800026f0
mov rbx, rax
test rax, rax
jne 0x1800029ad
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180002a86
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 0x180002a86
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180002a86
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 0x180002a86
cmp rsi, 0xffffffffffffffff
je 0x180002a86
mov rax, qword [0x180045b08]
test rax, rax
je 0x180002a23
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180002a86
mov r9, rbx
mov r8, rsi
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, rsi
je 0x180002a73
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180045b08]
test rax, rax
je 0x180002a68
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180002a8f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180002a81
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180002a91
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 rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180004c90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x180004cc6
mov r8d, 0x502
lea rdx, str.C:Usersuser_source_reposStarRailStarRailimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x1800381d0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x180045b08]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a60], edx
jne 0x180004d40
mov dword [rax + 0x1a64], edx
cmp dword [rax + 0x1a9c], edx
jne 0x180004d4f
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x180007890
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x1800078ab
cmp byte [rcx + 0x2ef4], 0
je 0x1800078c5
mov r8d, 0xed0
lea rdx, str.C:Usersuser_source_reposStarRailStarRailimguiimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x1800365e9]
mov dword [rsp + 0x2c], eax
lea r11, [0x1800381d0]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180007909
cmp byte [r8], r9b
jne 0x180007909
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x1800078f6
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x180014140]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1800141c0]
mov qword [rsp + 0x38], rax
lea rax, [0x1800142a0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180007a0b
inc edi
test ecx, ecx
je 0x180007975
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18000797a
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180007a0b
mov rax, qword [0x180045b08]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18000799e
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x1800079f9
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x1800079f3
mov rax, qword [0x180045b08]
test rax, rax
je 0x1800079f3
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180009000
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180009050
lea r11, [0x1800381d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180009033
cmp byte [r8], r9b
jne 0x180009033
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180009020
mov rcx, qword [0x180045b08]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1800090b1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800090a9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800090ac
mov rdx, r8
test rdx, rdx
jne 0x180009080
cmp r9, r10
je 0x1800090c0
cmp dword [r9], eax
jne 0x1800090c0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret