joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a31d0
Capabilities:
Enumerate gui resources
Find taskbar

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
mov eax, 0x11cd0
call fcn.1400d8050
sub rsp, rax
xor ebx, ebx
mov byte [rcx], 0
cmp qword [0x140124568], rcx
movzx ebp, dl
mov rdi, rcx
je 0x1400a3209
mov qword [0x140124568], rcx
mov dword [0x140124578], ebx
cmp qword [0x140124570], rbx
jne 0x1400a322c
mov ecx, 0xfa0
call fcn.140097680
test rax, rax
je 0x1400a33ff
mov qword [0x140124570], rax
mov qword [rsp + 0x11ce0], rsi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 4
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
je 0x1400a3266
mov edx, 4
mov rcx, rax
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
jne 0x1400a3250
mov r8, qword [0x14011c188]
mov rdx, rsi
sub r8, 0xffffffffffffff80
mov rcx, rdi
call fcn.1400a3410
mov ecx, dword [0x140124578]
test rax, rax
lea rax, [0x1400f9b70]
mov dword [rsp + 0x20], ebx
cmovne ecx, ebx
mov qword [rsp + 0x1038], rax
mov dword [0x140124578], ecx
mov dword [rsp + 0x1874], ebx
mov qword [rsp + 0x1878], rbx
mov qword [rsp + 0x1880], rbx
mov qword [rsp + 0x18a8], rbx
mov qword [rsp + 0x18b0], rbx
test bpl, bpl
je 0x1400a32d8
mov byte [rsp + 0x1871], bl
test ecx, ecx
je 0x1400a32e0
mov byte [rsp + 0x1871], 1
mov rax, qword [0x140124570]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x1888], rax
mov rax, qword [rdi + 0x10]
mov dword [rsp + 0x1890], ecx
lea rcx, [0x1400a3510]
mov qword [rsp + 0x1898], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x1878]
test rcx, rcx
je 0x1400a3391
call qword [sym.imp.USER32.dll_GetLastActivePopup]
mov rcx, rax
call fcn.14009ffe0
movsxd rcx, dword [0x140124578]
mov rdx, qword [rsp + 0x1878]
mov r8, qword [0x140124570]
test ecx, ecx
jle 0x1400a335f
mov rax, r8
nop dword [rax]
cmp qword [rax], rdx
je 0x1400a3373
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400a3350
cmp ecx, 0x1f4
jge 0x1400a3373
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x140124578], ecx
mov rax, qword [0x14011c188]
mov ecx, dword [rax + 0x90]
cmp ecx, 0xffffffff
jle 0x1400a33e2
mov edx, 1
call fcn.140001710
jmp 0x1400a33e2
mov eax, dword [0x140124578]
test eax, eax
je 0x1400a33cb
cmp eax, 1
mov dword [0x140124578], ebx
setg al
test al, al
je 0x1400a33e2
mov rax, qword [0x140124570]
xor edx, edx
mov rcx, rdi
mov dword [0x140124578], 1
mov qword [rax], rsi
call fcn.1400a31d0
jmp 0x1400a33e2
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
call fcn.14009ffe0
mov rsi, qword [rsp + 0x11ce0]
lea r11, [rsp + 0x11cd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140011050
int3
Function at 0x1400b8d90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b8dda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b8dda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b8dda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b8dda
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b8dda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b8ddc
xor al, al
add rsp, 0x28
ret

Function at 0x1400cd028
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400cce87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400cce87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400cce87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400cce87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cce87
cmp dword [rcx + 0x84], 0xe
jbe 0x1400cce87
cmp dword [rcx + 0xf8], 0
je 0x1400cce87
mov ecx, ebx
call fcn.1400ccf44
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400ccd14
nop
cmp dword [rbp + 0x20], 0
je 0x1400cced5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ccee0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400cce18
Function at 0x1400d2894
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400d291b
mov rsi, rbx
cmp word [rax], bp
je 0x1400d28da
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400d28c4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400d28c0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400cf520
mov rdi, rax
test rax, rax
je 0x1400d2908
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400ba140
mov rbp, rdi
xor ecx, ecx
call fcn.1400cf4e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d7f80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400d7fa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400d7fa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14001e4f0
Capabilities:
Encode data using xor

Disassembly:
pop r15
adc eax, eax
xchg edi, eax
outsb dx, byte [rsi]
and eax, 0xd474aa21
int 0x75
insd dword [rdi], dx
adc cl, byte [rdx*2 + 0x2b8eb8a4]
or al, 0x55
movsb byte [rdi], byte [rsi]
mov eax, 0xe9c12b8e
in eax, dx
insb byte [rdi], dx
push rsp
invalid
invalid
invalid
invalid
invalid

Function at 0x140b24058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b241df
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 0x140b24089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b2406f
add dl, dl
jne 0x140b24096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b240f6
xor eax, eax
add dl, dl
jne 0x140b240a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b241ad
add dl, dl
jne 0x140b240b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b240c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b240d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b240dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b240ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b2407e
mov eax, 1
add dl, dl
jne 0x140b24106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b24113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b240fb
sub eax, ebx
mov ebx, 1
jne 0x140b2414c
mov ecx, 1
add dl, dl
jne 0x140b2412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b2413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b24123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b2407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b24168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b24175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b2415d
cmp eax, 0x7d00
jae 0x140b2419b
cmp eax, 0x500
jb 0x140b24196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b2407e
cmp eax, 0x7f
ja 0x140b2419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b2407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b241d2
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 0x140b2407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 0x400
call fcn.1403c87d8
mov rcx, qword gs:[0x58]
mov rdi, rax
mov eax, 0x5f8
xor ebx, ebx
mov r9d, 0x600
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
test cl, 1
jne 0x140001082
lea r8, [r9 + rdx]
or ecx, 1
mov byte [r8], bl
mov dword [rax + rdx], ecx
mov edx, ebx
mov rax, qword [0x1405adf58]
lea rcx, [rsp + 0x2c]
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [r8 + 4], eax
lea rax, [rsp + 0x2c]
sub r8, rax
nop dword [rax + rax]
mov eax, dword [rcx]
inc edx
mov dword [rcx + r8 + 4], eax
lea rcx, [rcx + 4]
cmp edx, 1
jb 0x140001070
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov rax, qword [r9 + rcx]
mov qword [rsp + 0x28], rax
test al, al
jne 0x1400010dc
mov dword [rsp + 0x20], ebx
mov eax, dword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
add edx, 0x79
xor edx, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x1400010b0
mov eax, dword [rsp + 0x2c]
lea rsi, [0x140000000]
mov r8d, 0x400
mov byte [rsp + 0x28], 1
lea rdx, [0x14000690c]
mov rcx, rdi
call qword [rsi + rax*8 + 0x5de900]
mov rax, qword gs:[0x58]
mov edx, 0x5fc
mov r9d, 0x608
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
test al, 1
jne 0x140001172
or eax, 1
mov r8d, r9d
mov dword [rdx + rcx], eax
add r8, rcx
mov rax, qword [0x1405adf50]
lea rcx, [rsp + 0x2c]
mov qword [rsp + 0x28], rax
mov edx, ebx
xor eax, eax
mov byte [r8], bl
mov dword [r8 + 4], eax
lea rax, [rsp + 0x2c]
sub r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rcx]
inc edx
mov dword [rcx + r8 + 4], eax
lea rcx, [rcx + 4]
cmp edx, 1
jb 0x140001160
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov rax, qword [r9 + rcx]
mov qword [rsp + 0x28], rax
test al, al
jne 0x1400011cc
mov dword [rsp + 0x20], ebx
mov eax, dword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [rsp + 0x20]
mov edx, dword [rsp + 0x20]
add edx, 0x7a
xor edx, dword [rsp + rax*4 + 0x2c]
movsxd rax, dword [rsp + 0x20]
mov dword [rsp + rax*4 + 0x2c], edx
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cmp eax, 1
jb 0x1400011a0
mov eax, dword [rsp + 0x2c]
call qword [rsi + rax*8 + 0x5dedd0]
mov rbx, rax
test rax, rax
je 0x1400011f4
mov r8d, 0x400
mov rdx, rdi
mov rcx, rax
call qword [rax + 0x28]
mov rcx, rbx
call qword [rbx + 0x60]
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1403c9000
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1403c904a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1403c904a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1403c904a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1403c904a
cmp dword [rcx + 0x84], 0xe
jbe 0x1403c904a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1403c904c
xor al, al
add rsp, 0x28
ret

