joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140045870
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rsi, rcx
mov ebx, r8d
mov rcx, qword [0x1401b6d48]
mov rdi, rdx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400458a5
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1401b6d30]
lea r8, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x38], rcx
mov r9d, 0x28
mov qword [rsp + 0x30], rcx
mov edx, 0x3ffedd6c
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov byte [rsp + 0x60], cl
mov rcx, qword [0x1401b6d28]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x40], eax
call qword [0x1401b70a8]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140045920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x270
mov rbx, rcx
cmp byte [0x1401b6bf2], 0
je 0x140045974
lea rcx, [rsp + 0x50]
call fcn.14004ebd0
nop
lea rcx, [rsp + 0x50]
call fcn.14004ea80
lea rdx, str.windows
lea rcx, [rsp + 0x50]
call fcn.1400507e0
lea rcx, [rsp + 0x50]
call fcn.14004ea40
nop
lea rcx, [rsp + 0x50]
call fcn.1400455a0
lea rcx, [rsp + 0x160]
call fcn.14004ead0
nop
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.1400504a0
nop
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400509b0
lea rdx, [0x1400507a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x30]
call fcn.14004f8f0
lea rcx, [rsp + 0x160]
call fcn.14004ea40
mov ecx, 0x539
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140046930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rdx
mov r14, rcx
xor ebp, ebp
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, 0x10
mov eax, dword [rax + rdi]
cmp dword [0x1401b7278], eax
jle 0x140046a05
lea rcx, [0x1401b7278]
call fcn.140059b14
cmp dword [0x1401b7278], 0xffffffff
jne 0x140046a05
xorps xmm0, xmm0
movups xmmword [0x1401b72a0], xmm0
mov qword [0x1401b72b0], rbp
mov qword [0x1401b72b8], rbp
mov ecx, 0x30
call fcn.140059b8c
mov qword [0x1401b72a0], rax
mov qword [0x1401b72b0], 0x22
mov qword [0x1401b72b8], 0x2f
movups xmm0, xmmword [str.0123456789abcdefghjklmnoprstuvqyzA]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400cb550]
movups xmmword [rax + 0x10], xmm1
movzx edx, word [0x1400cb560]
mov word [rax + 0x20], dx
mov byte [rax + 0x22], bpl
lea rcx, [0x14005bd00]
call fcn.140059df0
nop
lea rcx, [0x1401b7278]
call fcn.140059aa8
mov r15d, 0x13a8
mov eax, dword [r15 + rdi]
mov ecx, 0x20
test al, 1
jne 0x140046a68
or eax, 1
mov dword [r15 + rdi], eax
mov ebx, ecx
add rbx, rdi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov edx, 1
lea r8, [rbx + 8]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140046a40
mov dword [rbx], 0x270
mov eax, dword [r15 + rdi]
mov ebx, 0x18
test al, 2
jne 0x140046a8b
or eax, 2
mov dword [r15 + rdi], eax
mov dword [rbx + rdi], ebp
mov eax, dword [0x1401b72b0]
dec eax
mov dword [rbx + rdi + 4], eax
mov edx, 0x20
test rsi, rsi
cmovne rdx, rsi
mov rcx, r14
call fcn.14004f950
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140046ab1
mov rcx, qword [r14]
mov rdx, rcx
jmp 0x140046ab4
mov rdx, r14
mov r15, rcx
mov r13, qword [r14 + 0x10]
add r13, rdx
cmp rcx, r13
je 0x140046b6f
mov rax, qword gs:[0x58]
mov r12d, ebx
add r12, qword [rax]
mov ebx, 0x20
add rbx, qword [rax]
nop
mov ebp, dword [r12]
btc ebp, 0x1f
mov eax, dword [r12 + 4]
btc eax, 0x1f
sub eax, ebp
mov rcx, rbx
cmp eax, 0xffffffff
jne 0x140046b04
call fcn.140052370
mov ecx, eax
jmp 0x140046b3c
lea edi, [rax + 1]
call fcn.140052370
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140046b38
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140046b38
mov rcx, rbx
call fcn.140052370
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140046b26
shr rcx, 0x20
lea eax, [rcx + rbp]
btc eax, 0x1f
lea rcx, [0x1401b72a0]
cmp qword [0x1401b72b8], 0xf
cmova rcx, qword [0x1401b72a0]
cdqe
movzx ecx, byte [rax + rcx]
mov byte [r15], cl
inc r15
cmp r15, r13
jne 0x140046ae0
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140047640
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
lea rbp, [rax - 0xf8]
sub rsp, 0x1f0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rbx, r8
mov rsi, rcx
lea eax, [rdx + rdx*2]
shl eax, 4
movsxd rdx, eax
add rdx, qword [r8 + 0x20]
lea rcx, [rbp - 0x50]
call fcn.140050f30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbp - 0x70], xmm0
mov rdi, qword [rbx + 0x18]
add rdi, 0x250
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm0
mov rcx, qword [0x1401b6d48]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1400476e2
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor ecx, ecx
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov qword [rsp + 0x48], rdi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x30
mov eax, dword [0x1401b6d30]
mov dword [rsp + 0x40], eax
mov byte [rsp + 0x60], cl
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov r9d, 0x28
lea r8, [rsp + 0x40]
mov edx, 0x3ffedd6c
mov rcx, qword [0x1401b6d28]
call qword [0x1401b70a8]
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140046ce0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
movups xmm8, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140046ce0
movaps xmmword [rbp - 0x50], xmm6
movaps xmmword [rbp - 0x40], xmm7
movaps xmmword [rbp - 0x30], xmm8
movaps xmmword [rbp - 0x20], xmm9
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x60], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.140046e60
movups xmm1, xmmword [rax + 0x30]
movss dword [rsi], xmm1
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
movss dword [rsi + 4], xmm0
shufps xmm1, xmm1, 0xaa
movss dword [rsi + 8], xmm1
mov rcx, rbx
call fcn.140047270
mov rax, rsi
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret
Function at 0x14004c260
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1401b6be0]
xor edi, edi
test rax, rax
je 0x14004c27d
mov rcx, qword [rax + 0xa0]
jmp 0x14004c280
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14004c2a1
test rax, rax
je 0x14004c2a1
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14004c2a1
cmp qword [rcx], rdi
je 0x14004c2a1
call fcn.1400031f0
call fcn.140003bc0
call fcn.14000bc90
mov rax, qword [0x1401b6be0]
mov ecx, 0x2d
or dword [rax + 0x3f90], 2
mov dword [rax + 0x3fb0], 0x44160000
mov dword [rax + 0x3fb4], 0x43eb0000
mov dword [rax + 0x3f98], 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004c2f8
cmp byte [0x14011a20c], dil
sete al
mov byte [0x14011a20c], al
jmp 0x14004c2ff
movzx eax, byte [0x14011a20c]
test al, al
mov rax, qword [0x1401b6be0]
je 0x14004c341
xor edx, edx
mov byte [rax + 0x78], 1
mov r8d, 0xab
lea rcx, [0x14005f27e]
call fcn.140011b60
test al, al
je 0x14004c32b
call fcn.1400459e0
call fcn.140013ed0
mov ecx, 1
call fcn.140007d00
call fcn.14000e510
jmp 0x14004c345
mov byte [rax + 0x78], dil
call fcn.14004a550
mov rcx, qword [0x1401b7168]
mov r9d, 1
movss xmm0, dword [0x1400cbb40]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
call qword [rax + 0x158]
mov rcx, qword [0x1401b7168]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004c3c5
call fcn.14000e890
mov rax, qword [0x1401b6be0]
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140002c20
mov rcx, qword [0x1401b7168]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1401b7168]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004c4b2
mov rcx, qword [0x1401b7168]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004c4b2
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1401b6be0]
test rbx, rbx
je 0x14004c46f
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14004c46f
cmp qword [rbx], rdi
je 0x14004c46f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004c43a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14004c44d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14004c46f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1401b6be0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rdi
mov rcx, qword [0x1401b7168]
lea rdx, [0x1401b6c40]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401b6be0]
mov rbx, qword [rsp + 0x50]
test rax, rax
je 0x14004c4b2
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14004c4b2
cmp qword [rax], rdi
je 0x14004c4b2
add rsp, 0x40
pop rdi
jmp fcn.1400031f0
add rsp, 0x40
pop rdi
ret
Function at 0x14004e440
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x168
lea rdx, str.0123456789
lea rcx, [rsp + 0x68]
call fcn.140046b90
nop
lea rdx, str.___Cheat_active_menu_off_on_key_:_Insert.
lea rcx, [rsp + 0xb8]
call fcn.140046b90
nop
lea rdx, str.____Driver_not_found._Exiting..
lea rcx, [rsp + 0xd8]
call fcn.140046b90
nop
lea rdx, str.____Game_not_found_please_press_F1_in_the_Lobby..
lea rcx, [rsp + 0x98]
call fcn.140046b90
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x138]
call fcn.14004e360
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x118]
call fcn.14004e360
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xf8]
call fcn.14004e360
nop
lea rcx, str.TestEnvironmentD3D11.exe
call fcn.1400457c0
test eax, eax
je 0x14004e5b8
lea rcx, [0x1400cba04]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14004f8c0
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x38]
call fcn.14004f8d0
mov qword [rsp + 0x48], rax
jmp 0x14004e545
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x20], rax
je 0x14004e595
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx edx, byte [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400505e0
nop
mov dword [rsp + 0x30], 0x32
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x88]
call fcn.140051120
mov rcx, rax
call fcn.140051130
nop
jmp 0x14004e538
mov rcx, qword [0x1401b6ce0]
call fcn.140004d60
mov rcx, qword [0x1401b6ce0]
call fcn.140004da0
call fcn.14004c8e0
nop
jmp 0x14004e671
lea rcx, [0x1400cba04]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14004f8c0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call fcn.14004f8d0
mov qword [rsp + 0x58], rax
jmp 0x14004e60d
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
je 0x14004e65d
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400505e0
nop
mov dword [rsp + 0x34], 0x32
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x90]
call fcn.140051120
mov rcx, rax
call fcn.140051130
nop
jmp 0x14004e600
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rsp + 0xf8]
call fcn.14004f8f0
nop
lea rcx, [rsp + 0x118]
call fcn.14004f8f0
nop
lea rcx, [rsp + 0x138]
call fcn.14004f8f0
nop
lea rcx, [rsp + 0x98]
call fcn.14004f8f0
nop
lea rcx, [rsp + 0xd8]
call fcn.14004f8f0
nop
lea rcx, [rsp + 0xb8]
call fcn.14004f8f0
nop
lea rcx, [rsp + 0x68]
call fcn.14004f8f0
nop
add rsp, 0x168
ret
Function at 0x14004e6e0
Capabilities:
Check for debugger via api
Check for outputdebugstring error
Execute command
Log keystrokes via polling
Print debug messages
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea rcx, str.qwertyssddsjdfkjd
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov edx, 0x46
lea rcx, [rsp + 0x28]
call fcn.140046930
nop
lea rcx, [rsp + 0x28]
call fcn.14004f8c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14004e270
nop
lea rcx, str.qwertyssddsjdfkjd
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
movzx eax, ax
test eax, eax
jne 0x14004e755
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
nop
cmp dword [rsp + 0x20], 0
jne 0x14004e778
cmp dword [rsp + 0x20], 1
jne 0x14004e781
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.Using_a_debugger_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14004e7aa
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.14004e270
nop
lea rcx, str.qwertyssddsjdfkjd
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
movzx eax, ax
test eax, eax
jne 0x14004e7cd
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
nop
cmp dword [rsp + 0x20], 0
jne 0x14004e7f0
cmp dword [rsp + 0x20], 1
jne 0x14004e7f9
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, str.Using_a_debugger_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14004e822
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140045610
movzx eax, al
test eax, eax
je 0x14004e832
jmp 0x14004e83e
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [0x1400cba04]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_Please_open_the_game_and_press_F1_in_the_Lobby..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400507e0
nop
xor eax, eax
cmp eax, 1
je 0x14004e87a
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14004e878
jmp 0x14004e87a
jmp 0x14004e85f
lea rcx, str.TestEnvironmentD3D11.exe
call fcn.1400457c0
nop
cmp dword [0x1401b6d30], 0
je 0x14004e8a1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14004e440
nop
lea rcx, [rsp + 0x28]
call fcn.14004f8f0
nop
jmp 0x14004e8b0
xor eax, eax
add rsp, 0x58
ret
Function at 0x14004efd0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14004eff1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14004f01e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004f020
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004f079
test ecx, ecx
jle 0x14004f059
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14004f079
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004f079
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
stosb byte [rdi], al
mov ch, byte [rbp + rbp*4 - 0x527351e6]
lea ebp, [rsi + rbx + 0xe0650f9]
sti
jbe 0x1401331d1
add eax, 0xc061cd4
adc eax, 0x7d06b0fb
mov al, 6
jge 0x1401331a3
insb byte [rdi], dx
mov al, 6
jge 0x1401331a3
insb byte [rdi], dx
ficomp dword [rdi + rcx*8 - 9]
invalid
sti
leave
add eax, 0xf7060cf8
push rbp
test dword [0xf91f2d26], 0x624fd1f
sti
invalid
idiv ecx
adc byte [rsi], al
stc
popfq
add al, 0x1c
stc
lahf
sti
enter 0x61c, 0x61
invalid
Function at 0x14004f0a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14004f0d1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14004f0e8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14004f10b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004f10d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004f149
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004f1de
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14004f184
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14004f1be
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14004f1de
cmp rbx, rax
ja 0x14004f190
test rbx, rbx
je 0x14004f1de
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
invalid
Function at 0x14004f620
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14004f644
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14004f687
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x14004f687
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x14004f7b8
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004f6ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14004f6f5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14004f7bd
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14004f76a
sub eax, 1
je 0x14004f76a
cmp eax, 2
jne 0x14004f7b8
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x14004f7bd
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14004f79b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14004f7b8
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14004f7bd
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret