joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ecb0
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], r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x14023b04c]
test eax, eax
je 0x14001ed02
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x14001ed0b
call fcn.140008564
test eax, eax
je 0x14001ed27
lea rdx, [rsp + 0x30]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14001ed2f
xor eax, eax
jmp 0x14001ed87
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x14001ed69
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001ed6b
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001ed84
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret

Function at 0x140020b1c
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 [0x14023ec98]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x140020b67
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x140020b70
call fcn.140008564
test eax, eax
je 0x140020b8c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140020b94
xor eax, eax
jmp 0x140020bf1
test rbx, rbx
jne 0x140020bb4
lea rcx, str.GetOpenFileNameW
call fcn.140015800
mov rbx, rax
test rax, rax
je 0x140020bbf
mov qword [0x14023ec98], rax
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 0x140020bd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140020bd6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140020bef
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 0x140020c08
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 [0x14023eca0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x140020c53
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x140020c5c
call fcn.140008564
test eax, eax
je 0x140020c78
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140020c80
xor eax, eax
jmp 0x140020cdd
test rbx, rbx
jne 0x140020ca0
lea rcx, str.GetSaveFileNameW
call fcn.140015800
mov rbx, rax
test rax, rax
je 0x140020cab
mov qword [0x14023eca0], rax
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 0x140020cc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140020cc2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140020cdb
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 0x1400417d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x140041809
call fcn.140005c68
mov rdi, qword [rax + 0x18]
lea r8, [0x1401ab4c0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x140041828
xor eax, eax
jmp 0x140041874
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140041824
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140041869
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140041890
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140044c04
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 [0x14023f480]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x140044c4f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x140044c58
call fcn.140008564
test eax, eax
je 0x140044c74
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140044c7c
xor eax, eax
jmp 0x140044cd9
test rbx, rbx
jne 0x140044c9c
lea rcx, str.ImageList_GetImageCount
call fcn.140013874
mov rbx, rax
test rax, rax
je 0x140044ca7
mov qword [0x14023f480], rax
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 0x140044cbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140044cbe
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140044cd7
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 0x140069a8c
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x1400691e6
xor eax, eax
add rsp, 0x28
ret
call fcn.140069204
mov rcx, rax
add rsp, 0x28
jmp 0x140069a8c
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 [0x1402401a8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x140069ad7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x140069ae0
call fcn.140008564
test eax, eax
je 0x140069afc
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140069b04
xor eax, eax
jmp 0x140069b61
test rbx, rbx
jne 0x140069b24
lea rcx, str.ImageList_Destroy
call fcn.140013874
mov rbx, rax
test rax, rax
je 0x140069b2f
mov qword [0x1402401a8], rax
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 0x140069b44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140069b46
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140069b5f
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 0x140069b78
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 [0x1402401b0]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x140069bd5
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x140069bde
call fcn.140008564
test eax, eax
je 0x140069bfa
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x140069c05
xor eax, eax
jmp 0x140069c90
test rbx, rbx
jne 0x140069c25
lea rcx, str.ImageList_LoadImageW
call fcn.140013874
mov rbx, rax
test rax, rax
je 0x140069c5c
mov qword [0x1402401b0], rax
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 0x140069c72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140069c74
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140069c8d
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 0x1400ebae8
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 [0x140242990]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x1400ebb33
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x1400ebb3c
call fcn.140008564
test eax, eax
je 0x1400ebb58
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ebb60
xor eax, eax
jmp 0x1400ebbbd
test rbx, rbx
jne 0x1400ebb80
lea rcx, str.ChooseColorW
call fcn.140015800
mov rbx, rax
test rax, rax
je 0x1400ebb8b
mov qword [0x140242990], rax
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 0x1400ebba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ebba2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ebbbb
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 0x1400f2a0c
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 [0x140242b88]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x1400f2a57
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x1400f2a60
call fcn.140008564
test eax, eax
je 0x1400f2a7c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f2a84
xor eax, eax
jmp 0x1400f2ae1
test rbx, rbx
jne 0x1400f2aa4
lea rcx, str.PrintDlgW
call fcn.140015800
mov rbx, rax
test rax, rax
je 0x1400f2aaf
mov qword [0x140242b88], rax
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 0x1400f2ac4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f2ac6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f2adf
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 0x1400f9148
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 0x1400f9278
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
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 0x1400f92ba
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 0x1400f96c8
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 0x1400f979a
test rbx, rbx
je 0x1400f97a0
test r9, r9
je 0x1400f97a6
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
and qword [rax - 0x18], 0
lea r9, [rax + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f9783
cmp dword [rsp + 0x48], 3
jne 0x1400f9783
test eax, eax
jne 0x1400f9783
cmp dword [rdi], eax
je 0x1400f9783
mov ecx, dword [rdi]
call fcn.140004d94
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f9777
cmp dword [rsp + 0x48], 3
jne 0x1400f9777
test eax, eax
jne 0x1400f9777
mov eax, 1
jmp 0x1400f9785
mov rcx, qword [rbx]
call fcn.140004dd8
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.140004e34
int3
call fcn.140004e34
int3
call fcn.140004e34
int3

Function at 0x1400f9a64
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f9a75
xor eax, eax
jmp 0x1400f9aa3
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 0x1400f9aac
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400f9abd
xor eax, eax
jmp 0x1400f9ae1
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
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 0x14014a664
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 0x14014a68d
mov rdi, qword [rdx + 0x10]
jmp 0x14014a6de
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rbx + 8]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x14014a6ae
call fcn.140018130
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14014a6c8
call fcn.140018130
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14014a6de
call fcn.140018130
call fcn.140005c68
cmp qword [rax + 0x68], 0
je 0x14014a6f8
mov rdx, rdi
mov rcx, rbp
call fcn.140149cb0
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14014a95c
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x14014a71f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x14014a72e
mov rdi, rsi
mov qword [rbp + 0xe8], 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 0x14014aacc
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 [0x140243ba8]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x14014ab18
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x14014ab21
call fcn.140008564
test eax, eax
je 0x14014ab3d
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14014ab48
xor eax, eax
jmp 0x14014abcc
test r14, r14
jne 0x14014ab65
lea rcx, str.CreatePropertySheetPageW
call fcn.14014adc8
test rax, rax
je 0x14014ab97
mov qword [0x140243ba8], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14014ab86
cmp dword [rdi], 0x60
jb 0x14014ab86
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140233008]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x140243ba8]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x14014abae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14014abb0
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14014abc9
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 0x14014abe4
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 [0x140243bb0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x14014ac2f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x14014ac38
call fcn.140008564
test eax, eax
je 0x14014ac54
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14014ac5c
xor eax, eax
jmp 0x14014acb9
test rbx, rbx
jne 0x14014ac7c
lea rcx, str.DestroyPropertySheetPage
call fcn.14014adc8
mov rbx, rax
test rax, rax
je 0x14014ac87
mov qword [0x140243bb0], rax
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 0x14014ac9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14014ac9e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14014acb7
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 0x14014acd0
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 [0x140243bb8]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14023b04c]
test eax, eax
je 0x14014ad1f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14023b04c]
test eax, eax
jne 0x14014ad28
call fcn.140008564
test eax, eax
je 0x14014ad44
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140233008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14014ad4e
or rax, 0xffffffffffffffff
jmp 0x14014adb0
test rbx, rbx
jne 0x14014ad6e
lea rcx, str.PropertySheetW
call fcn.14014adc8
mov rbx, rax
test rax, rax
je 0x14014ad7b
mov qword [0x140243bb8], rax
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 0x14014ad92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14014ad94
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14014adad
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 0x140172198
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
Function at 0x1401743e4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14017424c
Function at 0x140186914
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140186940
call fcn.140172eb8
mov dword [rax], 0x16
call fcn.1401776cc
jmp 0x140186a46
mov eax, dword [rcx + 0x18]
test al, 0x83
je 0x140186a46
test al, 0x40
jne 0x140186a46
test al, 2
je 0x140186962
or eax, 0x20
mov dword [rcx + 0x18], eax
jmp 0x140186a46
or eax, 1
mov dword [rcx + 0x18], eax
test eax, 0x10c
jne 0x140186976
call fcn.140186418
jmp 0x14018697d
mov rax, qword [rcx + 0x10]
mov qword [rcx], rax
mov rcx, rdi
call fcn.140176674
mov r8d, dword [rdi + 0x24]
mov rdx, qword [rdi + 0x10]
mov ecx, eax
call fcn.1401843cc
mov dword [rdi + 8], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140186a35
test byte [rdi + 0x18], 0x82
jne 0x140186a03
mov rcx, rdi
call fcn.140176674
cmp eax, 0xffffffff
je 0x1401869ee
mov rcx, rdi
call fcn.140176674
cmp eax, 0xfffffffe
je 0x1401869ee
mov rcx, rdi
call fcn.140176674
mov rcx, rdi
lea rsi, [0x140245b30]
movsxd rbx, eax
sar rbx, 5
call fcn.140176674
and eax, 0x1f
imul rax, rax, 0x58
add rax, qword [rsi + rbx*8]
jmp 0x1401869f5
lea rax, [0x1402396a0]
mov al, byte [rax + 8]
and al, 0x82
cmp al, 0x82
jne 0x140186a03
bts dword [rdi + 0x18], 0xd
cmp dword [rdi + 0x24], 0x200
jne 0x140186a22
test byte [rdi + 0x18], 8
je 0x140186a22
test dword [rdi + 0x18], 0x400
jne 0x140186a22
mov dword [rdi + 0x24], 0x1000
mov rcx, qword [rdi]
add dword [rdi + 8], 0xfffffffe
movzx eax, word [rcx]
add rcx, 2
mov qword [rdi], rcx
jmp 0x140186a4b
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [rdi + 0x18], eax
and dword [rdi + 8], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret