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

Disassembly:
call 0x1848b06d9
and al, 0x40
lea r14, [rax + rax*8]
mov rax, qword [r11 + r8*8]
test byte [rax + r14*8 + 0x38], dl
je 0x14001be77
cmp r12d, 0x7fffffff
jbe 0x14001bb08
call 0x14002fdda
mov dword [rax], esi
call 0x14002fe01
mov dword [rax], 0x16
jmp 0x140036d8d
test r12d, r12d
je 0x14001be73
test byte [rax + r14*8 + 0x38], 2
jne 0x14001be73
test r9, r9
je 0x14001baf1
mov rcx, qword [rax + r14*8 + 0x28]
mov rbx, rsi
movsx r10d, byte [rax + r14*8 + 0x39]
mov edi, 4
mov qword [rsp + 0x38], rcx
mov ecx, r10d
mov byte [rsp + 0xa0], r10b
sub ecx, edx
je 0x14001bb7a
cmp ecx, edx
jne 0x14001bb72
mov eax, r12d
not eax
test dl, al
jne 0x14001bb72
call 0x14002fe3f
mov dword [rax], esi
invalid
add al, 0x43

Function at 0x14001c5f2
Capabilities:
Write file on windows

Disassembly:
mov qword [rbp - 0x39], r13
lea rcx, [0x140000000]
and eax, 0x3f
lea r15, [rax + rax*8]
mov rax, qword [rcx + r13*8 + 0x5e438]
jmp 0x14007aa44
mov rax, qword [rax + r15*8 + 0x28]
mov qword [rbp - 0x19], rax
mov r12d, r9d
add r12, r8
mov qword [rbp - 0x61], r12
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov dword [rbp - 0x49], eax
xor edi, edi
mov r10, qword [rbp - 0x59]
cmp byte [r10 + 0x28], dil
jne 0x14001c640
mov rcx, r10
call 0x1400301f8
mov r10, qword [rbp - 0x59]
mov rcx, qword [r10 + 0x18]
mov ecx, dword [rcx + 0xc]
mov dword [rbp - 0x45], ecx
xor eax, eax
mov qword [rbx], rax
mov dword [rbx + 8], eax
cmp qword [rbp - 0x41], r12
jae 0x14001c9eb
mov r9, r14
sar r9, 6
mov qword [rbp - 0x11], r9
mov edx, edi
mov al, byte [rsi]
mov byte [rbp - 0x71], al
mov dword [rbp - 0x6d], edi
mov r12d, 1
mov esp, 1
lea r11, [0x140000000]
cmp ecx, 0xfde9
jne 0x14001c805
mov edx, edi
mov r14, rdi
lea rcx, [r15*8 + 0x3e]
add rcx, qword [r11 + r9*8 + 0x42a30]
cmp byte [rcx], dil
je 0x14001c6b2
inc edx
inc r14
inc rcx
cmp r14, 5
jl 0x14001c69f
test r14, r14
jle 0x14001c79b
mov rax, qword [r11 + r13*8 + 0x42a30]
movzx eax, byte [rsi]
movsx r13, byte [rax + r11 + 0x3e350]
lea ecx, [r13 + 1]
mov r8, qword [rbp - 0x61]
sub r8, rsi
movsxd rax, ecx
cmp rax, r8
jg 0x14001c996
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x21], rsi
mov eax, edi
cmp ecx, 4
sete al
inc eax
mov r14d, eax
mov r8d, eax
mov qword [rsp + 0x20], r10
lea r9, [rbp - 0x51]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x6d]
call 0x14003bccc
cmp rax, 0xffffffffffffffff
je 0x14001c9eb
add rsi, r13
mov r12d, r14d
mov r13, qword [rbp - 0x39]
jmp 0x140038497
mov r8, qword [r11 + r13*8 + 0x42a30]
mov cl, byte [r8 + r15*8 + 0x3d]
test cl, 4
je 0x14001c838
mov al, byte [r8 + r15*8 + 0x3e]
mov byte [rbp + 7], al
mov al, byte [rsi]
mov byte [rbp + 8], al
and cl, 0xfb
loope 0x14001c822
mov byte [r8 + r15*8 + 0x3d], cl
mov r8d, 2
lea rdx, [rbp + 7]
jmp 0x14001c881
movzx r9d, byte [rsi]
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax]
test r8, r8
jle 0x14001c9c2
mov rdx, rdi
mov r9, qword [rbp - 0x39]
mov rcx, qword [r11 + r9*8 + 0x42a30]
add rcx, rdx
mov al, byte [rdx + rsi]
mov byte [rcx + r15*8 + 0x3e], al
inc edi
inc rdx
movsxd rax, edi
cmp rax, r8
jl 0x14001c9a2
add dword [rbx + 4], r8d
jmp 0x14001c9eb
Function at 0x14001c672
Capabilities:
Write file on windows

Disassembly:
mov qword [rbp - 0x39], r13
lea rcx, [0x140000000]
and eax, 0x3f
lea r15, [rax + rax*8]
mov rax, qword [rcx + r13*8 + 0x5e438]
jmp 0x14007aa44
mov rax, qword [rax + r15*8 + 0x28]
mov qword [rbp - 0x19], rax
mov r12d, r9d
add r12, r8
mov qword [rbp - 0x61], r12
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov dword [rbp - 0x49], eax
xor edi, edi
mov r10, qword [rbp - 0x59]
cmp byte [r10 + 0x28], dil
jne 0x14001c640
mov rcx, r10
call 0x1400301f8
mov r10, qword [rbp - 0x59]
mov rcx, qword [r10 + 0x18]
mov ecx, dword [rcx + 0xc]
mov dword [rbp - 0x45], ecx
xor eax, eax
mov qword [rbx], rax
mov dword [rbx + 8], eax
cmp qword [rbp - 0x41], r12
jae 0x14001c9eb
mov r9, r14
sar r9, 6
mov qword [rbp - 0x11], r9
mov edx, edi
mov al, byte [rsi]
mov byte [rbp - 0x71], al
mov dword [rbp - 0x6d], edi
mov r12d, 1
mov esp, 1
lea r11, [0x140000000]
cmp ecx, 0xfde9
jne 0x14001c805
mov edx, edi
mov r14, rdi
lea rcx, [r15*8 + 0x3e]
add rcx, qword [r11 + r9*8 + 0x42a30]
cmp byte [rcx], dil
je 0x14001c6b2
inc edx
inc r14
inc rcx
cmp r14, 5
jl 0x14001c69f
test r14, r14
jle 0x14001c79b
mov rax, qword [r11 + r13*8 + 0x42a30]
movzx eax, byte [rsi]
movsx r13, byte [rax + r11 + 0x3e350]
lea ecx, [r13 + 1]
mov r8, qword [rbp - 0x61]
sub r8, rsi
movsxd rax, ecx
cmp rax, r8
jg 0x14001c996
mov qword [rbp - 0x51], rdi
mov qword [rbp - 0x21], rsi
mov eax, edi
cmp ecx, 4
sete al
inc eax
mov r14d, eax
mov r8d, eax
mov qword [rsp + 0x20], r10
lea r9, [rbp - 0x51]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x6d]
call 0x14003bccc
cmp rax, 0xffffffffffffffff
je 0x14001c9eb
add rsi, r13
mov r12d, r14d
mov r13, qword [rbp - 0x39]
jmp 0x140038497
mov r8, qword [r11 + r13*8 + 0x42a30]
mov cl, byte [r8 + r15*8 + 0x3d]
test cl, 4
je 0x14001c838
mov al, byte [r8 + r15*8 + 0x3e]
mov byte [rbp + 7], al
mov al, byte [rsi]
mov byte [rbp + 8], al
and cl, 0xfb
loope 0x14001c822
mov byte [r8 + r15*8 + 0x3d], cl
mov r8d, 2
lea rdx, [rbp + 7]
jmp 0x14001c881
movzx r9d, byte [rsi]
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax]
test r8, r8
jle 0x14001c9c2
mov rdx, rdi
mov r9, qword [rbp - 0x39]
mov rcx, qword [r11 + r9*8 + 0x42a30]
add rcx, rdx
mov al, byte [rdx + rsi]
mov byte [rcx + r15*8 + 0x3e], al
inc edi
inc rdx
movsxd rax, edi
cmp rax, r8
jl 0x14001c9a2
add dword [rbx + 4], r8d
jmp 0x14001c9eb

Function at 0x14001ca73
Capabilities:
Write file on windows

Disassembly:
xor eax, eax
mov qword [rdi], rax
mov dword [rdi + 8], eax
cmp r8, rbp
jae 0x14001caef

Function at 0x14001ca9c
Capabilities:
Write file on windows

Disassembly:
lea rbx, [rsp + 0x40]
cmp rsi, rbp
jae 0x14001caae
mov byte [rbx], al
inc rbx
lea rax, [rsp + 0x143f]
cmp rbx, rax
jb 0x14001ca85
and qword [rsp + 0x20], 0
lea rax, [rsp + 0x40]
sub ebx, eax
lea r9, [rsp + 0x30]
invalid
invalid
Function at 0x14001cb2f
Capabilities:
Write file on windows

Disassembly:
call fcn.140028780
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x1440], rax
movsxd r10, edx
mov rdi, rcx
mov rax, r10
mov ebp, r9d
sar rax, 6
lea rcx, [0x140042a30]
and r10d, 0x3f
add rbp, r8
mov rsi, r8
mov rax, qword [rcx + rax*8]
lea rdx, [r10 + r10*8]
mov r14, qword [rax + rdx*8 + 0x28]
xor eax, eax
mov qword [rdi], rax
mov dword [rdi + 8], eax
cmp r8, rbp
jae 0x14001cc0a
lea rbx, [rsp + 0x40]
cmp rsi, rbp
jae 0x14001cbc3
movzx eax, word [rsi]
add rsi, 2
cmp ax, 0xa
jne 0x14001cbaf
add dword [rdi + 8], 2
mov ecx, 0xd
mov word [rbx], cx
add rbx, 2
mov word [rbx], ax
add rbx, 2
lea rax, [rsp + 0x143e]
cmp rbx, rax
jb 0x14001cb8d
and qword [rsp + 0x20], 0
lea rax, [rsp + 0x40]
sub rbx, rax
lea r9, [rsp + 0x30]
sar rbx, 1
lea rdx, [rsp + 0x40]
add ebx, ebx
mov rcx, r14
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001cc02
mov eax, dword [rsp + 0x30]
add dword [rdi + 4], eax
cmp eax, ebx
jb 0x14001cc0a
cmp rsi, rbp
jb 0x14001cb88
jmp 0x14001cc0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rax, rdi
mov rcx, qword [rsp + 0x1440]
xor rcx, rsp
call 0x140028569
lea r11, [rsp + 0x1450]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14001cc45
Capabilities:
Write file on windows

Disassembly:
push rsp
push r14
push r15
mov eax, 0x1470
call fcn.1400288a0
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x1460], rax
movsxd r10, edx
mov rbx, rcx
mov rax, r10
mov r14d, r9d
sar rax, 6
lea rcx, [0x140042a30]
and r10d, 0x3f
add r14, r8
mov r15, r8
mov rdi, r8
mov rax, qword [rcx + rax*8]
lea rdx, [r10 + r10*8]
mov r12, qword [rax + rdx*8 + 0x28]
xor eax, eax
mov qword [rbx], rax
cmp r8, r14
mov dword [rbx + 8], eax
jae 0x14001cd79
add byte [rax], al
invalid
lea rax, [rsp + 0x50]

Function at 0x14001cca8
Capabilities:
Write file on windows

Disassembly:
push rsp
push r14
push r15
mov eax, 0x1470
call fcn.1400288a0
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x1460], rax
movsxd r10, edx
mov rbx, rcx
mov rax, r10
mov r14d, r9d
sar rax, 6
lea rcx, [0x140042a30]
and r10d, 0x3f
add r14, r8
mov r15, r8
mov rdi, r8
mov rax, qword [rcx + rax*8]
lea rdx, [r10 + r10*8]
mov r12, qword [rax + rdx*8 + 0x28]
xor eax, eax
mov qword [rbx], rax
cmp r8, r14
mov dword [rbx + 8], eax
jae 0x14001cd79
add byte [rax], al
invalid
lea rax, [rsp + 0x50]

Function at 0x14001ccb8
Capabilities:
Write file on windows

Disassembly:
add rdi, 2
cmp cx, 0xa
jne 0x14001ccce
mov edx, 0xd
mov word [rax], dx
add rax, 2
mov word [rax], cx
add rax, 2
lea rcx, [rsp + 0x6f8]
cmp rax, rcx
jb fcn.14001ccb0
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
lea eax, [rsp + 0x50]
sub rax, rcx
invalid
Function at 0x14001cd4d
Capabilities:
Write file on windows

Disassembly:
sar rax, 1
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov ecx, 0xfde9
xor edx, edx
call 0x14003c906
mov ebp, eax
test eax, eax
je 0x14001cd71
xor esi, esi
test eax, eax
je 0x14001cd61
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x700]
mov ecx, esi
lea r9, [rsp + 0x40]
mov r8d, ebp
add rdx, rcx
mov rcx, r12
sub r8d, esi
sub eax, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001cd71
add esi, dword [rsp + 0x40]
cmp esi, ebp
jb 0x14001cd2e
mov eax, edi
sub eax, r15d
mov dword [rbx + 4], eax
cmp rdi, r14
jmp 0x140038e12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
mov rax, rbx
mov rcx, qword [rsp + 0x1460]
xor rcx, rsp
call fcn.1400286d8
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14001cf6a
Capabilities:
Write file on windows

Disassembly:
push rsi
push r15
mov rbp, rsp
sub rsp, 0x78
xor edi, edi
mov r14d, r8d
movsxd r15, ecx
mov rbx, r9
mov rsi, rdx
test r8d, r8d
je 0x14001d253
test rdx, rdx
jne 0x14001cfc7
mov byte [r9 + 0x38], 1
xor r8d, r8d
mov dword [r9 + 0x34], edi
xor edx, edx
mov byte [r9 + 0x30], 1
xor ecx, ecx
mov dword [r9 + 0x2c], 0x16
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call 0x140036bcf
or eax, 0xffffffff
jmp 0x140039618
mov rax, r15
lea rcx, [0x140042a30]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov qword [rbp - 0x18], r12
lea r13, [rax + rax*8]
mov rcx, qword [rcx + r12*8]
mov al, byte [rcx + r13*8 + 0x39]
mov byte [rbp - 0x48], al
dec al
cmp al, 1
ja 0x14001cffe
mov eax, r14d
not eax
test al, 1
je 0x14001cf90
test byte [rcx + r13*8 + 0x38], 0x20
je 0x14001d014
xor edx, edx
mov ecx, r15d
lea r8d, [rdx + 2]
call 0x140038730
mov ecx, r15d
mov qword [rbp - 0x30], rdi
call 0x14003fd38
lea rdx, [0x140042a30]
test eax, eax
je fcn.14001d143
mov rax, qword [rdx + r12*8]
cmp byte [rax + r13*8 + 0x38], dil
jge fcn.14001d143
cmp byte [rbx + 0x28], dil
jne 0x14001d053
mov rcx, rbx
call 0x140030c08
lea rdx, [0x140042a30]
mov rax, qword [rbx + 0x18]
cmp qword [rax + 0x138], rdi
jne 0x14001d06f
mov rax, qword [rdx + r12*8]
cmp byte [rax + r13*8 + 0x39], dil
je fcn.14001d143
mov rcx, qword [rdx + r12*8]
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx + r13*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x14001d13c
movsx ecx, byte [rbp - 0x48]
test ecx, ecx
je 0x14001d119
sub ecx, 1
je 0x14001d0a4
cmp ecx, 1
jne 0x14001d1dd
lea r12, [rsi + r14]
mov qword [rbp - 0x40], rdi
mov r15, rsi
cmp rsi, r12
jae 0x14001d110
mov r14d, dword [rbp - 0x3c]
movzx eax, word [r15]
movzx ecx, ax
mov word [rbp - 0x48], ax
call 0x14003feac
movzx ecx, word [rbp - 0x48]
cmp ax, cx
jne 0x14001d107
add r14d, 2
mov dword [rbp - 0x3c], r14d
cmp cx, 0xa
jne 0x14001d0fc
mov ecx, 0xd
call 0x14003fecd
mov ecx, 0xd
cmp ax, cx
jne 0x14001d107
inc r14d
mov dword [rbp - 0x3c], r14d
inc edi
add r15, 2
cmp r15, r12
jae 0x14001d110
jmp 0x14001d0b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x40], eax
mov r12, qword [rbp - 0x18]
std
jg 0x14001d119
add byte [rax], al
mov r9d, r14d
mov qword [rsp + 0x20], rbx
mov r8, rsi
lea rcx, [rbp - 0x40]
mov edx, r15d
invalid
pushfq
invalid
invalid
Function at 0x140022020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140022054
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140022040
ret
Function at 0x14002eee0
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x1400e3090], 0
jne 0x14002efd2
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x1400c8b68]
mov qword [rsp + 0x48], rbx
lea rcx, [0x1400c8b58]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x1400e3090]
test eax, eax
js 0x14002ef95
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x1400c8b48]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x14002ef86
mov rcx, qword [rsp + 0x40]
lea r8, [0x1400c8b38]
mov r9, rdi
lea rdx, [0x1400c8b28]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14002ef7b
mov rcx, qword [0x1400e3090]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x14002efd2
cmp qword [0x1400e3090], 0
jne 0x14002efd2
lea r9, [0x1400c8b38]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400c8b28]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14002efdf
mov rcx, qword [0x1400e3090]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400c8470]
lea rdx, [0x1400c8490]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x1400304e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14003052c
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14003057a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140030575
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140030599
mov rcx, r8
call fcn.1400761b0
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14007cacc
int3

Function at 0x1400305a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 8
jb 0x1400305f5
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140030644
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14003063f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140030663
mov rcx, r8
call fcn.1400761b0
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14007cacc
int3
Function at 0x140032a00
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 [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r13, r9
mov qword [rsp + 0x30], r8
mov rsi, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
cmp qword [rcx + 0x18], 8
jb 0x140032a4a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140032a84
xor r12d, r12d
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea r8d, [r12 + 0x19]
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rsi
call fcn.140005660
jmp 0x140032ba9
mov ecx, 0x208
call fcn.1400767e0
mov rbp, rax
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r12w
lea rdi, [r12 - 1]
mov r15d, 0x104
mov rsi, qword [rsp + 0x30]
lea r12d, [rdi + 2]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140032ace
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140032adb
mov r8, qword [rbx]
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x140032ae9
mov rdx, qword [r13]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140032af6
mov rcx, qword [rsi]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x140032b6d
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140032b1e
mov r8, qword [rbx]
mov rax, rbp
sub r8, rbp
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140032b38
add rax, 2
test ecx, ecx
jne 0x140032b24
test edx, edx
je 0x140032b6d
mov rcx, rbp
call fcn.1400761b0
inc r12d
imul r15d, r12d, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.1400767e0
mov rbp, rax
jmp 0x140032ac1
mov rsi, qword [rsp + 0x38]
xor r12d, r12d
inc rdi
cmp word [rbp + rdi*2], r12w
jne 0x140032b75
mov r8, rdi
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.140005660
mov rcx, rbp
call fcn.1400761b0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140076190
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400339f0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x8f8
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
call fcn.140053240
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x800
call fcn.140078c70
mov r8d, 0x400
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140033adf
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.140086544
int3
Function at 0x140038770
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1400e36a0]
call fcn.140074f84
test eax, eax
jne 0x1400387fa
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rax + 4]
xor edi, edi
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0xe0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x1400e36a0]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.140074f8c
mov ecx, eax
call fcn.1400738b4
int3

Function at 0x140038e30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
movzx edi, dl
lea rcx, [0x1400e36a0]
call fcn.140074f84
test eax, eax
jne 0x140038ec0
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x40], rsi
lea r8d, [rax + 4]
xor esi, esi
mov dword [rsp + 0x58], 7
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x50]
lea r8d, [rsi + 4]
mov dword [rsp + 0x58], edi
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x1400e36a0]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140074f8c
mov ecx, eax
call fcn.1400738b4
int3

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
movzx edi, dl
mov rbx, rcx
lea rsi, [0x1400e36a0]
mov qword [rsp + 0x30], rsi
mov rcx, rsi
call fcn.140074f84
test eax, eax
jne 0x140038fee
mov dword [rsp + 0x98], 0xa
xor ebp, ebp
mov dword [rsp + 0x90], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x90]
lea r8d, [rax + 4]
lea rdx, [rsp + 0x98]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], reloc.OLEAUT32.dll_SafeArrayDestroy
lea r8d, [rbp + 0x12]
lea rdx, str.TRAINER_INITIALIZE
lea rcx, [rsp + 0x38]
call fcn.1400160c0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400304e0
mov dword [rsp + 0x90], ebp
mov dword [rsp + 0x98], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x98]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x90]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x90], 1
jne 0x140038fd7
mov dword [rsp + 0x98], edi
mov dword [rsp + 0x90], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x90]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x98]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
jmp fcn.140074f8c
mov ecx, eax
call fcn.1400738b4
int3