joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035574
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 [0x141724388]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141720c50]
test eax, eax
je 0x1400355bf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x1400355c8
call fcn.140027788
test eax, eax
je 0x1400355e4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400355ec
xor eax, eax
jmp 0x140035651
test rbx, rbx
jne 0x14003560c
lea rcx, str.PageSetupDlgW
call fcn.1400354e0
mov rbx, rax
test rax, rax
je 0x14003561f
mov qword [0x141724388], rax
mov rcx, rbx
call fcn.1401d7c94
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 0x140035634
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140035636
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14003564f
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 0x140035668
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 [0x141724380]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141720c50]
test eax, eax
je 0x1400356b3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x1400356bc
call fcn.140027788
test eax, eax
je 0x1400356d8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400356e0
xor eax, eax
jmp 0x140035745
test rbx, rbx
jne 0x140035700
lea rcx, str.PrintDlgW
call fcn.1400354e0
mov rbx, rax
test rax, rax
je 0x140035713
mov qword [0x141724380], rax
mov rcx, rbx
call fcn.1401d7c94
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 0x140035728
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14003572a
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140035743
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 0x140049100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp 0x140049100
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r15, rdx
mov r14, rcx
call fcn.140029cf0
mov r8d, 0xf1
mov rdx, r15
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r12d, r12d
test rax, rax
jne 0x140049146
xor eax, eax
jmp 0x14004921e
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14004913f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14004913f
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140003cfc
mov rbp, rax
mov r9d, r12d
cmp r12w, word [rbx + 6]
jae 0x1400491b8
mov rdx, rax
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
mov dword [rdx], ecx
lea r8, [r8 + 2]
movzx eax, word [rbx + 6]
lea rdx, [rdx + 4]
cmp r9d, eax
jl 0x14004919e
movzx r8d, word [rbx + 6]
mov rdx, rbp
mov rcx, r14
call fcn.140049a58
mov rcx, rbp
mov esi, eax
call fcn.1400122c8
test esi, esi
je 0x140049213
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov rcx, r14
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
call fcn.140049c78
mov rdx, r15
mov rcx, r14
call fcn.140049084
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14004b46c
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
je 0x14004b4c3
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004b4d4
lea rdx, str.DeleteFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14004b4d4
mov rcx, rax
call fcn.1401d7c94
mov rdx, qword [rbx]
mov rcx, rdi
call rsi
jmp 0x14004b4d6
cmp dword [rcx + 8], 0
je 0x14004b4d4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14004b4d6
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b838
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x14004b8ad
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004b8c1
lea rdx, str.MoveFileTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14004b8c1
mov rcx, rax
call fcn.1401d7c94
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rbp
mov dword [rsp + 0x20], 2
mov rdx, rsi
call rdi
jmp 0x14004b8c3
cmp dword [rcx + 8], 0
je 0x14004b8c1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14004b8c3
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14004bbcc
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
test rdx, rdx
je 0x14004bbea
mov rdx, rcx
mov rcx, rax
call fcn.14004b46c
jmp 0x14004bbf0
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004bc04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.14006b710
add rsp, 0x20
pop rbx
ret

Function at 0x14004bc0c
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rax, r8
mov rbx, rcx
test r8, r8
je 0x14004bc2d
mov r8, rdx
mov rdx, rcx
mov rcx, rax
call fcn.14004b838
jmp 0x14004bc33
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14004bc47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.14006b710
add rsp, 0x20
pop rbx
ret
Function at 0x14004c160
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, r8w
mov r15, rdx
mov r12, rcx
or r13d, 0xffffffff
movzx esi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x1417244a0]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x141720c50]
test eax, eax
je 0x14004c1be
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x14004c1c7
call fcn.140027788
test eax, eax
je 0x14004c1e3
lea rdx, [rsp + 0x78]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x14004c1ed
movzx eax, r13w
jmp 0x14004c25e
test rbx, rbx
jne 0x14004c20d
lea rcx, str.GetFileTitleW
call fcn.1400354e0
mov rbx, rax
test rax, rax
je 0x14004c229
mov qword [0x1417244a0], rax
mov rcx, rbx
call fcn.1401d7c94
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx esi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp si, r13w
sete bl
test ebx, ebx
je 0x14004c240
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14004c242
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14004c25b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14004f508
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14004f582
xor r8d, r8d
call fcn.14004f7c8
mov rsi, rax
test rax, rax
jne 0x14004f53e
mov eax, edi
jmp 0x14004f598
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x14004f53a
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14005058c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x1400505ff
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140050613
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140050613
mov rcx, rax
call fcn.1401d7c94
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, rbp
call rdi
jmp 0x140050618
cmp dword [rcx + 8], 0
je 0x140050613
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140050618
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400555f8
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 [0x141724510]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141720c50]
test eax, eax
je 0x140055643
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x14005564c
call fcn.140027788
test eax, eax
je 0x140055668
lea rdx, [rsp + 0x48]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140055670
xor eax, eax
jmp 0x1400556d5
test rbx, rbx
jne 0x140055690
lea rcx, str.ChooseFontW
call fcn.1400354e0
mov rbx, rax
test rax, rax
je 0x1400556a3
mov qword [0x141724510], rax
mov rcx, rbx
call fcn.1401d7c94
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 0x1400556b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400556ba
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400556d3
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 0x1400556ec
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x18], 0
xor ebx, ebx
mov eax, dword [0x141720c50]
test eax, eax
je 0x14005572e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x140055737
call fcn.140027788
test eax, eax
je 0x140055753
lea rdx, [rsp + 0x50]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14005575b
xor eax, eax
jmp 0x14005579f
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140055782
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140055784
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005579d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140056404
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r9
mov r14, r8
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.1400091d0
nop
cmp rbx, 0xffffffff80000000
jne 0x14005649f
call fcn.140029d6c
cmp eax, 1
jne 0x14005649f
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.140016464
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140002ec0
nop
mov rsi, qword [rsp + 0x20]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x140056498
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401d7c94
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov rbx, 0xffffffff80000001
mov r9, rbp
mov r8, r14
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebp, eax
mov rsi, qword [rsp + 0x50]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x1400564e3
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401d7c94
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400564f8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rbp, r9
mov r14d, r8d
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.1400091d0
nop
cmp rbx, 0xffffffff80000000
jne 0x140056593
call fcn.140029d6c
cmp eax, 1
jne 0x140056593
lea r8, [rsp + 0x60]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.140016464
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002ec0
nop
mov rsi, qword [rsp + 0x30]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x14005658c
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401d7c94
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov r9, rbp
mov r8d, r14d
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebp, eax
mov rsi, qword [rsp + 0x60]
or ecx, 0xffffffff
lock xadd dword [rsi - 8], ecx
sub ecx, 1
jg 0x1400565e2
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call fcn.1401d7c94
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov eax, ebp
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14005dbcc
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 0x14005dbf5
mov rdi, qword [rdx + 0x10]
jmp 0x14005dc46
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 0x14005dc16
call fcn.14002e4ec
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x14005dc30
call fcn.14002e4ec
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x14005dc46
call fcn.14002e4ec
call fcn.140029cf0
cmp qword [rax + 0x68], 0
je 0x14005dc60
mov rdx, rdi
mov rcx, rbp
call fcn.14005ced8
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.14005decc
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14005dc87
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14005dc96
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 0x14005e060
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 [0x141724a48]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x141720c50]
test eax, eax
je 0x14005e0ac
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x14005e0b5
call fcn.140027788
test eax, eax
je 0x14005e0d1
lea rdx, [rsp + 0x40]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005e0dc
xor eax, eax
jmp 0x14005e16b
test r14, r14
jne 0x14005e0f9
lea rcx, str.CreatePropertySheetPageW
call fcn.14005e378
test rax, rax
je 0x14005e136
mov qword [0x141724a48], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x14005e11a
cmp dword [rdi], 0x60
jb 0x14005e11a
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x141718878]
mov qword [rdi + 0x58], rax
mov rbx, qword [0x141724a48]
mov rcx, rbx
call fcn.1401d7c94
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 0x14005e14d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005e14f
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14005e168
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 0x14005e184
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 [0x141724a50]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141720c50]
test eax, eax
je 0x14005e1cf
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x14005e1d8
call fcn.140027788
test eax, eax
je 0x14005e1f4
lea rdx, [rsp + 0x48]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005e1fc
xor eax, eax
jmp 0x14005e261
test rbx, rbx
jne 0x14005e21c
lea rcx, str.DestroyPropertySheetPage
call fcn.14005e378
mov rbx, rax
test rax, rax
je 0x14005e22f
mov qword [0x141724a50], rax
mov rcx, rbx
call fcn.1401d7c94
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 0x14005e244
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005e246
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005e25f
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 0x14005e278
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 [0x141724a58]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x141720c50]
test eax, eax
je 0x14005e2c7
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141720c50]
test eax, eax
jne 0x14005e2d0
call fcn.140027788
test eax, eax
je 0x14005e2ec
lea rdx, [rsp + 0x48]
mov rcx, qword [0x141718878]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14005e2f6
or rax, 0xffffffffffffffff
jmp 0x14005e360
test rbx, rbx
jne 0x14005e316
lea rcx, str.PropertySheetW
call fcn.14005e378
mov rbx, rax
test rax, rax
je 0x14005e32b
mov qword [0x141724a58], rax
mov rcx, rbx
call fcn.1401d7c94
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 0x14005e342
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14005e344
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14005e35d
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