joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ec60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402bcf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.004094e0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cb40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402ba0
cmp byte [0x005c85d0], 0
je 0x45ec75
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45bc40
jmp 0x402ba0

Function at 0x45ec80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c8880]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005c85d0], 0
je 0x45ecb5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c8b40]
aesenc xmm0, xmmword [0x005c8b50]
aesenc xmm0, xmmword [0x005c8b60]
movq rax, xmm0
ret
jmp 0x4096e0

Function at 0x45ecc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c8880]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005c85d0], 0
je 0x45ecf6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c8b40]
aesenc xmm0, xmmword [0x005c8b50]
aesenc xmm0, xmmword [0x005c8b60]
movq rax, xmm0
ret
jmp 0x409740

Function at 0x460640
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005c8ac0]
mov qword [rsp + 8], rdx
lea r8d, [0x005c85e8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045eba0
add rsp, 0x30
ret
Function at 0x14154f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14154f1df
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 0x14154f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14154f06f
add dl, dl
jne 0x14154f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14154f0f6
xor eax, eax
add dl, dl
jne 0x14154f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14154f1ad
add dl, dl
jne 0x14154f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14154f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14154f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14154f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14154f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14154f07e
mov eax, 1
add dl, dl
jne 0x14154f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14154f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14154f0fb
sub eax, ebx
mov ebx, 1
jne 0x14154f14c
mov ecx, 1
add dl, dl
jne 0x14154f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14154f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14154f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14154f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14154f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14154f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14154f15d
cmp eax, 0x7d00
jae 0x14154f19b
cmp eax, 0x500
jb 0x14154f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14154f07e
cmp eax, 0x7f
ja 0x14154f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14154f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14154f1d2
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 0x14154f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180e38300
Capabilities:
Encode data using xor

Disassembly:
jmp 0x180e3830a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x180e38333
pop rbp
sub rbp, 0x33
sub rbp, 0xe38300
cmp edx, 1
je 0x180e38376
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x180e38386
mov rax, 0xe38300
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0xffffffffb572d273
xor byte [rax], dl
inc rax
dec rcx
jne 0x180e383a5
jmp 0x180e383bc
cmp edi, edx
invalid
Function at 0x1400406d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rsp], 0x7d
mov byte [rsp + 1], 0xd
mov byte [rsp + 2], 0x12
mov byte [rsp + 3], 0xa
mov byte [rsp + 4], 0x18
mov byte [rsp + 5], 0xf
mov byte [rsp + 6], 0xe
mov byte [rsp + 7], 0x15
mov byte [rsp + 8], 0x18
mov byte [rsp + 9], 0x11
mov byte [rsp + 0xa], 0x11
mov byte [rsp + 0xb], 0x53
mov byte [rsp + 0xc], 0x18
mov byte [rsp + 0xd], 5
mov byte [rsp + 0xe], 0x18
mov byte [rsp + 0xf], 0x5d
mov byte [rsp + 0x10], 0x50
mov byte [rsp + 0x11], 0x38
mov byte [rsp + 0x12], 0x13
mov byte [rsp + 0x13], 0x1e
mov byte [rsp + 0x14], 0x12
mov byte [rsp + 0x15], 0x19
mov byte [rsp + 0x16], 0x18
mov byte [rsp + 0x17], 0x19
mov byte [rsp + 0x18], 0x3e
mov byte [rsp + 0x19], 0x12
mov byte [rsp + 0x1a], 0x10
mov byte [rsp + 0x1b], 0x10
mov byte [rsp + 0x1c], 0x1c
mov byte [rsp + 0x1d], 0x13
mov byte [rsp + 0x1e], 0x19
mov byte [rsp + 0x1f], 0x5d
mov byte [rsp + 0x20], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x58]
mov rsi, rax
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14004bb20
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400407d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x6e
mov byte [rsp + 1], 0x2d
mov byte [rsp + 2], 0x1c
mov byte [rsp + 3], 0xb
mov byte [rsp + 4], 0xf
mov byte [rsp + 5], 0x1a
mov byte [rsp + 6], 0xb
mov byte [rsp + 7], 0x3e
mov byte [rsp + 8], 0x1c
mov byte [rsp + 9], 1
mov byte [rsp + 0xa], 0xd
mov byte [rsp + 0xb], 0xb
mov byte [rsp + 0xc], 0x1d
mov byte [rsp + 0xd], 0x1d
mov byte [rsp + 0xe], 0x4e
mov byte [rsp + 0xf], 8
mov byte [rsp + 0x10], 0xf
mov byte [rsp + 0x11], 7
mov byte [rsp + 0x12], 2
mov byte [rsp + 0x13], 0xb
mov byte [rsp + 0x14], 0xa
mov byte [rsp + 0x15], 0x4e
mov byte [rsp + 0x16], 0x46
mov byte [rsp + 0x17], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.14004bb20
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140003e00
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 edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140003e77
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140003e77
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140003e64
cmp rbx, rcx
jae 0x140003e77
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140003e4f
cmp rbx, rcx
jae 0x140003e77
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x140003e79
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400102a8
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 0x140010308
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x140010302
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140010302
mov rdx, rax
mov rcx, rsi
call fcn.140002e84
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 0x14001b930
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx]
sub rcx, 0x18
call fcn.140003d1c
mov rbx, rax
lea r8, [rax + 0x18]
test rsi, rsi
jne 0x14001b95e
xor ecx, ecx
jmp 0x14001b962
mov rcx, qword [rsi + 0x40]
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
add ecx, esi
cmp eax, 0x20
jg 0x14001b9c4
test ecx, ecx
jg 0x14001b9a1
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.140003d1c
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
call fcn.14001ba00
mov ebx, eax
jmp 0x14001b9d9
test ecx, ecx
jg 0x14001b9d4
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, 1
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001b9f6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001bdd4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140287940]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x38]
mov rbx, r9
mov qword [rsp + 0x20], rcx
mov rdx, r8
mov rcx, 0xffffffff80000000
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14001be6b
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 rax, [rsp + 0x40]
sub rbx, rax
lea rcx, [rsp + 0x40]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001be50
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401bbe60
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14001c928
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 rbx, qword [rcx + 0x100]
xor r14d, r14d
mov rdi, rcx
mov rsi, qword [rcx + 0xf8]
cmp qword [rcx + 0xf0], r14
je 0x14001c98f
call fcn.14002a288
mov rdx, qword [rdi + 0xf0]
lea r8d, [r14 + 5]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001c98f
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x14001c9a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov ecx, 1
test rbx, rbx
je 0x14001c9e5
mov edx, 0xffff
lea rax, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x14001c9c4
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x14001c9cf
movzx edx, word [rax]
mov rax, rbx
movzx r8d, word [rbx + 0xa]
test dword [rax], 0x1801
jne 0x14001c9e2
test r8w, r8w
jne 0x14001c9e2
test dx, dx
je 0x14001c9e5
mov ecx, r14d
mov rbx, qword [rsp + 0x30]
mov eax, ecx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14001ca04
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 rbx, rcx
cmp rdx, 0x10000
jae 0x14001ca43
cmp dword [rcx + 0xe8], 0
jne 0x14001ca43
movzx eax, di
mov dword [rcx + 0xe8], eax
call fcn.14002a288
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001ca87
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001ca87
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.14001cdbc
jmp 0x14001ca89
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001caa0
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 rsi, r8
mov rbx, rdx
mov rbp, rcx
call fcn.14002a288
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001cb0a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14001cb0a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.14001cb24
jmp 0x14001cb0c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002173c
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
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x14002179a
call fcn.14002a288
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14002179a
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400217a5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.140052b40
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140021944
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 rdi, rcx
mov rbx, r8
lea rcx, [0x140247208]
mov esi, edx
call fcn.1401c4ca4
mov r8d, eax
lea rdx, [0x140247208]
mov rcx, rbx
call fcn.140003b6c
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x140021a26
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x140021a3e
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140021a59
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x1400219d8
mov edx, edi
mov rcx, rbx
call fcn.140002db4
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140021a59
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rcx, rsi
mov word [rax + rdi*2], bp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140021a03
mov eax, ebp
jmp 0x140021a10
movsxd rdx, dword [rcx - 0xc]
call fcn.1401c4dd0
test eax, eax
js 0x140021a59
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140021a59
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140021a3e
mov rcx, rdi
call fcn.140027bc8
test rax, rax
je 0x140021a3e
mov rdx, rbx
mov rcx, rax
call fcn.140021edc
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140002f6c
int3
Function at 0x140021edc
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 rsi, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0xd0]
mov rbx, rdx
test rcx, rcx
jne 0x140021f8b
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140021fb0
mov rcx, qword [rbx]
lea r8d, [rbp + 1]
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x140021f3c
mov edx, edi
mov rcx, rbx
call fcn.140002db4
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140021fb0
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov word [rax + rdi*2], bp
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140021f68
mov eax, ebp
jmp 0x140021f75
movsxd rdx, dword [rcx - 0xc]
call fcn.1401c4dd0
test eax, eax
js 0x140021fb0
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140021fb0
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140021f9b
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14007cb16.0]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140002f6c
int3

Function at 0x140022550
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, rdx
mov rbx, rcx
test rcx, rcx
je 0x140022609
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140022609
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140022609
test rdi, rdi
je 0x140022609
xor r14d, r14d
xor esi, esi
call fcn.14002a288
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400225e9
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
mov rcx, rbp
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140022609
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.140057298
mov edi, eax
test eax, eax
je 0x140022605
mov rcx, rbx
call fcn.140022218
mov eax, edi
jmp 0x14002260b
xor eax, eax
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 0x14002357c
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.1400538d4
mov rdi, rax
test rax, rax
je 0x1400235f8
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1400235f3
cmp dword [rbx], 0x40
jb 0x1400235f3
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 0x1400235f3
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1400235fc
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 0x140027ccc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movsxd rsi, r8d
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
cmp qword [rcx + 0xd0], rbp
jne 0x140027d06
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140027daa
call fcn.14001dc98
mov rcx, rax
test rax, rax
je 0x140027dc5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007cb16.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi + 0xd0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0x118]
call qword [case.0x14007cb16.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1401d04b0
test eax, eax
je 0x140027d6e
cmp eax, 0xc
je 0x140027dbf
cmp eax, 0x50
jne 0x140027dd0
test rbx, rbx
jne 0x140027d77
mov ebx, ebp
jmp 0x140027d82
mov rcx, rbx
call fcn.1401c4ca4
mov rbx, rax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140027da8
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007cb16.0]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
call fcn.14001ec2c
nop
mov ecx, 0x80004005
call fcn.140002f6c
nop
call fcn.14001ec08
int3

Function at 0x14002888c
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x1400288f4
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1400288de
cmp qword [rcx + 0x18], 0
jne 0x1400288d9
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1400288fa
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1400288f4
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.140053594
call fcn.14001ec08
int3
call fcn.14001ec08
int3