joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003426c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov r14, rcx
mov ecx, 0x30
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x140034406
mov qword [rsp + 0x28], rax
mov rdx, rbx
mov rcx, rax
call fcn.140033454
mov rdi, rax
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400342d2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
int3
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_class_AppV::Integration::CachedRegistryKey_.0
mov qword [rbx], rax
mov qword [rbx + 0x10], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rbx
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x140034306
mov rdi, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
add rdx, rdx
je 0x140034334
movzx eax, byte [rcx + rdi]
xor r9, rax
movabs r8, 0x100000001b3
imul r9, r8
inc rcx
cmp rcx, rdx
jb 0x140034317
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.1400357ac
mov rax, qword [rsp + 0x38]
jmp 0x140034373
mov rcx, qword [rax + 0x10]
mov edx, dword [rcx + 0x28]
mov ecx, edx
and ecx, ebp
cmp ecx, ebp
jne 0x14003436a
xor edx, ebp
test edx, 0x300
jne 0x14003436a
mov cl, 1
jmp 0x14003436c
xor cl, cl
test cl, cl
jne 0x1400343df
mov rax, qword [rax]
cmp rax, qword [rsp + 0x40]
jne 0x14003434d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
and qword [rsi], 0
and qword [rsi + 8], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1400343c1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14003e430.0]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1400343c1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14003e430.0]
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
and qword [rsi], 0
and qword [rsi + 8], 0
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400343f5
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x10]
mov qword [rsi], rcx
mov rcx, qword [rax + 0x18]
mov qword [rsi + 8], rcx
jmp 0x140034389
call fcn.14000f594
int3
Function at 0x140034f88
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, r8
mov rsi, rdx
mov r15, rcx
cmp rdx, r8
je 0x1400350b8
mov rax, qword [rcx + 8]
mov rbx, rdx
mov r14, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov qword [rsp + 0x88], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x98], rax
cmp qword [rcx + 0x18], 7
mov r8, qword [rcx + 0x10]
jbe 0x140034fe4
mov rcx, qword [rcx]
xor edx, edx
movabs rdi, 0xcbf29ce484222325
movabs r9, 0x100000001b3
add r8, r8
je 0x140035012
movzx eax, byte [rcx + rdx]
inc rdx
xor rdi, rax
imul rdi, r9
cmp rdx, r8
jb 0x140034fff
and rdi, qword [r15 + 0x30]
add rdi, rdi
mov rax, qword [r14 + rdi*8 + 8]
mov r13, qword [r14 + rdi*8]
mov qword [rsp + 0x28], rax
mov r12, rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbx]
mov r12, qword [r12 + 0x18]
test r12, r12
je 0x140035080
or eax, 0xffffffff
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x140035080
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax]
call qword [case.0x14003e430.0]
or eax, 0xffffffff
lock xadd dword [r12 + 0xc], eax
cmp eax, 1
jne 0x140035080
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 8]
call qword [case.0x14003e430.0]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x28]
dec qword [r15 + 0x10]
cmp qword [rsp + 0x30], rax
je 0x1400350d3
cmp rbx, rbp
jne 0x140035027
cmp r13, rsi
jne 0x1400350a9
mov qword [r14 + rdi*8], rbx
mov rax, qword [rsp + 0x98]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x80]
mov rax, rbp
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp r13, rsi
jne 0x1400350ec
mov rdx, qword [rsp + 0x88]
mov qword [r14 + rdi*8], rdx
mov rax, rdx
jmp 0x1400351cc
mov rax, qword [rsp + 0x98]
jmp 0x1400351cc
mov rcx, qword [rbx + 0x10]
cmp qword [rcx + 0x18], 7
mov r9, qword [rcx + 0x10]
jbe 0x14003510b
mov rcx, qword [rcx]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
add r9, r9
je 0x140035143
movabs rbp, 0x100000001b3
movzx eax, byte [rcx + r8]
inc r8
xor rdx, rax
imul rdx, rbp
cmp r8, r9
jb 0x140035127
mov rbp, qword [rsp + 0x90]
mov rdi, qword [r15 + 0x30]
and rdi, rdx
add rdi, rdi
mov rax, qword [r14 + rdi*8 + 8]
mov qword [rsp + 0x30], rax
mov r13, rbx
mov r12, rbx
mov rbx, qword [rbx]
mov rsi, qword [r13 + 0x18]
test rsi, rsi
je 0x1400351a2
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1400351a2
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x14003e430.0]
or eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400351a2
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x14003e430.0]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
dec qword [r15 + 0x10]
cmp r12, qword [rsp + 0x30]
je 0x1400351c0
cmp rbx, rbp
jne 0x140035157
jmp 0x1400350a5
mov rax, qword [rsp + 0x88]
mov qword [r14 + rdi*8], rax
mov qword [r14 + rdi*8 + 8], rax
cmp rbx, rbp
jne 0x1400350f9
jmp 0x1400350a9
Function at 0x140047dcc
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x70
and qword [rax - 0x10], 0
mov rbx, r8
mov r14, rcx
mov byte [rax - 0x18], 0
xor r8d, r8d
lea rcx, [rax - 0x10]
mov rbp, r9
mov rsi, rdx
movabs rdi, 0x8000000000
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
setne byte [rsp + 0x60]
test eax, eax
jne 0x140047e69
lea rsi, str.src_appvisvclientintegration_notifier_process.hpp
mov rcx, rsi
lea edx, [rax + 0x5c]
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140047e39
inc rax
jmp 0x140047e3c
mov rax, rsi
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0x112100000000
jmp 0x140047f66
cmp qword [rbx + 0x18], 7
jbe 0x140047e73
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x50], r14
xor r8d, r8d
mov qword [rsp + 0x48], rbp
mov rdx, rbx
and qword [rsp + 0x40], 0
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
lea rsi, str.src_appvisvclientintegration_notifier_process.hpp
test eax, eax
jne 0x140047f04
lea edx, [rax + 0x5c]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140047ed3
inc rax
jmp 0x140047ed6
mov rax, rsi
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0x122100000000
or rdi, rbx
or rdi, rax
mov al, byte [rsp + 0x60]
test al, al
je 0x140047f7f
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test eax, eax
je 0x140047f23
xor al, al
mov byte [rsp + 0x60], al
jmp 0x140047f70
mov edx, 0x5c
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140047f3b
inc rax
jmp 0x140047f3e
mov rax, rsi
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
movabs rax, 0x132100000000
or rdi, rbx
or rdi, rax
mov al, byte [rsp + 0x60]
test al, al
je 0x140047f7f
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
lea r11, [rsp + 0x70]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140059564
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
cmp qword [rdx + 0x18], 7
jbe 0x140059588
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1400595f7
mov edx, 0x5c
lea rcx, str.src_appvisv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1400595cb
inc rax
jmp 0x1400595d2
lea rax, str.src_appvisv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
shl rax, 0x34
movabs rcx, 0x352500000000
or rax, rdi
or rax, rcx
jmp 0x140059649
cmp ebx, dword [rsp + 0x58]
je 0x14005963f
mov edx, 0x5c
lea rcx, str.src_appvisv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140059619
inc rax
jmp 0x140059620
lea rax, str.src_appvisv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
shl rax, 0x34
movabs rcx, 0x350500040002
jmp 0x1400595f2
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140059c9c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x30
and dword [rax + 8], 0
lea rdx, [rcx + 0x40]
and dword [rax + 0x10], 0
mov rdi, r8
cmp qword [rdx + 0x18], 7
jbe 0x140059cc4
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
je 0x140059d3e
test eax, eax
je 0x140059d3e
mov edx, 0x5c
lea rcx, str.src_appvisv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140059d0f
inc rax
jmp 0x140059d16
lea rax, str.src_appvisv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
shl rax, 0x34
movabs rcx, 0x322500000000
or rax, rbx
or rax, rcx
jmp 0x140059de3
cmp dword [rsp + 0x48], 1
je 0x140059d87
mov edx, 0x5c
lea rcx, str.src_appvisv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140059d61
inc rax
jmp 0x140059d68
lea rax, str.src_appvisv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
shl rax, 0x34
movabs rcx, 0x330500040002
jmp 0x140059d36
mov eax, dword [rsp + 0x40]
cmp eax, 0x4000
jb 0x140059dd7
mov edx, 0x5c
lea rcx, str.src_appvisv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x140059dae
inc rax
jmp 0x140059db5
lea rax, str.src_appvisv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
shl rax, 0x34
movabs rcx, 0x330500040003
jmp 0x140059d36
mov dword [rdi], eax
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14005c62c
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rbp + 0x80], rax
cmp dword [0x1401710d4], 0
je 0x14005c65f
mov eax, dword [0x1401710d0]
jmp 0x14005c6da
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x30]
mov r9b, byte [rbp + 0x7a]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x28], ax
movzx eax, word [rbp + 0x78]
mov word [rsp + 0x20], ax
call fcn.14005c6f4
mov dword [0x1401710d0], eax
mov dword [0x1401710d4], 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400e4b70
add rsp, 0x190
pop rbp
ret
Function at 0x14005cea0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x48], rax
and dword [rsp + 0x20], 0
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14000a190
mov ebx, 1
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x28]
call fcn.14005cc10
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 7
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rax, qword [rsp + 0x40]
cmp rax, 7
jbe 0x14005cf38
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14005cf32
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14005cf32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp edi, 0xffffffff
je 0x14005cf43
test dil, 0x10
jne 0x14005cf45
xor bl, bl
mov al, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400e4b70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14005d350
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x20]
call fcn.14005cd50
cmp qword [rsp + 0x30], 0
je 0x14005d3a1
lea rcx, [rsp + 0x20]
call fcn.14005d1a8
mov rdi, rax
shr rax, 0x27
not eax
test al, 1
jne 0x14005d426
cmp qword [rbx + 0x18], 7
jbe 0x14005d3ab
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 7
jbe 0x14005d3b5
mov rsi, qword [rsi]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14005d41c
lea edx, [rax + 0x5c]
lea rcx, str.src_appvisv_shared_system_file_utils.cpp
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x14005d3e5
inc rax
jmp 0x14005d3ec
lea rax, str.src_appvisv_shared_system_file_utils.cpp
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
or rdi, rbx
movabs rax, 0x172500000000
or rdi, rax
jmp 0x14005d426
movabs rdi, 0x8000000000
mov rax, qword [rsp + 0x38]
cmp rax, 7
jbe 0x14005d467
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14005d461
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14005d461
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e4b70
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14005d548
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
mov byte [rdx], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 1
lea rdx, [0x14012b2dc]
lea rcx, [rbp - 0x28]
call fcn.140005d34
lea r8, [rbp - 0x28]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.14005c9a0
mov rax, qword [rbp - 0x10]
cmp rax, 7
jbe 0x14005d5e5
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14005d5df
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14005d5df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 0x48]
call fcn.140032ee0
cmp qword [rbp - 0x38], 0
je 0x14005d669
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 7
cmova rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005d666
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [rbx - 2]
cmp ecx, 1
jbe 0x14005d669
mov edx, 0x5c
lea rcx, str.src_appvisv_shared_system_file_utils.cpp
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x14005d63a
inc rax
jmp 0x14005d641
lea rax, str.src_appvisv_shared_system_file_utils.cpp
mov rdx, rax
lea rcx, [0x1401712f0]
call fcn.140005a68
shl rax, 0x34
or rbx, rax
movabs rax, 0x1d2500000000
or rbx, rax
jmp 0x14005d673
mov byte [rdi], 1
movabs rbx, 0x8000000000
mov rax, qword [rbp - 0x30]
cmp rax, 7
jbe 0x14005d6b2
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14005d6ac
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14005d6ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e4b70
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005df7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, r8
mov r12, rcx
and dword [rbp + 0x48], 0
and dword [rbp + 0x38], 0
lea r14, [0x1401713d0]
mov rdx, r14
cmp qword [0x1401713e8], 7
cmova rdx, qword [0x1401713d0]
lea rax, [rbp + 0x38]
mov qword [r11 - 0x50], rax
and qword [r11 - 0x58], 0
lea r9, [rbp + 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005e0fd
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x14005e0f8
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
ja 0x14005e0f8
lea rdi, [rcx + 2]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
cmp rdi, 0x1000
jb 0x14005e0d5
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14005e116
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14005e0ea
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov qword [rbp - 0x20], rbx
lea rsi, [rbx + rdi]
mov qword [rbp - 0x10], rsi
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x18], rsi
cmp qword [0x1401713e8], 7
cmova r14, qword [0x1401713d0]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14005e0a3
mov rdx, rbx
mov rcx, r15
call fcn.140007084
nop
test rbx, rbx
je 0x14005e0d1
sub rsi, rbx
cmp rsi, 0x1000
jb 0x14005e0c8
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14005e0f1
mov rbx, rcx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
jmp 0x14005e0fd
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x14005e043
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, 0x65e
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140005958
int3
Function at 0x14006b534
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 0x14006b6c7
cmp ecx, 0x7c
je 0x14006b6d0
cmp ecx, 0x29
jne 0x14006b573
cmp dword [rbx + 0x1c], 0
jne 0x14006b6d0
test dword [rbx + 0x80], 0x10000000
je 0x14006b707
cmp ecx, 0x2e
jne 0x14006b593
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14006b86c
mov rcx, rbx
call fcn.14006b4f8
jmp 0x14006b6ba
cmp ecx, 0x5c
jne 0x14006b5f7
mov rcx, rbx
call fcn.14006b4f8
test byte [rbx + 0x80], 0x80
je 0x14006b5ea
cmp word [rbx + 0x78], 0x62
jne 0x14006b5cb
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14006b86c
mov rcx, rbx
call fcn.14006b4f8
jmp 0x14006b6c2
cmp word [rbx + 0x78], 0x42
jne 0x14006b5ea
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14006b86c
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14006b5be
mov rcx, rbx
call fcn.14006ba2c
jmp 0x14006b6ba
cmp ecx, 0x5b
jne 0x14006b61b
mov rcx, rbx
call fcn.14006b4f8
mov rcx, rbx
call fcn.14006b8c4
cmp dword [rbx + 0x7c], 0x5d
jne 0x14006b6e6
jmp 0x14006b586
cmp ecx, 0x28
jne 0x14006b63f
mov rcx, rbx
call fcn.14006b4f8
mov rcx, rbx
call fcn.14006bb7c
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x14006b6f1
jmp 0x14006b6ad
cmp ecx, 0x5e
jne 0x14006b64c
lea edx, [rcx - 0x5c]
jmp 0x14006b5b5
cmp ecx, 0x24
jne 0x14006b659
lea edx, [rcx - 0x21]
jmp 0x14006b5b5
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14006b6fc
cmp ecx, 0x3f
je 0x14006b6fc
cmp ecx, 0x7b
je 0x14006b6fc
cmp ecx, 0x7d
jne 0x14006b68c
test dword [rbx + 0x80], 0x10000000
je 0x14006b712
cmp ecx, 0x5d
jne 0x14006b69d
test dword [rbx + 0x80], 0x10000000
je 0x14006b6db
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14006bdc0
mov dil, 1
mov rcx, rbx
call fcn.14006b4f8
test dil, dil
je 0x14006b6c2
mov rcx, rbx
call fcn.14006bc78
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14006b54b
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.14006b13c
int3
mov edx, 4
call fcn.14006b13c
int3
mov edx, 5
call fcn.14006b13c
int3
mov edx, 0xa
call fcn.14006b13c
int3
mov edx, 5
call fcn.14006b13c
int3
mov edx, 6
call fcn.14006b13c
int3
Function at 0x14006e7dc
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
xor ebp, ebp
mov word [rax + 0x10], bp
lea r8, [rax + 0x10]
mov esi, 0x105
mov edx, esi
lea rcx, [rax - 0x20]
call fcn.14005e1b4
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
je 0x14006e8d8
cmp esi, 0x104
jbe 0x14006e855
mov word [rsp + 0x58], bp
mov edx, esi
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.14005e11c
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [0x14011a1d0]
test rbx, rbx
cmovne rdx, rbx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], rbp
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bp
jne 0x14006e875
mov rcx, rdi
call fcn.140005d34
nop
test rbx, rbx
je 0x14006e8c0
mov rax, qword [rsp + 0x38]
sub rax, rbx
sar rax, 1
add rax, rax
cmp rax, 0x1000
mov rcx, rbx
jb 0x14006e8b7
mov rbx, qword [rbx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006e8ef
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
jmp 0x14006e888
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3