joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004530
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax + rax]
mov r9, qword [r11 + 0x30]
xor ebp, ebp
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1400045d8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400045d8
mov edi, dword [rbx + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400045d3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1400045b0
cmp edx, 0x21ddcd8b
je 0x1400046bb
test r8d, r8d
jne 0x140004590
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1400045ed
cmp qword [rax + 0x30], rbp
jne 0x140004560
mov rax, rbp
xor ecx, ecx
call rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140004684
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140004684
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14000467f
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140004660
cmp edx, 0x5056df37
je 0x1400046d7
test r8d, r8d
jne 0x140004640
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140004699
cmp qword [rax + 0x30], rbp
jne 0x140004610
mov rax, rbp
call rax
mov rbx, qword [rsp + 0x30]
test eax, eax
mov rsi, qword [rsp + 0x40]
setne bpl
mov eax, ebp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1400045f0
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x14000469c
Function at 0x1400049c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140004a88
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140004a88
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140004a83
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140004a60
cmp edx, 0x4cfe97c1
je 0x140004b4b
test r8d, r8d
jne 0x140004a40
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140004a9d
cmp qword [rax + 0x30], r14
jne 0x140004a10
mov rbp, r14
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140004b34
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140004b34
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004b2f
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140004b10
cmp edx, 0x6dd8a845
je 0x140004b67
test r8d, r8d
jne 0x140004af0
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140004b7f
cmp qword [rax + 0x30], r14
jne 0x140004ac0
jmp 0x140004b7f
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov ebp, dword [rcx + rdx*4]
add rbp, r9
jmp 0x140004aa0
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov r14d, dword [rcx + rdx*4]
add r14, r9
call r14
lea rdx, [rsp + 0x20]
mov rcx, rax
call rbp
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400beaa0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140004bc0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov r11, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [r11 + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x140004c98
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x140004c98
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x140004c93
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140004c70
cmp edx, 0x9bc5a608
je 0x140004dbe
test r8d, r8d
jne 0x140004c50
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x140004cae
cmp qword [rax + 0x30], 0
jne 0x140004c20
xor eax, eax
call rax
mov dword [rsp + 0x50], 0x100010
mov rbp, rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rsi, qword [rax]
mov rbx, rsi
nop dword [rax]
nop dword [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140004d58
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140004d58
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x140004d53
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140004d30
cmp edx, 0x85cca27e
je 0x140004dda
test r8d, r8d
jne 0x140004d10
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x140004d6e
cmp qword [rax + 0x30], 0
jne 0x140004ce0
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call rax
test eax, eax
je 0x140004df8
cmp qword [rsp + 0x68], 0
jne 0x140004db7
cmp qword [rsp + 0x70], 0
jne 0x140004db7
cmp qword [rsp + 0x78], 0
jne 0x140004db7
cmp qword [rsp + 0x80], 0
jne 0x140004db7
cmp qword [rsp + 0x88], 0
jne 0x140004db7
cmp qword [rsp + 0x90], 0
je 0x140004df8
mov eax, 1
jmp 0x140004dfa
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140004cb0
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x140004d70
xor eax, eax
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1400beaa0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140004e30
Capabilities:
Create thread
Terminate process

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.1400046f0
call fcn.1400049c0
test eax, eax
jne 0x140004f08
call fcn.140004bc0
test eax, eax
jne 0x140004f08
call fcn.140004530
call fcn.140003260
mov ecx, 8
call fcn.1400bebe0
lea rcx, [0x140003790]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140005180]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140004ef4
cmp dword [rsp + 0x38], 0
je 0x140004ee8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140004ee8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400beaa0
add rsp, 0x68
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400050b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400bebe0
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140005180]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140005129
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400beaa0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140005af0
Capabilities:
Execute command

Disassembly:
mov r11, rsp
sub rsp, 0x88
movabs rcx, 0x31c338742253d1c6
movabs rax, 0x54ebeea67c3233d1
mov qword [r11 - 0x68], rax
movabs rax, 0x1b324ff76e4ea0b2
mov qword [r11 - 0x60], rax
movabs rax, 0x5dcb7f620ad69db7
mov qword [r11 - 0x58], rax
movabs rax, 0xa2702842862ecdc2
mov qword [r11 - 0x50], rax
movabs rax, 0xe91ddb495c6b3bf8
mov qword [r11 - 0x48], rax
movabs rax, 0x388787cd174152a5
mov qword [r11 - 0x40], rcx
movdqa xmm0, xmmword [rsp + 0x20]
movdqa xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x3b5f26d84e288f92
mov qword [rsp + 0x58], rax
movabs rax, 0x7dae070724a4eec7
xorps xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], rax
movabs rax, 0x844e1a62ea5ba3fc
mov qword [rsp + 0x68], rax
movabs rax, 0xe91ddb495c6b3bc9
xorps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x78], rcx
lea rcx, [r11 - 0x68]
mov qword [rsp + 0x70], rax
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x30], xmm1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x1400e8fc0], 0
je 0x140005ca8
lea rcx, [0x1400e8db0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140005c05
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1400e8dfc], 0x7fffffff
jne 0x140005c27
mov ecx, 6
mov dword [0x1400e8dfc], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rax, qword [0x1400e8e10]
mov qword [rsp + 0x80], rbx
mov byte [rax + 2], 8
call fcn.140005ce0
mov rbx, qword [0x1400e8e10]
cmp byte [rbx + 1], 0
jne 0x140005c68
nop dword [rax]
xor edx, edx
lea ecx, [rdx + 0xa]
call qword [sym.imp.KERNEL32.dll_SleepEx]
mov rbx, qword [0x1400e8e10]
cmp byte [rbx + 1], 0
je 0x140005c50
mov edx, 0x58
mov byte [0x1400e8f10], 1
mov rcx, rbx
call fcn.1400bee5c
test rbx, rbx
mov rbx, qword [rsp + 0x80]
je 0x140005c94
mov qword [0x1400e8e10], 0x8123
lea rcx, [0x1400e8db0]
mov byte [0x1400e8fc0], 0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
add rsp, 0x88
ret

Function at 0x140006160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.1400021d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000618b
mov dword [rsp + 0x20], 1
jmp 0x140006193
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140006e10
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x38], al
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x40], al
movabs rax, 0x38eee9a4393837ce
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
movabs rax, 0x3b5f26d84e288f92
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
movabs rax, 0x388787cd174152a5
mov qword [rsp + 0x200], rax
movabs rax, 0x3b5f26d84e288f92
mov qword [rsp + 0x208], rax
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x48], al
movdqa xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x50]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0xa0], xmm0
movdqa xmm0, xmmword [rsp + 0xa0]
xorps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0x50]
movdqa xmm0, xmmword [rsp + 0xc0]
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1400e8f40]
call fcn.140005310
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x78], rax
lea rdx, [0x1400e8f40]
mov rcx, qword [rsp + 0x78]
call fcn.1400022e0
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400069d0
movzx eax, al
test eax, eax
je 0x140006fa0
lea rcx, [0x1400e8f40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [0x1400e8f40]
lea rcx, [rsp + 0xf0]
call fcn.14001ec00
nop
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0xf0]
call fcn.1400222d0
lea rcx, [rsp + 0xf0]
call fcn.14001eb10
nop
lea rax, [rsp + 0x198]
mov rcx, rax
call fcn.14001eb70
lea rax, [rsp + 0x198]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x230]
call fcn.140002280
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400beaa0
add rsp, 0x220
pop rdi
ret
Function at 0x14000caf0
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x50], 0
cmp dword [rsp + 0x90], 0
jl 0x14000cb49
cmp dword [rsp + 0x90], 0x7c
jge 0x14000cb49
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x90]
lea rcx, str.Press_any_key..
call fcn.14000cab0
lea rcx, [rsp + 0x58]
call fcn.140006090
nop
cmp qword [rsp + 0x50], 0
jne 0x14000cb86
lea rcx, str.Select_Key
call fcn.1400024a0
mov rcx, rax
call fcn.140001540
mov r8, rax
lea rdx, str.Select_Key
lea rcx, [rsp + 0x58]
call fcn.140021780
jmp 0x14000cbb4
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400024a0
mov rcx, rax
call fcn.140001540
mov r8, rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140021780
cmp dword [rsp + 0xa0], 1
jne 0x14000cbe6
lea rcx, str.Press_the_Key
call fcn.1400024a0
mov rcx, rax
call fcn.140001540
mov r8, rax
lea rdx, str.Press_the_Key
lea rcx, [rsp + 0x58]
call fcn.140021780
movss xmm0, dword [0x1400d7628]
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [0x1400d75d0]
movss dword [rsp + 0x3c], xmm0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
call fcn.1400021d0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.140056f50
movzx eax, al
test eax, eax
je 0x14000cc62
cmp dword [rsp + 0xa0], 0
jne 0x14000cc62
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x58]
call fcn.140002280
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400beaa0
add rsp, 0x88
ret
Function at 0x14001f240
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x68], 0
je 0x14001f279
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
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 0x14001f3c3
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
cmp qword [rax], 0
je 0x14001f2a3
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x14001f2ab
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x60], 0
jle 0x14001f36b
cmp qword [rsp + 0x28], 0
jle 0x14001f36b
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x60], rax
jge 0x14001f2e3
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.1400024c0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x58]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x58]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
mov qword [rcx], rax
cmp qword [rsp + 0x60], 0
jle 0x14001f3b3
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x80], 0
je 0x14001f3b3
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x60]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x48
ret
Function at 0x140020fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1400e7080]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14002101d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140021024
mov al, 1
jmp 0x14002117c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140002480
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140002480
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140002490
movzx eax, al
test eax, eax
je 0x140021079
xor al, al
jmp 0x14002117c
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400210e9
cmp dword [rsp + 0x30], 1
je 0x1400210f5
cmp dword [rsp + 0x30], 3
je 0x14002116a
jmp 0x14002117a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140021141
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140021141
xor al, al
jmp 0x14002117c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14002115b
mov dword [rsp + 0x34], 1
jmp 0x140021163
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14002117c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14002117c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400beaa0
add rsp, 0xa8
ret