joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400021e0
Capabilities:
Inspect load icon resource

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x288]
sub rsp, 0x380
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14025ab40]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, rcx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 0xff
lea rcx, [rsp + 0x30]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rdi
call fcn.1400062cc
xor ecx, ecx
call fcn.140007250
mov ecx, 0x18
call fcn.140005384
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140002273
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.1400082a0
mov rbx, rax
jmp 0x140002275
xor ebx, ebx
lea rcx, str.CMFCVisualManagerWindows
call fcn.140013d60
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, rdi
call fcn.140018c50
xor edx, edx
mov r8d, 0x328
lea rcx, [rsp + 0x40]
call fcn.1401925c0
xor r8d, r8d
lea edx, [r8 + 0x66]
lea rcx, [rsp + 0x40]
call fcn.140027620
nop
lea r14, vtable.CSynaDriverUpgradeDlg.0
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0xa8]
call fcn.14001f390
lea rax, vtable.CStatic.0
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x180]
call fcn.14001f390
lea rax, vtable.CAnimateCtrl.0
mov qword [rbp + 0x180], rax
call fcn.140029740
call fcn.140029740
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0x258], 0
mov dword [rbp + 0x260], 0
lea rax, [rsp + 0x40]
mov qword [rdi + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.140019790
test rbx, rbx
je 0x14000234f
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 5
lea rcx, [rsp + 0x40]
call fcn.14001ad34
nop
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0x180]
call fcn.140028334
nop
lea rcx, [rbp + 0xa8]
call fcn.140027d90
nop
lea rcx, [rbp + 0x88]
call fcn.14002b578
nop
lea rax, vtable.CBrush.0
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
call fcn.140004ec0
nop
lea rcx, [rsp + 0x40]
call fcn.140019078
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140190940
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140004210
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x268
mov rax, qword [0x14025ab40]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor eax, eax
lea rcx, [rsp + 0x52]
xor edx, edx
mov r8d, 0x1fe
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
mov word [rsp + 0x50], ax
call fcn.1401925c0
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareValidityWBF
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400042fc
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
lea rdx, str.ProcessCount
xor r8d, r8d
mov qword [rsp + 0x260], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x260]
jne 0x1400042f3
mov r8d, dword [rsp + 0x38]
lea rdx, str.Get_reg_value_is__d__r_n
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x50]
jmp 0x140004303
lea rcx, str.Reg_get_value_failed__r_n
jmp 0x140004303
lea rcx, str.Reg_open_key_failed__r_n
call fcn.140002620
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140190940
add rsp, 0x268
ret

Function at 0x140004330
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x258
mov rax, qword [0x14025ab40]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor eax, eax
mov dword [rsp + 0x38], edx
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x1fe
mov qword [rsp + 0x30], rax
mov word [rsp + 0x40], ax
call fcn.1401925c0
lea rax, [rsp + 0x30]
lea rdx, str.SoftwareValidityWBF
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000440e
mov r8d, dword [rsp + 0x38]
lea rdx, str.Set_reg_value_is__d__r_n
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x250], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x40]
call fcn.140002620
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, str.ProcessCount
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x250]
je 0x14000441a
lea rcx, str.Reg_set_value_failed__r_n
jmp 0x140004415
lea rcx, str.Reg_key_open_failed__r_n
call fcn.140002620
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140190940
add rsp, 0x258
ret
Function at 0x140004c00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14025ab40]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [0x14021c0c0]
mov edi, 0x80004005
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x30], 0
mov ebx, edi
call fcn.140002620
lea rax, [rsp + 0x30]
lea rdx, str.SOFTWAREValidityWBF
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140004c72
lea rcx, str._Reg_open_key_failed__r_n
call fcn.140002620
jmp 0x140004ccb
lea rcx, str._opened__r_n
call fcn.140002620
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, str.EnrolledUserCount
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140004cbd
lea rcx, str._Reg_set_value_failed__r_n
call fcn.140002620
jmp 0x140004ccb
lea rcx, str.set_r_n
call fcn.140002620
xor ebx, ebx
cmp qword [rsp + 0x30], 0
je 0x140004cef
lea rcx, str._close_r_n
call fcn.140002620
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
cmovne ebx, edi
lea rcx, str.__UpdateEnrolledUserCountToReg__r_n
call fcn.140002620
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140190940
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140004fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140004fe3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140005029
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140005024
nop
cmp rbx, rcx
jae 0x140005029
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x140005010
cmp rbx, rcx
jb 0x14000502d
xor eax, eax
jmp 0x140005039
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007aa8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
je 0x140007b1a
call fcn.140029740
mov r8d, 0xf0
mov rdx, rsi
mov r15, qword [rax + 0x18]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140007b1a
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140007b63
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov esi, 1
test rdi, rdi
je 0x140007b48
mov r10, qword [r12]
mov r9, r14
mov r8, rdi
mov rdx, rbp
mov rcx, r12
call qword [r10 + 0x40]
mov esi, eax
test rbx, rbx
je 0x140007b48
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x140007b61
mov r8, qword [rcx]
mov rdx, r14
call qword [r8 + 0x140]
mov eax, esi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140018664
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 0x1400186de
xor r8d, r8d
call fcn.140018928
mov rsi, rax
test rax, rax
jne 0x14001869a
mov eax, edi
jmp 0x1400186f4
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
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 0x140018696
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
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 0x1400192ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_712
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x1400192eb
cmp dword [rcx + 0xd8], 0
jne 0x1400192eb
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.140029740
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.140019648
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140019348
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
mov r14, r8
mov rbx, rdx
mov r15, rcx
xor edi, edi
call fcn.140029740
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400193a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.1400193dc
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140019f1c
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 [0x140261a08]
test eax, eax
je 0x140019f6e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140261a08]
test eax, eax
jne 0x140019f77
call fcn.14001458c
test eax, eax
je 0x140019f93
lea rdx, [rsp + 0x30]
mov rcx, qword [0x140259120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140019f9b
xor eax, eax
jmp 0x140019ff3
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 0x140019fd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140019fd7
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140019ff0
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 0x14001a694
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0xc8], 0
jne 0x14001a6d2
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14001a78a
call fcn.14001e0d0
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001a6f1
mov ecx, 0x80004005
call fcn.140005320
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140193d70
test eax, eax
je 0x14001a759
cmp eax, 0xc
je 0x14001a753
cmp eax, 0x16
je 0x14001a74d
cmp eax, 0x22
je 0x14001a74d
cmp eax, 0x50
je 0x14001a759
call fcn.14001eccc
int3
call fcn.14001eccc
int3
call fcn.14001ecf0
int3
test rbx, rbx
je 0x14001a769
mov rcx, rbx
call fcn.140191ac8
mov rbx, rax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14001a788
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14001c22c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14001c28f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c2a3
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001c2a3
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14001c2a8
cmp dword [rcx + 8], 0
je 0x14001c2a3
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14001c2a8
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14001db48
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 edi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x140261aa0]
and qword [rax + 0x20], 0
xor esi, esi
mov eax, dword [0x140261a08]
test eax, eax
je 0x14001dba6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140261a08]
test eax, eax
jne 0x14001dbaf
call fcn.14001458c
test eax, eax
je 0x14001dbcb
lea rdx, [rsp + 0x78]
mov rcx, qword [0x140259120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x14001dbd5
movzx eax, r13w
jmp 0x14001dc3e
test rbx, rbx
jne 0x14001dbf5
lea rcx, str.GetFileTitleW
call fcn.14001da98
mov rbx, rax
test rax, rax
je 0x14001dc09
mov qword [0x140261aa0], rax
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx edi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp di, r13w
sete bl
test ebx, ebx
je 0x14001dc20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14001dc22
xor esi, esi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14001dc3b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, di
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 0x140021a5c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x140021ac4
call fcn.140029740
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140021ac4
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140021ae6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14002bdf8
mov esi, eax
test rdi, rdi
je 0x140021ae4
test rbx, rbx
je 0x140021ae4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140023508
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14002edac
mov rdi, rax
test rax, rax
je 0x140023584
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14002357f
cmp dword [rbx], 0x40
jb 0x14002357f
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14002357f
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140023588
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140027178
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, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x140261a08]
test eax, eax
je 0x1400271ca
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140261a08]
test eax, eax
jne 0x1400271d3
call fcn.14001458c
test eax, eax
je 0x1400271ef
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140259120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400271fa
xor eax, eax
jmp 0x1400272a8
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x14002728a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14002728c
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400272a5
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x1400272c4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x20], 0
xor ebx, ebx
mov eax, dword [0x140261a08]
test eax, eax
je 0x14002730e
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140261a08]
test eax, eax
jne 0x140027317
call fcn.14001458c
test eax, eax
je 0x140027333
lea rdx, [rsp + 0x58]
mov rcx, qword [0x140259120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x14002733b
xor eax, eax
jmp 0x140027382
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x140027365
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140027367
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140027380
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140027398
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 [0x140264e78]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x140261a08]
test eax, eax
je 0x1400273e3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x140261a08]
test eax, eax
jne 0x1400273ec
call fcn.14001458c
test eax, eax
je 0x140027408
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140259120]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140027410
xor eax, eax
jmp 0x14002746d
test rbx, rbx
jne 0x140027430
lea rcx, [0x1401bd910]
call fcn.140014254
mov rbx, rax
test rax, rax
je 0x14002743b
mov qword [0x140264e78], 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 0x140027450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140027452
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x14002746b
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