joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bcc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402d18f8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 7], rcx
mov qword [rbp + 0xf], rdx
xor ebx, ebx
mov dword [rbp - 0x39], ebx
mov dword [rbp + 0x1f], 0x6f0049
mov dword [rbp + 0x23], 0x6f0043
mov dword [rbp + 0x27], 0x70006d
mov dword [rbp + 0x2b], 0x65006c
mov dword [rbp + 0x2f], 0x690074
mov dword [rbp + 0x33], 0x6e006f
mov word [rbp + 0x37], bx
lea rax, [rbp - 0x31]
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
test r8, r8
je 0x14000bd52
lock inc dword [r8 + 8]
lea rcx, [rbp - 0x31]
call fcn.14000b750
nop
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x21]
call fcn.140009110
or rdi, 0xffffffffffffffff
cmp word [rbp + 0x1f], 0
je 0x14000bd8e
lea rax, [rbp + 0x1f]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000bd84
mov r8, rbx
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x21]
call fcn.140009190
nop
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x21]
mov rcx, rsi
call fcn.14000b7e0
mov dword [rbp - 0x39], 1
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x14000bde7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000bde7
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000bde7
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401cf0f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14000f890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1402d18f8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov dword [rbp + 0x3f], 0x74726956
mov dword [rbp + 0x43], 0x416c6175
mov dword [rbp + 0x47], 0x636f6c6c
mov word [rbp + 0x4b], 0x7845
mov byte [rbp + 0x4d], 0
mov dword [rsp + 0x20], r9d
mov r9d, 0x3000
mov r8, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x14000f96d
xor ebx, ebx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.140009270
cmp byte [rbp + 0x3f], bl
je 0x14000f929
lea rax, [rbp + 0x3f]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000f920
mov r8, rbx
lea rdx, [rbp + 0x3f]
lea rcx, [rbp - 0x29]
call fcn.1400094a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x1f]
call fcn.14000c3a0
nop
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140005a80
lea rdx, [0x1402cb6e0]
lea rcx, [rbp + 7]
call fcn.1401d41ec
nop
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401cf0f0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rbp
ret
Function at 0x14000fc70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1402d18f8]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rcx
mov dword [rsp + 0x40], 0x6e72656b
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x44], 0x32336c65
mov dword [rsp + 0x48], 0x6c6c642e
mov byte [rsp + 0x4c], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14000fd04
movdqa xmm0, xmmword [0x140283700]
lea rdx, [rsp + 0x50]
mov rcx, rax
mov word [rsp + 0x60], 0x4165
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x62], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14000fd0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x14000fd9f
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
lea rcx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x38], rbx
call fcn.140009270
cmp byte [rsp + 0x70], bl
je 0x14000fd59
lea rax, [rsp + 0x70]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14000fd50
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1400094a0
cmp qword [rdi + 0x18], 0x10
mov r9, qword [rdi + 0x10]
jb 0x14000fd79
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400109e0
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
mov rbx, rax
call fcn.140009270
cmp rbx, 0xffffffffffffffff
setne al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1401cf0f0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14001cf68
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 0x14001cfd0
call fcn.14004e0d4
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 0x14001cfd0
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001cff2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.140029438
mov esi, eax
test rdi, rdi
je 0x14001cff0
test rbx, rbx
je 0x14001cff0
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 0x14001dcb0
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 0x14001dd88
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14001dd88
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14001dd88
test rsi, rsi
je 0x14001dd88
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.14004e0d4
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 0x14001dd55
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 0x14001dd88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.1400f0d40
mov esi, eax
test rbp, rbp
je 0x14001dd78
test rdi, rdi
je 0x14001dd78
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x14001dd84
mov rcx, rbx
call fcn.14001d9c8
mov eax, esi
jmp 0x14001dd8a
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 0x14001eca0
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.1400f29c4
mov rdi, rax
test rax, rax
je 0x14001ed1c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14001ed17
cmp dword [rbx], 0x40
jb 0x14001ed17
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 0x14001ed17
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14001ed20
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 0x140022a20
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 [0x1402d924c]
test eax, eax
je 0x140022a72
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x140022a7b
call fcn.140022f2c
test eax, eax
je 0x140022a97
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140022aa2
xor eax, eax
jmp 0x140022b50
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 0x140022b32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140022b34
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140022b4d
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 0x140022b6c
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 [0x1402d924c]
test eax, eax
je 0x140022bb6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x140022bbf
call fcn.140022f2c
test eax, eax
je 0x140022bdb
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140022be3
xor eax, eax
jmp 0x140022c2a
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 0x140022c0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140022c0f
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140022c28
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 0x140022c40
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 [0x1402dc628]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x140022c8b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x140022c94
call fcn.140022f2c
test eax, eax
je 0x140022cb0
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140022cb8
xor eax, eax
jmp 0x140022d15
test rbx, rbx
jne 0x140022cd8
lea rcx, [0x14020ea10]
call fcn.140022970
mov rbx, rax
test rax, rax
je 0x140022ce3
mov qword [0x1402dc628], 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 0x140022cf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140022cfa
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140022d13
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 0x140022e54
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 [0x1402d924c]
test eax, eax
je 0x140022e9c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x140022ea5
call fcn.140022f2c
test eax, eax
je 0x140022ec1
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140022ecb
movzx eax, r14w
jmp 0x140022f13
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 0x140022ef4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140022ef7
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140022f10
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 0x1400237c8
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 + 0xd0], 0
jne 0x140023806
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400238be
call fcn.1400256ec
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140023825
mov ecx, 0x80004005
call fcn.140003220
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0xd0]
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.1401db060
test eax, eax
je 0x14002388d
cmp eax, 0xc
je 0x140023887
cmp eax, 0x16
je 0x140023881
cmp eax, 0x22
je 0x140023881
cmp eax, 0x50
je 0x14002388d
call fcn.1400251b0
int3
call fcn.1400251b0
int3
call fcn.1400251d4
int3
test rbx, rbx
je 0x14002389d
mov rcx, rbx
call fcn.1401d9a08
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 0x1400238bc
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 0x140024300
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
movsxd rdi, edx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140024342
cmp qword [rbx + 0x18], 0
jne 0x140024380
mov edx, dword [rbx + 0xc]
cmp edx, dword [rbx + 0x30]
jae 0x14002438b
mov rcx, qword [rcx + 8]
neg edi
sbb r8d, r8d
and r8d, 8
bts r8d, 0xa
call qword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x140024380
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140024391
mov rcx, qword [rcx + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jae 0x140024380
mov rcx, qword [rbx + 0x20]
mov r8, rdi
xor r9d, r9d
mov edx, 0xf1
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1400251b0
int3
call fcn.1400251b0
int3
Function at 0x140025bfc
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
mov rdi, qword [rcx + 0x100]
xor r14d, r14d
mov rsi, rcx
mov rbp, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x140025c5e
call fcn.14004e0d4
mov rdx, qword [rsi + 0xf0]
lea r8d, [r14 + 5]
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 rbp, rax
test rbp, rbp
je 0x140025c6f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov ebx, 1
test rdi, rdi
je 0x140025cb0
mov edx, dword [rdi]
mov eax, 0xffff
cmp word [rdi + 2], ax
jne 0x140025c93
mov edx, dword [rdi + 0xc]
movzx ecx, word [rdi + 0x12]
movzx eax, word [rdi + 0x14]
jmp 0x140025c9b
movzx ecx, word [rdi + 0xa]
movzx eax, word [rdi + 0xc]
test edx, 0x1801
jne 0x140025cad
test cx, cx
jne 0x140025cad
test ax, ax
je 0x140025cb0
mov ebx, r14d
cmp qword [rsi + 0xf0], r14
je 0x140025cc2
mov rcx, rbp
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]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140025ce0
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
test rdx, 0xffffffffffff0000
jne 0x140025d1f
cmp dword [rcx + 0xe8], 0
jne 0x140025d1f
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.14004e0d4
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.140026080
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 0x140025d7c
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.14004e0d4
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 0x140025dd8
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.140025e10
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
Function at 0x140026964
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 [0x1402d924c]
test eax, eax
je 0x1400269b6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x1400269bf
call fcn.140022f2c
test eax, eax
je 0x1400269db
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400269e3
xor eax, eax
jmp 0x140026a3b
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 0x140026a1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140026a1f
xor edi, edi
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140026a38
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 0x1400429f8
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
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
jne 0x140042a29
call fcn.14004e0d4
mov rdi, qword [rax + 0x18]
lea r8, [0x140213560]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x140042a48
xor eax, eax
jmp 0x140042a94
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140042a44
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140042a89
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov rcx, r15
mov r8d, eax
call fcn.140042ab0
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
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 0x140045c14
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 [0x1402dda60]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x140045c5f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x140045c68
call fcn.140022f2c
test eax, eax
je 0x140045c84
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140045c8c
xor eax, eax
jmp 0x140045ce9
test rbx, rbx
jne 0x140045cac
lea rcx, str.ImageList_GetImageCount
call fcn.140022970
mov rbx, rax
test rax, rax
je 0x140045cb7
mov qword [0x1402dda60], 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 0x140045ccc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140045cce
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140045ce7
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