joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f420
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
call fcn.1400679f0
mov rcx, qword [rbx + 0x158]
mov edx, dword [rbx + 0x168]
cmp dword [rcx + 0xb8], 1
jne 0x14003f462
lea eax, [rdx - 0x20]
lea edx, [rax + rax*4]
mov eax, 0x38e38e39
add edx, edx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rcx + 0xc4], edx
lea rcx, [0x14028b258]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140002ec0

Function at 0x14003fc40
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x1c0]
mov rbx, rcx
mov edx, 0x4fc
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x2c8]
mov edx, 0x4fd
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x3d0]
mov edx, 0x4fe
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x4d8]
mov edx, 0x4ff
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x5e0]
mov edx, 0x500
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x6e8]
mov edx, 0x4fa
mov rcx, rdi
call fcn.140070e78
lea r8, [rbx + 0x6f0]
mov edx, 0x4fb
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140070e78

Function at 0x1400403d0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14006fc48
test rbx, rbx
jne 0x1400403e7
xor ecx, ecx
jmp 0x1400403eb
mov rcx, qword [rbx + 0x40]
lea rdx, [rbx + 0x180]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rcx, [rbx + 0x1c0]
call fcn.140039d70
lea rcx, [rbx + 0x2c8]
call fcn.140039d70
lea rcx, [rbx + 0x3d0]
call fcn.140039d70
lea rcx, [rbx + 0x4d8]
call fcn.140039d70
lea rcx, [rbx + 0x5e0]
call fcn.140039d70
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140041b30
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x188]
mov rbx, rcx
mov edx, 0x438
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x2a8]
mov edx, 0x488
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x438]
mov edx, 0x487
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x5c8]
mov edx, 0x486
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x758]
mov edx, 0x485
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x8e8]
mov edx, 0x484
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0xa78]
mov edx, 0x484
mov rcx, rdi
call fcn.140070e78
lea r8, [rbx + 0xa80]
mov edx, 0x485
mov rcx, rdi
call fcn.140070e78
lea r8, [rbx + 0xa88]
mov edx, 0x486
mov rcx, rdi
call fcn.140070e78
lea r8, [rbx + 0xa90]
mov edx, 0x487
mov rcx, rdi
call fcn.140070e78
lea r8, [rbx + 0xa98]
mov edx, 0x488
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140070e78
Function at 0x140043360
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x178]
mov rbx, rcx
mov edx, 0x4e3
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x260]
mov edx, 0x4e0
mov rcx, rdi
call fcn.140070e78
lea r8, [rbx + 0x268]
mov edx, 0x4e1
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x350]
mov edx, 0x4e2
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x438]
mov edx, 0x4e4
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140070e78
Function at 0x140047a80
Capabilities:
Get disk size

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
lea r9, [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm0
add cx, 0x41
movabs rax, 0x5c003a0043
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x28]
movups xmmword [rsp + 0x58], xmm0
xor eax, eax
mov rbx, rdx
movups xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x78], xmm0
mov qword [r11 - 0x20], rax
movups xmmword [r11 - 0x50], xmm0
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
mov word [rsp + 0x40], cx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rax, qword [rsp + 0x20]
xor ecx, ecx
cmp rax, rbx
cmovg rax, rcx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401ee030
add rsp, 0xd0
pop rbx
ret
Function at 0x140048200
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rdx
mov dword [rsp + 0x34], 0
lea rdx, [rsp + 0x34]
mov r12, r9
mov r15, r8
mov rsi, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ecx, eax
mov r14d, eax
call fcn.1401fa840
mov rbx, rax
test rax, rax
je 0x140048402
lea r8, [0x140285280]
mov edx, 0x80
mov rcx, rdi
call fcn.140002ed0
lea r8, [0x140285280]
mov edx, 0x100
mov rcx, r12
call fcn.140002ed0
lea r8, [0x140285280]
mov edx, 0x104
mov rcx, r15
call fcn.140002ed0
mov edx, dword [rsp + 0x34]
mov r9, rbx
mov r8d, r14d
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400483fa
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rsp + 0x30], 0
jbe 0x1400483fa
mov rcx, qword [rsp + 0x28]
lea r9, [0x14028e1e8]
lea rdx, str.StringFileInfo_08lx_s
mov eax, dword [rcx]
movzx r8d, ax
shl r8d, 0x10
shr eax, 0x10
or r8d, eax
mov dword [rcx], r8d
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140048342
mov r9, qword [rsp + 0x20]
lea r8, [0x1402855ec]
mov edx, 0x80
mov rcx, rdi
call fcn.140002ed0
mov rax, qword [rsp + 0x28]
lea r9, [0x14028e238]
lea rdx, str.StringFileInfo_08lx_s
lea rcx, [rsp + 0x40]
mov r8d, dword [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140048398
mov r9, qword [rsp + 0x20]
lea r8, [0x1402855ec]
mov edx, 0x104
mov rcx, r15
call fcn.140002ed0
mov rax, qword [rsp + 0x28]
lea r9, [0x14028e258]
lea rdx, str.StringFileInfo_08lx_s
lea rcx, [rsp + 0x40]
mov r8d, dword [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400483ee
mov r9, qword [rsp + 0x20]
lea r8, [0x1402855ec]
mov edx, 0x100
mov rcx, r12
call fcn.140002ed0
mov rcx, rbx
call fcn.1401fa848
mov al, 1
jmp 0x140048404
mov rcx, rbx
call fcn.1401fa848
xor al, al
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1401ee030
add rsp, 0x250
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140048b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x48], 0
lea rax, vtable.CPen.0
mov qword [rsp + 0x40], rax
mov esi, dword [rdx + 0xc]
sub esi, dword [rdx + 4]
movzx ecx, r8b
mov dword [rsp + 0x20], ecx
movzx ebp, r8w
shr ebp, 8
shr r8d, 0x10
movzx r11d, r8b
mov dword [rsp + 0x24], r11d
movzx r12d, r9b
sub r12d, ecx
movzx edi, r9w
shr edi, 8
sub edi, ebp
shr r9d, 0x10
movzx r13d, r9b
sub r13d, r11d
xor r15d, r15d
test esi, esi
jle 0x140048cda
mov r9d, 0xff
nop word [rax + rax]
mov eax, r15d
imul eax, r12d
cdq
idiv esi
xor r10d, r10d
add ecx, eax
cmovns r10d, ecx
cmp r10d, r9d
cmovg r10d, r9d
mov eax, r15d
imul eax, edi
cdq
idiv esi
lea ecx, [rax + rbp]
xor r8d, r8d
test ecx, ecx
cmovns r8d, ecx
cmp r8d, r9d
cmovg r8d, r9d
mov eax, r15d
imul eax, r13d
cdq
idiv esi
lea ecx, [rax + r11]
xor eax, eax
test ecx, ecx
cmovns eax, ecx
cmp eax, r9d
cmovg eax, r9d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movzx r9d, r8b
shl r9d, 8
movzx eax, al
shl eax, 0x10
or r9d, eax
movzx eax, r10b
or r9d, eax
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x30]
call fcn.14006b1ac
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov r8d, dword [r14 + 4]
add r8d, r15d
xor r9d, r9d
mov edx, dword [r14]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.GDI32.dll_MoveToEx]
mov r8d, dword [r14 + 4]
add r8d, r15d
mov edx, dword [r14 + 8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.GDI32.dll_LineTo]
mov rdx, rbx
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
lea rax, vtable.CPen.0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.1400039e0
inc r15d
cmp r15d, esi
mov ecx, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x24]
mov r9d, 0xff
jl 0x140048bd0
lea rax, vtable.CPen.0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.1400039e0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401ee030
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004a480
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov ecx, 0x1030
call fcn.1401fa840
mov rbx, rax
test rax, rax
je 0x14004a534
lea rcx, [rax + 0xc]
xor edx, edx
mov r8d, 0x1024
call fcn.1401f0eb0
mov rcx, qword [rdi + 4]
xor eax, eax
mov qword [rsp + 0x38], rax
mov r9d, 0x1030
mov dword [rsp + 0x40], eax
mov r8, rbx
lea rax, [rsp + 0x40]
mov dword [rbx + 0x18], 0x28
mov qword [rsp + 0x30], rax
mov edx, 0x2d1400
mov dword [rsp + 0x28], 0x1030
mov qword [rsp + 0x20], rbx
mov dword [rbx + 8], 3
mov dword [rbx + 0xc], 2
mov qword [rbx + 0x10], 2
mov dword [rbx + 0x1c], 0x1000
mov qword [rbx], 0x31
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14004a53b
mov rcx, rbx
call fcn.1401fa848
xor al, al
jmp 0x14004a5da
mov edx, dword [rbx + 0x18]
lea rcx, [rdi + 0x1c70]
add rdx, 8
add rdx, rbx
test rcx, rcx
je 0x14004a5c0
test rdx, rdx
je 0x14004a5b5
mov eax, 4
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x14004a560
jmp 0x14004a5d0
mov r8d, 0x200
call fcn.1401f0eb0
call fcn.1401fa6b8
mov dword [rax], 0x16
call fcn.1401fa57c
mov rcx, rbx
call fcn.1401fa848
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401ee030
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14004b180
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rcx
call fcn.14004ab40
cmp dword [rbx + 0xc], 0x11
mov dword [rbx + 0x1860], eax
jne 0x14004b210
cmp dword [rbx + 0xf4], 8
jne 0x14004b1fe
mov rcx, qword [rbx + 4]
lea r8, [rbx + 0x1c70]
xor eax, eax
lea rdx, [rbp - 0x10]
mov qword [rbp - 0x10], rax
mov r9d, 0x200
mov word [rbp - 0x10], 0x2e6
mov byte [rbp - 0xd], 2
mov byte [rbp - 9], 0x7f
mov dword [rbp - 8], eax
call fcn.140048dd0
cmp eax, 1
jne 0x14004b1f1
mov dword [rbx + 0x2b0], eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
jmp fcn.14004a480
movzx eax, byte [rbx + 0xf0]
lea rdx, [rbp + 0x10]
and al, 1
mov qword [rsp + 0x58], rdi
or al, 0xfa
mov byte [rsp + 0x28], 1
xor edi, edi
shl al, 4
mov qword [rbp + 0x10], rdi
xor r9d, r9d
xor r8d, r8d
mov byte [rbp + 0x16], al
mov rcx, rbx
mov byte [rbp + 0x10], 0xd8
mov dword [rbp + 0x12], 0xc24f00
mov byte [rbp + 0x17], 0xb0
mov qword [rsp + 0x20], rdi
call fcn.14004a1d0
test al, al
je 0x14004b38c
movzx eax, byte [rbx + 0xf0]
lea r8, [rbx + 0x1864]
mov qword [rbp + 0x10], rdi
lea rdx, [rbp + 0x10]
and al, 1
mov byte [rsp + 0x28], dil
or al, 0xfa
mov byte [rbp + 0x10], 0xd0
shl al, 4
mov r9d, 0x200
mov rcx, rbx
mov byte [rbp + 0x16], al
mov dword [rbp + 0x12], 0xc24f00
mov byte [rbp + 0x17], 0xb0
mov qword [rsp + 0x20], rdi
call fcn.14004a1d0
test al, al
je 0x14004b38c
movzx eax, byte [rbx + 0xf0]
lea r8, [rbx + 0x1a64]
mov qword [rbp + 0x10], rdi
lea rdx, [rbp + 0x10]
and al, 1
mov byte [rsp + 0x28], dil
or al, 0xfa
mov byte [rbp + 0x10], 0xd1
shl al, 4
mov r9d, 0x200
mov rcx, rbx
mov byte [rbp + 0x16], al
mov dword [rbp + 0x12], 0xc24f00
mov byte [rbp + 0x17], 0xb0
mov qword [rsp + 0x20], rdi
call fcn.14004a1d0
test al, al
je 0x14004b38c
mov r10d, 0x80
lea rdx, [rbx + 0x186d]
mov r8d, edi
nop dword [rax]
movzx eax, byte [rdx]
movzx r9d, byte [rdx + 1]
movzx r11d, byte [rdx - 7]
shl r9d, 8
add r9d, eax
movzx eax, byte [rdx - 1]
shl r9d, 8
add r9d, eax
movzx eax, byte [rdx - 2]
shl r9d, 8
add r9d, eax
cmp r11b, 0xbe
jne 0x14004b346
movzx r10d, r9b
jmp 0x14004b350
movzx eax, r9b
cmp r11b, 0xc2
je 0x14004b35f
inc r8
add rdx, 0xc
cmp r8, 0x1e
jl 0x14004b310
jmp 0x14004b362
mov r10d, eax
test r10d, 0xffffff7f
mov dword [rbx + 0x328], r10d
mov al, 1
setne dil
mov dword [rbx + 0x324], edi
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
mov rdi, qword [rsp + 0x58]
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x140055360
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0x148]
mov rbx, rcx
mov edx, 0x4fd
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x880]
mov edx, 0x4fe
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x6f0]
mov edx, 0x419
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x240]
mov edx, 0x4ff
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x3d0]
mov edx, 0x500
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x560]
mov edx, 0x501
mov rcx, rdi
call fcn.140070838
lea r8, [rbx + 0x230]
mov edx, 0x419
mov rcx, rdi
call fcn.140070e78
lea r8, [rbx + 0x238]
mov edx, 0x4fe
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140070e78
Function at 0x14005cfa0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, rcx
call fcn.14006e454
mov rcx, rax
test rax, rax
je 0x14005d132
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x40]
mov rsi, 0xffffffffffffffff
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005d010
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140003400
mov rbx, qword [rsp + 0x30]
movsxd rdi, dword [rbx - 0x10]
test edi, edi
js 0x14005d13d
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14005d05f
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140003780
mov rbx, qword [rsp + 0x30]
lea eax, [rdi + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.140200de8
cmp edi, dword [rbx - 0xc]
jg 0x14005d13d
mov dword [rbx - 0x10], edi
mov rax, rdi
xor edi, edi
mov word [rbx + rax*2], di
mov r8, rbx
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1401fa754
lea rdx, str.HDTUNEPRO.EXE
lea rcx, [rsp + 0x40]
call fcn.1401f02e0
test rax, rax
je 0x14005d0ad
mov word [rax], di
lea r8, str.HDTunePro.pdf
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1401fa7bc
test rbp, rbp
mov rcx, rdi
je 0x14005d0cf
mov rcx, qword [rbp + 0x40]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14005d109
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1401ee030
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400037e0
nop
mov ecx, 0x80070057
call fcn.1400037e0
int3

Function at 0x140063ab4
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 0x140063b12
call fcn.140074f50
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 0x140063b12
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140063b1d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rbx
mov rcx, rsi
call fcn.14007093c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140063cbc
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, [0x140285280]
mov esi, edx
call fcn.1401fa9ac
mov r8d, eax
lea rdx, [0x140285280]
mov rcx, rbx
call fcn.140003400
xor ebp, ebp
mov edx, esi
cmp qword [rdi + 0xc8], rbp
jne 0x140063d9e
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rsi, rax
test rax, rax
je 0x140063db6
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140063dd1
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 0x140063d50
mov edx, edi
mov rcx, rbx
call fcn.140003780
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140063dd1
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 0x140063d7b
mov eax, ebp
jmp 0x140063d88
movsxd rdx, dword [rcx - 0xc]
call fcn.1401faad8
test eax, eax
js 0x140063dd1
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140063dd1
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140063db6
mov rcx, rdi
call fcn.14006a230
test rax, rax
je 0x140063db6
mov rdx, rbx
mov rcx, rax
call fcn.140064254
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.1400037e0
int3

Function at 0x140064254
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 0x140064303
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
test eax, eax
js 0x140064328
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 0x1400642b4
mov edx, edi
mov rcx, rbx
call fcn.140003780
mov rdx, qword [rbx]
cmp edi, dword [rdx - 0xc]
jg 0x140064328
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 0x1400642e0
mov eax, ebp
jmp 0x1400642ed
movsxd rdx, dword [rcx - 0xc]
call fcn.1401faad8
test eax, eax
js 0x140064328
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140064328
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], bp
jmp 0x140064313
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14012a221.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.1400037e0
int3
Function at 0x1400648c8
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 0x140064981
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x140064981
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140064981
test rdi, rdi
je 0x140064981
xor r14d, r14d
xor esi, esi
call fcn.140074f50
lea r8, [0x14022fff0]
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 0x140064961
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 0x140064981
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.1400a19dc
mov edi, eax
test eax, eax
je 0x14006497d
mov rcx, rbx
call fcn.140064590
mov eax, edi
jmp 0x140064983
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 0x1400658f4
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.1400a3718
mov rdi, rax
test rax, rax
je 0x140065970
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14006596b
cmp dword [rbx], 0x40
jb 0x14006596b
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 0x14006596b
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x140065974
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret