joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bb518
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140285da0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1400bb563
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1400bb56c
call fcn.14000b4c0
test eax, eax
je 0x1400bb588
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400bb590
xor eax, eax
jmp 0x1400bb5f5
test rbx, rbx
jne 0x1400bb5b0
lea rcx, str.ImageList_Destroy
call fcn.14001c370
mov rbx, rax
test rax, rax
je 0x1400bb5c3
mov qword [0x140285da0], rax
mov rcx, rbx
call fcn.1401af184
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400bb5d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400bb5da
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400bb5f3
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x1400f3266
xor eax, eax
add rsp, 0x28
ret
call fcn.1400f32ac
mov rcx, rax
add rsp, 0x28
jmp 0x1400bb518

Function at 0x1400c76ac
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
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
je 0x1400c76d5
mov rdi, qword [rdx + 0x10]
jmp 0x1400c7726
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400c76f6
call fcn.14002fbb8
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400c7710
call fcn.14002fbb8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400c7726
call fcn.14002fbb8
call fcn.14002be88
cmp qword [rax + 0x68], 0
je 0x1400c7740
mov rdx, rdi
mov rcx, rbp
call fcn.1400c6aa4
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400c79ac
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400c7767
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400c7776
mov rdi, rsi
mov qword [rbp + 0xf8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c7b40
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x140285f00]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1400c7b8c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1400c7b95
call fcn.14000b4c0
test eax, eax
je 0x1400c7bb1
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c7bbc
xor eax, eax
jmp 0x1400c7c4b
test r14, r14
jne 0x1400c7bd9
lea rcx, str.CreatePropertySheetPageW
call fcn.1400c7e58
test rax, rax
je 0x1400c7c16
mov qword [0x140285f00], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400c7bfa
cmp dword [rdi], 0x60
jb 0x1400c7bfa
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140278408]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x140285f00]
mov rcx, rbx
call fcn.1401af184
mov rcx, rdi
call rbx
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1400c7c2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c7c2f
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400c7c48
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400c7c64
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140285f08]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1400c7caf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1400c7cb8
call fcn.14000b4c0
test eax, eax
je 0x1400c7cd4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c7cdc
xor eax, eax
jmp 0x1400c7d41
test rbx, rbx
jne 0x1400c7cfc
lea rcx, str.DestroyPropertySheetPage
call fcn.1400c7e58
mov rbx, rax
test rax, rax
je 0x1400c7d0f
mov qword [0x140285f08], rax
mov rcx, rbx
call fcn.1401af184
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400c7d24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c7d26
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c7d3f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400c7d58
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x140285f10]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1400c7da7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1400c7db0
call fcn.14000b4c0
test eax, eax
je 0x1400c7dcc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400c7dd6
or rax, 0xffffffffffffffff
jmp 0x1400c7e40
test rbx, rbx
jne 0x1400c7df6
lea rcx, str.PropertySheetW
call fcn.1400c7e58
mov rbx, rax
test rax, rax
je 0x1400c7e0b
mov qword [0x140285f10], rax
mov rcx, rbx
call fcn.1401af184
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x1400c7e22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400c7e24
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400c7e3d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400d14dc
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140286088]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1400d1527
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1400d1530
call fcn.14000b4c0
test eax, eax
je 0x1400d154c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d1554
xor eax, eax
jmp 0x1400d15b9
test rbx, rbx
jne 0x1400d1574
lea rcx, str.GetOpenFileNameW
call fcn.140038c58
mov rbx, rax
test rax, rax
je 0x1400d1587
mov qword [0x140286088], rax
mov rcx, rbx
call fcn.1401af184
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400d159c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d159e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d15b7
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400d15d0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140286090]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1400d161b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1400d1624
call fcn.14000b4c0
test eax, eax
je 0x1400d1640
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d1648
xor eax, eax
jmp 0x1400d16ad
test rbx, rbx
jne 0x1400d1668
lea rcx, str.GetSaveFileNameW
call fcn.140038c58
mov rbx, rax
test rax, rax
je 0x1400d167b
mov qword [0x140286090], rax
mov rcx, rbx
call fcn.1401af184
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400d1690
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d1692
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d16ab
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400f3a88
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1402864f8]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1400f3ae5
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1400f3aee
call fcn.14000b4c0
test eax, eax
je 0x1400f3b0a
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400f3b15
xor eax, eax
jmp 0x1400f3ba8
test rbx, rbx
jne 0x1400f3b35
lea rcx, str.ImageList_LoadImageW
call fcn.14001c370
mov rbx, rax
test rax, rax
je 0x1400f3b74
mov qword [0x1402864f8], rax
mov rcx, rbx
call fcn.1401af184
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x1400f3b8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400f3b8c
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f3ba5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x14010b758
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14010b928
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x14010b96a
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x14010bdf4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14010bec6
test rbx, rbx
je 0x14010becc
test r9, r9
je 0x14010bed2
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010beaf
cmp dword [rsp + 0x48], 3
jne 0x14010beaf
test eax, eax
jne 0x14010beaf
cmp dword [rdi], eax
je 0x14010beaf
mov ecx, dword [rdi]
call fcn.140007bb8
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14010bea3
cmp dword [rsp + 0x48], 3
jne 0x14010bea3
test eax, eax
jne 0x14010bea3
mov eax, 1
jmp 0x14010beb1
mov rcx, qword [rbx]
call fcn.140007bb0
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.140007c1c
int3
call fcn.140007c1c
int3
call fcn.140007c1c
int3

Function at 0x14010c1fc
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010c20d
xor eax, eax
jmp 0x14010c23b
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14010c244
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14010c255
xor eax, eax
jmp 0x14010c279
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14015b4a0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x140287be0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x14015b4eb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x14015b4f4
call fcn.14000b4c0
test eax, eax
je 0x14015b510
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14015b518
xor eax, eax
jmp 0x14015b57d
test rbx, rbx
jne 0x14015b538
lea rcx, str.ChooseColorW
call fcn.140038c58
mov rbx, rax
test rax, rax
je 0x14015b54b
mov qword [0x140287be0], rax
mov rcx, rbx
call fcn.1401af184
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x14015b560
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14015b562
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14015b57b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1401ae380
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402890b8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14027f38c]
test eax, eax
je 0x1401ae3cb
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14027f38c]
test eax, eax
jne 0x1401ae3d4
call fcn.14000b4c0
test eax, eax
je 0x1401ae3f0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140278408]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1401ae3f8
xor eax, eax
jmp 0x1401ae45d
test rbx, rbx
jne 0x1401ae418
lea rcx, str.PrintDlgW
call fcn.140038c58
mov rbx, rax
test rax, rax
je 0x1401ae42b
mov qword [0x1402890b8], rax
mov rcx, rbx
call fcn.1401af184
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1401ae440
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401ae442
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401ae45b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1401b5374
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1401b5148
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401b5148
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401b5148
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401b5148
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401b5148
cmp dword [rcx + 0x84], 0xe
jbe 0x1401b5148
cmp dword [rcx + 0xf8], esi
je 0x1401b5148
mov ecx, r14d
call fcn.1401b5290
mov ecx, 2
call fcn.1401c49b0
nop
cmp byte [0x140289938], 0
jne 0x1401b5212
mov r15d, 1
mov eax, r15d
xchg dword [0x140289928], eax
test ebx, ebx
jne 0x1401b51bb
mov rdi, qword [0x140279950]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140289930]
cmp rcx, rax
je 0x1401b51b2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400c1800]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140289bd0]
jmp 0x1401b51c7
cmp ebx, r15d
jne 0x1401b51cd
lea rcx, [0x140289be8]
call fcn.1401c2274
nop
test ebx, ebx
jne 0x1401b51e4
lea rdx, [0x1401dac18]
lea rcx, [0x1401dabf8]
call fcn.1401c1cac
lea rdx, [0x1401dac28]
lea rcx, [0x1401dac20]
call fcn.1401c1cac
movzx eax, byte [0x140289938]
test esi, esi
cmove eax, r15d
mov byte [0x140289938], al
jmp 0x1401b5212
mov ecx, 2
call fcn.1401c4a04
test esi, esi
jne 0x1401b5229
mov ecx, r14d
call fcn.1401b5244
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401b50d8
Function at 0x140015e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x28]
call fcn.1400222a0
nop
lea rcx, [rsp + 0x28]
call fcn.14002aa20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140015ed4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, [rsp + 0x28]
call fcn.14001d440
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140283120
add rsp, 0x68
ret
lea rcx, [rsp + 0x28]
call fcn.14001d440
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140283120
add rsp, 0x68
ret

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

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
lea rdx, [rsp + 0x28]
call fcn.1400222a0
nop
lea rcx, [rsp + 0x28]
call fcn.14002aa20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140015f4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x140015f57
shr al, 4
and al, 1
mov byte [rbx], al
mov bl, 1
lea rcx, [rsp + 0x28]
call fcn.14001d440
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140283120
add rsp, 0x60
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x28]
call fcn.1400222a0
nop
lea rcx, [rsp + 0x28]
call fcn.14002aa20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140015fe9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, [rsp + 0x28]
call fcn.14001d440
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140283120
add rsp, 0x60
pop rbx
ret
lea rcx, [rsp + 0x28]
call fcn.14001d440
test bl, 0x10
je 0x140015fd4
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140283120
add rsp, 0x60
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x28]
call fcn.1400222a0
nop
lea rcx, [rsp + 0x28]
call fcn.14002aa20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140016079
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, [rsp + 0x28]
call fcn.14001d440
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140283120
add rsp, 0x60
pop rbx
ret
lea rcx, [rsp + 0x28]
call fcn.14001d440
test bl, 0x10
jne 0x140016064
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140283120
add rsp, 0x60
pop rbx
ret