joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rsi, r9
mov rax, r8
mov r10, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 7
mov word [rcx], bx
mov dword [rsp + 0x30], 1
cmp qword [r8 + 0x18], 7
jbe 0x140007d6d
mov rax, qword [r8]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007e59
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007e4e
cmp dword [rsp + 0x34], 1
jne 0x140007e4e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140007e4e
lea ecx, [rax + 1]
lea rdx, [0x14001e920]
call fcn.1400190a0
mov rbx, rax
test rax, rax
je 0x140007e46
mov r8d, dword [rsp + 0x60]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007e46
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140007e30
mov rdx, rbx
mov rcx, rdi
call fcn.14000b3f0
mov rcx, rbx
call fcn.140019098
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400084c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatDCInstaller
mov rcx, 0xffffffff80000002
mov ebx, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400085ae
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400085ae
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x60], 4
xor edi, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x50], edi
lea rdx, str.bIsSingleClientApp
mov dword [rsp + 0x58], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000859e
cmp dword [rsp + 0x50], 4
jne 0x14000859e
cmp dword [rsp + 0x58], edi
je 0x14000859e
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.bIsSCAcroAppInstalled
mov qword [rsp + 0x20], rax
lea ebx, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000859e
cmp dword [rsp + 0x50], 4
jne 0x14000859e
cmp dword [rsp + 0x58], ebx
jne 0x14000859e
movzx ebx, di
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x38]
movzx eax, bx
add rsp, 0x40
pop rbx
ret
Function at 0x140008cc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140026080]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
call fcn.1400085c0
test eax, eax
mov rax, qword [rbp - 0x10]
je 0x140008d4d
cmp rax, 0x43
jb 0x140008d3f
lea rbx, [rbp - 0x28]
cmp rax, 7
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x43
mov r8d, 0x86
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x86], di
jmp 0x140008d9e
lea r9, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov edx, 0x43
jmp 0x140008d92
cmp rax, 0x42
jb 0x140008d86
lea rbx, [rbp - 0x28]
cmp rax, 7
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x42
mov r8d, 0x84
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x84], di
jmp 0x140008d9e
lea r9, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov edx, 0x42
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.1400049d0
mov ebx, 1
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140008e26
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140008e26
mov dword [rbp - 0x3c], 4
mov dword [rbp - 0x38], 4
mov dword [rbp - 0x40], edi
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.bToggleFillSign
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008e1b
cmp dword [rbp - 0x40], ebx
cmove ebx, edi
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x140008e6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008e64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008e64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140008fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140026080]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
call fcn.1400085c0
test eax, eax
je 0x140009077
call fcn.1400084c0
test ax, ax
mov rax, qword [rbp - 0x10]
jne 0x14000907b
cmp rax, 0x20
jb 0x140009069
lea rbx, [rbp - 0x28]
cmp rax, 7
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x20
lea r8d, [rdi + 0x40]
lea rdx, str.SOFTWAREAdobeAcrobat_ReaderDC
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x40], di
jmp 0x1400090c9
lea r9, str.SOFTWAREAdobeAcrobat_ReaderDC
mov edx, 0x20
jmp 0x1400090bd
mov rax, qword [rbp - 0x10]
cmp rax, 0x1f
jb 0x1400090b1
lea rbx, [rbp - 0x28]
cmp rax, 7
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x1f
mov r8d, 0x3e
lea rdx, str.SOFTWAREAdobeAdobe_AcrobatDC
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x3e], di
jmp 0x1400090c9
lea r9, str.SOFTWAREAdobeAdobe_AcrobatDC
mov edx, 0x1f
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.1400049d0
mov rsi, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
sub rax, rsi
cmp rax, 0xa
jb 0x14000910f
lea rax, [rsi + 0xa]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rcx, 7
cmova rbx, qword [rbp - 0x28]
lea rcx, [rbx + rsi*2]
mov r8d, 0x14
lea rdx, str.AVGeneral
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi*2 + 0x14], di
jmp 0x14000912f
mov qword [rsp + 0x20], 0xa
lea r9, str.AVGeneral
xor r8d, r8d
lea edx, [r8 + 0xa]
lea rcx, [rbp - 0x28]
call fcn.140004eb0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov ebx, 1
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400091b7
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400091b7
mov dword [rbp - 0x3c], 4
mov dword [rbp - 0x38], 4
mov dword [rbp - 0x40], edi
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.bChromeExtnRepromptDone
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400091ac
cmp dword [rbp - 0x40], ebx
cmove edi, ebx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1400091fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400091f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400091f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140009ad0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140026080]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
call fcn.1400085c0
test eax, eax
mov rax, qword [rbp - 0x10]
je 0x140009b5d
cmp rax, 0x43
jb 0x140009b4f
lea rbx, [rbp - 0x28]
cmp rax, 7
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x43
mov r8d, 0x86
lea rdx, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x86], di
jmp 0x140009bae
lea r9, str.SOFTWAREPoliciesAdobeAcrobat_ReaderDCFeatureLockDowncServices
mov edx, 0x43
jmp 0x140009ba2
cmp rax, 0x42
jb 0x140009b96
lea rbx, [rbp - 0x28]
cmp rax, 7
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0x42
mov r8d, 0x84
lea rdx, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0x84], di
jmp 0x140009bae
lea r9, str.SOFTWAREPoliciesAdobeAdobe_AcrobatDCFeatureLockDowncServices
mov edx, 0x42
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.1400049d0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov ebx, 1
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009c75
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140009c75
mov dword [rbp - 0x3c], 4
mov dword [rbp - 0x38], 4
mov dword [rbp - 0x40], edi
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.bToggleAdobeDocumentServices
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009c36
cmp dword [rbp - 0x40], ebx
jne 0x140009c36
mov edi, ebx
jmp 0x140009c6a
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.bUpdater
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009c6a
cmp dword [rbp - 0x40], eax
cmove edi, ebx
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x140009cb9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009cb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009cb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019098
nop
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14000c8b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, rcx
xor edi, edi
mov r15d, edi
mov dword [rsp + 0x20], edi
mov r14, qword [0x140026850]
mov qword [rsp + 0x58], rdi
cmp dword [0x140026754], edi
jne 0x14000c98e
mov eax, dword [0x140026750]
test eax, eax
jne 0x14000c98e
mov esi, edi
mov ecx, dword [0x14002675c]
test ecx, ecx
je 0x14000c920
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140026750]
mov ecx, dword [0x14002675c]
test eax, eax
je 0x14000c92d
mov ebx, 1
mov esi, ebx
jmp 0x14000c95b
test ecx, ecx
jne 0x14000c93f
call fcn.140002f60
test eax, eax
jne 0x14000c93f
lea ebx, [rax + 1]
jmp 0x14000c95b
lea rdx, [rsp + 0x58]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ebx, 1
test eax, eax
cmovne esi, ebx
test esi, esi
jne 0x14000c993
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x14000c97e
cmp ecx, 0x78
je 0x14000c97e
cmp ecx, 1
je 0x14000c97e
cmp ecx, 0x32
jne 0x14000c986
mov dword [0x140026750], ebx
mov esi, ebx
test esi, esi
jne 0x14000c993
mov ebx, edi
jmp 0x14000c993
mov ebx, 1
test ebx, ebx
jne 0x14000c9b3
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
test r14, r14
jne 0x14000c9d3
lea rcx, str.GetOpenFileNameW
call fcn.14000c7e0
mov r14, rax
test rax, rax
je 0x14000c9e6
mov qword [0x140026850], rax
mov rcx, r12
mov rax, r14
call qword [0x14001c8a0]
mov r15d, eax
mov dword [rsp + 0x20], eax
cmp dword [0x140026754], 0
je 0x14000c9f8
cmp dword [0x140026750], 0
jne 0x14000ca25
mov ebx, edi
test r15d, r15d
sete bl
test ebx, ebx
je 0x14000ca0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14000ca25
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r15d
jmp 0x14000c999
Function at 0x14000ca30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, rcx
xor edi, edi
mov r15d, edi
mov dword [rsp + 0x20], edi
mov r14, qword [0x140026858]
mov qword [rsp + 0x58], rdi
cmp dword [0x140026754], edi
jne 0x14000cb0e
mov eax, dword [0x140026750]
test eax, eax
jne 0x14000cb0e
mov esi, edi
mov ecx, dword [0x14002675c]
test ecx, ecx
je 0x14000caa0
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140026750]
mov ecx, dword [0x14002675c]
test eax, eax
je 0x14000caad
mov ebx, 1
mov esi, ebx
jmp 0x14000cadb
test ecx, ecx
jne 0x14000cabf
call fcn.140002f60
test eax, eax
jne 0x14000cabf
lea ebx, [rax + 1]
jmp 0x14000cadb
lea rdx, [rsp + 0x58]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ebx, 1
test eax, eax
cmovne esi, ebx
test esi, esi
jne 0x14000cb13
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x14000cafe
cmp ecx, 0x78
je 0x14000cafe
cmp ecx, 1
je 0x14000cafe
cmp ecx, 0x32
jne 0x14000cb06
mov dword [0x140026750], ebx
mov esi, ebx
test esi, esi
jne 0x14000cb13
mov ebx, edi
jmp 0x14000cb13
mov ebx, 1
test ebx, ebx
jne 0x14000cb33
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
test r14, r14
jne 0x14000cb53
lea rcx, str.GetSaveFileNameW
call fcn.14000c7e0
mov r14, rax
test rax, rax
je 0x14000cb66
mov qword [0x140026858], rax
mov rcx, r12
mov rax, r14
call qword [0x14001c8a0]
mov r15d, eax
mov dword [rsp + 0x20], eax
cmp dword [0x140026754], 0
je 0x14000cb78
cmp dword [0x140026750], 0
jne 0x14000cba5
mov ebx, edi
test r15d, r15d
sete bl
test ebx, ebx
je 0x14000cb8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14000cba5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, r15d
jmp 0x14000cb19
Function at 0x14000cbb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x48], rdi
cmp dword [0x140026754], edi
jne 0x14000cc7f
mov eax, dword [0x140026750]
test eax, eax
jne 0x14000cc7f
mov esi, edi
mov edx, dword [0x14002675c]
test edx, edx
je 0x14000cc13
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140026750]
mov edx, dword [0x14002675c]
test eax, eax
je 0x14000cc20
mov ebx, 1
mov esi, ebx
jmp 0x14000cc4e
test edx, edx
jne 0x14000cc32
call fcn.140002f60
test eax, eax
jne 0x14000cc32
lea ebx, [rax + 1]
jmp 0x14000cc4e
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ebx, 1
test eax, eax
cmovne esi, ebx
test esi, esi
jne 0x14000cc84
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14000cc6f
cmp eax, 0x78
je 0x14000cc6f
cmp eax, 1
je 0x14000cc6f
cmp eax, 0x32
jne 0x14000cc77
mov dword [0x140026750], ebx
mov esi, ebx
test esi, esi
jne 0x14000cc84
mov ebx, edi
jmp 0x14000cc84
mov ebx, 1
test ebx, ebx
jne 0x14000cca0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x140026754], 0
je 0x14000ccc3
cmp dword [0x140026750], 0
jne 0x14000ccf0
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x14000ccd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14000ccf0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14000cc8a

Function at 0x14000cd00
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x14002675c]
mov rbx, rcx
test eax, eax
je 0x14000cd26
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14002675c]
cmp dword [0x140026750], 0
jne 0x14000cd7f
test eax, eax
jne 0x14000cd3c
call fcn.140002f60
test eax, eax
je 0x14000cd50
mov rcx, qword [section..data]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14000cd7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14000cd75
cmp eax, 0x78
je 0x14000cd75
cmp eax, 1
je 0x14000cd75
cmp eax, 0x32
je 0x14000cd75
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [0x140026750], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400130e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140026080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400131ba
cmp byte [rcx + 0x71], 0
je 0x1400131ba
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x14001c8a0]
cmp eax, 0xffffffff
je 0x1400131b6
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001317b
sub eax, 1
je 0x14001317f
cmp eax, 2
jne 0x1400131b6
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140019140
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400131ad
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400131b6
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140013163
xor al, al
jmp 0x140013163
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140019140
add rsp, 0x60
pop rbx
ret
Function at 0x1400138c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140026080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1400138ed
xor eax, eax
jmp 0x140013a56
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14001392d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x14001392d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x140013a4e
cmp qword [rdi + 0x80], 0
je 0x140013a49
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x140013967
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140013992
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x140013a4e
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140013a01
sub eax, 1
je 0x140013a01
cmp eax, 2
jne 0x140013a49
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x140013a4e
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x140013a2f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140013a49
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x140013a4e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140019140
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret