joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140e77058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140e771df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e77089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e7706f
add dl, dl
jne 0x140e77096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e770f6
xor eax, eax
add dl, dl
jne 0x140e770a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e771ad
add dl, dl
jne 0x140e770b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e770c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e770d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e770dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e770ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e7707e
mov eax, 1
add dl, dl
jne 0x140e77106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e77113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e770fb
sub eax, ebx
mov ebx, 1
jne 0x140e7714c
mov ecx, 1
add dl, dl
jne 0x140e7712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e7713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e77123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e7707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e77168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e77175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e7715d
cmp eax, 0x7d00
jae 0x140e7719b
cmp eax, 0x500
jb 0x140e77196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e7707e
cmp eax, 0x7f
ja 0x140e7719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e7707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e771d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e7707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140024ad0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r8, rdx
mov eax, dword [0x1400933d0]
mov edx, dword [0x1400933d4]
shrd edx, eax, 0x1c
xor edx, 0xed1faca6
cmp dword [0x14009cbd4], edx
je 0x140024b8a
lea r10, [r8 + 0x1d]
xor eax, eax
nop dword [rax]
movsxd r11, eax
mov eax, dword [0x1400933d8]
mov edx, dword [0x1400933dc]
shrd edx, eax, 0xd
movzx ebx, byte [r10 + r11]
mov esi, edx
xor esi, 0x98884d17
mov r9d, r11d
mov eax, r11d
xor edx, edx
div esi
movsxd rax, edx
xor bl, byte [r8 + rax]
mov byte [rcx + r11], bl
mov eax, dword [0x1400933e0]
mov edx, dword [0x1400933e4]
shrd edx, eax, 4
xor edx, 0xa3fbe1e6
add edx, r11d
mov eax, dword [0x1400933e8]
mov r9d, dword [0x1400933ec]
shrd r9d, eax, 0x1c
xor r9d, 0x3ca54f21
mov eax, edx
cmp edx, r9d
jne 0x140024b00
mov eax, dword [0x1400933f0]
mov ecx, dword [0x1400933f4]
shrd ecx, eax, 0x17
xor ecx, 0x7a909472
mov dword [0x14009cbd4], ecx
mov eax, dword [0x1400933f8]
mov ecx, dword [0x1400933fc]
shrd ecx, eax, 4
mov eax, ecx
xor eax, 0xd5754986
pop rbx
pop rsi
ret

