joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004c54
Capabilities:
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140004c84
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x140004c66
mov rax, r8
ret

Function at 0x14001d8f0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14001d962
cmp ecx, 0x7c
je 0x14001d967
cmp ecx, 0x29
jne 0x14001d972
cmp dword [rbx + 0x1c], 0
jne 0x14001d967
test dword [rbx + 0x80], 0x10000000
je 0x14001da92
cmp ecx, 0x5d
jne 0x14001d939
test dword [rbx + 0x80], 0x10000000
je 0x14001da84
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14001cf5c
mov dil, 1
mov rcx, rbx
call fcn.140020fcc
test dil, dil
je 0x14001d95d
mov rcx, rbx
call fcn.1400210e4
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14001d904
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14001d98f
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140020f74
mov rcx, rbx
call fcn.140020fcc
jmp 0x14001d955
cmp ecx, 0x5c
jne 0x14001d9ed
mov rcx, rbx
call fcn.140020fcc
test byte [rbx + 0x80], 0x80
je 0x14001d9e0
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x14001d9c4
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.140020f74
mov rcx, rbx
call fcn.140020fcc
jmp 0x14001d95d
cmp al, 0x42
jne 0x14001d9e0
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140020f74
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14001d9ba
mov rcx, rbx
call fcn.14001dab0
jmp 0x14001d955
cmp ecx, 0x5b
jne 0x14001da0d
mov rcx, rbx
call fcn.140020fcc
mov rcx, rbx
call fcn.14001e400
cmp dword [rbx + 0x7c], 0x5d
jne 0x14001da84
jmp 0x14001d985
cmp ecx, 0x28
jne 0x14001da30
mov rcx, rbx
call fcn.140020fcc
mov rcx, rbx
call fcn.140021b10
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14001da92
jmp 0x14001d948
cmp ecx, 0x5e
jne 0x14001da3d
lea edx, [rcx - 0x5c]
jmp 0x14001d9b1
cmp ecx, 0x24
jne 0x14001da4a
lea edx, [rcx - 0x21]
jmp 0x14001d9b1
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14001da76
cmp ecx, 0x3f
je 0x14001da76
cmp ecx, 0x7b
je 0x14001da76
cmp ecx, 0x7d
jne 0x14001d924
test dword [rbx + 0x80], 0x10000000
je 0x14001daa0
jmp 0x14001d939
mov edx, 0xa
mov rcx, rbx
call fcn.14001f7ac
int3
mov edx, 4
mov rcx, rbx
call fcn.14001f7ac
int3
mov edx, 5
mov rcx, rbx
call fcn.14001f7ac
int3
mov edx, 6
mov rcx, rbx
call fcn.14001f7ac
int3

Function at 0x140022078
Capabilities:
Encode data using xor

Disassembly:
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp fcn.140004c54
Function at 0x140031de8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [rcx + r8]
movabs r9, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, r9
cmp r8, 8
jb 0x140031df5
mov rax, rdx
ret

Function at 0x1400339cc
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
test r8, r8
je 0x1400339f8
movsx rax, byte [rdx]
movabs r9, 0x100000001b3
imul rcx, r9
dec r8
xor rcx, rax
inc rdx
call fcn.1400339cc
mov rcx, rax
mov rax, rcx
add rsp, 0x28
ret

Function at 0x140040db8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140040de6
xor eax, eax
jmp 0x140040ecc
cmp qword [rcx + 0x68], 0
je 0x140040df7
call fcn.1400235bc
jmp 0x140040ecc
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140040e0e
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140040e10
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140040e42
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400afc40
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140040ec6
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140040e79
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140040ea2
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140099ff0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140040ec6
cmp rsi, rbx
ja 0x140040e80
test rsi, rsi
je 0x140040ec6
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140099ff0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400439ec
Capabilities:
Load windows common language runtime

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp qword [0x140120978], rbx
jne 0x140043a97
and qword [rsp + 0x38], rbx
lea r8, [rsp + 0x38]
lea rdx, [0x1400be378]
lea rcx, [0x1400be388]
call sub.mscoree.dll_CLRCreateInstance
mov ebx, eax
test eax, eax
js 0x140043a97
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
and qword [rsp + 0x30], 0
lea r8, [0x1400be398]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140043a8c
mov rcx, qword [rsp + 0x30]
lea r9, [0x140120978]
lea r8, [0x1400be368]
lea rdx, [0x1400be358]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140043a81
mov rcx, qword [0x140120978]
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 0x140043aa0
Capabilities:
Load windows common language runtime

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp qword [0x140120978], rbx
jne 0x140043aec
lea rax, [0x140120978]
xor edx, edx
lea r9, [0x1400be368]
mov qword [rsp + 0x20], rax
lea r8, [0x1400be358]
lea rcx, str.v2.0.50727
call sub.mscoree.dll_CorBindToRuntime
mov ebx, eax
test eax, eax
js 0x140043aec
mov rcx, qword [0x140120978]
mov rdx, qword [rcx]
call qword [rdx + 0x50]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140045430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140086e80
mov r9, rax
test rax, rax
je 0x14004545a
mov rax, qword [rbx]
mov qword [r9], rax
jmp 0x14004545d
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
lea r8, [0x140044a38]
xor edx, edx
xor ecx, ecx
call fcn.14009aea8
mov qword [rdi], rax
test rax, rax
je 0x140045493
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call fcn.140085508
int3
Function at 0x1400481a4
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 [0x14010d440]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov edi, r9d
mov r14d, r8d
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400481ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x70]
call fcn.1400b02e0
mov r8d, r14d
lea rdx, [0x1400bafd8]
lea rcx, [rbp - 0x70]
call fcn.14003fc00
mov r8, rbx
lea rdx, str..pipe_
lea rcx, [rsp + 0x70]
call fcn.140044238
nop
lea rcx, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], r15w
jne 0x14004822e
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.14004049c
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 r14d, 7
mov qword [rax + 0x18], r14
mov word [rax], r15w
lea rcx, [rsp + 0x70]
call fcn.140021960
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0xa
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova rcx, qword [rsp + 0x50]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1400482bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400482bf
test edi, edi
jg 0x140048283
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
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 [rsi + 8], rax
cmp rax, 0xffffffffffffffff
setne dil
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x14004833e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048339
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004837c
call fcn.140086ebc
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r14
mov word [rsp + 0x50], r15w
mov rcx, rbx
call fcn.140021960
mov al, dil
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140087330
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008deb0
nop
int3
Function at 0x140048384
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.1400031c0
mov r9d, 0x2710
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400481a4
test al, al
je 0x1400484d9
mov rcx, rdi
call fcn.140065bbc
mov rcx, rdi
call fcn.14004e998
mov rcx, rdi
call fcn.14004e384
mov edx, dword [0x14012098c]
test edx, edx
je 0x14004841b
mov r8d, dword [0x140120990]
test r8d, r8d
je 0x14004841b
mov rcx, rdi
call fcn.14004b60c
mov rcx, rdi
call fcn.14004afb4
mov rcx, rdi
call fcn.14004acf0
mov rcx, rdi
call fcn.14004ac50
mov rcx, rdi
call fcn.14004b3c0
mov rcx, rdi
call fcn.14004b57c
mov rcx, rdi
call fcn.14004aa00
call fcn.14004b758
mov ecx, 8
call fcn.140086e80
test rax, rax
je 0x140048462
mov qword [rax], rdi
mov qword [rbp + 0x18], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140044a08]
xor edx, edx
xor ecx, ecx
call fcn.14009aea8
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400484eb
cmp dword [rbp - 0x28], 0
je 0x140048500
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14008612c
test eax, eax
jne 0x140048500
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
jmp 0x1400484ca
mov ecx, dword [0x14010d368]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140048060
cmp byte [0x140120989], 0
je 0x1400484b6
cmp dword [rbp - 0x28], 0
jne 0x1400484fa
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
and dword [rbp - 0x28], 0
mov ecx, 6
call fcn.140085508
nop
call fcn.14009ad44
nop
mov ecx, 1
call fcn.140085508
int3

Function at 0x14004aa00
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 8
call fcn.140086e80
test rax, rax
je 0x14004aa1b
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400448ac]
xor edx, edx
xor ecx, ecx
call fcn.14009aea8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004aa7d
cmp dword [rsp + 0x38], 0
je 0x14004aa72
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14008612c
test eax, eax
jne 0x14004aa72
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.140085508
nop
and dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140085508
int3
Function at 0x14004aa90
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x14010d440]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dil, r8b
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x17], rdx
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
cmp qword [rdx + 0x18], 0xf
jbe 0x14004aadf
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x1f]
call fcn.1400032c8
mov byte [rbp + 0x3f], dil
mov qword [rbp + 0x47], rsi
mov ecx, 0x30
call fcn.140086e80
test rax, rax
je 0x14004ab2b
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [rax + 0x10], xmm1
movdqa xmm0, xmmword [0x1400b6d30]
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x1f], 0
mov byte [rax + 0x20], dil
mov qword [rax + 0x28], rsi
mov qword [rbp + 7], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400448dc]
xor edx, edx
xor ecx, ecx
call fcn.14009aea8
mov qword [rbp - 9], rax
test rax, rax
je 0x14004ac33
mov edi, 0x1000
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x14004ab99
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, rdi
jb 0x14004ab94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ac42
call fcn.140086ebc
cmp dword [rbp - 1], 0
je 0x14004ac28
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.14008612c
test eax, eax
jne 0x14004ac28
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14004abf3
inc rdx
mov rcx, qword [rbx]
cmp rdx, rdi
jb 0x14004abee
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004ac48
mov rcx, r8
call fcn.140086ebc
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140087330
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call fcn.140085508
nop
and dword [rbp - 1], 0
mov ecx, 6
call fcn.140085508
nop
call fcn.14008deb0
nop
call fcn.14008deb0
int3

Function at 0x14004ac50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x140120a20]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.14008528c
test eax, eax
jne 0x14004ace5
cmp dword [0x140120a6c], 0x7fffffff
je 0x14004acd0
lea edx, [rax + 5]
mov rcx, rbx
call fcn.140052d6c
lea rax, [0x14004a660]
mov qword [rsp + 0x50], rax
and dword [rsp + 0x48], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, 8
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140085294
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
int3
mov ecx, 5
call fcn.140085508
int3
Function at 0x14004acf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rbx, [rcx + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140052d2c
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14004adc7
lea rsi, [0x140120a20]
mov qword [rsp + 0x40], rsi
mov rcx, rsi
call fcn.14008528c
test eax, eax
jne 0x14004adec
cmp dword [0x140120a6c], 0x7fffffff
je 0x14004add7
lea edx, [rax + 3]
mov rcx, rdi
call fcn.140052d6c
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rsp + 0x48], eax
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 4
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 8
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
call fcn.140085294
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
int3
mov ecx, 5
call fcn.140085508
int3

Function at 0x14004adf8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
lea r14, [0x140120a20]
mov qword [rbp - 0x30], r14
mov rcx, r14
call fcn.14008528c
test eax, eax
jne 0x14004af08
cmp dword [0x140120a6c], 0x7fffffff
je 0x14004aef3
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.140052d6c
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.SET_GAMEPASS_EXE_PATH
lea rcx, [rbp - 0x28]
call fcn.1400030e0
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14004f548
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 [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x30], 1
jne 0x14004aedb
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14004aec2
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140003390
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14004f608
nop
mov rcx, r14
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop r14
pop rdi
pop rbp
jmp fcn.140085294
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
int3
mov ecx, 5
call fcn.140085508
int3
Function at 0x14004af14
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rdi, [0x140120a20]
mov qword [rsp + 0x48], rdi
mov rcx, rdi
call fcn.14008528c
test eax, eax
jne 0x14004afa7
cmp dword [0x140120a6c], 0x7fffffff
je 0x14004af92
lea edx, [rax + 2]
mov rcx, rbx
call fcn.140052d6c
mov eax, dword [rbx + 0xe0]
mov dword [rsp + 0x50], eax
and dword [rsp + 0x48], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, 4
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140085294
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
int3
mov ecx, 5
call fcn.140085508
int3

Function at 0x14004b2c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, r8
mov esi, edx
mov rdi, rcx
lea r14, [0x140120a20]
mov qword [rsp + 0x38], r14
mov rcx, r14
call fcn.14008528c
xor ebp, ebp
test eax, eax
jne 0x14004b3b3
cmp dword [0x140120a6c], 0x7fffffff
je 0x14004b39e
xor edx, edx
mov rcx, rdi
call fcn.140052d6c
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x98], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x98]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 7
jbe 0x14004b347
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], bp
jne 0x14004b35d
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400031c0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14004f608
nop
mov rcx, r14
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
jmp fcn.140085294
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
int3
mov ecx, 5
call fcn.140085508
int3

Function at 0x14004b4d4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
movzx edi, dl
mov rbx, rcx
lea rsi, [0x140120a20]
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call fcn.14008528c
test eax, eax
jne 0x14004b56e
cmp dword [0x140120a6c], 0x7fffffff
je 0x14004b559
lea edx, [rax + 7]
mov rcx, rbx
call fcn.140052d6c
mov dword [rsp + 0x58], edi
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, 4
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140085294
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
int3
mov ecx, 5
call fcn.140085508
int3
Function at 0x14004b57c
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 8
call fcn.140086e80
test rax, rax
je 0x14004b597
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400449d8]
xor edx, edx
xor ecx, ecx
call fcn.14009aea8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004b5f9
cmp dword [rsp + 0x38], 0
je 0x14004b5ee
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14008612c
test eax, eax
jne 0x14004b5ee
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.140085508
nop
and dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140085508
int3

Function at 0x14004b60c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x40
mov edi, r8d
mov esi, edx
mov rbx, rcx
lea r14, [0x140120a20]
mov qword [rax + 0x20], r14
mov rcx, r14
call fcn.14008528c
test eax, eax
jne 0x14004b6df
cmp dword [0x140120a6c], 0x7fffffff
je 0x14004b6ca
lea edx, [rax + 9]
mov rcx, rbx
call fcn.140052d6c
mov dword [rsp + 0x30], esi
and dword [rsp + 0x68], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov esi, 4
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x30], edi
and dword [rsp + 0x68], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, r14
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
jmp fcn.140085294
mov dword [0x140120a6c], 0x7ffffffe
mov ecx, 6
call fcn.140085508
int3
mov ecx, 5
call fcn.140085508
int3