joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006bca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14006bd90
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x140104240]
cmp ecx, 0xffffffff
jne 0x14006bdbd
xor r14d, r14d
jmp 0x14006bdc6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x14006bef8
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x14006bdea
test rdi, rdi
je 0x14006bed1
jmp 0x14006bdf0
test rdi, rdi
je 0x14006be44
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006be27
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x14006bdf0
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14006bdd4
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14006be9e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14006be7e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14006be9e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14006be70
jmp 0x14006be9e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14006be9b
cmp rbx, qword [rax + 0x10]
jne 0x14006be9b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14006be88
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14006beb6
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14006beb6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.14006b270
cmp rbx, rsi
jne 0x14006be50
jmp 0x14006bdd4
lea rdx, [0x14006b250]
lea rcx, [0x14012b600]
call fcn.14006b030
mov ecx, dword [0x140104240]
cmp ecx, 0xffffffff
je 0x14006bef8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x14006bf22
lock dec dword [r14 + 8]
jne 0x14006bf22
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14006bd90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14006bd90
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x140104240]
cmp ecx, 0xffffffff
jne 0x14006bdbd
xor r14d, r14d
jmp 0x14006bdc6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x14006bef8
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x14006bdea
test rdi, rdi
je 0x14006bed1
jmp 0x14006bdf0
test rdi, rdi
je 0x14006be44
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006be27
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x14006bdf0
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14006bdd4
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14006be9e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14006be7e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14006be9e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14006be70
jmp 0x14006be9e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14006be9b
cmp rbx, qword [rax + 0x10]
jne 0x14006be9b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14006be88
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14006beb6
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14006beb6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.14006b270
cmp rbx, rsi
jne 0x14006be50
jmp 0x14006bdd4
lea rdx, [0x14006b250]
lea rcx, [0x14012b600]
call fcn.14006b030
mov ecx, dword [0x140104240]
cmp ecx, 0xffffffff
je 0x14006bef8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x14006bf22
lock dec dword [r14 + 8]
jne 0x14006bf22
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14006ef10
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rcx
cmp rcx, rdx
je 0x14006ef47
mov r11d, 0x9e3779b9
movsx rcx, byte [r10]
mov r9, r8
mov rax, r8
shr rax, 2
shl r9, 6
inc r10
add rax, r9
add rax, r11
add rcx, rax
xor r8, rcx
cmp r10, rdx
jne 0x14006ef21
movabs rax, 0x200009c482fb3f8b
mul r8
shr rdx, 0x1c
imul edx, edx, 0x7fffd8ee
sub r8d, edx
lea eax, [r8 + 0x2710]
ret
Function at 0x14006fc70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
xor r10d, r10d
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r9d
mov rbx, rcx
cmp rdx, r8
je 0x14006fcb6
mov r11d, 0x9e3779b9
nop
movsx rcx, byte [rdx]
mov r9, r10
mov rax, r10
shr rax, 2
shl r9, 6
inc rdx
add rax, r9
add rax, r11
add rcx, rax
xor r10, rcx
cmp rdx, r8
jne 0x14006fc90
movabs rax, 0x200009c482fb3f8b
lea rcx, [rsp + 0x30]
mul r10
mov rax, qword [rbx + 8]
shr rdx, 0x1c
imul edx, edx, 0x7fffd8ee
sub r10d, edx
add r10d, 0x2710
mov dword [rsp + 0x34], r10d
cmp rcx, rax
jae 0x14006fd35
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
ja 0x14006fd35
mov qword [rsp + 0x20], rdi
lea rdi, [rsp + 0x30]
sub rdi, rcx
sar rdi, 3
cmp rax, qword [rbx + 0x10]
jne 0x14006fd1b
mov edx, 1
mov rcx, rbx
call fcn.140073020
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14006fd2e
mov rax, qword [rbx]
mov rcx, qword [rax + rdi*8]
mov qword [rdx], rcx
mov rdi, qword [rsp + 0x20]
jmp 0x14006fd59
cmp rax, qword [rbx + 0x10]
jne 0x14006fd48
mov edx, 1
mov rcx, rbx
call fcn.140073020
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14006fd59
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
add qword [rbx + 8], 8
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0x38]
cmp rcx, rax
je 0x14006fdb3
add rax, 0xfffffffffffffff8
cmp rax, rcx
je 0x14006fdb3
lea rdx, [rax - 4]
nop dword [rax]
mov r8d, dword [rdx]
cmp dword [rdx + 8], r8d
jge 0x14006fdb3
mov r8d, dword [rax]
mov r9d, dword [rdx - 4]
sub rax, 8
mov dword [rdx - 4], r8d
mov dword [rax + 8], r9d
mov r8d, dword [rdx + 8]
mov r9d, dword [rdx]
mov dword [rdx], r8d
sub rdx, 8
mov dword [rdx + 0x10], r9d
cmp rax, rcx
jne 0x14006fd80
add rsp, 0x28
ret

Function at 0x140088d28
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140088b90
Function at 0x140147790
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1401477bd
xor al, al
jmp 0x14014791f
mov rax, qword [0x140167670]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x140167678]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x140167680]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x140167688]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140167690]
mov qword [rcx + 0x20], rax
mov rax, qword [0x140167698]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1401676a0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1401676a8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1401676b0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x140147911
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x140147869
mov r11d, 2
jmp 0x14014788d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x140147883
mov r11d, 1
jmp 0x14014788d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x140147935
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1401478d2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1401478ea
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1401478fa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x140147908
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x140147850
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14014791a
Function at 0x140002110
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
sub rsp, 0x458
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edx, edx
lea rcx, [rsp + 0x230]
mov r8d, 0x208
call fcn.14001bf30
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14001bf30
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x20]
xor r8d, r8d
lea rdx, [0x14003dc20]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1400021c7
mov r8d, 0x104
lea rdx, [rsp + 0x230]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400021c7
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140019a80
add rsp, 0x458
ret

Function at 0x140002590
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
or edx, 0xffffffff
lea rcx, str.CptControl.exe
call fcn.14000c438
xor r8d, r8d
lea rcx, str.CptControl.exe
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400025c0

Function at 0x1400025c0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov r15d, 0x208
mov r8d, r15d
lea rcx, [rbp + 0x360]
xor edx, edx
call fcn.14001bf30
mov r8d, r15d
lea rcx, [rbp + 0x150]
xor edx, edx
call fcn.14001bf30
lea rax, [rbp + 0x150]
mov r14d, 1
mov byte [rsp + 0x28], r14b
lea r9, [rbp + 0x360]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140002d84
test eax, eax
je 0x140002707
mov r8d, r15d
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.14001bf30
mov ebx, 0x104
lea r8, [rbp + 0x150]
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140023f20
lea r8, str..tmp
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140023ea0
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x360]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call fcn.1400024f4
test ebx, ebx
je 0x140002703
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], r14d
mov r9d, r14d
mov r8d, r14d
mov dword [rsp + 0x20], r14d
mov rcx, rax
call fcn.140012e00
test al, al
jne 0x1400026e0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x140002715
lea rcx, [rbp + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400026dc
mov eax, ebx
jmp 0x140002715
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x1400026dc
mov eax, r14d
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140019a80
mov rbx, qword [rsp + 0x6c8]
add rsp, 0x680
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002828
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov rdx, rcx
xor r8d, r8d
lea rcx, str.CptService.exe
jmp fcn.1400025c0

Function at 0x1400028c4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rdi, rcx
lea rdx, [rbp + 0x1c0]
mov rcx, qword [0x1400588a8]
call fcn.140002c28
lea rdx, [0x14003dc48]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.1400024f4
mov r8d, 1
lea rdx, [rbp + 0x1c0]
mov dword [rsp + 0x30], r8d
xor r9d, r9d
and dword [rsp + 0x28], 0
mov rcx, rax
and dword [rsp + 0x20], 0
call fcn.140012e00
test al, al
je 0x140002aac
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x70]
call fcn.14001bf30
cmp dword [rdi + 0x14], 0
lea rcx, str.open
lea rax, str.runas
mov dword [rsp + 0x50], 0x70
cmove rax, rcx
mov dword [rsp + 0x54], 0x540
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x40]
lea rax, [rbp + 0x1c0]
mov dword [rbp - 0x80], 4
xor edx, edx
mov qword [rsp + 0x68], rax
mov r8d, 0x200
call fcn.14001bf30
mov ecx, dword [rdi]
test ecx, ecx
je 0x140002a0f
sub ecx, 1
je 0x1400029e0
sub ecx, 1
je 0x1400029d7
cmp ecx, 1
jne 0x140002a52
lea r8, str._stop
mov edx, 0x100
lea rcx, [rbp - 0x40]
call fcn.140023f20
jmp 0x140002a52
lea r8, str._start
jmp 0x1400029c7
cmp dword [rdi + 0x14], 0
lea rax, str._unelevate
lea r9, str._elevate
cmove r9, rax
lea r8, str._uninstall
lea rdx, str._s__s
lea rcx, [rbp - 0x40]
call fcn.140001e8c
jmp 0x140002a52
cmp dword [rdi + 0x14], 0
lea rax, str.Zoom
mov qword [rsp + 0x28], rax
lea r8, str._install
lea rax, str._product
mov qword [rsp + 0x20], rax
lea rdx, str._s__s__s__s
lea rcx, [rbp - 0x40]
lea r9, str._elevate
jne 0x140002a4d
lea r9, str._unelevate
call fcn.140001e8c
lea rax, [rbp - 0x40]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x70], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140002aa7
cmp qword [rbp - 0x78], 0x20
jle 0x140002aa7
cmp dword [rdi + 0x10], 0
je 0x140002aa3
mov rcx, qword [rbp - 0x48]
mov edx, 0x7530
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140002aac
and dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x40]
jmp 0x140002aaf
xor eax, eax
jmp 0x140002aaf
mov eax, dword [rbp - 0x78]
jmp 0x140002aaf
or eax, 0xffffffff
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140019a80
mov rdi, qword [rsp + 0x4f0]
add rsp, 0x4e0
pop rbp
ret

