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

Disassembly:
push rdi
sub rsp, 0x290
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
shr edx, 0x10
mov r10, rcx
movzx ecx, dx
mov dword [rsp + 0x40], 4
mov rdi, r8
shr cx, 8
xor r8d, r8d
test cl, cl
jne 0x14019c47c
mov qword [rsp + 0x28], r10
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], r9
mov edx, 0x104
lea r9, str.Software_s_sLang
call sym.ErrorReportClient.exe_SfCchPrintF
jmp 0x14019c4aa
movzx eax, dl
mov edx, 0x104
mov dword [rsp + 0x38], eax
movzx ecx, cl
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r9
lea r9, str.Software_s_s_d._dLang
call sym.ErrorReportClient.exe_SfCchPrintF
lea rax, [rsp + 0x48]
mov qword [rsp + 0x288], rbx
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14019c504
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14019c551
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.ULangID
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
movsxd rbx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
jne 0x14019c551
movzx eax, word [rsp + 0x44]
mov dword [rdi], eax
lea eax, [rbx + 1]
jmp 0x14019c553
xor eax, eax
mov rbx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x290
pop rdi
ret
Function at 0x14019c9f0
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0xb0]
mov r12, r9
mov r15, r8
mov r14d, edx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov ecx, 0x3ff
xor esi, esi
and ax, cx
mov ecx, 9
cmp cx, ax
sete sil
jne 0x14019ca72
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
je 0x14019ca72
mov edx, 0x58
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
xor esi, esi
mov rdx, rbx
cmp eax, 0x60
sete sil
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
movzx ebx, r14w
test esi, esi
je 0x14019caa9
xor r9d, r9d
mov edx, ebx
mov rcx, rbp
lea r8d, [r9 + 5]
call sym.ErrorReportClient.exe_SfLoadResourceCustom
test rax, rax
je 0x14019cb00
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r8, rdi
mov rcx, rbp
mov rdx, rax
call sym.ErrorReportClient.exe_SfGetDialogSizeIndirect
jmp 0x14019cb02
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r9, r15
mov qword [rsp + 0x20], r12
mov r8, rax
mov rdx, rbx
mov rcx, rbp
call sym.ErrorReportClient.exe_SfCreateDialogParam
mov rbx, rax
test rax, rax
je 0x14019cb00
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rsp + 0x38]
sub ecx, dword [rsp + 0x30]
mov dword [rdi], ecx
mov ecx, dword [rsp + 0x3c]
sub ecx, dword [rsp + 0x34]
mov dword [rdi + 4], ecx
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 1
jmp 0x14019cb02
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14019d6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x260]
test rcx, rcx
je 0x14019d721
cmp dword [rbx + 0x258], 0
je 0x14019d721
movzx r9d, word [rbx + 0x268]
mov r8, rdx
mov edx, 9
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14019d721
mov rcx, qword [rbx + 0x260]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14019d721
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_CreateAcceleratorTableW]
test rax, rax
jne 0x14019d72d
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14019d800
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x14019d808
mov rcx, qword [rcx]
jmp fcn.14019f680
Function at 0x14019d980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x260]
test rcx, rcx
je 0x14019d9b0
cmp dword [rbx + 0x258], 0
je 0x14019d9b0
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14019d9bc
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14019d9d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
xor edi, edi
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 0x260], rdi
je 0x14019da27
cmp dword [rcx + 0x258], edi
je 0x14019da27
mov qword [rsp + 0x20], r9
mov r9, r8
mov r8, rdx
mov edx, dword [rcx + 0x268]
call fcn.14019e1e0
mov rdi, rax
test rax, rax
jne 0x14019da86
mov rcx, qword [rbx]
cmp rcx, qword [rbx + 0x260]
je 0x14019da6e
mov r8, rbp
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14019da69
mov rcx, qword [rbx]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rsi, rsi
je 0x14019da86
mov rcx, qword [rbx]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsi], eax
mov rax, rdi
jmp 0x14019da86
mov r9, rbp
mov qword [rsp + 0x20], rsi
mov r8, r14
mov edx, 0x409
mov rcx, rbx
call fcn.14019e1e0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14019db70
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
movzx r9d, word [rsp + 0x68]
mov r8, rdx
mov rbx, rcx
mov edx, 5
mov rcx, qword [rcx + 0x260]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14019dbea
mov rcx, qword [rbx + 0x260]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14019dbea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [rbx + 0x260]
mov r9, rdi
mov rdx, rax
mov r8, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14019f120
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14019dc10
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, r9
movzx r9d, word [rsp + 0x68]
mov r8, rdx
mov rbx, rcx
mov edx, 5
mov rcx, qword [rcx + 0x260]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14019dc8a
mov rcx, qword [rbx + 0x260]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14019dc8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [rbx + 0x260]
mov r9, rdi
mov rdx, rax
mov r8, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.14019f3c0
mov rbx, qword [rsp + 0x40]
mov rax, 0xffffffffffffffff
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14019e170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
movzx r9d, r8w
mov rbx, rcx
mov rcx, qword [rcx + 0x260]
mov r8, rdx
mov edx, 4
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14019e1c4
mov rcx, qword [rbx + 0x260]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14019e1c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_LoadMenuIndirectW]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14019e1e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rax, r9
mov rsi, rcx
mov rcx, qword [rcx + 0x260]
movzx r9d, dx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rbp, rax
test rax, rax
je 0x14019e25d
mov rcx, qword [rsi + 0x260]
mov rdx, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, qword [rsp + 0x50]
mov rbx, rax
test rdi, rdi
je 0x14019e248
mov rcx, qword [rsi + 0x260]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rdi], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x14019e350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, edx
mov rsi, r9
shr eax, 4
mov r9d, r8d
inc ax
mov edi, edx
mov rbx, rcx
movzx r8d, ax
mov rcx, qword [rcx + 0x260]
mov edx, 6
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x14019e435
mov rcx, qword [rbx + 0x260]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14019e435
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14019e435
and edi, 0xf
jbe 0x14019e3e1
mov ecx, edi
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
sub rcx, 1
jne 0x14019e3d0
movzx edx, word [rbx]
mov edi, dword [rsp + 0x50]
mov ecx, edi
lea eax, [rdx + 1]
cmp eax, edi
cmovl ecx, eax
movzx eax, dx
test ecx, ecx
jle 0x14019e416
movsxd rdx, ecx
lea r8, [rbx + 2]
mov rcx, rsi
mov r9, 0xffffffffffffffff
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
movzx edx, word [rbx]
movzx eax, dx
movzx ecx, ax
cmp ecx, edi
cmovl edi, ecx
test dx, dx
je 0x14019e435
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14019e940
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x280
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, qword [rsp + 0x2d0]
mov rsi, r8
shr edx, 0x10
mov r8, rcx
movzx ecx, dx
mov ebp, r9d
mov r9, qword [rsp + 0x2e0]
shr cx, 8
test cl, cl
jne 0x14019e9ac
mov qword [rsp + 0x28], r8
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], r9
xor r8d, r8d
lea r9, str.Software_s_sLang
mov edx, 0x104
call sym.ErrorReportClient.exe_SfCchPrintF
jmp 0x14019e9dd
movzx eax, dl
mov edx, 0x104
mov dword [rsp + 0x38], eax
movzx ecx, cl
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], r8
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9, str.Software_s_s_d._dLang
call sym.ErrorReportClient.exe_SfCchPrintF
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0x20006
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
movsxd rdi, eax
test eax, eax
jne 0x14019ea50
mov eax, dword [rsp + 0x2d8]
mov r9d, ebp
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
movsxd rdi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x280
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14019f120
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
cmp dword [0x14068c074], edi
jne 0x14019f1fe
mov eax, dword [0x14068c070]
test eax, eax
jne 0x14019f1fe
mov r9d, dword [0x14068c07c]
test r9d, r9d
je 0x14019f192
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov r9d, dword [0x14068c07c]
test eax, eax
jne 0x14019f1fe
test r9d, r9d
jne 0x14019f1a4
call fcn.14018bc50
test eax, eax
je 0x14019f1ba
lea rdx, [rsp + 0x30]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14019f1fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14019f1f4
cmp eax, 0x78
je 0x14019f1f4
cmp eax, 1
je 0x14019f1f4
cmp eax, 0x32
je 0x14019f1f4
xor eax, eax
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
mov dword [0x14068c070], 1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp dword [0x14068c074], 0
je 0x14019f234
cmp dword [0x14068c070], 0
jne 0x14019f261
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x14019f248
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019f261
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14019f1d9
Function at 0x14019f270
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
cmp dword [0x14068c074], edi
jne 0x14019f34e
mov eax, dword [0x14068c070]
test eax, eax
jne 0x14019f34e
mov r9d, dword [0x14068c07c]
test r9d, r9d
je 0x14019f2e2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov r9d, dword [0x14068c07c]
test eax, eax
jne 0x14019f34e
test r9d, r9d
jne 0x14019f2f4
call fcn.14018bc50
test eax, eax
je 0x14019f30a
lea rdx, [rsp + 0x30]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14019f34e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14019f344
cmp eax, 0x78
je 0x14019f344
cmp eax, 1
je 0x14019f344
cmp eax, 0x32
je 0x14019f344
xor eax, eax
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
mov dword [0x14068c070], 1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp dword [0x14068c074], 0
je 0x14019f384
cmp dword [0x14068c070], 0
jne 0x14019f3b1
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x14019f398
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019f3b1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14019f329
Function at 0x14019f3c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x38], 0xffffffffffffffff
xor edi, edi
mov qword [rsp + 0x30], rdi
cmp dword [0x14068c074], edi
jne 0x14019f4a7
mov eax, dword [0x14068c070]
test eax, eax
jne 0x14019f4a7
mov r8d, dword [0x14068c07c]
test r8d, r8d
je 0x14019f436
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov r8d, dword [0x14068c07c]
test eax, eax
jne 0x14019f4a7
test r8d, r8d
jne 0x14019f448
call fcn.14018bc50
test eax, eax
je 0x14019f45e
lea rdx, [rsp + 0x30]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14019f4a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14019f49d
cmp eax, 0x78
je 0x14019f49d
cmp eax, 1
je 0x14019f49d
cmp eax, 0x32
je 0x14019f49d
mov rax, 0xffffffffffffffff
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
mov dword [0x14068c070], 1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp dword [0x14068c074], 0
je 0x14019f4dd
cmp dword [0x14068c070], 0
jne 0x14019f50b
mov ebx, edi
cmp rsi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14019f4f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019f50b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14019f482
Function at 0x14019f520
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x38], 0xffffffffffffffff
xor edi, edi
mov qword [rsp + 0x30], rdi
cmp dword [0x14068c074], edi
jne 0x14019f607
mov eax, dword [0x14068c070]
test eax, eax
jne 0x14019f607
mov r8d, dword [0x14068c07c]
test r8d, r8d
je 0x14019f596
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov r8d, dword [0x14068c07c]
test eax, eax
jne 0x14019f607
test r8d, r8d
jne 0x14019f5a8
call fcn.14018bc50
test eax, eax
je 0x14019f5be
lea rdx, [rsp + 0x30]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14019f607
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14019f5fd
cmp eax, 0x78
je 0x14019f5fd
cmp eax, 1
je 0x14019f5fd
cmp eax, 0x32
je 0x14019f5fd
mov rax, 0xffffffffffffffff
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
mov dword [0x14068c070], 1
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, rsi
mov rdx, r14
mov rcx, r15
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp dword [0x14068c074], 0
je 0x14019f63d
cmp dword [0x14068c070], 0
jne 0x14019f66b
mov ebx, edi
cmp rsi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x14019f652
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019f66b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14019f5e2
Function at 0x14019f680
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor edi, edi
mov esi, edi
mov qword [rsp + 0x48], rdi
mov rbx, qword [0x14068c740]
mov qword [rsp + 0x40], rdi
cmp dword [0x14068c074], esi
jne 0x14019f76d
mov eax, dword [0x14068c070]
test eax, eax
jne 0x14019f76d
mov edx, dword [0x14068c07c]
test edx, edx
je 0x14019f6fc
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14068c070]
mov edx, dword [0x14068c07c]
test eax, eax
jne 0x14019f76d
test edx, edx
jne 0x14019f70d
call fcn.14018bc50
test eax, eax
je 0x14019f723
lea rdx, [rsp + 0x40]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14019f76d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xffffff82
cmp eax, 1
jbe 0x14019f763
cmp ecx, 0x78
je 0x14019f763
cmp ecx, 1
je 0x14019f763
cmp ecx, 0x32
je 0x14019f763
xor eax, eax
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
mov dword [0x14068c070], 1
test rbx, rbx
jne 0x14019f78d
lea rcx, str.ImageList_LoadImageW
call fcn.140199e30
mov rbx, rax
test rax, rax
je 0x14019f7c4
mov qword [0x14068c740], 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
cmp dword [0x14068c074], 0
je 0x14019f7d6
cmp dword [0x14068c070], 0
jne 0x14019f803
mov ebx, edi
test rsi, rsi
sete bl
test ebx, ebx
je 0x14019f7ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14019f803
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
jmp 0x14019f744