joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a140
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x3c], 3
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rcx, rax
call fcn.140006920
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001a1b5
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x34]
jmp 0x14001a216
mov rcx, qword [rsp + 0x68]
call fcn.140006920
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14001a1f5
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x14001a230
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x3c], 3
mov dword [rsp + 0x38], 4
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rcx, rax
call fcn.140006920
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001a2a5
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x34]
jmp 0x14001a306
mov rcx, qword [rsp + 0x68]
call fcn.140006920
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14001a2e5
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14001a920
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rcx, rax
call fcn.140006920
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001a98d
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x34]
jmp 0x14001aa03
mov rcx, qword [rsp + 0x68]
call fcn.140006920
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14001a9cc
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x10], 0
jne 0x14001a9e2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x38]
add rsp, 0x58
ret

Function at 0x14001ab00
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rcx, rax
call fcn.140006920
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001ab7a
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov rcx, qword [rsp + 0x70]
call fcn.140006610
mov eax, dword [rsp + 0x34]
jmp 0x14001ac19
mov rcx, qword [rsp + 0x70]
call fcn.140007a60
inc eax
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x70]
call fcn.140006920
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
call fcn.140006920
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14001abd8
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x10], 0
jne 0x14001abee
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov rcx, qword [rsp + 0x70]
call fcn.140006610
mov eax, dword [rsp + 0x3c]
add rsp, 0x58
ret
Function at 0x14001ad20
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x30], 1
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rcx, rax
call fcn.140006920
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14001ad8d
mov dword [rsp + 0x34], 0
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x34]
jmp 0x14001ae03
mov rcx, qword [rsp + 0x68]
call fcn.140006920
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 3
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14001adcc
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x10], 0
jne 0x14001ade2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x68]
call fcn.140006610
mov eax, dword [rsp + 0x38]
add rsp, 0x58
ret
Function at 0x140024be0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
cmp dword [0x1402c0484], 0
je 0x140024c12
cmp qword [0x1402c04a8], 0
je 0x140024c01
mov dword [rsp + 0x20], 1
jmp 0x140024c09
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
jmp 0x140024da8
call fcn.140024b60
mov dword [0x1402c04c0], eax
lea rcx, str.USER32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140024d4f
lea rdx, [0x1402079d0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c0488], rax
cmp qword [0x1402c0488], 0
je 0x140024d4f
lea rdx, [0x1402079e8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c0490], rax
cmp qword [0x1402c0490], 0
je 0x140024d4f
lea rdx, str.MonitorFromRect
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c0498], rax
cmp qword [0x1402c0498], 0
je 0x140024d4f
lea rdx, [0x140207a10]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c04a0], rax
cmp qword [0x1402c04a0], 0
je 0x140024d4f
lea rdx, [0x140207a28]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c04b0], rax
cmp qword [0x1402c04b0], 0
je 0x140024d4f
lea rdx, [0x140207a40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c04a8], rax
cmp qword [0x1402c04a8], 0
je 0x140024d4f
lea rdx, str.EnumDisplayDevicesA
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c04b8], rax
cmp qword [0x1402c04b8], 0
je 0x140024d4f
mov dword [0x1402c0484], 1
mov eax, 1
jmp 0x140024da8
mov qword [0x1402c0488], 0
mov qword [0x1402c0490], 0
mov qword [0x1402c0498], 0
mov qword [0x1402c04a0], 0
mov qword [0x1402c04a8], 0
mov qword [0x1402c04b0], 0
mov qword [0x1402c04b8], 0
mov dword [0x1402c0484], 1
xor eax, eax
add rsp, 0x38
ret

Function at 0x140026cd0
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
add rsp, 0x28
ret
Function at 0x140029f90
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
je 0x140029fe5
lea rcx, [0x1402087c8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140029ff8
lea rdx, str.SetFileAttributesTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029ff8
mov r8, qword [rbx]
mov edx, edi
mov rcx, rsi
call qword [case.0x140045926.0]
jmp 0x140029ffa
cmp dword [rcx + 8], 0
je 0x140029ff8
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x140029ffa
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14002a00c
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140295a80]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r15d, r15d
xor r12d, r12d
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test r8, r8
je 0x14002a061
mov rdx, rcx
lea r9, [rsp + 0x58]
mov rcx, rsi
xor r8d, r8d
call fcn.1400298f0
neg eax
sbb ebx, ebx
and ebx, dword [rsp + 0x58]
jmp 0x14002a069
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x14002a1de
mov edx, dword [rbp + 0x20]
cmp edx, ebx
je 0x14002a0a4
test bl, 1
je 0x14002a0a4
test rsi, rsi
je 0x14002a093
mov r8d, edx
mov rcx, rsi
mov rdx, rdi
call fcn.140029f90
jmp 0x14002a09c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x14002a1ef
lea rcx, [rbp + 8]
cmp qword [rcx], r12
je 0x14002a18a
lea rdx, [rsp + 0x50]
call fcn.1400296b0
lea rcx, [rbp + 0x10]
cmp qword [rcx], r12
je 0x14002a0d3
lea rdx, [rsp + 0x40]
call fcn.1400296b0
lea r12, [rsp + 0x40]
cmp qword [rbp], r15
je 0x14002a0eb
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.1400296b0
lea r15, [rsp + 0x48]
test rsi, rsi
je 0x14002a125
and qword [rsp + 0x38], 0
mov r9d, 1
mov dword [rsp + 0x30], 0x80
mov r8d, 0xc0000000
mov dword [rsp + 0x28], 3
mov rdx, rdi
and qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.1400297f8
jmp 0x14002a150
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14002a200
lea r9, [rsp + 0x50]
mov r8, r12
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x14002a211
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14002a22d
mov edx, dword [rbp + 0x20]
cmp edx, ebx
je 0x14002a1bc
test bl, 1
jne 0x14002a1bc
test rsi, rsi
je 0x14002a1ab
mov r8d, edx
mov rcx, rsi
mov rdx, rdi
call fcn.140029f90
jmp 0x14002a1b4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x14002a23e
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401b9b30
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rdi
call fcn.140097c10
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rdi
call fcn.140097c10
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rdi
call fcn.140097c10
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rdi
mov ecx, ebx
call fcn.140097c10
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rdi
call fcn.140097c10
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, rdi
call fcn.140097c10
int3
Function at 0x14002d2d8
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14002d340
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14002d32a
cmp qword [rcx + 0x18], 0
jne 0x14002d325
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14002d346
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_SetMenuItemInfoA]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14002d340
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.140099488
call fcn.140027884
int3
call fcn.140027884
int3

Function at 0x14002fdec
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 0x14002fe4a
call fcn.1400409e4
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14002fe4a
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002fe55
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.14002c8e4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14002fff4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, r8
lea rcx, [0x140200c51]
mov esi, edx
call fcn.1401cd140
mov r8d, eax
lea rdx, [0x140200c51]
mov rcx, rbx
call fcn.140008210
cmp qword [rdi + 0xc8], 0
mov edx, esi
jne 0x1400300d2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x1400300ea
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
movsxd rdi, eax
test eax, eax
js 0x140030100
mov rcx, qword [rbx]
mov r8d, 1
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x140030084
mov edx, edi
mov rcx, rbx
call fcn.140007e00
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140030100
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov rcx, rsi
mov byte [rdi + rax], 0
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400300af
xor eax, eax
jmp 0x1400300bc
movsxd rdx, dword [rcx - 0xc]
call fcn.1401cd1e8
test eax, eax
js 0x140030100
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140030100
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
jmp 0x1400300ea
mov rcx, rdi
call fcn.1400365f8
test rax, rax
je 0x1400300ea
mov rdx, rbx
mov rcx, rax
call fcn.1400305ac
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, dword [rax - 0x10]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140007000
int3
Function at 0x1400305ac
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx + 0xd0]
test rcx, rcx
jne 0x140030656
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthA]
movsxd rdi, eax
test eax, eax
js 0x140030676
mov rcx, qword [rbx]
mov r8d, 1
mov edx, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub edx, edi
or r8d, edx
jge 0x140030607
mov edx, edi
mov rcx, rbx
call fcn.140007e00
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140030676
mov dword [rdx - 0x10], edi
lea r8d, [rdi + 1]
mov rax, qword [rbx]
mov byte [rdi + rax], 0
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140030633
xor eax, eax
jmp 0x140030640
movsxd rdx, dword [rcx - 0xc]
call fcn.1401cd1e8
test eax, eax
js 0x140030676
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140030676
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
jmp 0x140030666
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x140045926.0]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140007000
int3

Function at 0x140030c18
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 0x140030cd1
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140030cd1
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140030cd1
test rdi, rdi
je 0x140030cd1
xor r14d, r14d
xor esi, esi
call fcn.1400409e4
lea r8, str.AFX_DIALOG_LAYOUT
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x140030cb1
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 0x140030cd1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14009b894
mov edi, eax
test eax, eax
je 0x140030ccd
mov rcx, rbx
call fcn.1400308e0
mov eax, edi
jmp 0x140030cd3
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 0x140031c50
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.1400997c4
mov rdi, rax
test rax, rax
je 0x140031ccc
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140031cc7
cmp dword [rbx], 0x40
jb 0x140031cc7
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_SendMessageA]
bt rax, 0xd
jb 0x140031cc7
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140031cd0
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 0x1400366fc
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 0x140036736
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1400367da
call fcn.1400292dc
mov rcx, rax
test rax, rax
je 0x1400367f5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140045926.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.0x140045926.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1401dbc34
test eax, eax
je 0x14003679e
cmp eax, 0xc
je 0x1400367ef
cmp eax, 0x50
jne 0x140036800
test rbx, rbx
jne 0x1400367a7
mov ebx, ebp
jmp 0x1400367b2
mov rcx, rbx
call fcn.1401cd140
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 0x1400367d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140045926.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.1400278a8
nop
mov ecx, 0x80004005
call fcn.140007000
nop
call fcn.140027884
int3
Function at 0x140036dac
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 0x140036e13
call fcn.1400409e4
mov rdx, qword [rdi + 0xf0]
lea r8d, [r14 + 5]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140036e13
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x140036e24
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov eax, 1
test rbx, rbx
je 0x140036e69
mov edx, 0xffff
lea rcx, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x140036e48
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x140036e53
movzx edx, word [rcx]
mov rcx, rbx
movzx r8d, word [rbx + 0xa]
test dword [rcx], 0x1801
jne 0x140036e66
test r8w, r8w
jne 0x140036e66
test dx, dx
je 0x140036e69
mov eax, r14d
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 0x140036e84
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 0x140036ec3
cmp dword [rcx + 0xe8], 0
jne 0x140036ec3
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.1400409e4
mov r8d, 5
mov rdx, rdi
mov rsi, qword [rax + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140036f07
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140036f07
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.140037238
jmp 0x140036f09
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 0x140036f20
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.1400409e4
mov r8d, 5
mov rdx, rbx
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140036f8a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140036f8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.140036fa4
jmp 0x140036f8c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret