joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040dbc
Capabilities:
Load windows common language runtime

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp qword [0x1401224e0], rbx
jne 0x140040e68
and qword [rsp + 0x38], rbx
lea r8, [rsp + 0x38]
lea rdx, [0x1400f4218]
lea rcx, [0x1400f4208]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
mov ebx, eax
test eax, eax
js 0x140040e68
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
and qword [rsp + 0x30], 0
lea r8, [0x1400f41f8]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140040e5d
mov rcx, qword [rsp + 0x30]
lea r9, [0x1401224e0]
lea r8, [0x1400f41e8]
lea rdx, [0x1400f41d8]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140040e52
mov rcx, qword [0x1401224e0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140040e70
Capabilities:
Load windows common language runtime

Disassembly:
sub rsp, 0x38
cmp qword [0x1401224e0], 0
jne 0x140040ecb
call fcn.140040dbc
test eax, eax
jns 0x140040ecb
cmp qword [0x1401224e0], 0
jne 0x140040ecb
lea rax, [0x1401224e0]
xor edx, edx
lea r9, [0x1400f41e8]
mov qword [rsp + 0x20], rax
lea r8, [0x1400f41d8]
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x140040ed2
mov rcx, qword [0x1401224e0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
add rsp, 0x38
ret
xor r9d, r9d
lea r8, [0x1400f3b28]
lea rdx, [0x1400f3b40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x140040ecd
Function at 0x140041c0c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov edi, 0x2710
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140041c57
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x70]
call fcn.1400abfe0
mov r8d, esi
lea rdx, [0x1400f0738]
lea rcx, [rbp - 0x70]
call fcn.14003e2a8
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 9
jb 0x140041e24
mov rax, rbx
mov esi, 7
cmp qword [rbx + 0x18], rsi
jbe 0x140041ca7
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 9
lea r9, str..pipe_
lea rcx, [rsp + 0x70]
call fcn.14003e808
nop
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140041cd4
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14003e920
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rsi
mov word [rax], r15w
lea rcx, [rsp + 0x70]
call fcn.1400186c8
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0xa
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], rsi
cmova rcx, qword [rsp + 0x50]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140041d61
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140041d61
test edi, edi
jg 0x140041d25
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], rsi
cmova rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r14 + 8], rax
cmp rax, 0xffffffffffffffff
setne dil
mov rdx, qword [rsp + 0x68]
cmp rdx, rsi
jbe 0x140041de0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041ddb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041e1e
call fcn.140082b60
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x50], r15w
mov rcx, rbx
call fcn.1400186c8
mov al, dil
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140082b40
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140089c50
nop
call fcn.1400017e4
int3
Function at 0x140041e2c
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [r11 - 0x18]
and dword [rsp + 0x30], 0
mov rbx, rdx
and qword [r11 - 0x28], 0
lea rdx, [r11 - 0x14]
mov rdi, rcx
mov dword [rsp + 0x34], eax
mov rcx, qword [rcx + 8]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x140041e74
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140041ec3
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140041ebe
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041ede
mov rcx, r8
call fcn.140082b60
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.140089c50
int3

