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

Disassembly:
sub rsp, 0x88
mov byte [rsp + 0x28], 0x5c
mov byte [rsp + 0x29], 0x41
mov byte [rsp + 0x2a], VarBstrFromDisp
mov byte [rsp + 0x2b], VarBstrFromDisp
mov byte [rsp + 0x2c], 0x6c
mov byte [rsp + 0x2d], 0x69
mov byte [rsp + 0x2e], 0x63
mov byte [rsp + 0x2f], 0x61
mov byte [rsp + 0x30], 0x74
mov byte [rsp + 0x31], 0x69
mov byte [rsp + 0x32], VarBstrFromDisp
mov byte [rsp + 0x33], VarBstrFromDisp
mov byte [rsp + 0x34], 0x73
mov byte [rsp + 0x35], 0x5c
mov byte [rsp + 0x36], 0x56
mov byte [rsp + 0x37], 0x4d
mov byte [rsp + 0x38], 0x77
mov byte [rsp + 0x39], 0x61
mov byte [rsp + 0x3a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x3b], 0x65
mov byte [rsp + 0x3c], 0x48
mov byte [rsp + 0x3d], VarBstrFromDisp
mov byte [rsp + 0x3e], 0x73
mov byte [rsp + 0x3f], 0x74
mov byte [rsp + 0x40], 0x4f
mov byte [rsp + 0x41], VarBstrFromDisp
mov byte [rsp + 0x42], 0x65
mov byte [rsp + 0x43], VarBstrFromDisp
mov byte [rsp + 0x44], 0x2e
mov byte [rsp + 0x45], 0x65
mov byte [rsp + 0x46], 0x78
mov byte [rsp + 0x47], 0x65
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x50], 0x53
mov byte [rsp + 0x51], 0x4f
mov byte [rsp + 0x52], 0x46
mov byte [rsp + 0x53], 0x54
mov byte [rsp + 0x54], 0x57
mov byte [rsp + 0x55], 0x41
mov byte [rsp + 0x56], 0x52
mov byte [rsp + 0x57], 0x45
mov byte [rsp + 0x58], 0x5c
mov byte [rsp + 0x59], 0x4f
mov byte [rsp + 0x5a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x5b], 0x61
mov byte [rsp + 0x5c], 0x63
mov byte [rsp + 0x5d], 0x6c
mov byte [rsp + 0x5e], 0x65
mov byte [rsp + 0x5f], 0x5c
mov byte [rsp + 0x60], 0x56
mov byte [rsp + 0x61], 0x69
mov byte [rsp + 0x62], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x63], 0x74
mov byte [rsp + 0x64], 0x75
mov byte [rsp + 0x65], 0x61
mov byte [rsp + 0x66], 0x6c
mov byte [rsp + 0x67], 0x42
mov byte [rsp + 0x68], VarBstrFromDisp
mov byte [rsp + 0x69], 0x78
mov byte [rsp + 0x6a], 0x20
mov byte [rsp + 0x6b], 0x47
mov byte [rsp + 0x6c], 0x75
mov byte [rsp + 0x6d], 0x65
mov byte [rsp + 0x6e], 0x73
mov byte [rsp + 0x6f], 0x74
mov byte [rsp + 0x70], 0x20
mov byte [rsp + 0x71], 0x41
mov byte [rsp + 0x72], 0x64
mov byte [rsp + 0x73], 0x64
mov byte [rsp + 0x74], 0x69
mov byte [rsp + 0x75], 0x74
mov byte [rsp + 0x76], 0x69
mov byte [rsp + 0x77], VarBstrFromDisp
mov byte [rsp + 0x78], VarBstrFromDisp
mov byte [rsp + 0x79], 0x73
mov byte [rsp + 0x7a], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140015128
xor eax, eax
jmp 0x14001514e
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140015149
xor eax, eax
jmp 0x14001514e
mov eax, 1
add rsp, 0x88
ret
Function at 0x140015184
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
cmp dword [rsp + 0x50], 0
je 0x1400151c1
call fcn.140014b84
test eax, eax
je 0x1400151b7
call fcn.140014f84
test eax, eax
je 0x1400151b7
call fcn.140014b04
test eax, eax
jne 0x1400151c1
mov ecx, 1
call fcn.1401c5f80
cmp dword [rsp + 0x60], 0
je 0x1400151db
call fcn.140014e88
test eax, eax
jne 0x1400151db
mov ecx, 1
call fcn.1401c5f80
cmp dword [rsp + 0x58], 0
je 0x140015217
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140015158]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x48
ret
Function at 0x14001f8f0
Capabilities:
Get graphical window text

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
movzx eax, byte [rsp + 0xd0]
test eax, eax
jne 0x14001f9a0
mov rcx, qword [rsp + 0xc8]
call fcn.14000c4cc
movzx eax, al
test eax, eax
je 0x14001f94a
mov dword [rsp + 0x58], 0
mov rcx, qword [rsp + 0xc8]
call fcn.14000d6d8
mov eax, dword [rsp + 0x58]
jmp 0x14001fb91
mov rcx, qword [rsp + 0xc8]
call fcn.14000cc6c
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140048a5c
nop
lea rcx, [rsp + 0x80]
call fcn.140049238
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x80]
call fcn.140048bd8
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000d6d8
mov eax, dword [rsp + 0x5c]
jmp 0x14001fb91
mov rax, qword [rsp + 0xc0]
add rax, 0x420
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000b430
nop
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x448], 1
jne 0x14001f9e5
lea r8, [0x14024a538]
lea rdx, [0x14024a53c]
lea rcx, [rsp + 0x48]
call fcn.1400097e0
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x444], 1
je 0x14001fa13
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x444], 2
jne 0x14001faa8
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x48]
call fcn.14000cc50
cdqe
lea rax, [rax + rax + 1]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
mov rcx, rax
call fcn.140039b00
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x40]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1401e4d80
mov rcx, qword [rsp + 0xc0]
call fcn.14000b784
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rsp + 0x50]
call fcn.1401c5970
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14002d2c0
jmp 0x14001fb53
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x444], 3
jne 0x14001fb09
lea rcx, [rsp + 0x48]
call fcn.140009be8
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [rsp + 0x78]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x40], eax
jmp 0x14001fb53
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x444], 5
jne 0x14001fb2f
lea rcx, [rsp + 0x48]
call fcn.14000cc50
cdqe
shl rax, 1
mov dword [rsp + 0x40], eax
jmp 0x14001fb53
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x444], 4
jne 0x14001fb53
lea rcx, [rsp + 0x48]
call fcn.14000cc50
cdqe
shl rax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x43c]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x48]
call fcn.14000d6d8
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000d6d8
mov eax, dword [rsp + 0x60]
add rsp, 0xb8
ret
Function at 0x14001fb9c
Capabilities:
Get disk size

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0xd0], 0
jne 0x14001fc72
mov rcx, qword [rsp + 0xc8]
call fcn.14000c4cc
movzx eax, al
test eax, eax
je 0x14001fbfa
mov dword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xc8]
call fcn.14000d6d8
mov eax, dword [rsp + 0x48]
jmp 0x14001fdcc
mov rcx, qword [rsp + 0xc8]
call fcn.14000cc6c
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.140048a5c
nop
lea rcx, [rsp + 0x88]
call fcn.140049238
mov dword [rsp + 0xd0], eax
cmp dword [rsp + 0xd0], 0
jne 0x14001fc65
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x88]
call fcn.140048bd8
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000d6d8
mov eax, dword [rsp + 0x4c]
jmp 0x14001fdcc
lea rcx, [rsp + 0x88]
call fcn.140048bd8
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
mov dx, 0x5c
mov rcx, qword [rsp + 0xc8]
call fcn.140024648
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x14001fcbc
lea rax, [0x14024a544]
mov qword [rsp + 0x60], rax
jmp 0x14001fd03
mov eax, dword [rsp + 0x38]
inc eax
mov r8d, eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
call fcn.140009674
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x78]
call fcn.14000cc6c
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.14000c714
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14001fd30
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x80]
call fcn.14000d6d8
lea rcx, [rsp + 0x68]
call fcn.14000cc6c
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x3c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov eax, dword [rsp + 0x3c]
imul eax, dword [rsp + 0x40]
mov dword [rsp + 0x34], eax
xor edx, edx
mov eax, dword [rsp + 0xd0]
div dword [rsp + 0x34]
mov eax, edx
test eax, eax
je 0x14001fd86
mov dword [rsp + 0x44], 1
jmp 0x14001fd8e
mov dword [rsp + 0x44], 0
xor edx, edx
mov eax, dword [rsp + 0xd0]
div dword [rsp + 0x34]
add eax, dword [rsp + 0x44]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
imul eax, dword [rsp + 0x34]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x68]
call fcn.14000d6d8
nop
mov rcx, qword [rsp + 0xc8]
call fcn.14000d6d8
mov eax, dword [rsp + 0x5c]
add rsp, 0xb8
ret
Function at 0x140023f24
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x2b0]
add rax, 0x418
mov dx, 0x5c
mov rcx, rax
call fcn.140024648
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
inc eax
mov rcx, qword [rsp + 0x2b0]
add rcx, 0x418
mov r8d, eax
lea rdx, [rsp + 0x58]
call fcn.140024598
nop
lea rcx, [rsp + 0x50]
call fcn.14000d85c
nop
mov dword [rsp + 0x38], 0x100
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.14000cf48
lea rcx, [rsp + 0x48]
call fcn.14000d85c
nop
mov dword [rsp + 0x3c], 0xf
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000cf48
lea rcx, [rsp + 0x40]
call fcn.14000d85c
nop
lea rcx, [rsp + 0x48]
call fcn.140009be8
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x50]
call fcn.140009be8
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x58]
call fcn.140009be8
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x68]
mov r9, rcx
mov r8, rax
lea rdx, str._s____s__s
lea rcx, [rsp + 0x40]
call fcn.14000d694
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2b8]
call fcn.14000b430
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.14000d6d8
nop
lea rcx, [rsp + 0x48]
call fcn.14000d6d8
nop
lea rcx, [rsp + 0x50]
call fcn.14000d6d8
nop
lea rcx, [rsp + 0x58]
call fcn.14000d6d8
mov rax, qword [rsp + 0x2b8]
add rsp, 0x2a8
ret

Function at 0x140026fa8
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x230], 0
je 0x140027026
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x230]
xor edx, edx
mov rcx, qword [rax + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x230]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14002700d
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x20]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x28], rax
jmp 0x140027016
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x230], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x238], 0
je 0x140027057
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x238]
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x238], 0
mov rcx, qword [rsp + 0x40]
call fcn.1400318c8
add rsp, 0x38
ret

Function at 0x140028d14
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
add rsp, 0x28
ret
Function at 0x14002a29c
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 0x14002a303
call fcn.140029e58
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 0x14002a303
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rsi, rsi
je 0x14002a314
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov eax, 1
test rbx, rbx
je 0x14002a359
mov edx, 0xffff
lea rcx, [rbx + 0xc]
cmp word [rbx + 2], dx
jne 0x14002a338
movzx r8d, word [rbx + 0x12]
movzx edx, word [rbx + 0x14]
jmp 0x14002a343
movzx edx, word [rcx]
mov rcx, rbx
movzx r8d, word [rbx + 0xa]
test dword [rcx], 0x1801
jne 0x14002a356
test r8w, r8w
jne 0x14002a356
test dx, dx
je 0x14002a359
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 0x14002a374
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 0x14002a3b3
cmp dword [rcx + 0xe8], 0
jne 0x14002a3b3
movzx eax, dx
mov dword [rcx + 0xe8], eax
call fcn.140029e58
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 0x14002a3f7
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002a3f7
mov r9, rsi
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.14002a72c
jmp 0x14002a3f9
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 0x14002a410
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.140029e58
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 0x14002a47a
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14002a47a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r9, rdi
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call fcn.14002a494
jmp 0x14002a47c
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 0x140031d24
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 0x140031d82
call fcn.140029e58
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 0x140031d82
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140031d8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.14004baf8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140031f2c
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, [0x1401f2dc8]
mov esi, edx
call fcn.1401bfdcc
mov r8d, eax
lea rdx, [0x1401f2dc8]
mov rcx, rbx
call fcn.14000cde8
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x14003200e
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x140032026
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140032041
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 0x140031fc0
mov edx, edi
mov rcx, rbx
call fcn.14000d378
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140032041
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 0x140031feb
mov eax, ebp
jmp 0x140031ff8
movsxd rdx, dword [rcx - 0xc]
call fcn.1401bfef8
test eax, eax
js 0x140032041
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140032041
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140032026
mov rcx, rdi
call fcn.140039c44
test rax, rax
je 0x140032026
mov rdx, rbx
mov rcx, rax
call fcn.1400324c8
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.14000d6f0
int3
Function at 0x1400324c8
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 0x140032577
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x14003259c
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 0x140032528
mov edx, edi
mov rcx, rbx
call fcn.14000d378
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x14003259c
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 0x140032554
mov eax, ebp
jmp 0x140032561
movsxd rdx, dword [rcx - 0xc]
call fcn.1401bfef8
test eax, eax
js 0x14003259c
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14003259c
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140032587
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14006898e.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.14000d6f0
int3

Function at 0x140032b3c
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 0x140032bf5
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140032bf5
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140032bf5
test rdi, rdi
je 0x140032bf5
xor r14d, r14d
xor esi, esi
call fcn.140029e58
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 0x140032bd5
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 0x140032bf5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14004e874
mov edi, eax
test eax, eax
je 0x140032bf1
mov rcx, rbx
call fcn.140032804
mov eax, edi
jmp 0x140032bf7
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 0x140033b74
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.14004c888
mov rdi, rax
test rax, rax
je 0x140033bf0
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x140033beb
cmp dword [rbx], 0x40
jb 0x140033beb
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 0x140033beb
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140033bf4
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 0x140039d48
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 0x140039d82
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140039e26
call fcn.14002b948
mov rcx, rax
test rax, rax
je 0x140039e41
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14006898e.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.0x14006898e.0]
mov rdx, rsi
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1401c8180
test eax, eax
je 0x140039dea
cmp eax, 0xc
je 0x140039e3b
cmp eax, 0x50
jne 0x140039e4c
test rbx, rbx
jne 0x140039df3
mov ebx, ebp
jmp 0x140039dfe
mov rcx, rbx
call fcn.1401bfdcc
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 0x140039e24
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006898e.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.14002c764
nop
mov ecx, 0x80004005
call fcn.14000d6f0
nop
call fcn.14002c740
int3

Function at 0x14003d008
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14003d070
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14003d05a
cmp qword [rcx + 0x18], 0
jne 0x14003d055
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14003d076
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 0x14003d070
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.14004c548
call fcn.14002c740
int3
call fcn.14002c740
int3