joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140104fd0
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x90
xor r9d, r9d
mov dword [rsp + 0x20], 4
mov rdi, rcx
mov edx, 0x110a
mov rcx, qword [rcx + 0xa0]
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0xa0]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x28]
lea r9, [rsp + 0x58]
mov rcx, qword [rdi + 0xa0]
xor r8d, r8d
mov edx, 0x113e
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], 6
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rsp + 0x7c], 2
jbe 0x1401050f6
cmp qword [rsp + 0x88], 0
je 0x1401050f6
mov qword [rsp + 0xa0], rbx
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1401050ee
mov dword [rsp + 0x20], 0x22
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140105089
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401050c4
cmp qword [rbx + 0x18], 8
jb 0x14010509d
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x10]
mov r9, rbx
xor r8d, r8d
mov edx, 0x835
call qword [sym.imp.USER32.dll_PostMessageW]
mov dword [rsp + 0x44], 5
mov dword [rsp + 0x48], 5
jmp 0x1401050d4
mov dword [rsp + 0x44], 6
mov dword [rsp + 0x48], 6
mov rcx, qword [rdi + 0xa0]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x113f
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140107720
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x298
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14010782c
cmp dword [rsp + 0x60], 2
mov dword [rsp + 0x50], 0x208
jne 0x1401077e7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401e4278]
lea rax, [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401077e7
mov eax, dword [rsp + 0x50]
mov r9d, 1
mov rdx, qword [str.Notepad_backup]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [str.Notepad_file]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov rax, qword [str.Notepad_file]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14017f700
add rsp, 0x298
ret
Function at 0x140108ba0
Capabilities:
Query environment variable

Disassembly:
lea r8, [0x1401e3cd0]
jmp fcn.140108bb0
Function at 0x14010a6b0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r9
mov rsi, rdx
mov r11, rcx
movabs r10, 0xcbf29ce484222325
mov qword [rax - 0x48], r10
xor r9d, r9d
movabs rcx, 0x100000001b3
mov qword [rsp + 0x28], r9
cmp r9, 4
jae 0x14010a71a
movzx eax, byte [r9 + r8]
xor r10, rax
mov qword [rsp + 0x20], r10
imul r10, rcx
mov qword [rsp + 0x20], r10
inc r9
jmp 0x14010a6f4
mov r9, qword [r11 + 0x30]
and r9, r10
mov qword [rsp + 0x40], r9
mov rdi, qword [r11 + 8]
shl r9, 4
mov rcx, qword [r11 + 0x18]
cmp qword [rcx + r9], rdi
je 0x14010a745
mov rdi, qword [rcx + r9 + 8]
mov rdi, qword [rdi]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rdi
nop word [rax + rax]
cmp rdi, qword [rcx + r9]
je 0x14010a7b9
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x30], rdi
mov eax, dword [rdi + 0x10]
cmp dword [r8], eax
jne 0x14010a7b7
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rax + 8], rcx
dec qword [r11 + 0x10]
lea rax, [rbx + 0x10]
mov qword [rsp + 0x48], rax
lea rcx, [rbx + 0x18]
call fcn.1400045b0
mov qword [rsp + 0x50], 0x38
mov edx, 0x38
mov rcx, rbx
call fcn.14017f5e4
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14010a84b
jmp 0x14010a750
mov rax, qword [rbx]
cmp rdi, rax
je 0x14010a7ee
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r11 + 0x18]
add rdx, r9
mov rax, qword [rdx]
cmp rax, qword [r11 + 8]
jne 0x14010a80c
mov qword [rdx], rbx
mov rax, qword [r11 + 0x18]
mov qword [r9 + rax + 8], rbx
jmp 0x14010a838
cmp rax, rdi
jne 0x14010a816
mov qword [rdx], rbx
jmp 0x14010a838
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rbx
je 0x14010a838
mov rdx, qword [r11 + 0x18]
mov rax, qword [rdx + r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9 + 8], rcx
mov rcx, r11
call fcn.14010cd20
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14010aad0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r9
mov r10, r8
mov rsi, rdx
mov r11, rcx
mov r8, qword [r8 + 0x10]
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x14010ab0f
mov r9, qword [r10]
movabs rdx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rdx
xor ecx, ecx
movabs rbx, 0x100000001b3
mov qword [rsp + 0x30], rcx
lea rax, [r8 + r8]
cmp rcx, rax
jae 0x14010ab53
movzx eax, byte [rcx + r9]
xor rdx, rax
mov qword [rsp + 0x20], rdx
imul rdx, rbx
mov qword [rsp + 0x20], rdx
inc rcx
jmp 0x14010ab2a
mov r9, qword [r11 + 0x30]
and r9, rdx
mov qword [rsp + 0x60], r9
mov rbx, qword [r11 + 8]
mov r14, qword [r11 + 0x18]
mov rax, r9
add rax, rax
cmp qword [r14 + rax*8], rbx
je 0x14010ab7b
mov rbx, qword [r14 + rax*8 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rax, r9
add rax, rax
cmp rbx, qword [r14 + rax*8]
je 0x14010ac58
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x38], rbx
lea r8, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x14010abb8
mov r8, qword [rbx + 0x10]
mov rdx, r10
cmp qword [r10 + 0x18], 8
jb 0x14010abc5
mov rdx, qword [r10]
mov rcx, qword [r10 + 0x10]
cmp rcx, qword [rbx + 0x20]
jne 0x14010ac53
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rdx
test rcx, rcx
je 0x14010ac0c
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14010ac53
add rdx, 2
mov qword [rsp + 0x40], rdx
add r8, 2
mov qword [rsp + 0x48], r8
dec rcx
mov qword [rsp + 0x50], rcx
jmp 0x14010abe2
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
dec qword [r11 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.1400068c0
mov qword [rsp + 0x68], 0x30
mov edx, 0x30
mov rcx, rdi
call fcn.14017f5e4
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14010acee
jmp 0x14010ab90
mov rax, qword [rdi]
cmp rbx, rax
je 0x14010ac8d
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
shl r9, 4
mov rdx, qword [r11 + 0x18]
add rdx, r9
mov rax, qword [rdx]
cmp rax, qword [r11 + 8]
jne 0x14010acaf
mov qword [rdx], rdi
mov rax, qword [r11 + 0x18]
mov qword [r9 + rax + 8], rdi
jmp 0x14010acdb
cmp rax, rbx
jne 0x14010acb9
mov qword [rdx], rdi
jmp 0x14010acdb
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14010acdb
mov rdx, qword [r11 + 0x18]
mov rax, qword [rdx + r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9 + 8], rcx
mov rcx, r11
call fcn.14010cde0
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x14010c560
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r9d, byte [r8 + 0x10]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rbx, rdx
movzx eax, byte [r8 + 0x11]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x12]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 0x13]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x18]
and rdx, r9
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x14010c5f0
cmp rax, r8
jne 0x14010c5e6
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14010c5fb
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14010c5fb
cmp rax, r8
jne 0x14010c5fb
mov rax, qword [r8]
mov qword [rcx], rax
lea rcx, [r10 + 8]
mov rdx, rbx
call fcn.140110550
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140110450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
lea r10, [r8 + 0x10]
mov r9, qword [r8 + 0x20]
mov rdi, r8
mov r14, rdx
mov r11, rcx
jb 0x140110481
mov r10, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
add r9, r9
je 0x1401104b4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r9
jb 0x1401104a0
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x1401104f4
cmp rax, rdi
jne 0x1401104ea
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x1401104ff
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1401104ff
cmp rax, rdi
jne 0x1401104ff
mov rax, qword [rdi]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r11 + 0x10]
call fcn.1400068c0
mov edx, 0x30
mov rcx, rdi
call fcn.14017f5e4
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x14011ef60
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rcx
call qword [rax + 0x80]
mov rdx, qword [rdi]
mov rcx, rdi
movzx r15d, byte [rdi + 0x33]
movzx r12d, al
call qword [rdx + 0x88]
mov r8, qword [rdi + 0x158]
test al, al
sete r13b
xor r14d, r14d
xor bpl, bpl
mov edx, r14d
test r8, r8
je 0x14011eff8
mov rax, qword [rdi + 0x140]
movzx r9d, byte [rdi + 0x33]
inc rax
cmp r9b, byte [rax + 2]
jne 0x14011efe7
movzx ecx, byte [rax - 1]
cmp byte [rdi + 0x30], cl
jne 0x14011efe7
movzx ecx, byte [rax]
cmp byte [rdi + 0x31], cl
jne 0x14011efe7
movzx ecx, byte [rax + 1]
cmp byte [rdi + 0x32], cl
je 0x14011eff5
inc rdx
add rax, 4
cmp rdx, r8
jb 0x14011efc7
jmp 0x14011eff8
mov bpl, 1
mov ebx, 1
test r12b, r12b
je 0x14011f00e
test r15b, r15b
je 0x14011f00e
mov esi, ebx
test bpl, bpl
je 0x14011f011
mov esi, r14d
mov rcx, qword [rdi + 0x18]
mov edx, 0x1390
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, esi
call qword [sym.imp.USER32.dll_EnableWindow]
test r12b, r12b
je 0x14011f043
test r15b, r15b
jne 0x14011f03e
cmp qword [rdi + 0x158], rbx
jne 0x14011f043
test bpl, bpl
je 0x14011f046
mov ebx, r14d
mov rcx, qword [rdi + 0x18]
mov edx, 0x1392
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp qword [rdi + 0x158], 1
mov edx, 0x1391
mov rcx, qword [rdi + 0x18]
seta r14b
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, r14d
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rdi + 0x18]
neg r13b
mov edx, 0x138f
sbb ebx, ebx
and ebx, 5
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
lea r8, [rdi + 0x30]
lea r9, [rsp + 0x50]
mov byte [rsp + 0x50], 0
mov edx, 0x42b
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, byte [rsp + 0x50]
mov edx, 0x1394
mov rcx, qword [rdi + 0x18]
neg al
sbb ebx, ebx
and ebx, 5
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140121c40
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, r8
mov r12, rdx
mov qword [rsp + 0x50], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x80]
call fcn.14019e060
lea r9, [rbp - 0x80]
lea edx, [r13 + 0xd]
lea r8d, [rdx + 0x73]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], r13w
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r13w
jne 0x140121ce0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140006d60
nop
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
lea r15, [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 8
cmovae r15, rdi
mov rsi, qword [rsp + 0x70]
cmp rsi, 8
jae 0x140121d43
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], 7
jmp 0x140121d86
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x28]
call fcn.140006990
mov qword [rsp + 0x28], rax
lea r8, [rsi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.14019dbf0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.14002ba60
mov dword [rsp + 0x20], 1
cmp r14, 8
jb 0x140121dd7
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140121dcf
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121e18
mov rcx, rdi
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r13w
mov rax, r12
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14017f700
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a10ac
int3
Function at 0x140125f10
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rbx, rcx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], r8
mov edx, r9d
mov rcx, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rbx + 0x18], rax
xor edi, edi
mov qword [rsp + 0x58], rdi
mov rax, qword [rbx + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x4091082f
lea r8, str.Tree_View
lea rdx, str.SysTreeView32
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x18], rax
mov ecx, dword [0x1402be238]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1402aba20], eax
jg 0x140126031
mov r8d, 0x60
mov rax, qword [0x1402aba18]
mov edx, dword [rax + 0x10]
lea ecx, [r8 - 0x4e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd r8, eax
xor r9d, r9d
mov edx, 0x111b
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, rbx
mov edx, 0xffffffeb
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea r8, [0x140126d90]
mov edx, 0xfffffffc
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [rbx + 0x20], rax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov qword [0x1402aba18], rdi
lea rcx, [0x1402aba20]
call fcn.14017fbbc
jmp 0x140125fb3
lea rcx, [0x1402aba20]
call fcn.14017fc1c
cmp dword [0x1402aba20], 0xffffffff
jne 0x140125fb3
mov ecx, 0x33400
call fcn.14017f5a8
mov qword [rsp + 0x80], rax
test rax, rax
je 0x14012601c
mov rcx, rax
call fcn.1400d0c00
mov rdi, rax
jmp 0x14012601c
Function at 0x140126320
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov rbx, rdx
mov r15, rcx
test r8, r8
je 0x140126537
mov rcx, qword [rcx + 0x18]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], r8
lea r9, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 0x113e
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x20], InitCommonControls
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1401263a0
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x1401263b7
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rdx, rax
jne 0x140126537
lea rcx, [rsp + 0x60]
test rdx, rdx
je 0x1401263f8
lea rax, [rsp + 0x60]
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140126537
add rcx, 2
sub rdx, 1
jne 0x1401263e0
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140126458
cmp qword [rax + 0x18], 8
mov rcx, rax
jb 0x14012640f
mov rcx, qword [rax]
cmp qword [rbx + 0x38], 8
lea r8, [rbx + 0x20]
jb 0x14012641e
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x30]
cmp rdx, qword [rax + 0x10]
jne 0x140126537
test rdx, rdx
je 0x140126458
sub r8, rcx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140126537
add rcx, 2
sub rdx, 1
jne 0x140126440
cmp byte [rbx + 0x40], 0
mov r9, rdi
mov rcx, qword [r15 + 0x18]
mov edx, 0x1102
mov r8d, 2
jne 0x140126476
mov r8d, 1
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [rbx + 0x41], 0
je 0x14012649a
mov rcx, qword [r15 + 0x18]
mov r9, rdi
mov edx, 0x110b
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r15 + 0x18]
xor ebp, ebp
mov r9, rdi
mov edx, 0x110a
mov sil, 1
lea r8d, [rbp + 4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
je 0x140126531
mov r14d, ebp
movabs r12, 0x2aaaaaaaaaaaaaab
nop word [rax + rax]
mov r8, qword [rbx + 0x48]
mov rax, r12
mov rcx, qword [rbx + 0x50]
sub rcx, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbp, rdx
jae 0x140126537
lea rdx, [r14 + r8]
mov rcx, r15
mov r8, rdi
call fcn.140126320
movzx esi, al
test al, al
je 0x140126531
mov rcx, qword [r15 + 0x18]
mov r9, rdi
mov edx, 0x110a
mov r8d, 1
inc rbp
add r14, 0x60
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
jne 0x1401264d0
movzx eax, sil
jmp 0x140126539
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14017f700
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140126560
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
test r8, r8
jne 0x1401265a9
xor al, al
jmp 0x14012677b
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x104
mov dword [rsp + 0x28], InitCommonControls
lea r9, [rsp + 0x28]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401265f0
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.140006d60
mov ecx, dword [rsp + 0x38]
mov eax, ecx
shr eax, 5
and al, 1
mov byte [rbx + 0x40], al
shr ecx, 1
and cl, 1
mov byte [rbx + 0x41], cl
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x140126646
lea rcx, [rbx + 0x20]
cmp rcx, r8
je 0x140126646
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14012663d
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
call fcn.140006d60
xor r15d, r15d
mov esi, r15d
mov r9, rdi
mov edx, 0x110a
lea r8d, [r15 + 4]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
je 0x140126779
movabs r12, 0x2aaaaaaaaaaaaaab
nop dword [rax + rax]
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14019e060
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov qword [rbp - 0x58], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov rdx, qword [rbx + 0x50]
lea r8, [rsp + 0x60]
lea rcx, [rbx + 0x48]
cmp qword [rbx + 0x58], rdx
je 0x1401266f2
call fcn.140125480
add qword [rbx + 0x50], 0x60
jmp 0x1401266f8
call fcn.140125170
nop
lea rcx, [rbp - 0x58]
call fcn.1400669f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400068c0
nop
lea rcx, [rsp + 0x60]
call fcn.1400068c0
movsxd r8, esi
mov r9, qword [rbx + 0x48]
mov rcx, qword [rbx + 0x50]
sub rcx, r9
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
jbe 0x14012679c
lea rdx, [r8 + r8*2]
shl rdx, 5
add rdx, r9
mov r8, rdi
mov rcx, r14
call fcn.140126560
inc esi
mov r9, rdi
mov edx, 0x110a
mov r8d, 1
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
jne 0x140126680
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14017f700
add rsp, 0x2e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001cf70
int3
Function at 0x140129db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
movzx edx, dx
mov rbx, rcx
mov r8d, 5
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140129e6c
mov rcx, qword [rbx + 8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140129e6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140129e6c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
mov ecx, 0x40
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
mov qword [r14], rax
call fcn.14019dbf0
mov rcx, qword [r14]
mov eax, 0xffff
cmp word [rcx + 2], ax
jne 0x140129e60
or dword [rcx + 8], 0x400000
mov rax, rdi
jmp 0x140129e6e
or dword [rcx + 4], 0x400000
mov rax, rdi
jmp 0x140129e6e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret