joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140109528
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 0x140109551
mov rdi, qword [rdx + 0x10]
jmp 0x1401095a2
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 0x140109572
call fcn.1400417f0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14010958c
call fcn.1400417f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1401095a2
call fcn.1400417f0
call fcn.14003434c
cmp qword [rax + 0x68], 0
je 0x1401095bc
mov rdx, rdi
mov rcx, rbp
call fcn.140108b3c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14010991c
mov rcx, qword [rbp + 0xe8]
mov rsi, rax
test rcx, rcx
je 0x1401095e3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xe8], 0
test rsi, rsi
je 0x1401095f2
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 0x140109a8c
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 [0x14036c170]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x140109ad8
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x140109ae1
call fcn.14001c830
test eax, eax
je 0x140109afd
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140109b08
xor eax, eax
jmp 0x140109b8c
test r14, r14
jne 0x140109b25
lea rcx, str.CreatePropertySheetPageW
call fcn.140109d88
test rax, rax
je 0x140109b57
mov qword [0x14036c170], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x140109b46
cmp dword [rdi], 0x60
jb 0x140109b46
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x14035a120]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x14036c170]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x140109b6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140109b70
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140109b89
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 0x140109ba4
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 [0x14036c178]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x140109bef
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x140109bf8
call fcn.14001c830
test eax, eax
je 0x140109c14
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140109c1c
xor eax, eax
jmp 0x140109c79
test rbx, rbx
jne 0x140109c3c
lea rcx, str.DestroyPropertySheetPage
call fcn.140109d88
mov rbx, rax
test rax, rax
je 0x140109c47
mov qword [0x14036c178], 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 0x140109c5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140109c5e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140109c77
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 0x140109c90
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 [0x14036c180]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x140109cdf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x140109ce8
call fcn.14001c830
test eax, eax
je 0x140109d04
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140109d0e
or rax, 0xffffffffffffffff
jmp 0x140109d70
test rbx, rbx
jne 0x140109d2e
lea rcx, str.PropertySheetW
call fcn.140109d88
mov rbx, rax
test rax, rax
je 0x140109d3b
mov qword [0x14036c180], 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 0x140109d52
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140109d54
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140109d6d
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 0x14011d7cc
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 0x14011d984
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 0x14011d9c6
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 0x14011ddd4
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 0x14011dea6
test rbx, rbx
je 0x14011deac
test r9, r9
je 0x14011deb2
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 0x14011de8f
cmp dword [rsp + 0x48], 3
jne 0x14011de8f
test eax, eax
jne 0x14011de8f
cmp dword [rdi], eax
je 0x14011de8f
mov ecx, dword [rdi]
call fcn.14000c8cc
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 0x14011de83
cmp dword [rsp + 0x48], 3
jne 0x14011de83
test eax, eax
jne 0x14011de83
mov eax, 1
jmp 0x14011de91
mov rcx, qword [rbx]
call fcn.140030a08
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.14003015c
int3
call fcn.14003015c
int3
call fcn.14003015c
int3

Function at 0x14011e300
Capabilities:
Set registry value

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

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14011e359
xor eax, eax
jmp 0x14011e37d
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 0x140187f88
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 [0x14036d818]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x140187fd3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x140187fdc
call fcn.14001c830
test eax, eax
je 0x140187ff8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140188000
xor eax, eax
jmp 0x14018805d
test rbx, rbx
jne 0x140188020
lea rcx, str.ChooseColorW
call fcn.1400d827c
mov rbx, rax
test rax, rax
je 0x14018802b
mov qword [0x14036d818], 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 0x140188040
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140188042
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14018805b
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 0x140195300
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 [0x14036daf0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14019534b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x140195354
call fcn.14001c830
test eax, eax
je 0x140195370
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140195378
xor eax, eax
jmp 0x1401953d5
test rbx, rbx
jne 0x140195398
lea rcx, str.GetOpenFileNameW
call fcn.1400d827c
mov rbx, rax
test rax, rax
je 0x1401953a3
mov qword [0x14036daf0], 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 0x1401953b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401953ba
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401953d3
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 0x1401953ec
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 [0x14036daf8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x140195437
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x140195440
call fcn.14001c830
test eax, eax
je 0x14019545c
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140195464
xor eax, eax
jmp 0x1401954c1
test rbx, rbx
jne 0x140195484
lea rcx, str.GetSaveFileNameW
call fcn.1400d827c
mov rbx, rax
test rax, rax
je 0x14019548f
mov qword [0x14036daf8], 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 0x1401954a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1401954a6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1401954bf
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 0x140196318
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
and dword [rax - 0x20], 0
and qword [rax - 0x18], 0
mov rdi, rcx
mov rdx, 0xffffffff80000002
lea rcx, [rax - 0x28]
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionPreviewHandlers
mov r9d, 0x2001f
mov qword [rax - 0x28], rdx
call fcn.14003df00
test eax, eax
jne 0x14019637d
mov rcx, qword [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp qword [rsp + 0x20], 0
je 0x140196378
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x20], 0
and dword [rsp + 0x28], 0
lea r8, str.CLSID
lea rcx, [rsp + 0x20]
mov r9d, 0x2001f
mov rdx, 0xffffffff80000000
call fcn.14003df00
test eax, eax
jne 0x1401963c0
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.14011deb8
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1401963d0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
jmp 0x1401963c5
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1401963d0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x40
pop rdi
ret
Function at 0x1401ce2c0
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
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1401ce2e9
xor eax, eax
jmp 0x1401ce369
test rbx, rbx
je 0x1401ce2e2
test r9, r9
jne 0x1401ce301
call fcn.14003434c
mov r9, qword [rax + 0x18]
test r9, r9
je 0x1401ce2e2
mov r8, rbx
mov rdx, rsi
mov rcx, r9
mov qword [rdi + 0x10], r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1401ce2e2
mov rcx, qword [rdi + 0x10]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test eax, eax
je 0x1401ce2e2
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1401ce2e2
mov rbx, qword [rdi]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r8d, ebp
mov rcx, rdi
mov rdx, rax
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14021c95c
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 qword [rax - 0x18], rdi
mov rbx, qword [0x14036ede8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021c9a8
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021c9b1
call fcn.14001c830
test eax, eax
je 0x14021c9cd
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021c9d5
xor eax, eax
jmp 0x14021ca36
test rbx, rbx
jne 0x14021c9f5
lea rcx, str.FindTextW
call fcn.1400d827c
mov rbx, rax
test rax, rax
je 0x14021ca02
mov qword [0x14036ede8], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14021ca18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021ca1a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021ca33
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 0x14021ca4c
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 qword [rax - 0x18], rdi
mov rbx, qword [0x14036edf0]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021ca98
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021caa1
call fcn.14001c830
test eax, eax
je 0x14021cabd
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021cac5
xor eax, eax
jmp 0x14021cb26
test rbx, rbx
jne 0x14021cae5
lea rcx, str.ReplaceTextW
call fcn.1400d827c
mov rbx, rax
test rax, rax
je 0x14021caf2
mov qword [0x14036edf0], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14021cb08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021cb0a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021cb23
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 0x14021cc34
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 [0x14036edf8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021cc7f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021cc88
call fcn.14001c830
test eax, eax
je 0x14021cca4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021ccac
xor eax, eax
jmp 0x14021cd09
test rbx, rbx
jne 0x14021cccc
lea rcx, str.ImageList_DrawIndirect
call fcn.14001c47c
mov rbx, rax
test rax, rax
je 0x14021ccd7
mov qword [0x14036edf8], 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 0x14021ccec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021ccee
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021cd07
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 0x14021cd20
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 qword [rax - 0x18], rdi
mov rbx, qword [0x14036ee00]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021cd6c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021cd75
call fcn.14001c830
test eax, eax
je 0x14021cd91
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021cd99
xor eax, eax
jmp 0x14021cdfa
test rbx, rbx
jne 0x14021cdb9
lea rcx, str.ImageList_Duplicate
call fcn.14001c47c
mov rbx, rax
test rax, rax
je 0x14021cdc6
mov qword [0x14036ee00], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rdi, rdi
sete bl
test ebx, ebx
je 0x14021cddc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021cdde
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021cdf7
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 0x14021ed78
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 [0x14036eeb8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403651d0]
test eax, eax
je 0x14021edc3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403651d0]
test eax, eax
jne 0x14021edcc
call fcn.14001c830
test eax, eax
je 0x14021ede8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14035a120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14021edf0
xor eax, eax
jmp 0x14021ee4d
test rbx, rbx
jne 0x14021ee10
lea rcx, str.ChooseFontW
call fcn.1400d827c
mov rbx, rax
test rax, rax
je 0x14021ee1b
mov qword [0x14036eeb8], 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 0x14021ee30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14021ee32
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14021ee4b
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