Function at 0x140002c98
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x30
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov rbx, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x2b]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x140002cc4
xor eax, eax
add rsp, 0x30
pop rbx
ret
lea rdx, str.Zoom
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.SHLWAPI.dll_PathAppendW]
Function at 0x140002cdc
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140002d1f
test rdx, rdx
je 0x140002d1f
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x26]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140002d1f
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x140002d21
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140002d84
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x358]
sub rsp, 0x458
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov r15, qword [rbp + 0x3c0]
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov ebx, 0x208
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
mov r12, r9
call fcn.14001bf30
mov r8d, ebx
lea rcx, [rbp + 0x130]
xor edx, edx
call fcn.14001bf30
xor ebx, ebx
mov r13d, 0x104
test r14, r14
je 0x140002e10
cmp word [r14], bx
je 0x140002e10
mov r8, r14
lea rcx, [rbp + 0x130]
mov edx, r13d
call fcn.140023f20
jmp 0x140002e26
lea rdx, [rbp + 0x130]
xor ecx, ecx
call fcn.140002c28
test eax, eax
je 0x140002f00
mov rdx, rsi
lea rcx, [rbp + 0x130]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test rdi, rdi
je 0x140002e52
cmp word [rdi], bx
je 0x140002e52
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, r13
call fcn.140023f20
jmp 0x140002e7c
lea rcx, [rsp + 0x20]
call fcn.140002c68
test eax, eax
je 0x140002f00
cmp byte [rbp + 0x3c8], bl
je 0x140002e7c
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rdx, rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test r12, r12
je 0x140002ea1
lea r8, [rbp + 0x130]
mov rdx, r13
mov rcx, r12
call fcn.140023f20
test r15, r15
je 0x140002eb6
lea r8, [rsp + 0x20]
mov rdx, r13
mov rcx, r15
call fcn.140023f20
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140002ef9
mov rdx, rsi
lea rcx, str.CptService.exe
call fcn.140022cfc
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x130]
test eax, eax
jne 0x140002ef2
call fcn.1400021e4
test eax, eax
setne bl
mov eax, ebx
jmp 0x140002f0d
call fcn.140002294
jmp 0x140002ee9
mov eax, 1
jmp 0x140002f0d
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140019a80
add rsp, 0x458
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140002f30
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x60
xor ebx, ebx
test rcx, rcx
je 0x140002fa1
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x140002f41
cmp eax, 0x102
jge 0x140002fa1
cdqe
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rcx
movups xmmword [rsp + 0x20], xmm0
mov word [rcx + rax*2 + 2], bx
xor eax, eax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
mov eax, 0x454
mov dword [rsp + 0x28], 3
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
mov qword [rsp + 0x38], rbx
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
mov eax, ebx
jmp 0x140002fa3
xor eax, eax
add rsp, 0x60
pop rbx
ret

Function at 0x140007d58
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]
cmp ecx, 0xffffffff
je 0x140007ee0
cmp ecx, 0x7c
je 0x140007ee0
cmp ecx, 0x29
jne 0x140007d9b
cmp dword [rbx + 0x1c], 0
jne 0x140007ee0
test dword [rbx + 0x80], 0x10000000
je 0x140007f07
cmp ecx, 0x2e
jne 0x140007dbb
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14000a624
mov rcx, rbx
call fcn.14000a67c
jmp 0x140007ece
cmp ecx, 0x5c
jne 0x140007e1c
mov rcx, rbx
call fcn.14000a67c
test byte [rbx + 0x80], 0x80
je 0x140007e0f
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x140007df3
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14000a624
mov rcx, rbx
call fcn.14000a67c
jmp 0x140007ed6
cmp al, 0x42
jne 0x140007e0f
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14000a624
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140007de6
mov rcx, rbx
call fcn.140007f24
jmp 0x140007ece
cmp ecx, 0x5b
jne 0x140007e40
mov rcx, rbx
call fcn.14000a67c
mov rcx, rbx
call fcn.140008700
cmp dword [rbx + 0x7c], 0x5d
jne 0x140007ef9
jmp 0x140007dae
cmp ecx, 0x28
jne 0x140007e64
mov rcx, rbx
call fcn.14000a67c
mov rcx, rbx
call fcn.14000add8
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140007f07
jmp 0x140007ec1
cmp ecx, 0x5e
jne 0x140007e71
lea edx, [rcx - 0x5c]
jmp 0x140007ddd
cmp ecx, 0x24
jne 0x140007e7e
lea edx, [rcx - 0x21]
jmp 0x140007ddd
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140007eeb
cmp ecx, 0x3f
je 0x140007eeb
cmp ecx, 0x7b
je 0x140007eeb
cmp ecx, 0x7d
jne 0x140007ea1
test dword [rbx + 0x80], 0x10000000
je 0x140007f15
cmp ecx, 0x5d
jne 0x140007eb2
test dword [rbx + 0x80], 0x10000000
je 0x140007ef9
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400073a4
mov dil, 1
mov rcx, rbx
call fcn.14000a67c
test dil, dil
je 0x140007ed6
mov rcx, rbx
call fcn.14000a6cc
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140007d6a
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.140009970
int3
mov edx, 4
mov rcx, rbx
call fcn.140009970
int3
mov edx, 5
mov rcx, rbx
call fcn.140009970
int3
mov edx, 6
mov rcx, rbx
call fcn.140009970
int3
Function at 0x14000b8fc
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
xor ebx, ebx
movsxd r14, r8d
mov r15, rdx
mov rdi, rcx
test rcx, rcx
je 0x14000b9e9
test rdx, rdx
je 0x14000b9e9
test r8d, r8d
je 0x14000b9e9
lea rdx, [rax + 8]
mov dword [rax + 8], ebx
mov dword [rax + 0x20], ebx
mov qword [rax - 0x38], rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
je 0x14000b9e5
mov ecx, ebp
call fcn.140019d34
mov edx, dword [rsp + 0x80]
mov r9, rax
mov r8d, ebp
mov rcx, rdi
mov rsi, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000b9dd
lea r9, [rsp + 0x98]
mov rcx, rsi
lea r8, [rsp + 0x40]
lea rdx, [0x14003e46c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000b9dd
cmp dword [rsp + 0x98], ebx
je 0x14000b9dd
mov rdx, qword [rsp + 0x40]
cmp dword [rdx], 0xfeef04bd
jne 0x14000b9dd
movzx ecx, word [rdx + 0xc]
movzx r8d, word [rdx + 0xe]
movzx eax, word [rdx + 8]
movzx r9d, word [rdx + 0xa]
mov rdx, r14
mov dword [rsp + 0x30], ecx
mov rcx, r15
mov dword [rsp + 0x28], r8d
lea r8, str._d._d._d._04d
mov dword [rsp + 0x20], eax
call fcn.14000d2d0
mov bl, 1
mov rcx, rsi
call fcn.140019aa0
mov al, bl
jmp 0x14000b9eb
xor al, al
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret