joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051ac0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
lea rdx, [0x140126bf0]
lea rcx, [0x140126810]
call fcn.14004ba5c
lea rcx, [rbp - 0x28]
call fcn.140059dc0
mov rbx, rax
lea rcx, [0x140126b30]
xor esi, esi
cmp rcx, rax
je 0x140051b3c
call fcn.140025108
movups xmm0, xmmword [rbx]
movups xmmword [0x140126b30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140126b40], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea rcx, [rbp - 0x28]
call fcn.140025108
lea r14, [0x140126d10]
mov qword [rbp - 0x30], r14
mov rcx, r14
call fcn.1400898ec
test eax, eax
jne 0x140051c60
cmp dword [0x140126d5c], 0x7fffffff
je 0x140051c4b
lea ebx, [rax + 0xa]
mov edx, ebx
mov rcx, rdi
call fcn.140056608
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
movsd xmm0, qword [str.TRAINER_ID]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x1400c3fc8]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], sil
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14005289c
mov dword [rbp - 0x40], esi
mov dword [rbp - 0x38], esi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x38]
lea r8d, [rbx - 6]
lea rdx, [rbp - 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp - 0x40], 1
jne 0x140051c22
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
lea rdx, [0x140126c10]
cmp qword [0x140126c28], 0xf
cmova rdx, qword [0x140126c10]
mov r8, qword [0x140126c20]
lea rcx, [rbp - 0x28]
call fcn.1400035d0
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14005289c
nop
mov rcx, r14
call fcn.1400898f4
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14008bf00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [0x140126d5c], 0x7ffffffe
mov ecx, 6
call fcn.140089b68
int3
mov ecx, 5
call fcn.140089b68
int3
Function at 0x140051c6c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
mov ebx, esi
mov dword [rbp - 0x19], ebx
call fcn.14005a070
test al, al
je 0x140051db9
lea rcx, [rbp + 0x2f]
call fcn.140059d08
nop
lea r8d, [rsi + 0xe]
lea rdx, str.debug_log.txt
mov rcx, rax
call fcn.14002549c
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or ebx, 2
lea rcx, [rbp + 0x2f]
call fcn.140025108
lea rdx, [rbp + 0xf]
lea rcx, [0x140115bf8]
call fcn.140056180
or ebx, 4
or ebx, 1
mov dword [rbp - 0x19], ebx
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.1400527b8
test al, al
je 0x140051d39
lea rcx, [rbp - 0x11]
call fcn.14005a174
test al, al
mov dil, 1
jne 0x140051d3c
mov dil, sil
test bl, 1
je 0x140051d4a
lea rcx, [rbp + 0xf]
call fcn.140025108
test dil, dil
je 0x140051d7d
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova r8, qword [rbp - 0x11]
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 + 7]
cmp rdx, 7
jbe 0x140051db9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051db4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051dde
call fcn.14008ba88
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14008bf00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140092a80
int3
Function at 0x14005289c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rdx
cmp qword [rdx + 0x10], 0
jne 0x1400528fe
mov edx, 1
cmp qword [rbx + 0x18], rdx
jb 0x1400528ea
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400528df
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax], 0x20
jmp 0x1400528fe
lea r9, [0x1400bad9c]
mov r8b, byte [rsp + 0x30]
mov rcx, rbx
call fcn.140005d10
and dword [rsp + 0x34], 0
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x38], eax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, 4
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140052937
mov rdx, qword [rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov r8d, dword [rbx + 0x10]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140052987
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140052982
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400529af
mov rcx, r8
call fcn.14008ba88
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14008bf00
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.140092a80
int3

Function at 0x1400529b8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rdx
cmp qword [rdx + 0x10], 0
jne 0x1400529f2
lea rdx, [0x1400baeec]
mov rcx, rbx
call fcn.140025588
and dword [rsp + 0x30], 0
mov eax, dword [rbx + 0x10]
add eax, eax
mov dword [rsp + 0x34], eax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 4
lea rdx, [rsp + 0x34]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
add r8d, r8d
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140052a34
mov rdx, qword [rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rbx
call fcn.140025108
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008bf00
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140053428
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 0x14005349b
cmp ecx, 0x7c
je 0x1400534a0
cmp ecx, 0x29
jne 0x1400534ab
cmp dword [rbx + 0x1c], 0
jne 0x1400534a0
test dword [rbx + 0x80], 0x10000000
je 0x1400535ce
cmp ecx, 0x5d
jne 0x140053471
test dword [rbx + 0x80], 0x10000000
je 0x1400535c0
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140052a6c
mov dil, 1
mov rcx, rbx
call fcn.140055580
test dil, dil
je 0x140053496
mov rcx, rbx
call fcn.1400555f4
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14005343c
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x1400534c8
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400243e0
mov rcx, rbx
call fcn.140055580
jmp 0x14005348e
cmp ecx, 0x5c
jne 0x140053529
mov rcx, rbx
call fcn.140055580
test byte [rbx + 0x80], 0x80
je 0x14005351c
cmp word [rbx + 0x78], 0x62
jne 0x1400534fd
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1400243e0
mov rcx, rbx
call fcn.140055580
jmp 0x140053496
cmp word [rbx + 0x78], 0x42
jne 0x14005351c
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400243e0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x1400534f3
mov rcx, rbx
call fcn.1400535ec
jmp 0x14005348e
cmp ecx, 0x5b
jne 0x140053549
mov rcx, rbx
call fcn.140055580
mov rcx, rbx
call fcn.1400538f0
cmp dword [rbx + 0x7c], 0x5d
jne 0x1400535c0
jmp 0x1400534be
cmp ecx, 0x28
jne 0x14005356c
mov rcx, rbx
call fcn.140055580
mov rcx, rbx
call fcn.140055bd0
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1400535ce
jmp 0x140053481
cmp ecx, 0x5e
jne 0x140053579
lea edx, [rcx - 0x5c]
jmp 0x1400534ea
cmp ecx, 0x24
jne 0x140053586
lea edx, [rcx - 0x21]
jmp 0x1400534ea
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400535b2
cmp ecx, 0x3f
je 0x1400535b2
cmp ecx, 0x7b
je 0x1400535b2
cmp ecx, 0x7d
jne 0x14005345c
test dword [rbx + 0x80], 0x10000000
je 0x1400535dc
jmp 0x140053471
mov edx, 0xa
mov rcx, rbx
call fcn.140022b20
int3
mov edx, 4
mov rcx, rbx
call fcn.140022b20
int3
mov edx, 5
mov rcx, rbx
call fcn.140022b20
int3
mov edx, 6
mov rcx, rbx
call fcn.140022b20
int3

Function at 0x140055d2c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140047d56
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140047d39
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140047d24
Function at 0x140055f58
Capabilities:
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 [0x140113440]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, r9
mov r12, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
mov rdi, qword [rsp + 0xe0]
xor ebp, ebp
call fcn.14005a174
test al, al
jne 0x140055fc2
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
lea r8d, [rbp + 0x19]
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbx
call fcn.1400034c8
jmp 0x1400560ce
mov ecx, 0x208
mov r13d, 1
call fcn.14008c12c
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1400bbea0]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bp
mov ebp, 0x104
mov rax, r14
cmp qword [r14 + 0x18], 7
jbe 0x140056002
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14005600f
mov r8, qword [rdi]
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x14005601c
mov rdx, qword [r15]
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14005602b
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [rbp - 1]
cmp eax, ecx
jb 0x1400560a8
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140056051
mov rcx, qword [rdi]
mov rax, rsi
sub rcx, rsi
movzx edx, word [rax]
movzx r8d, word [rax + rcx]
sub edx, r8d
jne 0x14005606d
add rax, 2
test r8d, r8d
jne 0x140056057
test edx, edx
je 0x1400560a8
mov rcx, rsi
call fcn.14008ba88
inc r13d
imul ebp, r13d, 0x104
mov ecx, ebp
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14008c12c
mov rsi, rax
jmp 0x140055ff5
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140025588
mov rcx, rsi
call fcn.14008ba88
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.14008bf00
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14005653c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov ebx, ecx
mov r14, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400565af
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov qword [r14], rcx
test rbx, rbx
je 0x1400565af
test eax, eax
je 0x1400565af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x1400565b1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140056608
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
sub rsp, 0x38
and dword [rax + 0x10], 0
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
mov r8d, 4
mov rcx, qword [rcx + 8]
mov dword [rax + 8], edx
lea rdx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rsp, 0x38
ret

Function at 0x140059d08
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140059d67
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400034c8
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x1400c4780]
mov rcx, rbx
call fcn.14002549c
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14008bf00
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret

Function at 0x140059dc0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x24], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
xor r8d, r8d
lea rdx, [0x1400baee8]
call fcn.1400034c8
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400b4eb0
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140059eec
cmp eax, ebx
je 0x140059eec
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x140059eec
mov ecx, r14d
call fcn.14008c12c
mov rdi, rax
mov qword [rsp + 0x40], rax
and qword [rsp + 0x30], 0
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.1400b4eb0
and dword [rsp + 0x28], 0
mov r9, rdi
mov r8d, r14d
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140059edf
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductVersion
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140059edf
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140025588
nop
test rdi, rdi
je 0x140059eec
mov rcx, rdi
call fcn.14008ba88
mov rax, rsi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14008bf00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140059f18
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x24], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
xor r8d, r8d
lea rdx, [0x1400baee8]
call fcn.1400034c8
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1400b4eb0
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14005a044
cmp eax, ebx
je 0x14005a044
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x14005a044
mov ecx, r14d
call fcn.14008c12c
mov rdi, rax
mov qword [rsp + 0x40], rax
and qword [rsp + 0x30], 0
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.1400b4eb0
and dword [rsp + 0x28], 0
mov r9, rdi
mov r8d, r14d
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14005a037
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductName
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14005a037
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140025588
nop
test rdi, rdi
je 0x14005a044
mov rcx, rdi
call fcn.14008ba88
mov rax, rsi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14008bf00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp - 8], rax
xor edi, edi
lea rcx, [rbp - 0x28]
call fcn.140059d08
nop
lea r8d, [rdi + 0x17]
lea rdx, str._trainer_settingsdebug
mov rcx, rax
call fcn.14002549c
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14005a132
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a12d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a16c
call fcn.14008ba88
movdqa xmm0, xmmword [0x1400bbea0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], di
lea rcx, [rbp - 0x28]
call fcn.140025108
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14008bf00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140092a80
nop
int3
Function at 0x14005a174
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14005a182
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x14005a6d8
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x14005a829
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14005a722
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.1400035d0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14005a74b
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.1400035d0
mov dword [rbp + 0x27], edi
mov ecx, 0x48
call fcn.14008ba4c
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14005a7d2
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rax
call fcn.1400035d0
nop
lea rcx, [rbx + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
call fcn.1400035d0
mov eax, dword [rbp + 0x27]
mov dword [rbx + 0x40], eax
jmp 0x14005a7d4
xor ebx, ebx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140056d74]
xor edx, edx
xor ecx, ecx
call fcn.14009fa78
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14005a862
lea rcx, [rbp - 0x19]
call fcn.140057fa0
cmp dword [rbp - 0x41], 0
je 0x14005a871
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.14008acf8
test eax, eax
jne 0x14005a871
jmp 0x14005a84b
cmp qword [rdx + 0x18], 0xf
jbe 0x14005a833
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x14005a83d
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14008bf00
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
and dword [rbp - 0x41], 0
mov ecx, 6
call fcn.140089b68
nop
mov ecx, 1
call fcn.140089b68
int3
Function at 0x14005a87c
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140113440]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x14005aa41
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm1
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x14005a8c6
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.140003698
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm1
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14005a8ef
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.140003698
mov dword [rbp + 0x27], edi
mov ecx, 0x48
call fcn.14008ba4c
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14005a976
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rax
call fcn.140003698
nop
lea rcx, [rbx + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
call fcn.140003698
mov eax, dword [rbp + 0x27]
mov dword [rbx + 0x40], eax
jmp 0x14005a978
xor ebx, ebx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140056dc8]
xor edx, edx
xor ecx, ecx
call fcn.14009fa78
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14005aa7a
mov ebx, 0x1000
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x14005a9eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rbx
jb 0x14005a9e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005aa89
call fcn.14008ba88
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x14005aa23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x14005aa1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005aa89
call fcn.14008ba88
cmp dword [rbp - 0x41], 0
je 0x14005aa8f
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.14008acf8
test eax, eax
jne 0x14005aa8f
jmp 0x14005aa63
cmp qword [rdx + 0x18], 7
jbe 0x14005aa4b
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x14005aa55
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14008bf00
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
and dword [rbp - 0x41], 0
mov ecx, 6
call fcn.140089b68
nop
call fcn.140092a80
int3
mov ecx, 1
call fcn.140089b68
int3