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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rdi
sub rsp, 0x48
mov rbx, rdx
mov rdi, rcx
and dword [rax - 0x28], 0
and dword [rax + 0x20], 0
and dword [rax + 8], 0
and dword [rax + 0x18], 0
and qword [rax - 0x38], 0
lea r9, [rax + 0x18]
mov r8d, 4
lea rdx, [rax + 8]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], 0
mov dword [rsp + 0x30], 1
movsxd rdx, dword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14003948c
mov r8b, byte [rsp + 0x68]
mov rcx, rbx
call fcn.14000605c
and qword [rbx + 0x10], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140039499
mov rdx, qword [rbx]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rax, rbx
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x14003959c
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x8f8
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
call fcn.1400371d4
mov rcx, rax
call fcn.14004be88
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x800
call fcn.14009c4a0
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.14009c4a0
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 0x14003966e
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.1400881b8
int3
Function at 0x140039710
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, [0x1400d7d80]
mov qword [rbp + 0x30], r14
mov rcx, r14
call fcn.14007567c
test eax, eax
jne 0x14003980b
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x1400397f6
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.14003faec
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.140003238
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.14003c2c8
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 0x1400397e1
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.140075684
mov dword [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3
Function at 0x14003b718
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 [0x1400d5380]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
lea rdx, [0x1400d7c60]
lea rcx, [0x1400d7880]
call fcn.1400356b4
lea rcx, [rbp - 0x28]
call fcn.140043cd4
mov rbx, rax
lea rcx, [0x1400d7ba0]
xor esi, esi
cmp rcx, rax
je 0x14003b794
call fcn.140024110
movups xmm0, xmmword [rbx]
movups xmmword [0x1400d7ba0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400d7bb0], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
lea rcx, [rbp - 0x28]
call fcn.140024110
lea r14, [0x1400d7d80]
mov qword [rbp - 0x30], r14
mov rcx, r14
call fcn.14007567c
test eax, eax
jne 0x14003b8b8
cmp dword [0x1400d7dcc], 0x7fffffff
je 0x14003b8a3
lea ebx, [rax + 0xa]
mov edx, ebx
mov rcx, rdi
call fcn.14003faec
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 [0x1400a6db8]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], sil
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14003c2c8
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 0x14003b87a
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
lea rdx, [0x1400d7c80]
cmp qword [0x1400d7c98], 0xf
cmova rdx, qword [0x1400d7c80]
mov r8, qword [0x1400d7c90]
lea rcx, [rbp - 0x28]
call fcn.140003420
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14003c2c8
nop
mov rcx, r14
call fcn.140075684
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140077c90
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 [0x1400d7dcc], 0x7ffffffe
mov ecx, 6
call fcn.1400758f8
int3
mov ecx, 5
call fcn.1400758f8
int3
Function at 0x14003b8c4
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 [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
mov ebx, esi
mov dword [rbp - 0x19], ebx
call fcn.140043f84
test al, al
je 0x14003ba11
lea rcx, [rbp + 0x2f]
call fcn.140043c1c
nop
lea r8d, [rsi + 0xe]
lea rdx, str.debug_log.txt
mov rcx, rax
call fcn.1400244a4
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.140024110
lea rdx, [rbp + 0xf]
lea rcx, [0x1400d7198]
call fcn.14003f664
or ebx, 4
or ebx, 1
mov dword [rbp - 0x19], ebx
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14003c1e4
test al, al
je 0x14003b991
lea rcx, [rbp - 0x11]
call fcn.140044128
test al, al
mov dil, 1
jne 0x14003b994
mov dil, sil
test bl, 1
je 0x14003b9a2
lea rcx, [rbp + 0xf]
call fcn.140024110
test dil, dil
je 0x14003b9d5
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 0x14003ba11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ba0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003ba36
call fcn.140077818
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140077c90
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.14007e634
int3

Function at 0x14003c2c8
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x18]
mov qword [rsp + 0x38], rdx
mov rbx, rdx
mov eax, dword [rdx + 0x10]
mov rdi, rcx
mov rcx, qword [rcx + 8]
lea rdx, [r11 - 0x10]
and dword [rsp + 0x30], 0
mov r8d, 4
mov dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14003c315
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 0x14003c364
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003c35f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003c37f
mov rcx, r8
call fcn.140077818
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.14007e634
int3
Function at 0x14003c388
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
and qword [r11 - 0x28], 0
lea r9, [r11 - 0x18]
mov qword [rsp + 0x38], rdx
mov rbx, rdx
mov eax, dword [rdx + 0x10]
mov rdi, rcx
mov rcx, qword [rcx + 8]
lea rdx, [r11 - 0x10]
and dword [rsp + 0x30], 0
add eax, eax
mov r8d, 4
mov dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rbx + 0x10]
mov rdx, rbx
add r8d, r8d
cmp qword [rbx + 0x18], 7
jbe 0x14003c3de
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.140024110
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14003cdc4
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 0x14003ce37
cmp ecx, 0x7c
je 0x14003ce3c
cmp ecx, 0x29
jne 0x14003ce47
cmp dword [rbx + 0x1c], 0
jne 0x14003ce3c
test dword [rbx + 0x80], 0x10000000
je 0x14003cf6a
cmp ecx, 0x5d
jne 0x14003ce0d
test dword [rbx + 0x80], 0x10000000
je 0x14003cf5c
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14003c408
mov dil, 1
mov rcx, rbx
call fcn.14003eaf4
test dil, dil
je 0x14003ce32
mov rcx, rbx
call fcn.14003eb68
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14003cdd8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14003ce64
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400233e8
mov rcx, rbx
call fcn.14003eaf4
jmp 0x14003ce2a
cmp ecx, 0x5c
jne 0x14003cec5
mov rcx, rbx
call fcn.14003eaf4
test byte [rbx + 0x80], 0x80
je 0x14003ceb8
cmp word [rbx + 0x78], 0x62
jne 0x14003ce99
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1400233e8
mov rcx, rbx
call fcn.14003eaf4
jmp 0x14003ce32
cmp word [rbx + 0x78], 0x42
jne 0x14003ceb8
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400233e8
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14003ce8f
mov rcx, rbx
call fcn.14003cf88
jmp 0x14003ce2a
cmp ecx, 0x5b
jne 0x14003cee5
mov rcx, rbx
call fcn.14003eaf4
mov rcx, rbx
call fcn.14003d1dc
cmp dword [rbx + 0x7c], 0x5d
jne 0x14003cf5c
jmp 0x14003ce5a
cmp ecx, 0x28
jne 0x14003cf08
mov rcx, rbx
call fcn.14003eaf4
mov rcx, rbx
call fcn.14003f144
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14003cf6a
jmp 0x14003ce1d
cmp ecx, 0x5e
jne 0x14003cf15
lea edx, [rcx - 0x5c]
jmp 0x14003ce86
cmp ecx, 0x24
jne 0x14003cf22
lea edx, [rcx - 0x21]
jmp 0x14003ce86
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14003cf4e
cmp ecx, 0x3f
je 0x14003cf4e
cmp ecx, 0x7b
je 0x14003cf4e
cmp ecx, 0x7d
jne 0x14003cdf8
test dword [rbx + 0x80], 0x10000000
je 0x14003cf78
jmp 0x14003ce0d
mov edx, 0xa
mov rcx, rbx
call fcn.140021b28
int3
mov edx, 4
mov rcx, rbx
call fcn.140021b28
int3
mov edx, 5
mov rcx, rbx
call fcn.140021b28
int3
mov edx, 6
mov rcx, rbx
call fcn.140021b28
int3
Function at 0x14003f2a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140031fba
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140031f9d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140031f88

Function at 0x14003f4cc
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 [0x1400d5380]
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.140044128
test al, al
jne 0x14003f536
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.140003318
jmp 0x14003f642
mov ecx, 0x208
mov r13d, 1
call fcn.140077d18
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1400a2e10]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], bp
mov ebp, 0x104
mov rax, r14
cmp qword [r14 + 0x18], 7
jbe 0x14003f576
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14003f583
mov r8, qword [rdi]
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x14003f590
mov rdx, qword [r15]
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14003f59f
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 0x14003f61c
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14003f5c5
mov rcx, qword [rdi]
mov rax, rsi
sub rcx, rsi
movzx edx, word [rax]
movzx r8d, word [rax + rcx]
sub edx, r8d
jne 0x14003f5e1
add rax, 2
test r8d, r8d
jne 0x14003f5cb
test edx, edx
je 0x14003f61c
mov rcx, rsi
call fcn.140077818
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.140077d18
mov rsi, rax
jmp 0x14003f569
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140024590
mov rcx, rsi
call fcn.140077818
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.140077c90
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003fa20
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 0x14003fa93
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 0x14003fa93
test eax, eax
je 0x14003fa93
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x14003fa95
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 0x14003faec
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 0x140043c1c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400d5380]
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 0x140043c7b
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140003318
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x1400a7570]
mov rcx, rbx
call fcn.1400244a4
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140077c90
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140043cd4
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 [0x1400d5380]
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, [0x1400a1dc0]
call fcn.140003318
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14009c4a0
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140043e00
cmp eax, ebx
je 0x140043e00
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 0x140043e00
mov ecx, r14d
call fcn.140077d18
mov rdi, rax
mov qword [rsp + 0x40], rax
and qword [rsp + 0x30], 0
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.14009c4a0
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 0x140043df3
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductVersion
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140043df3
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140024590
nop
test rdi, rdi
je 0x140043e00
mov rcx, rdi
call fcn.140077818
mov rax, rsi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140077c90
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 0x140043e2c
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 [0x1400d5380]
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, [0x1400a1dc0]
call fcn.140003318
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14009c4a0
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140043f58
cmp eax, ebx
je 0x140043f58
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 0x140043f58
mov ecx, r14d
call fcn.140077d18
mov rdi, rax
mov qword [rsp + 0x40], rax
and qword [rsp + 0x30], 0
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.14009c4a0
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 0x140043f4b
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductName
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140043f4b
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140024590
nop
test rdi, rdi
je 0x140043f58
mov rcx, rdi
call fcn.140077818
mov rax, rsi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140077c90
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 0x140043f84
Capabilities:
Check if file exists
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 - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor esi, esi
lea rcx, [rbp + 0xf]
call fcn.140043668
nop
lea rcx, [rbp + 0xf]
mov rbx, qword [rbp + 0xf]
mov rdi, qword [rbp + 0x27]
cmp rdi, 7
cmova rcx, rbx
mov qword [rsp + 0x20], 5
lea r9, str.x64_
xor r8d, r8d
mov rdx, qword [rbp + 0x1f]
call fcn.1400287e8
cmp rax, 0xffffffffffffffff
je 0x1400440bc
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f], xmm1
cmp qword [rbp + 0x1f], rax
cmovb rax, qword [rbp + 0x1f]
lea rdx, [rbp + 0xf]
cmp rdi, 7
cmova rdx, rbx
mov r8, rax
lea rcx, [rbp + 0x2f]
call fcn.140003318
lea rcx, [rbp + 0xf]
call fcn.140024110
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbp + 0x3f]
movups xmmword [rbp + 0x1f], xmm1
movabs rax, 0x7ffffffffffffffe
movq rcx, xmm1
sub rax, rcx
cmp rax, 0xa
jb 0x140044121
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova r9, qword [rbp + 0xf]
mov qword [rsp + 0x30], 0xa
lea rax, str.cover.jpg
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0xf]
mov dl, byte [rbp + 7]
lea rcx, [rbp + 0x2f]
call fcn.1400088d0
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 7
cmova rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne sil
lea rcx, [rbp + 0x2f]
call fcn.140024110
mov rdi, qword [rbp + 0x27]
mov rbx, qword [rbp + 0xf]
cmp rdi, 7
jbe 0x1400440f3
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400440eb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004411b
mov rcx, rbx
call fcn.140077818
mov al, sil
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140077c90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14007e634
nop
call fcn.140024374
nop
int3

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

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x140044136
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x14004468c
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1400d5380]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x1400447dd
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 0x1400446d6
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.140003420
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 0x1400446ff
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.140003420
mov dword [rbp + 0x27], edi
mov ecx, 0x48
call fcn.1400777dc
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140044786
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.140003420
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.140003420
mov eax, dword [rbp + 0x27]
mov dword [rbx + 0x40], eax
jmp 0x140044788
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, [0x14004095c]
xor edx, edx
xor ecx, ecx
call fcn.140087b3c
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140044816
lea rcx, [rbp - 0x19]
call fcn.140041cf4
cmp dword [rbp - 0x41], 0
je 0x140044825
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140076a88
test eax, eax
jne 0x140044825
jmp 0x1400447ff
cmp qword [rdx + 0x18], 0xf
jbe 0x1400447e7
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400447f1
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.140077c90
add rsp, 0xc0
pop rdi
pop rbx
pop rbp
ret
and dword [rbp - 0x41], 0
mov ecx, 6
call fcn.1400758f8
nop
mov ecx, 1
call fcn.1400758f8
int3