Function at 0x1403caca8
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 0x1403cad1f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1403cad1f
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1403cad0c
cmp rbx, rcx
jae 0x1403cad1f
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1403cacf7
cmp rbx, rcx
jae 0x1403cad1f
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1403cad21
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 0x1403cce2c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1403cce93
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1403ccea7
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1403ccea7
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x1403f1b1a.0]
jmp 0x1403cceac
cmp dword [rcx + 8], 0
je 0x1403ccea7
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1403cceac
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1403d0020
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1403d0046
mov r8, rdx
mov rdx, qword [rbx]
call fcn.1403cce2c
jmp 0x1403d00b2
cmp byte [0x1405e4370], 0
jne 0x1403d008a
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1403d007a
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1405e4368], rax
jmp 0x1403d0081
mov rax, qword [0x1405e4368]
mov byte [0x1405e4370], 1
jmp 0x1403d0091
mov rax, qword [0x1405e4368]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x1403d00ab
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x1403f1b1a.0]
jmp 0x1403d00b2
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1403d09a4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x34]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x30], eax
cmp eax, 0xffffffff
jne 0x1403d09cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1403d09da
mov rax, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.1403c9afc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1403dcbb8
int3

Function at 0x1403d0d00
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
test r8d, r8d
jne 0x1403d0d12
xor eax, eax
jmp 0x1403d0d2f
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x50]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1403d0d35
mov eax, dword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
lea rcx, [rbx + 0x18]
call fcn.1403c9afc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1403dcbb8
int3

Function at 0x1403d0e88
Capabilities:
Write file on windows

Disassembly:
test r8d, r8d
je 0x1403d0ec6
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov rdi, rcx
mov ebx, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1403d0ec7
cmp dword [rsp + 0x50], ebx
jne 0x1403d0ee4
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
lea rcx, [rdi + 0x18]
call fcn.1403c9afc
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rbx
call fcn.1403dcbb8
int3
lea rcx, [rdi + 0x18]
call fcn.1403c9afc
or edx, 0xffffffff
mov r8, rax
lea ecx, [rdx + 0xe]
call fcn.1403dc714
int3
Function at 0x1403d1604
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x1405dd080]
xor rax, rsp
mov qword [rsp + 0x220], rax
xor ebp, ebp
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1403d16bf
test rdx, rdx
je 0x1403d16bf
mov rcx, rdx
call sub.msvcrt.dll_wcslen
xor edx, edx
mov word [rsp + 0x20], bp
mov r8d, 0x1fe
lea rcx, [rsp + 0x22]
mov rsi, rax
call sub.msvcrt.dll_memset
mov r8d, 0x100
cmp rsi, r8
ja 0x1403d1690
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, esi
jne 0x1403d1690
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1403d169c
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14055b570
mov rbx, qword [rsp + 0x260]
add rsp, 0x230
pop rdi
pop rsi
pop rbp
ret
call fcn.1403c9750
int3

Function at 0x1403d226c
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x1403d22d4
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1403d22be
cmp qword [rcx + 0x18], 0
jne 0x1403d22b9
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1403d22da
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 0x1403d22d4
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1403d1604
call fcn.1403c9750
int3
call fcn.1403c9750
int3

Function at 0x1403d4d84
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 0x1403d4de2
call fcn.1403cb8a4
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 0x1403d4de2
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1403d4ded
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.1403e078c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1403d4f8c
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, [0x1405adf20]
mov esi, edx
call sub.msvcrt.dll_wcslen
mov r8d, eax
lea rdx, [0x1405adf20]
mov rcx, rbx
call fcn.1403ca478
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x1403d506e
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x1403d5086
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1403d50a1
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 0x1403d5020
mov edx, edi
mov rcx, rbx
call fcn.1403ca36c
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1403d50a1
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 0x1403d504b
mov eax, ebp
jmp 0x1403d5058
movsxd rdx, dword [rcx - 0xc]
call fcn.14054df90
test eax, eax
js 0x1403d50a1
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1403d50a1
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1403d5086
mov rcx, rdi
call fcn.1403db0c8
test rax, rax
je 0x1403d5086
mov rdx, rbx
mov rcx, rax
call fcn.1403d5524
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.1403c941c
int3

Function at 0x1403d5524
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 0x1403d55d3
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x1403d55f8
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 0x1403d5584
mov edx, edi
mov rcx, rbx
call fcn.1403ca36c
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x1403d55f8
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 0x1403d55b0
mov eax, ebp
jmp 0x1403d55bd
movsxd rdx, dword [rcx - 0xc]
call fcn.14054df90
test eax, eax
js 0x1403d55f8
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x1403d55f8
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x1403d55e3
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x1403f1b1a.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.1403c941c
int3
Function at 0x1403d5b98
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 0x1403d5c51
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1403d5c51
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1403d5c51
test rdi, rdi
je 0x1403d5c51
xor r14d, r14d
xor esi, esi
call fcn.1403cb8a4
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 0x1403d5c31
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 0x1403d5c51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.1403e13d0
mov edi, eax
test eax, eax
je 0x1403d5c4d
mov rcx, rbx
call fcn.1403d5860
mov eax, edi
jmp 0x1403d5c53
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 0x1403d6bd0
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.1403d1944
mov rdi, rax
test rax, rax
je 0x1403d6c4c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x1403d6c47
cmp dword [rbx], 0x40
jb 0x1403d6c47
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 0x1403d6c47
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x1403d6c50
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret