joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bcf0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000bdc3
cmp byte [rcx + 0x71], 0
je 0x14000bdc3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000bdbf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000bd84
sub eax, 1
je 0x14000bd88
cmp eax, 2
jne 0x14000bdbf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007af90
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000bdb6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000bdbf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000bd6c
xor al, al
jmp 0x14000bd6c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007af90
add rsp, 0x60
pop rbx
ret

Function at 0x140010be0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 9], 0
mov r8, rcx
jne 0x140010c46
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x1c
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetInterruptSource.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.TryRaise
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Setup_not_invoked_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rcx]
movzx ecx, byte [rcx + 0x10]
sub cl, 4
mov rdx, qword [rax + 0x140]
mov eax, 1
shl eax, cl
or dword [rdx + 0x14c], eax
cmp byte [r8 + 8], 0
je 0x140010c9d
mov qword [rsp + 0x30], rbx
mov rbx, qword [r8 + 0x10]
lea rax, [rbx - 5]
cmp rax, 0x3a
ja 0x140010ca2
mov rax, qword [r8]
mov rcx, qword [rax + 0x140]
cmp byte [rcx + rbx + 0x18], 0
jne 0x140010c98
mov byte [rcx + rbx + 0x18], 1
inc qword [rcx + 0x10]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0xf8
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetChipset.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.RaiseMaskable
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str._zu_is_not_a_valid_maskable_interrupt_index_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140010d00
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 9], 0
mov rbx, rcx
jne 0x140010d68
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x26
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetInterruptSource.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.SetEnabled
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Setup_not_invoked_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov byte [rcx + 8], dl
test dl, dl
jne 0x140010d74
call fcn.140010e30
cmp byte [rbx + 8], 0
je 0x140010dc0
mov rax, qword [rbx]
mov qword [rsp + 0x40], rdi
mov rdi, qword [rbx + 0x10]
mov rdx, qword [rax + 0x140]
lea eax, [rdi + 0xfc]
movzx ecx, al
mov eax, dword [rdx + 0x14c]
bt eax, ecx
jae 0x140010dbb
lea rax, [rdi - 5]
cmp rax, 0x3a
ja 0x140010dc6
cmp byte [rdx + rdi + 0x18], 0
jne 0x140010dbb
mov byte [rdx + rdi + 0x18], 1
inc qword [rdx + 0x10]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0xf8
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetChipset.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.RaiseMaskable
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rdi
lea rdx, str._zu_is_not_a_valid_maskable_interrupt_index_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140010e30
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 9], 0
jne 0x140010e93
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x33
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetInterruptSource.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.ResetInt
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Setup_not_invoked_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + 0x10]
lea rax, [rbx - 5]
cmp rax, 0x3a
ja 0x140010eca
mov rax, qword [rcx]
mov rcx, qword [rax + 0x140]
cmp byte [rcx + rbx + 0x18], 0
je 0x140010ec0
mov byte [rcx + rbx + 0x18], 0
dec qword [rcx + 0x10]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x101
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetChipset.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.ResetMaskable
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str._zu_is_not_a_valid_maskable_interrupt_index_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140011530
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rdx
cmp rdx, 0x100000
jb 0x14001159b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x89
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetMMU.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.ReadCode
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.offset_doesnt_fit_20_bits_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
test sil, 1
je 0x1400115fa
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x8b
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetMMU.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.ReadCode
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.offset_has_LSB_set_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
shr rdx, 0x10
mov qword [rsp + 0x40], rbx
mov rbx, qword [rcx]
movzx r8d, si
test rdx, rdx
jne 0x14001161f
mov rax, qword [rbx + 0x140]
mov rcx, qword [rax + 0x168]
jmp 0x140011649
cmp dword [rbx + 0x114], 0x159
jne 0x140011666
cmp rdx, 7
jbe 0x140011666
mov rax, qword [rbx + 0x140]
and edx, 7
shl rdx, 0x10
mov rcx, qword [rax + 0x180]
add rcx, rdx
movzx eax, byte [rcx + r8 + 1]
movzx ecx, byte [rcx + r8]
mov rbx, qword [rsp + 0x40]
shl ax, 8
or ax, cx
add rsp, 0x30
pop rsi
ret
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x48], rbp
mov rbp, qword [rax + rdx*8]
test rbp, rbp
je 0x140011685
add r8, r8
mov rbp, qword [rbp + r8*8]
test rbp, rbp
jne 0x1400116ad
cmp byte [rbx + 0x40], 0
je 0x14001169b
lea rcx, str.execution_paused_due_to_memory_error_n
call fcn.14006b510
mov byte [rbx + 0x19], 1
mov rbp, qword [rsp + 0x48]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
mov qword [rsp + 0x50], rdi
lea rdx, [rsi + 1]
mov rdi, qword [rbp + 0x38]
mov rcx, rbp
call rdi
mov rdx, rsi
movzx ebx, al
mov rcx, rbp
call rdi
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
shl bx, 8
movzx eax, al
or ax, bx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
Function at 0x1400116f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov rax, rdx
cmp rdx, 0x1000000
jb 0x140011765
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0xa9
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetMMU.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.ReadData
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.offset_doesnt_fit_24_bits_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9, qword [rcx]
mov qword [rsp + 0x40], rsi
mov ecx, dword [r9 + 0x114]
cmp ecx, 5
jne 0x1400118ea
cmp byte [rdi + 8], 0
je 0x1400117ef
shr rax, 0x10
cmp rax, 0x10
jb 0x1400117d0
cmp rax, 0xf0
je 0x1400118c2
cmp rax, 0x98
je 0x1400118c2
and al, 7
cmp al, cl
jbe 0x1400117ca
test bl, 2
jne 0x1400117b8
test bl, bl
jne 0x140011902
mov rsi, qword [rsp + 0x40]
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and ebx, 0xfffff
mov rax, rbx
sub rax, 0x1000001
je 0x1400118c2
sub rax, 1
je 0x1400117b8
cmp rax, 1
je 0x140011902
mov rax, qword [rdi + 0x10]
mov rcx, rbx
shr rcx, 0x10
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x1400117b8
movzx eax, bx
add rax, rax
movsxd rcx, dword [rdx + rax*8 + 8]
mov rsi, qword [rdx + rax*8]
cmp ecx, 0xffffffff
je 0x140011892
mov r8, rcx
mov edx, 0xfff0b9d8
mov rcx, qword [r9 + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
mov rcx, qword [rdi]
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_pcallk]
test eax, eax
je 0x140011892
mov rcx, qword [rdi]
xor r8d, r8d
mov rcx, qword [rcx + 0x100]
lea edx, [r8 - 1]
call qword [sym.imp.lua.dll_lua_tolstring]
mov rdx, rbx
lea rcx, str.calling_commands_on_rwatch_at__06zX_failed:__s_n
mov r8, rax
call fcn.14006b510
mov rcx, qword [rdi]
mov edx, 0xfffffffe
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_settop]
xor r8d, r8d
movzx edx, bx
call fcn.140064410
test rsi, rsi
je 0x1400117b8
mov rax, qword [rsi + 0x38]
mov rdx, rbx
mov rcx, rsi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
mov rax, qword [r9 + 0x140]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rax + 0x158]
xor al, al
mov qword [rcx + 0x50], 0xff0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ecx, 0x159
jne 0x1400117ef
cmp rax, 0x100000
jne 0x1400117ef
mov rsi, qword [rsp + 0x40]
mov al, 0xff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140011920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x30
movzx ebp, r8b
mov rbx, rdx
mov rsi, rcx
cmp rdx, 0x1000000
jb 0x14001199b
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0xe9
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetMMU.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.WriteData
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.offset_doesnt_fit_24_bits_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rsi + 0x10]
mov rcx, rbx
shr rcx, 0x10
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x140011a75
movzx eax, bx
add rax, rax
mov qword [rsp + 0x40], rdi
movsxd rcx, dword [rdx + rax*8 + 0xc]
mov rdi, qword [rdx + rax*8]
cmp ecx, 0xffffffff
je 0x140011a53
test r9b, r9b
je 0x140011a53
mov r8, rcx
mov edx, 0xfff0b9d8
mov rcx, qword [rsi]
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
mov rcx, qword [rsi]
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_pcallk]
test eax, eax
je 0x140011a53
mov rcx, qword [rsi]
xor r8d, r8d
mov rcx, qword [rcx + 0x100]
lea edx, [r8 - 1]
call qword [sym.imp.lua.dll_lua_tolstring]
mov rdx, rbx
lea rcx, str.calling_commands_on_watch_at__06zX_failed:__s_n
mov r8, rax
call fcn.14006b510
mov rcx, qword [rsi]
mov edx, 0xfffffffe
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_settop]
mov r8b, 1
movzx edx, bx
call fcn.140064410
test rdi, rdi
je 0x140011a70
movzx r8d, bpl
mov rdx, rbx
mov rcx, rdi
call qword [rdi + 0x40]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x140011b30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, r9
mov rdi, rcx
mov qword [rsp + 0x38], r9
cmp byte [rcx + 0x48], 0
je 0x140011bb8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rax, str.Setup
mov qword [rsp + 0x20], rax
mov r9d, 0x17
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetMMURegion.cpp
lea rdx, str._s:_i:_in__s:
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Setup_invoked_twice_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [rsp + 0x98]
mov qword [rcx + 0x50], rax
mov qword [rcx], rdx
mov qword [rcx + 8], r8
add rcx, 0x10
mov rdx, rsi
call fcn.140006b40
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rdi + 0x40], rax
mov rax, qword [rdi + 0x50]
mov rcx, qword [rax + 0x140]
mov r8, qword [rcx + 0x160]
mov qword [rsp + 0x30], rdi
mov rbx, qword [rdi]
mov rcx, qword [rdi + 8]
add rcx, rbx
cmp rbx, rcx
je 0x140011c50
mov rdx, rbx
shr rdx, 0x10
mov rax, qword [r8 + 0x10]
movzx ecx, bx
add rcx, rcx
mov rax, qword [rax + rdx*8]
cmp qword [rax + rcx*8], 0
jne 0x140011c68
mov qword [rax + rcx*8], rdi
inc rbx
mov rax, qword [rdi]
add rax, qword [rdi + 8]
cmp rbx, rax
jne 0x140011c21
lea rcx, [r8 + 0x18]
mov rdx, qword [r8 + 0x20]
cmp rdx, qword [r8 + 0x28]
je 0x140011cc4
mov qword [rdx], rdi
add qword [r8 + 0x20], 8
jmp 0x140011cce
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rax, str.RegisterRegion
mov qword [rsp + 0x20], rax
mov r9d, 0x120
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetMMU.cpp
lea rdx, str._s:_i:_in__s:
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8, rbx
lea rdx, str.MMU_region_overlap_at__06zX_n
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r8, [rsp + 0x30]
call fcn.140006710
mov byte [rdi + 0x48], 1
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140011d08
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140011d03
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011d38
mov rcx, r8
call fcn.14007b5a0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007af90
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140011d40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx]
mov rdi, rcx
mov rax, qword [rcx + 0x50]
mov rdx, qword [rax + 0x140]
mov rsi, qword [rdx + 0x160]
mov rdx, qword [rcx + 8]
add rdx, rbx
cmp rbx, rdx
je 0x140011dae
xor r8d, r8d
nop word [rax + rax]
mov rax, qword [rsi + 0x10]
mov rdx, rbx
shr rdx, 0x10
movzx ecx, bx
add rcx, rcx
mov rax, qword [rax + rdx*8]
cmp qword [rax + rcx*8], r8
je 0x140011dea
mov qword [rax + rcx*8], r8
inc rbx
mov rax, qword [rdi + 8]
add rax, qword [rdi]
cmp rbx, rax
jne 0x140011d80
mov rdx, qword [rsi + 0x20]
mov r8, rdi
mov rcx, qword [rsi + 0x18]
call fcn.14007a850
mov r8, qword [rsi + 0x20]
mov rcx, rax
lea rdx, [rax + 8]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [rsi + 0x20], 0xfffffffffffffff8
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov byte [rdi + 0x48], 0
add rsp, 0x30
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x129
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcChipsetMMU.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.UnregisterRegion
mov qword [rsp + 0x20], rax
call fcn.140006bd0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.MMU_region_double_hole_at__06zX_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140011f90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov r14, rcx
mov rsi, rdx
mov rcx, qword [rcx]
mov edx, 0xfff0b9d8
movsxd r8, dword [rcx + 0x108]
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
cmp qword [r14 + 0x20], 0xf
lea r8, [r14 + 8]
jbe 0x140011fd6
mov r8, qword [r14 + 8]
mov rax, qword [r14]
mov rbx, 0xffffffffffffffff
mov edx, ebx
mov rcx, qword [rax + 0x100]
call qword [sym.imp.lua.dll_lua_getfield]
cmp eax, 4
je 0x140012058
lea ecx, [rbx + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r9d, [rbx + 0x18]
lea rax, str.allocator_char___
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcDataModelInfo.cpp
mov qword [rsp + 0x20], rax
lea rdx, str._s:_i:_in__s:
call fcn.140006bd0
lea rcx, [r14 + 8]
call fcn.140005670
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.key__s_is_not_a_string_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [r14]
xor r8d, r8d
mov edx, ebx
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tolstring]
mov rcx, qword [r14]
mov edx, 0xfffffffd
mov rdi, rax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_settop]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400120a0
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140004e00
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret

Function at 0x1400120d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov edx, 0xfff0b9d8
mov rcx, qword [rcx]
movsxd r8, dword [rcx + 0x108]
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
cmp qword [rdi + 0x20], 0xf
lea r8, [rdi + 8]
jbe 0x140012108
mov r8, qword [rdi + 8]
mov rax, qword [rdi]
mov edx, 0xffffffff
mov rcx, qword [rax + 0x100]
call qword [sym.imp.lua.dll_lua_getfield]
cmp eax, 3
je 0x14001218a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x21
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcDataModelInfo.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.operator_int
mov qword [rsp + 0x20], rax
call fcn.140006bd0
lea rcx, [rdi + 8]
call fcn.140005670
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.key__s_is_not_a_number_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rdi]
xor r8d, r8d
mov rcx, qword [rcx + 0x100]
lea edx, [r8 - 1]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rdi]
mov edx, 0xfffffffd
mov rbx, rax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_settop]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140012410
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push r14
sub rsp, 0x30
mov rbx, rcx
mov r14, rdx
mov rcx, qword [rcx]
mov edx, 0xfff0b9d8
movsxd r8, dword [rcx + 0x108]
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
cmp qword [rbx + 0x20], 0xf
lea r8, [rbx + 8]
jbe 0x140012451
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
mov edx, 0xffffffff
mov rcx, qword [rax + 0x100]
call qword [sym.imp.lua.dll_lua_getfield]
cmp eax, 5
je 0x1400124d3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x43
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcDataModelInfo.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.AsColourInfo
mov qword [rsp + 0x20], rax
call fcn.140006bd0
lea rcx, [rbx + 8]
call fcn.140005670
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.key__s_is_not_a_table_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x40], rdi
xor eax, eax
nop word [rax + rax]
mov rcx, qword [rbx]
lea edi, [rax + 1]
not eax
movsxd r8, edi
mov edx, eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
cmp eax, 3
jne 0x140012583
mov eax, edi
cmp edi, 3
jne 0x1400124e0
mov rcx, qword [rbx]
lea edx, [rdi - 6]
xor r8d, r8d
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 5]
xor r8d, r8d
mov dword [r14], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 4]
xor r8d, r8d
mov dword [r14 + 4], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 8]
mov dword [r14 + 8], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_settop]
mov rdi, qword [rsp + 0x40]
mov rax, r14
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x47
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcDataModelInfo.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.AsColourInfo
mov qword [rsp + 0x20], rax
call fcn.140006bd0
lea rcx, [rbx + 8]
call fcn.140005670
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, edi
lea rdx, str.key__s__i__is_not_a_number_n
mov rcx, rax
mov r8, rbx
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3