Function at 0x140041ee4
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [r11 - 0x18]
and dword [rsp + 0x30], 0
add eax, eax
and qword [r11 - 0x28], 0
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x34], eax
mov rcx, qword [rcx + 8]
lea rdx, [r11 - 0x14]
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 7
jbe 0x140041f35
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call fcn.1400186c8
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140041fd0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor esi, esi
mov edi, esi
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0x70]
call fcn.1400510f0
nop
lea r8d, [rsi + 0xe]
lea rdx, str.debug_log.txt
mov rcx, rax
call fcn.14003e920
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or edi, 2
lea rcx, [rbp + 0x70]
call fcn.1400186c8
lea rdx, [rbp + 0x90]
lea rcx, [0x140122e50]
call fcn.14004a70c
mov rbx, rax
or edi, 1
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14004a8ac
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x3c], edx
cmp qword [rbp - 0x38], rsi
jne 0x1400420e1
lea rcx, [rbp - 0x18]
call fcn.14003de78
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140081848
nop
jmp 0x14004214a
lea rcx, [rsp + 0x40]
call fcn.14003e360
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140042110
lea r8, [rax + rax]
cmp qword [rbx + 0x18], 7
jbe 0x140042102
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14004a5c0
nop
lea rcx, [rbp - 0x18]
call fcn.14003de78
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140081848
nop
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov bl, 1
jne 0x14004214d
mov bl, sil
test dil, 1
je 0x14004215f
lea rcx, [rbp + 0x90]
call fcn.1400186c8
test bl, bl
je 0x140042191
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r8, qword [rbp + 0x50]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x1400421cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400421c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421f5
call fcn.140082b60
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140082b40
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140089c50
int3
Function at 0x140043ee4
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
mov rdi, qword [rcx]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140043f28
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140043f5b
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbx
call fcn.140003d9c
jmp 0x140044070
mov ecx, 0x208
mov r13d, 1
call fcn.1400831b4
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
lea r12, [r14 + 8]
mov r14d, 0x104
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140043fa1
mov rax, qword [rdi]
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140043fae
mov r8, qword [rsi]
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140043fbb
mov rdx, qword [r15]
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x140043fca
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r14 - 1]
cmp eax, ecx
jb 0x14004404a
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140043ff2
mov rcx, qword [rsi]
mov rax, rbp
sub rcx, rbp
movzx edx, word [rax]
movzx r8d, word [rax + rcx]
sub edx, r8d
jne 0x14004400e
add rax, 2
test r8d, r8d
jne 0x140043ff8
test edx, edx
je 0x14004404a
mov rcx, rbp
call fcn.140082b60
inc r13d
imul r14d, r13d, 0x104
mov ecx, r14d
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400831b4
mov rbp, rax
jmp 0x140043f94
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.140017c48
mov rcx, rbp
call fcn.140082b60
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140082b40
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140044270
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x8f8
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
call fcn.14005d6b8
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x800
call fcn.1400abfe0
mov r8d, 0x400
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.1400abfe0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor edx, edx
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14004433a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call fcn.1400971bc
int3
Function at 0x1400452ec
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor ebp, ebp
lea rbx, [rcx + 0x80]
mov rcx, rbx
call fcn.14005f75c
mov ecx, dword [rbx + 0x60]
test ecx, ecx
je 0x140045338
cmp dword [0x140122e38], ecx
je 0x140045336
mov dword [0x140122e38], ecx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14004535a
test ecx, ecx
setne al
mov byte [rbx + 0xa8], al
test ecx, ecx
je 0x14004535a
cmp qword [rdi + 0xe8], 0x10000
jae 0x14004535a
mov rcx, rbx
call fcn.14005fcbc
mov eax, dword [rdi + 0x330]
cmp byte [rdi + 0x128], bpl
je 0x140045493
cmp eax, 1
je 0x1400454cc
mov dword [rdi + 0x330], 1
call fcn.140043344
test al, al
je 0x1400454e1
cmp byte [rdi + 0x4b8], bpl
jne 0x1400454e9
mov byte [rdi + 0x4b8], 1
cmp qword [0x140123028], rbp
je 0x1400453d7
lea rbx, [rdi + 0x80]
mov rcx, rbx
call fcn.14005fc7c
mov rcx, rbx
call fcn.14005fcbc
mov rcx, qword [0x140123028]
test rcx, rcx
je 0x1400454ef
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.140048acc
mov rcx, rdi
call fcn.140048424
lea rcx, [rdi + 0x10]
call fcn.14005cd94
test al, al
je 0x1400454e1
lea rcx, [rdi + 0x10]
call fcn.14005ce5c
lea rbx, [rdi + 0x550]
cmp byte [rbx + 8], bpl
jne 0x140045487
cmp qword [rbx + 0x18], rbp
je 0x140045487
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140082b94
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14004c278]
xor edx, edx
xor ecx, ecx
call fcn.140096bb4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140045500
cmp dword [rsp + 0x38], ebp
je 0x1400454f5
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140081ed0
test eax, eax
jne 0x1400454f5
mov dl, 1
mov rcx, rdi
call fcn.140048acc
jmp 0x1400454cc
test eax, eax
je 0x1400454cc
mov dword [rdi + 0x330], ebp
mov rcx, rdi
call fcn.140048424
mov byte [rdi + 0x558], bpl
mov ebx, 0x1388
jmp 0x1400454c3
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0x32
js 0x1400454cc
cmp byte [rdi + 0x559], bpl
jne 0x1400454b3
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.1400971bc
int3
call fcn.140044270
int3
call fcn.140080a1c
nop
mov ecx, 1
call fcn.140081a60
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140081a60
int3
Function at 0x140048220
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
lea rbx, [rcx + 0x578]
mov rdi, rcx
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.14004f708
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400482e7
lea rcx, [0x140122b80]
call fcn.140081b10
test eax, eax
jne 0x140048307
cmp dword [0x140122bcc], 0x7fffffff
je 0x1400482f2
lea edx, [rax + 3]
mov rcx, rdi
call fcn.14004f88c
mov eax, dword [rbx + 8]
lea r9, [rsp + 0x40]
sub eax, dword [rbx]
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
mov r8d, 4
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x48]
and dword [rsp + 0x40], 0
mov r8d, 8
and qword [rsp + 0x20], 0
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140122b80]
call fcn.140081b18
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 6
mov dword [0x140122bcc], 0x7ffffffe
call fcn.140081a60
int3
mov ecx, 5
call fcn.140081a60
int3

Function at 0x140048424
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x140122b80]
call fcn.140081b10
test eax, eax
jne 0x1400484a9
cmp dword [0x140122bcc], 0x7fffffff
je 0x140048494
lea edx, [rax + 2]
mov rcx, rbx
call fcn.14004f88c
mov eax, dword [rbx + 0xe0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
and dword [rsp + 0x48], 0
mov r8d, 4
and qword [rsp + 0x20], 0
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140122b80]
add rsp, 0x30
pop rbx
jmp fcn.140081b18
mov ecx, 6
mov dword [0x140122bcc], 0x7ffffffe
call fcn.140081a60
int3
mov ecx, 5
call fcn.140081a60
int3

Function at 0x140048964
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
movzx edi, dl
lea rcx, [0x140122b80]
call fcn.140081b10
test eax, eax
jne 0x1400489ef
cmp dword [0x140122bcc], 0x7fffffff
je 0x1400489da
lea edx, [rax + 7]
mov rcx, rbx
call fcn.14004f88c
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x50]
and dword [rsp + 0x50], 0
lea rdx, [rsp + 0x58]
and qword [rsp + 0x20], 0
mov r8d, 4
mov dword [rsp + 0x58], edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140122b80]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140081b18
mov ecx, 6
mov dword [0x140122bcc], 0x7ffffffe
call fcn.140081a60
int3
mov ecx, 5
call fcn.140081a60
int3
Function at 0x1400489fc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov edi, r8d
lea rcx, [0x140122b80]
mov esi, edx
call fcn.140081b10
test eax, eax
jne 0x140048abf
cmp dword [0x140122bcc], 0x7fffffff
je 0x140048aaa
lea edx, [rax + 9]
mov rcx, rbx
call fcn.14004f88c
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
and dword [rsp + 0x68], 0
lea rdx, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x30], esi
mov esi, 4
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
and dword [rsp + 0x68], 0
lea rdx, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov r8d, esi
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140122b80]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.140081b18
mov ecx, 6
mov dword [0x140122bcc], 0x7ffffffe
call fcn.140081a60
int3
mov ecx, 5
call fcn.140081a60
int3

Function at 0x140048acc
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
movzx edi, dl
mov rbx, rcx
lea r14, [0x140122b80]
mov qword [rbp + 0x30], r14
mov rcx, r14
call fcn.140081b10
test eax, eax
jne 0x140048bc7
cmp dword [0x140122bcc], 0x7fffffff
je 0x140048bb2
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.14004f88c
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.TRAINER_INITIALIZE
lea rcx, [rbp - 0x20]
call fcn.140010a64
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140041e2c
and dword [rbp + 0x30], 0
and dword [rbp + 0x38], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x30]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x30], 1
jne 0x140048b9d
mov dword [rbp + 0x38], edi
and dword [rbp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x30]
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, r14
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rdi
pop rbp
jmp fcn.140081b18
mov dword [0x140122bcc], 0x7ffffffe
mov ecx, 6
call fcn.140081a60
int3
mov ecx, 5
call fcn.140081a60
int3
Function at 0x140048bd4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14010e0c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov qword [rbp + 0xf], rdx
mov qword [rbp + 0x17], r8
mov qword [rbp + 0x1f], r9
mov r14, qword [0x1401224e8]
lea r12, [0x140122b80]
mov qword [rbp + 7], r12
mov rcx, r12
call fcn.140081b10
test eax, eax
jne 0x140048db0
cmp dword [0x140122bcc], 0x7fffffff
je 0x140048d9b
lea edx, [rax + 0xa]
mov rcx, r14
call fcn.14004f88c
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.CUSTOM_INIT_MESSAGE
lea rcx, [rbp - 0x19]
call fcn.140010a64
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140041e2c
and dword [rbp - 0x29], 0
and dword [rbp - 0x21], 0
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x21]
mov r8d, 4
lea rdx, [rbp - 0x29]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp - 0x29], 1
jne 0x140048d55
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140048ccd
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140019e88
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140041ee4
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140048d04
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140019e88
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140041ee4
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140048d3b
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140019e88
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140041ee4
nop
mov rcx, r12
call fcn.140081b18
nop
mov rcx, rbx
call fcn.1400186c8
nop
mov rcx, rsi
call fcn.1400186c8
nop
mov rcx, rdi
call fcn.1400186c8
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140082b40
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [0x140122bcc], 0x7ffffffe
mov ecx, 6
call fcn.140081a60
int3
mov ecx, 5
call fcn.140081a60
int3
Function at 0x140049b44
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
mov rdi, qword [0x1401224e8]
lea r14, [0x140122b80]
mov qword [rbp + 0x38], r14
mov rcx, r14
call fcn.140081b10
test eax, eax
jne 0x140049c5a
cmp dword [0x140122bcc], 0x7fffffff
je 0x140049c45
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.14004f88c
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.SET_GAMEPASS_EXE_PATH
lea rcx, [rbp - 0x20]
call fcn.140010a64
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140041e2c
and dword [rbp + 0x20], 0
and dword [rbp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x30]
mov r8d, 4
lea rdx, [rbp + 0x20]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x20], 1
jne 0x140049c30
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140049c17
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140019e88
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140041ee4
nop
mov rcx, r14
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rbp
jmp fcn.140081b18
mov dword [0x140122bcc], 0x7ffffffe
mov ecx, 6
call fcn.140081a60
int3
mov ecx, 5
call fcn.140081a60
int3