Function at 0x140024bb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r8, rdx
imul eax, dword [0x140093400], 0x1500da81
imul edx, dword [0x140093404], 0x230393c9
add eax, edx
add eax, 0x96eba307
cmp dword [0x14009cbfc], eax
je 0x140024c96
lea r10, [r8 + 0x17]
xor eax, eax
nop word cs:[rax + rax]
movsxd r11, eax
movzx ebx, byte [r10 + r11]
imul eax, dword [0x140093408], 0x2a626b73
imul edx, dword [0x14009340c], 0x80c621b9
lea esi, [rax + rdx]
add esi, 0x99aac427
mov r9d, r11d
mov eax, r11d
xor edx, edx
div esi
movsxd rax, edx
xor bl, byte [r8 + rax]
mov byte [rcx + r11], bl
imul eax, dword [0x140093410], 0x33c20b98
imul edx, dword [0x140093414], 0xc57cc729
add edx, eax
mov eax, r11d
imul r9d, dword [0x140093418], 0x1600ee42
add edx, eax
add edx, 0x20e9786f
imul eax, dword [0x14009341c], 0xeeb181d0
add r9d, eax
add r9d, 0x9f775ee5
mov eax, edx
cmp edx, r9d
jne 0x140024bf0
imul eax, dword [0x140093420], 0x684c1808
imul ecx, dword [0x140093424], 0x9100cbaa
add eax, ecx
add eax, 0x99e76c01
mov dword [0x14009cbfc], eax
mov eax, dword [0x140093428]
mov ecx, dword [0x14009342c]
shrd ecx, eax, 9
mov eax, ecx
xor eax, 0x8b8a6355
pop rbx
pop rsi
ret
Function at 0x140024cb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r8, rdx
mov eax, dword [0x140093430]
mov edx, dword [0x140093434]
shrd edx, eax, 0x1d
xor edx, 0xd69778df
cmp dword [0x14009cc08], edx
je 0x140024d6f
lea r10, [r8 + 0x17]
xor eax, eax
nop dword [rax]
movsxd r11, eax
movzx ebx, byte [r10 + r11]
imul eax, dword [0x140093438], 0x8814dd3e
imul edx, dword [0x14009343c], 0x540b6612
lea esi, [rax + rdx]
add esi, 0x33f4ac75
mov r9d, r11d
mov eax, r11d
xor edx, edx
div esi
movsxd rax, edx
xor bl, byte [r8 + rax]
mov byte [rcx + r11], bl
mov eax, dword [0x140093440]
mov edx, dword [0x140093444]
shrd edx, eax, 0x18
xor edx, 0x179c6a6d
add edx, r11d
mov eax, dword [0x140093448]
mov r9d, dword [0x14009344c]
shrd r9d, eax, 0x16
xor r9d, 0x75c0db97
mov eax, edx
cmp edx, r9d
jne 0x140024ce0
mov eax, dword [0x140093450]
mov ecx, dword [0x140093454]
shrd ecx, eax, 8
xor ecx, 0x2161255e
mov dword [0x14009cc08], ecx
imul eax, dword [0x140093458], 0xb99822b8
imul ecx, dword [0x14009345c], 0xe9df718a
add eax, ecx
add eax, 0x75ea8690
pop rbx
pop rsi
ret
Function at 0x14000e878
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [rcx + 0x40]
mov rsi, rdx
xor ebx, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000e8d8
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x14000e8d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000e8d2
mov rdx, rax
mov rcx, rsi
call fcn.140002490
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, 1
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010140
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x50
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov rax, qword [0x14114d3f0]
xor rax, rbp
mov qword [rbp + 8], rax
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140010296
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140010296
call fcn.14002b4a8
mov rcx, qword [rax + 8]
call fcn.14001e744
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140010289
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov ecx, 0x2002
movsxd rdx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
je 0x140010283
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rdi
mov r15, rax
call fcn.1401dd468
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14001025b
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14001020e
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401d87f0
sub rsp, rcx
lea rsi, [rsp + 0x40]
test rsi, rsi
je 0x14001025b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], rbx
xor edx, edx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
or r9d, 0xffffffff
mov r8, rdi
mov byte [rsi], bl
mov qword [rsp + 0x20], rsi
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rsi
jmp 0x14001025e
mov rdx, rbx
mov rcx, r15
call fcn.1401e1090
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r14
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
setne bl
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rcx, [rbp]
call fcn.14000e77c
mov eax, ebx
jmp 0x140010298
xor eax, eax
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.1401d8860
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
Function at 0x140015178
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
mov word [rsp + 0x10], r8w
movsxd r10, edx
mov r9, rcx
movzx r8d, r11w
test edx, edx
jle 0x1400151bf
lea edx, [r11 + 1]
mov cl, byte [r9]
cmp dx, r8w
mov eax, r11d
cmovne ax, r8w
add cl, 9
movzx r8d, ax
mov al, byte [rsp + r8*2 + 0x10]
add r8w, dx
xor al, cl
mov byte [r9], al
add r9, rdx
sub r10, rdx
jne 0x140015193
ret
Function at 0x14001920c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14114d3f0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r10, r8
lea rcx, [rsp + 0x38]
mov rax, rdx
mov qword [rsp + 0x20], rcx
mov rdi, r9
mov rcx, rax
mov r9d, 1
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x140019290
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x30], 0x104
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1401e0700
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401d8860
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14001b39c
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
test rcx, rcx
je 0x14001b3ae
mov rcx, qword [rcx + 0x40]
mov r8, qword [rdx]
xor r9d, r9d
lea rdx, str.open
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx]
sub rdx, 0x18
cmp eax, 0x20
jg 0x14001b3f5
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b3f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14001b410
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001b40b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x140021c68
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 0x140021cd0
call fcn.14002b4a8
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 0x140021cd0
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140021cf2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14005ac74
mov esi, eax
test rdi, rdi
je 0x140021cf0
test rbx, rbx
je 0x140021cf0
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 0x140022c30
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 rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140022d08
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140022d08
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140022d08
test rsi, rsi
je 0x140022d08
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.14002b4a8
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140022cd5
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, r14
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x140022d08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.14005ba44
mov esi, eax
test rbp, rbp
je 0x140022cf8
test rdi, rdi
je 0x140022cf8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x140022d04
mov rcx, rbx
call fcn.140022898
mov eax, esi
jmp 0x140022d0a
xor eax, eax
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 0x140023e6c
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 rbx, r8
mov rcx, qword [rcx + 0x40]
call fcn.140058fc4
mov rdi, rax
test rax, rax
je 0x140023ee8
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140023ee3
cmp dword [rbx], 0x40
jb 0x140023ee3
mov rcx, qword [rbp + 0x40]
xor r9d, r9d
or dword [rbx + 4], 1
xor r8d, r8d
or qword [rbx + 0x30], 0xffffffffffffffff
mov edx, 0x87
mov qword [rbx + 8], rcx
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140023ee3
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140023eec
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 0x140028904
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 [0x141154470]
test eax, eax
je 0x140028956
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141154470]
test eax, eax
jne 0x14002895f
call fcn.140028e8c
test eax, eax
je 0x14002897b
lea rdx, [rsp + 0x60]
mov rcx, qword [0x14114be78]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140028986
xor eax, eax
jmp 0x140028a34
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 rsi, rsi
sete bl
test ebx, ebx
je 0x140028a16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140028a18
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140028a31
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 0x140028a50
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 [0x141154470]
test eax, eax
je 0x140028a9a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141154470]
test eax, eax
jne 0x140028aa3
call fcn.140028e8c
test eax, eax
je 0x140028abf
lea rdx, [rsp + 0x58]
mov rcx, qword [0x14114be78]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140028ac7
xor eax, eax
jmp 0x140028b0e
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 edi, edi
sete bl
test ebx, ebx
je 0x140028af1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140028af3
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140028b0c
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 0x140028b24
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 [0x141157858]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x141154470]
test eax, eax
je 0x140028b6f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141154470]
test eax, eax
jne 0x140028b78
call fcn.140028e8c
test eax, eax
je 0x140028b94
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14114be78]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140028b9c
xor eax, eax
jmp 0x140028c01
test rbx, rbx
jne 0x140028bbc
lea rcx, str.InitCommonControlsEx
call fcn.140028870
mov rbx, rax
test rax, rax
je 0x140028bcf
mov qword [0x141157858], rax
mov rcx, rbx
call fcn.1401d9204
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 0x140028be4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140028be6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140028bff
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 0x140028db4
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 rdi, rcx
xor r14d, r14d
mov word [rax - 0x18], r14w
mov qword [rax + 0x10], r14
mov ebx, r14d
mov eax, dword [0x141154470]
test eax, eax
je 0x140028dfc
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x141154470]
test eax, eax
jne 0x140028e05
call fcn.140028e8c
test eax, eax
je 0x140028e21
lea rdx, [rsp + 0x48]
mov rcx, qword [0x14114be78]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140028e2b
movzx eax, r14w
jmp 0x140028e73
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx ebx, ax
mov word [rsp + 0x20], ax
mov edi, r14d
test bx, bx
sete dil
test edi, edi
je 0x140028e54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140028e57
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140028e70
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, bx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400293dc
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
movsxd rbp, r8d
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0xd0], 0
jne 0x14002941d
mov r8d, ebp
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400294fa
call fcn.14001e310
mov r14, rax
test rax, rax
jne 0x140029435
mov ecx, 0x80004005
call fcn.1400025d8
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.1401d9204
mov rcx, r14
call rbx
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rdi, qword [rdi + 0xd0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x118]
mov rcx, rbx
call fcn.1401d9204
lea rdx, [rsp + 0x50]
mov rcx, rdi
call rbx
mov rdx, rbp
or rbx, 0xffffffffffffffff
mov r9, rbx
mov r8, qword [rsp + 0x50]
mov rcx, rsi
call fcn.1401f0f88
test eax, eax
je 0x1400294b6
cmp eax, 0xc
je 0x1400294b0
cmp eax, 0x16
je 0x1400294aa
cmp eax, 0x22
je 0x1400294aa
cmp eax, 0x50
je 0x1400294b6
call fcn.14001d378
int3
call fcn.14001d378
int3
call fcn.14001d39c
int3
test rsi, rsi
jne 0x1400294bf
xor ebp, ebp
jmp 0x1400294ca
mov rcx, rsi
call fcn.1401dd468
mov rbp, rax
mov rsi, qword [rsp + 0x50]
mov ecx, ebx
lock xadd dword [rsi - 8], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400294f8
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.1401d9204
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 0x140029e20
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 qword [rcx + 0xf0], rdx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
cmp rdx, 0x10000
jae 0x140029e5f
cmp dword [rcx + 0xe8], 0
jne 0x140029e5f
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14002b4a8
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14002a218
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140029ebc
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.14002b4a8
lea r8d, [rdi + 5]
mov rdx, rbx
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140029f18
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.140029f50
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret