joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400855a4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1406ca7c8]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, edx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
mov dword [rbp - 0x40], r14d
lea rcx, [rbp - 0x28]
call fcn.140009c0c
nop
mov rbx, qword [rbp - 0x18]
lea edx, [r14 + 0x24]
cmp rbx, rdx
ja 0x140085624
cmp qword [rbp - 0x10], rdx
je 0x140085624
mov r8b, 1
lea rcx, [rbp - 0x28]
call fcn.140009264
test al, al
je 0x140085624
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov word [rax + rbx*2], r14w
mov r8d, esi
mov eax, 0x66666667
imul r8d
mov ebx, edx
sar ebx, 2
mov ecx, ebx
shr ecx, 0x1f
add ebx, ecx
lea ecx, [rbx + rbx*4]
add ecx, ecx
sub r8d, ecx
mov eax, r8d
cdq
xor eax, edx
sub eax, edx
cdqe
lea rcx, [0x1405a7d70]
movsx r8d, byte [rax + rcx]
mov edx, 1
lea rcx, [rbp - 0x28]
call fcn.140010190
mov r8d, ebx
test ebx, ebx
jne 0x140085627
test esi, esi
jns 0x140085682
lea edx, [rbx + 1]
lea r8d, [rbx + 0x2d]
lea rcx, [rbp - 0x28]
call fcn.140010190
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x28]
cmovae rdx, qword [rbp - 0x28]
jmp 0x1400856be
sub r8, 2
cmp rdx, r8
je 0x1400856c3
movzx ecx, word [rdx]
movzx eax, word [r8]
mov word [rdx], ax
mov word [r8], cx
add rdx, 2
cmp rdx, r8
jne 0x1400856a3
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14000997c
mov dword [rbp - 0x40], 1
lea rcx, [rbp - 0x28]
call fcn.140008d78
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14024cd60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140085704
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1406ca7c8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
mov dword [rbp - 0x40], r14d
lea rcx, [rbp - 0x28]
call fcn.140009c0c
nop
mov rbx, qword [rbp - 0x18]
lea edx, [r14 + 0x24]
cmp rbx, rdx
ja 0x140085785
cmp qword [rbp - 0x10], rdx
je 0x140085785
mov r8b, 1
lea rcx, [rbp - 0x28]
call fcn.140009264
test al, al
je 0x140085785
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov word [rax + rbx*2], r14w
mov r8, rsi
movabs rax, 0x6666666666666667
imul r8
mov rbx, rdx
sar rbx, 2
mov rcx, rbx
shr rcx, 0x3f
add rbx, rcx
lea rcx, [rbx + rbx*4]
add rcx, rcx
sub r8, rcx
mov eax, r8d
cdq
xor eax, edx
sub eax, edx
cdqe
lea rcx, [0x1405a7d70]
movsx r8d, byte [rax + rcx]
mov edx, 1
lea rcx, [rbp - 0x28]
call fcn.140010190
mov r8, rbx
test rbx, rbx
jne 0x140085788
test rsi, rsi
jns 0x1400857f1
lea edx, [rbx + 1]
lea r8d, [rbx + 0x2d]
lea rcx, [rbp - 0x28]
call fcn.140010190
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x28]
cmovae rdx, qword [rbp - 0x28]
jmp 0x14008582d
sub r8, 2
cmp rdx, r8
je 0x140085832
movzx ecx, word [rdx]
movzx eax, word [r8]
mov word [rdx], ax
mov word [r8], cx
add rdx, 2
cmp rdx, r8
jne 0x140085812
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14000997c
mov dword [rbp - 0x40], 1
lea rcx, [rbp - 0x28]
call fcn.140008d78
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14024cd60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140085874
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1406ca7c8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
mov dword [rbp - 0x40], r14d
lea rcx, [rbp - 0x28]
call fcn.140009c0c
nop
mov rbx, qword [rbp - 0x18]
lea edx, [r14 + 0x24]
cmp rbx, rdx
ja 0x1400858f5
cmp qword [rbp - 0x10], rdx
je 0x1400858f5
mov r8b, 1
lea rcx, [rbp - 0x28]
call fcn.140009264
test al, al
je 0x1400858f5
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov word [rax + rbx*2], r14w
movabs rax, 0xcccccccccccccccd
mul rsi
mov rbx, rdx
shr rbx, 3
lea rax, [rbx + rbx*4]
add rax, rax
sub rsi, rax
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cdqe
lea rcx, [0x1405a7d70]
movsx r8d, byte [rax + rcx]
mov edx, 1
lea rcx, [rbp - 0x28]
call fcn.140010190
mov rsi, rbx
test rbx, rbx
jne 0x1400858f5
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x28]
cmovae rdx, qword [rbp - 0x28]
jmp 0x14008597a
sub r8, 2
cmp rdx, r8
je 0x14008597f
movzx ecx, word [rdx]
movzx eax, word [r8]
mov word [rdx], ax
mov word [r8], cx
add rdx, 2
cmp rdx, r8
jne 0x14008595f
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14000997c
mov dword [rbp - 0x40], 1
lea rcx, [rbp - 0x28]
call fcn.140008d78
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14024cd60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14008b488
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
xor ebx, ebx
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140086e04
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
sete al
xor al, 1
je 0x14008b4d5
inc ebx
lea rcx, [rsp + 0x28]
call fcn.1400722c8
mov rcx, qword [rsp + 0x28]
test rcx, rcx
sete dl
xor dl, 1
jne 0x14008b4b9
test rcx, rcx
je 0x14008b4e0
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x1400b8598
Capabilities:
Delete registry key

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

Function at 0x1400bacd0
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 0x1400bad11
mov r8d, ebp
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400badee
call fcn.1400b482c
mov r14, rax
test rax, rax
jne 0x1400bad29
mov ecx, 0x80004005
call fcn.14001cbdc
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14024d890
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.14024d890
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.14025c5b8
test eax, eax
je 0x1400badaa
cmp eax, 0xc
je 0x1400bada4
cmp eax, 0x16
je 0x1400bad9e
cmp eax, 0x22
je 0x1400bad9e
cmp eax, 0x50
je 0x1400badaa
call fcn.1400b5624
int3
call fcn.1400b5624
int3
call fcn.1400b5648
int3
test rsi, rsi
jne 0x1400badb3
xor ebp, ebp
jmp 0x1400badbe
mov rcx, rsi
call fcn.140255170
mov rbp, rax
mov rsi, qword [rsp + 0x50]
mov ecx, ebx
lock xadd dword [rsi - 8], ecx
add ecx, ebx
test ecx, ecx
jg 0x1400badec
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call fcn.14024d890
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 0x1400bbca8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400bbcd3
mov r8, rdx
mov rdx, qword [rdi]
call fcn.1400b8598
jmp 0x1400bbd4b
cmp byte [0x1406d7430], 0
jne 0x1400bbd1a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400bbd0a
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1406d7428], rax
jmp 0x1400bbd11
mov rbx, qword [0x1406d7428]
mov byte [0x1406d7430], 1
jmp 0x1400bbd21
mov rbx, qword [0x1406d7428]
test rbx, rbx
je 0x1400bbd3f
mov rcx, rbx
call fcn.14024d890
mov r8d, dword [rdi + 8]
xor r9d, r9d
mov rcx, qword [rdi]
mov rdx, rsi
call rbx
jmp 0x1400bbd4b
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bd028
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx r14d, r8w
mov r15, rdx
mov r12, rcx
or r13d, 0xffffffff
movzx esi, r13w
mov word [rax - 0x38], r13w
mov rbx, qword [0x1406d7438]
and qword [rax + 0x20], 0
xor edi, edi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400bd086
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400bd08f
call fcn.1400b5b88
test eax, eax
je 0x1400bd0ab
lea rdx, [rsp + 0x78]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x1400bd0b5
movzx eax, r13w
jmp 0x1400bd126
test rbx, rbx
jne 0x1400bd0d5
lea rcx, str.GetFileTitleW
call fcn.1400bcf94
mov rbx, rax
test rax, rax
je 0x1400bd0f1
mov qword [0x1406d7438], rax
mov rcx, rbx
call fcn.14024d890
movzx r8d, r14w
mov rdx, r15
mov rcx, r12
call rbx
movzx esi, ax
mov word [rsp + 0x20], ax
xor ebx, ebx
cmp si, r13w
sete bl
test ebx, ebx
je 0x1400bd108
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400bd10a
xor edi, edi
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400bd123
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, si
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400c3798
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 0x1400c3800
call fcn.1400b7f28
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 0x1400c3800
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400c3822
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.1400ce7e0
mov esi, eax
test rdi, rdi
je 0x1400c3820
test rbx, rbx
je 0x1400c3820
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 0x1400c46f0
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 0x1400c47c8
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1400c47c8
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400c47c8
test rsi, rsi
je 0x1400c47c8
xor r15d, r15d
xor ebp, ebp
xor edi, edi
call fcn.1400b7f28
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 0x1400c4795
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 0x1400c47c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.1400cf5d0
mov esi, eax
test rbp, rbp
je 0x1400c47b8
test rdi, rdi
je 0x1400c47b8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x1400c47c4
mov rcx, rbx
call fcn.1400c4358
mov eax, esi
jmp 0x1400c47ca
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 0x1400c5920
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.1400bb85c
mov rdi, rax
test rax, rax
je 0x1400c599c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400c5997
cmp dword [rbx], 0x40
jb 0x1400c5997
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 0x1400c5997
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400c59a0
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 0x1400ca3c4
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 [0x1406d701c]
test eax, eax
je 0x1400ca416
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400ca41f
call fcn.1400b5b88
test eax, eax
je 0x1400ca43b
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400ca446
xor eax, eax
jmp 0x1400ca4f4
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 0x1400ca4d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1400ca4d8
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ca4f1
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 0x1400ca510
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 [0x1406d701c]
test eax, eax
je 0x1400ca55a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400ca563
call fcn.1400b5b88
test eax, eax
je 0x1400ca57f
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400ca587
xor eax, eax
jmp 0x1400ca5ce
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 0x1400ca5b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ca5b3
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ca5cc
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 0x1400ca5e4
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 [0x1406daae8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1406d701c]
test eax, eax
je 0x1400ca62f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400ca638
call fcn.1400b5b88
test eax, eax
je 0x1400ca654
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ca65c
xor eax, eax
jmp 0x1400ca6c1
test rbx, rbx
jne 0x1400ca67c
lea rcx, str.InitCommonControlsEx
call fcn.1400ca330
mov rbx, rax
test rax, rax
je 0x1400ca68f
mov qword [0x1406daae8], rax
mov rcx, rbx
call fcn.14024d890
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 0x1400ca6a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ca6a6
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ca6bf
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 0x1400ca6d8
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 [0x1406d701c]
test eax, eax
je 0x1400ca720
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1406d701c]
test eax, eax
jne 0x1400ca729
call fcn.1400b5b88
test eax, eax
je 0x1400ca745
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1406c9390]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400ca74f
movzx eax, r14w
jmp 0x1400ca797
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 0x1400ca778
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ca77b
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400ca794
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 0x1400cfdc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_720
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 0x1400cfdff
cmp dword [rcx + 0xe8], 0
jne 0x1400cfdff
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.1400b7f28
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.1400d01b8
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 0x1400cfe5c
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.1400b7f28
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 0x1400cfeb8
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.1400cfef0
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