joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001860
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140007164]
mov rbx, rcx
test esi, esi
jle 0x140001990
mov rax, qword [0x140007168]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001935
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001890
mov rcx, rbx
call fcn.1400022d0
mov rdi, rax
test rax, rax
je 0x1400019b2
mov rax, qword [0x140007168]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002410
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140007168]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001997
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000192e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001940
add dword [0x140007164], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140007168]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000192e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400017f0
nop dword [rax]
xor esi, esi
jmp 0x1400018b8
mov rax, qword [0x140007168]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400017f0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400017f0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400071c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400071a0]
test rbx, rbx
je 0x140001f9c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001f93
test eax, eax
jne 0x140001f93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400022d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400044d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400022f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400022f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400022f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000234d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002344
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400022f0
add rax, 0x28
cmp rax, r9
jne 0x140002330
xor eax, eax
ret

Function at 0x140002350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400044d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000236f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002378
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000236f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002410
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400044d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000242f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002438
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x1400017d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
cmp dword [0x1401562e0], 0
jne 0x1400017f0
xor edx, edx
mov ecx, 0x10001
call fcn.140004d20
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x140003b90
sub rsp, 0x28
mov rcx, qword [0x1401578c8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140003bbd
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
add rsp, 0x28
ret
mov ecx, recv
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
jne 0x140003bf8
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.140004d20
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
mov rcx, qword [0x1401578d8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
call fcn.140009c70
mov rcx, rbx
mov qword [0x1401578d8], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x1401578d8]
test rax, rax
jne 0x140003c4b
lea rdx, str.Win32:_Failed_to_convert_wide_string_to_UTF_8
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rcx, qword [0x140156be0]
jmp 0x1400017d0

Function at 0x140002270
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x1401562e0], 0
jne 0x140002285
xor edx, edx
mov ecx, 0x10001
jmp fcn.140004d20
jmp fcn.140004a90

Function at 0x140002980
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov eax, 1
test ecx, 0x80000000
lea ecx, [rax + 0x10]
cmovne edi, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400029b7
or edi, 2
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400029ca
or edi, 4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movsx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
or ecx, ebx
jns 0x1400029ed
or edi, 8
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140002a00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
mov eax, 1
test ecx, 0x80000000
lea ecx, [rax + 0x10]
cmovne edi, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140002a37
or edi, 2
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140002a4a
or edi, 4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x5b
movsx ebx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
or ecx, ebx
jns 0x140002a6d
or edi, 8
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003b90
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
cmp dword [0x1401562e0], 0
jne 0x1400017f0
xor edx, edx
mov ecx, 0x10001
call fcn.140004d20
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x140003b90
sub rsp, 0x28
mov rcx, qword [0x1401578c8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x140003bbd
lea rdx, str.Win32:_Failed_to_open_clipboard
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
add rsp, 0x28
ret
mov ecx, recv
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
jne 0x140003bf8
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, str.Win32:_Failed_to_convert_clipboard_to_string
mov ecx, 0x10009
call fcn.140004d20
mov rbx, qword [rsp + 0x20]
xor eax, eax
add rsp, 0x28
ret
mov rcx, qword [0x1401578d8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
call fcn.140009c70
mov rcx, rbx
mov qword [0x1401578d8], rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, qword [0x1401578d8]
test rax, rax
jne 0x140003c4b
lea rdx, str.Win32:_Failed_to_convert_wide_string_to_UTF_8
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov rcx, qword [0x140156be0]
jmp 0x1400017d0
Function at 0x140004a90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140153440]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x140004b2a
nop dword [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x140004af5
mov rbx, qword [0x140157848]
test rbx, rbx
je 0x140004b0b
mov rcx, rbx
call fcn.140001b80
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140004ae3
jmp 0x140004b0b
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x140004ad0
mov rdi, qword [0x140157850]
test rdi, rdi
je 0x140004c4d
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rsi
call fcn.140002a00
mov ecx, 0xa0
mov ebp, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0xa1
movzx ebx, ax
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx esi, ax
shr esi, 0xf
test ebx, ebx
jne 0x140004b97
cmp byte [rdi + 0x1e0], 1
jne 0x140004b97
xor r9d, r9d
xor r8d, r8d
mov edx, 0x154
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.140001100
test esi, esi
mov rsi, qword [rsp + 0x98]
jne 0x140004bc3
cmp byte [rdi + 0x1e4], 1
jne 0x140004bc3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x158
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.140001100
cmp dword [rdi + 0x80], 0x34003
mov rbp, qword [rsp + 0x90]
jne 0x140004c4d
mov rcx, qword [rdi + 0x2c0]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
cmp dword [rdi + 0x2e0], eax
jne 0x140004c10
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp dword [rdi + 0x2e4], eax
je 0x140004c4d
mov eax, ecx
mov rcx, qword [rdi + 0x2c0]
mov dword [rsp + 0x60], r8d
cdq
mov dword [rdi + 0x2e0], r8d
sub eax, edx
lea rdx, [rsp + 0x60]
sar eax, 1
mov dword [rsp + 0x64], eax
mov dword [rdi + 0x2e4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14010af80
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x140005520
Capabilities:
Set thread local storage value

Disassembly:
cmp dword [0x1401562e0], 0
jne 0x140005535
xor edx, edx
mov ecx, 0x10001
jmp fcn.140004d20
test rcx, rcx
je 0x14000554f
cmp dword [rcx + 0x1f0], 0
jne 0x14000554f
xor edx, edx
mov ecx, 0x1000a
jmp fcn.140004d20
jmp fcn.140007db0
Function at 0x140007980
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140158060], rax
test rax, rax
jne 0x1400079b5
lea rdx, str.WGL:_Failed_to_load_opengl32.dll
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
add rsp, 0x28
ret
lea rdx, str.wglCreateContext
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140158060]
lea rdx, str.wglDeleteContext
mov qword [0x140158068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140158060]
lea rdx, str.wglGetProcAddress
mov qword [0x140158070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140158060]
lea rdx, str.wglMakeCurrent
mov qword [0x140158078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140158060]
lea rdx, str.wglShareLists
mov qword [0x140158080], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140158088], rax
mov eax, 1
add rsp, 0x28
ret

Function at 0x140007db0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140007dec
mov rdx, qword [rcx + 0x238]
mov rcx, qword [rcx + 0x230]
call qword [0x140158080]
test eax, eax
je 0x140007de3
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x140008650
lea rdx, str.WGL:_Failed_to_make_context_current
jmp 0x140007e01
xor edx, edx
xor ecx, ecx
call qword [0x140158080]
test eax, eax
jne 0x140007e0b
lea rdx, str.WGL:_Failed_to_clear_current_context
mov ecx, 0x10008
call fcn.140004d20
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp 0x140008650
mov rdx, rcx
mov ecx, dword [0x1401586fc]
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x1400085e0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1401586fc], eax
cmp eax, 0xffffffff
jne 0x14000860d
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
add rsp, 0x28
ret
mov dword [0x1401586f8], 1
mov eax, 1
add rsp, 0x28
ret
Function at 0x140009240
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x58
lea rcx, str.winmm.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140157fe0], rax
test rax, rax
jne 0x140009275
lea rdx, str.Win32:_Failed_to_load_winmm.dll
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
add rsp, 0x58
ret
lea rdx, str.timeGetTime
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.user32.dll
mov qword [0x140157fe8], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140158020], rax
test rax, rax
jne 0x1400092bd
lea rdx, str.Win32:_Failed_to_load_user32.dll
mov ecx, 0x10008
call fcn.140004d20
xor eax, eax
add rsp, 0x58
ret
lea rdx, str.SetProcessDPIAware
mov rcx, rax
mov qword [rsp + 0x50], rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140158020]
lea rdx, str.ChangeWindowMessageFilterEx
mov qword [0x140158028], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.dinput8.dll
mov qword [0x140158030], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140157ff0], rax
test rax, rax
je 0x140009324
lea rdx, str.DirectInput8Create
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140157ff8], rax
lea rcx, str.xinput1_3.dll
lea rax, str.xinput1_4.dll
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea rcx, str.xinput9_1_0.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rcx
lea rcx, str.xinput1_2.dll
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x38], rcx
lea rcx, str.xinput1_1.dll
mov qword [rsp + 0x40], rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140158008], rax
test rax, rax
jne 0x14000938b
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x140009367
jmp 0x1400093bd
lea rdx, str.XInputGetCapabilities
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140158008]
lea rdx, str.XInputGetState
mov qword [0x140158010], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140158018], rax
lea rcx, [0x140117560]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, qword [rsp + 0x50]
mov qword [0x140158038], rax
test rax, rax
je 0x14000940d
lea rdx, str.DwmIsCompositionEnabled
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140158038]
lea rdx, str.DwmFlush
mov qword [0x140158040], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140158048], rax
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140158050], rax
test rax, rax
je 0x14000943d
lea rdx, [0x140117510]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140158058], rax
mov eax, 1
add rsp, 0x58
ret
Function at 0x14000dbf0
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 0x14000dc4d
lea rbx, [0x14011b4e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000dc34
cmp r10, 2
jb 0x14000dc34
cmp byte [r9], r8b
jne 0x14000dc34
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 0x14000dc10
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000dc8f
lea rbx, [0x14011b4e0]
cmp r8b, 0x23
jne 0x14000dc73
cmp byte [r9], r8b
jne 0x14000dc73
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 0x14000dc60
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000de50
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 0x14000de7f
mov r8d, 0x5ec
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000de8b
mov qword [rdi], 0
lea rdx, [0x14011b190]
mov rcx, rbx
call fcn.14000dca0
mov rbx, rax
test rax, rax
jne 0x14000dead
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 0x14000df84
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 0x14000df84
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000df84
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 0x14000df84
cmp rsi, 0xffffffffffffffff
je 0x14000df84
mov rax, qword [0x140156960]
test rax, rax
je 0x14000df21
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x14000df84
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 0x14000df71
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140156960]
test rax, rax
je 0x14000df66
dec dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000df8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000df7f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000df8f
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 0x1400103c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
mov edi, edx
jg 0x1400103f6
mov r8d, 0x588
lea rdx, str.E:ReposSimHapticlibsimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x14011b4e0]
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 [0x140156960]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1ad8], edx
jne 0x140010470
mov dword [rax + 0x1adc], edx
cmp dword [rax + 0x1b18], edx
jne 0x14001047f
mov byte [rax + 0x1b1c], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140012e90
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
cmp byte [rcx], 0
mov rbx, rcx
jne 0x140012eab
cmp byte [rcx + 0x3019], 0
je 0x140012ec5
mov r8d, 0xf49
lea rdx, str.E:ReposSimHapticlibsimguiimgui.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, [0x1401187a9]
mov dword [rsp + 0x2c], eax
lea r11, [0x14011b4e0]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov edx, r10d
lea rax, str.Window
mov r9b, 0x57
mov qword [rsp + 0x20], rax
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140012f13
cmp byte [r8], r9b
jne 0x140012f13
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 0x140012f00
mov ecx, dword [rbx + 0x3034]
lea rax, [0x1400228b0]
mov edi, dword [rbx + 0x3030]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140022970]
mov qword [rsp + 0x40], rax
lea rax, [0x1400229f0]
mov qword [rsp + 0x48], rax
lea rax, [0x140022ac0]
mov qword [rsp + 0x50], rax
lea rax, [0x140022c00]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x14001303d
inc edi
test ecx, ecx
je 0x140012f97
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140012f9c
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x14001303d
mov rax, qword [0x140156960]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rsi
test rax, rax
je 0x140012fcb
inc dword [rax + 0x3b4]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rbx + 0x3038]
mov rbp, rax
test rsi, rsi
je 0x140013020
movsxd rcx, dword [rbx + 0x3030]
mov rdx, rsi
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [0x140156960]
test rax, rax
je 0x140013017
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x88]
mov qword [rbx + 0x3038], rbp
mov rbp, qword [rsp + 0x80]
mov dword [rbx + 0x3034], edi
movsxd rax, dword [rbx + 0x3030]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3038]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3030]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret