joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044044
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 [0x1401110c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov r15, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
mov rdi, qword [rcx]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140044088
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400440bb
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbx
call fcn.140003dfc
jmp 0x1400441d0
mov ecx, 0x208
mov r13d, 1
call fcn.1400849a4
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
lea r12, [r14 + 8]
mov r14d, 0x104
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140044101
mov rax, qword [rdi]
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14004410e
mov r8, qword [rsi]
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x14004411b
mov rdx, qword [r15]
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14004412a
mov rcx, qword [r12]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r14 - 1]
cmp eax, ecx
jb 0x1400441aa
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140044152
mov rcx, qword [rsi]
mov rax, rbp
sub rcx, rbp
movzx edx, word [rax]
movzx r8d, word [rax + rcx]
sub edx, r8d
jne 0x14004416e
add rax, 2
test r8d, r8d
jne 0x140044158
test edx, edx
je 0x1400441aa
mov rcx, rbp
call fcn.140084350
inc r13d
imul r14d, r13d, 0x104
mov ecx, r14d
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400849a4
mov rbp, rax
jmp 0x1400440f4
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.140017ca8
mov rcx, rbp
call fcn.140084350
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.140084330
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140044be8
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x8f8
mov rax, qword [0x1401110c0]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
call fcn.14005ea4c
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x800
call fcn.1400ad7d0
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.1400ad7d0
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 0x140044cb2
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.1400989ac
int3
Function at 0x140045ff4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor ebp, ebp
lea rbx, [rcx + 0x80]
mov rcx, rbx
call fcn.140060dbc
mov ecx, dword [rbx + 0x60]
test ecx, ecx
je 0x140046040
cmp dword [0x140125ea8], ecx
je 0x14004603e
mov dword [0x140125ea8], ecx
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140046062
test ecx, ecx
setne al
mov byte [rbx + 0xa8], al
test ecx, ecx
je 0x140046062
cmp qword [rdi + 0xe8], 0x10000
jae 0x140046062
mov rcx, rbx
call fcn.14006131c
mov eax, dword [rdi + 0x330]
cmp byte [rdi + 0x128], bpl
je 0x14004619b
cmp eax, 1
je 0x1400461d4
mov dword [rdi + 0x330], 1
call fcn.1400434a4
test al, al
je 0x1400461e9
cmp byte [rdi + 0x4b8], bpl
jne 0x1400461f1
mov byte [rdi + 0x4b8], 1
cmp qword [0x140126098], rbp
je 0x1400460df
lea rbx, [rdi + 0x80]
mov rcx, rbx
call fcn.1400612dc
mov rcx, rbx
call fcn.14006131c
mov rcx, qword [0x140126098]
test rcx, rcx
je 0x1400461f7
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov rcx, rdi
call fcn.1400497d4
mov rcx, rdi
call fcn.14004912c
lea rcx, [rdi + 0x10]
call fcn.14005db14
test al, al
je 0x1400461e9
lea rcx, [rdi + 0x10]
call fcn.14005dbdc
lea rbx, [rdi + 0x550]
cmp byte [rbx + 8], bpl
jne 0x14004618f
cmp qword [rbx + 0x18], rbp
je 0x14004618f
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140084384
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14004d04c]
xor edx, edx
xor ecx, ecx
call fcn.1400983a4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140046208
cmp dword [rsp + 0x38], ebp
je 0x1400461fd
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1400836c0
test eax, eax
jne 0x1400461fd
mov dl, 1
mov rcx, rdi
call fcn.1400497d4
jmp 0x1400461d4
test eax, eax
je 0x1400461d4
mov dword [rdi + 0x330], ebp
mov rcx, rdi
call fcn.14004912c
mov byte [rdi + 0x558], bpl
mov ebx, 0x1388
jmp 0x1400461cb
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 0x32
js 0x1400461d4
cmp byte [rdi + 0x559], bpl
jne 0x1400461bb
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.1400989ac
int3
call fcn.140044be8
int3
call fcn.14008220c
nop
mov ecx, 1
call fcn.140083250
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.140083250
int3
Function at 0x140048f28
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
lea rbx, [rcx + 0x578]
mov rdi, rcx
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400504dc
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140048fef
lea rcx, [0x140125b80]
call fcn.140083300
test eax, eax
jne 0x14004900f
cmp dword [0x140125bcc], 0x7fffffff
je 0x140048ffa
lea edx, [rax + 3]
mov rcx, rdi
call fcn.140050660
mov eax, dword [rbx + 8]
lea r9, [rsp + 0x40]
sub eax, dword [rbx]
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 8]
mov r8d, 4
and dword [rsp + 0x40], 0
and qword [rsp + 0x20], 0
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
lea r9, [rsp + 0x40]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x48]
and dword [rsp + 0x40], 0
mov r8d, 8
and qword [rsp + 0x20], 0
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140125b80]
call fcn.140083308
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 6
mov dword [0x140125bcc], 0x7ffffffe
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3

Function at 0x14004912c
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x140125b80]
call fcn.140083300
test eax, eax
jne 0x1400491b1
cmp dword [0x140125bcc], 0x7fffffff
je 0x14004919c
lea edx, [rax + 2]
mov rcx, rbx
call fcn.140050660
mov eax, dword [rbx + 0xe0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
and dword [rsp + 0x48], 0
mov r8d, 4
and qword [rsp + 0x20], 0
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140125b80]
add rsp, 0x30
pop rbx
jmp fcn.140083308
mov ecx, 6
mov dword [0x140125bcc], 0x7ffffffe
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3

Function at 0x14004966c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
movzx edi, dl
lea rcx, [0x140125b80]
call fcn.140083300
test eax, eax
jne 0x1400496f7
cmp dword [0x140125bcc], 0x7fffffff
je 0x1400496e2
lea edx, [rax + 7]
mov rcx, rbx
call fcn.140050660
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x50]
and dword [rsp + 0x50], 0
lea rdx, [rsp + 0x58]
and qword [rsp + 0x20], 0
mov r8d, 4
mov dword [rsp + 0x58], edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140125b80]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.140083308
mov ecx, 6
mov dword [0x140125bcc], 0x7ffffffe
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3
Function at 0x140049704
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov edi, r8d
lea rcx, [0x140125b80]
mov esi, edx
call fcn.140083300
test eax, eax
jne 0x1400497c7
cmp dword [0x140125bcc], 0x7fffffff
je 0x1400497b2
lea edx, [rax + 9]
mov rcx, rbx
call fcn.140050660
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
and dword [rsp + 0x68], 0
lea rdx, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x30], esi
mov esi, 4
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x68]
and dword [rsp + 0x68], 0
lea rdx, [rsp + 0x30]
and qword [rsp + 0x20], 0
mov r8d, esi
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x140125b80]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.140083308
mov ecx, 6
mov dword [0x140125bcc], 0x7ffffffe
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3

Function at 0x1400497d4
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, [0x140125b80]
mov qword [rbp + 0x30], r14
mov rcx, r14
call fcn.140083300
test eax, eax
jne 0x1400498cf
cmp dword [0x140125bcc], 0x7fffffff
je 0x1400498ba
lea edx, [rax + 0xa]
mov rcx, rbx
call fcn.140050660
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.140010ac4
lea rdx, [rbp - 0x20]
mov rcx, rbx
call fcn.140041f80
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 0x1400498a5
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.140083308
mov dword [0x140125bcc], 0x7ffffffe
mov ecx, 6
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3
Function at 0x1400498dc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1401110c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov qword [rbp + 0xf], rdx
mov qword [rbp + 0x17], r8
mov qword [rbp + 0x1f], r9
mov r14, qword [0x140125e58]
lea r12, [0x140125b80]
mov qword [rbp + 7], r12
mov rcx, r12
call fcn.140083300
test eax, eax
jne 0x140049ab8
cmp dword [0x140125bcc], 0x7fffffff
je 0x140049aa3
lea edx, [rax + 0xa]
mov rcx, r14
call fcn.140050660
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.CUSTOM_INIT_MESSAGE
lea rcx, [rbp - 0x19]
call fcn.140010ac4
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140041f80
and dword [rbp - 0x29], 0
and dword [rbp - 0x21], 0
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x21]
mov r8d, 4
lea rdx, [rbp - 0x29]
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp - 0x29], 1
jne 0x140049a5d
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400499d5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140019f64
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140042038
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140049a0c
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140019f64
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140042038
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
and qword [rbp - 9], 0
and qword [rbp - 1], 0
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140049a43
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x19]
call fcn.140019f64
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140042038
nop
mov rcx, r12
call fcn.140083308
nop
mov rcx, rbx
call fcn.140018728
nop
mov rcx, rsi
call fcn.140018728
nop
mov rcx, rdi
call fcn.140018728
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140084330
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [0x140125bcc], 0x7ffffffe
mov ecx, 6
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3
Function at 0x14004a84c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
mov rdi, qword [0x140125e58]
lea r14, [0x140125b80]
mov qword [rbp + 0x38], r14
mov rcx, r14
call fcn.140083300
test eax, eax
jne 0x14004a962
cmp dword [0x140125bcc], 0x7fffffff
je 0x14004a94d
lea edx, [rax + 0xa]
mov rcx, rdi
call fcn.140050660
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8d, SafeArrayUnaccessData
lea rdx, str.SET_GAMEPASS_EXE_PATH
lea rcx, [rbp - 0x20]
call fcn.140010ac4
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140041f80
and dword [rbp + 0x20], 0
and dword [rbp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x30]
mov r8d, 4
lea rdx, [rbp + 0x20]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x20], 1
jne 0x14004a938
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14004a91f
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140019f64
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140042038
nop
mov rcx, r14
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rbp
jmp fcn.140083308
mov dword [0x140125bcc], 0x7ffffffe
mov ecx, 6
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3
Function at 0x14004ab70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
mov rbp, rsp
sub rsp, 0x80
mov rdi, r8
mov rbx, rdx
mov qword [rbp - 0x18], rdx
xor r14d, r14d
mov dword [rbp - 0x48], r14d
mov rsi, qword [0x140125e58]
lea r12, [0x140125b80]
mov qword [rbp - 0x10], r12
mov rcx, r12
call fcn.140083300
test eax, eax
jne 0x14004acc3
cmp dword [0x140125bcc], 0x7fffffff
je 0x14004acae
lea edx, [rax + 8]
mov rcx, rsi
call fcn.140050660
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14004abf1
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140010cb4
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.140041f80
nop
mov dword [rbp - 0x40], r14d
mov dword [rbp - 0x50], r14d
mov dword [rbp - 0x4c], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x4c]
mov r8d, 4
lea rdx, [rbp - 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rdi, dword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], r14b
mov dword [rbp - 0x48], 2
mov rdx, rdi
cmp rdi, 0xf
jbe 0x14004ac68
mov rcx, rbx
call fcn.140026830
mov qword [rbx + 0x10], r14
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004ac75
mov rdx, qword [rbx]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x40]
mov r8d, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r12
call fcn.140083308
mov rax, rbx
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [0x140125bcc], 0x7ffffffe
mov ecx, 6
call fcn.140083250
int3
mov ecx, 5
call fcn.140083250
int3

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

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14004c450
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14004c482
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14004c465
mov rax, r8
ret
Function at 0x14004d2a0
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 0x14004d313
cmp ecx, 0x7c
je 0x14004d318
cmp ecx, 0x29
jne 0x14004d323
cmp dword [rbx + 0x1c], 0
jne 0x14004d318
test dword [rbx + 0x80], 0x10000000
je 0x14004d461
cmp ecx, 0x5d
jne 0x14004d2e9
test dword [rbx + 0x80], 0x10000000
je 0x14004d42a
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14004e318
mov dil, 1
mov rcx, rbx
call fcn.14004d264
test dil, dil
je 0x14004d30e
mov rcx, rbx
call fcn.14004e1d0
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14004d2b4
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14004d340
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14001e338
mov rcx, rbx
call fcn.14004d264
jmp 0x14004d306
cmp ecx, 0x5c
jne 0x14004d3a1
mov rcx, rbx
call fcn.14004d264
test byte [rbx + 0x80], 0x80
je 0x14004d394
cmp word [rbx + 0x78], 0x62
jne 0x14004d375
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14001e338
mov rcx, rbx
call fcn.14004d264
jmp 0x14004d30e
cmp word [rbx + 0x78], 0x42
jne 0x14004d394
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14001e338
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14004d36b
mov rcx, rbx
call fcn.14004df8c
jmp 0x14004d306
cmp ecx, 0x5b
jne 0x14004d3c1
mov rcx, rbx
call fcn.14004d264
mov rcx, rbx
call fcn.14004de24
cmp dword [rbx + 0x7c], 0x5d
jne 0x14004d435
jmp 0x14004d336
cmp ecx, 0x28
jne 0x14004d3e4
mov rcx, rbx
call fcn.14004d264
mov rcx, rbx
call fcn.14004e0d4
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14004d440
jmp 0x14004d2f9
cmp ecx, 0x5e
jne 0x14004d3f1
lea edx, [rcx - 0x5c]
jmp 0x14004d362
cmp ecx, 0x24
jne 0x14004d3fe
lea edx, [rcx - 0x21]
jmp 0x14004d362
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14004d456
cmp ecx, 0x3f
je 0x14004d456
cmp ecx, 0x7b
je 0x14004d456
cmp ecx, 0x7d
jne 0x14004d2d4
test dword [rbx + 0x80], 0x10000000
je 0x14004d44b
jmp 0x14004d2e9
mov edx, 4
call fcn.14001cb9c
int3
mov edx, 4
call fcn.14001cb9c
int3
mov edx, 5
call fcn.14001cb9c
int3
mov edx, 6
call fcn.14001cb9c
int3
mov edx, 0xa
call fcn.14001cb9c
int3
mov edx, 5
call fcn.14001cb9c
int3

Function at 0x1400504dc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rbp, 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 rbx, rax
test rax, rax
je 0x14005055f
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test rdi, rdi
je 0x14005055f
test eax, eax
je 0x14005055f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x14005055f
mov r8, rbp
mov edx, ebx
mov rcx, rax
call fcn.140050578
mov al, 1
jmp 0x140050561
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140050660
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 0x140051b30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x1401110c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov edi, r9d
mov rbx, rdx
xor esi, esi
test r8b, r8b
jne 0x140051cec
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rsi
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x140051b80
mov rcx, qword [rcx]
mov rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.140019f64
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], rsi
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x140051ba9
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.140019f64
mov dword [rbp + 0x27], edi
mov ecx, 0x48
call fcn.140084384
mov rbx, rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rax
call fcn.140019f64
nop
lea rcx, [rbx + 0x20]
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
call fcn.140019f64
mov eax, dword [rbp + 0x27]
mov dword [rbx + 0x40], eax
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140057028]
xor edx, edx
xor ecx, ecx
call fcn.1400983a4
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140051d2d
mov ebx, 0x1000
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x140051c97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rbx
jb 0x140051c92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051d3b
call fcn.140084350
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140051ccf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, rbx
jb 0x140051cca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051d3b
call fcn.140084350
cmp dword [rbp - 0x41], esi
je 0x140051d41
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.1400836c0
test eax, eax
jne 0x140051d41
jmp 0x140051d0e
cmp qword [rdx + 0x18], 7
jbe 0x140051cf6
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x140051d00
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.140084330
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x41], esi
mov ecx, 6
call fcn.140083250
nop
call fcn.14008b440
int3
mov ecx, 1
call fcn.140083250
int3