joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001500
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140002aa0
push rbp
push rsi
push rdi
push r12
sub rsp, 0x488
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r12, r9
mov rdi, r8
mov ebp, edx
mov rsi, rcx
test r8, r8
jne 0x140002ad6
xor eax, eax
jmp 0x140002d03
sub ebp, dword [rcx + 0x324]
mov qword [rsp + 0x480], rbx
mov qword [rsp + 0x478], r13
mov qword [rsp + 0x470], r14
lea rcx, [rsp + 0x252]
xor r14d, r14d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x250], r14w
call fcn.14001e8c0
mov ebx, 0x104
lea rdx, [rsp + 0x250]
mov r8d, ebx
mov ecx, 0x26c9
call fcn.1400013bb
mov rax, qword [rsi + 0x2d8]
mov r13d, ebp
lea rbp, [rbp + rbp*4]
shl rbp, 5
lea rcx, [rax + rbp + 0x131f4]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140002b65
mov rax, qword [rsi + 0x2d8]
lea rcx, [rax + rbp + 0x131f4]
jmp 0x140002b6d
lea rcx, [rsp + 0x250]
mov rax, qword [rsi + 0x2d8]
mov qword [rsp + 0x20], rcx
lea r8, str._s___s_
lea r9, [rax + rbp + 0xf374]
mov rdx, r12
mov rcx, rdi
call fcn.140001145
mov rcx, qword [rsi + 0x2d8]
mov eax, dword [rcx + r13*8 + 0x17208]
mov r13, qword [rsp + 0x478]
and eax, 0xf00
cmp eax, 0x500
jne 0x140002cee
mov edx, 1
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], r14
lea r8d, [rdx + 0x22]
call fcn.14000152d
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], r14w
call fcn.14001e8c0
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, ebx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140002cee
mov rcx, rbx
mov rax, rdi
cmp word [rax], r14w
je 0x140002c28
add rax, 2
sub rcx, 1
jne 0x140002c16
jmp 0x140002c81
test rcx, rcx
je 0x140002c81
mov rdx, rbx
sub rdx, rcx
mov rcx, rbx
sub rcx, rdx
lea rax, [rdi + rdx*2]
je 0x140002c79
lea r9, [0x140056d64]
lea rdx, [rcx + rdx + 0x7ffffefb]
sub r9, rax
test rdx, rdx
je 0x140002c74
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x140002c74
mov word [rax], r8w
add rax, 2
dec rdx
sub rcx, 1
jne 0x140002c51
jmp 0x140002c79
test rcx, rcx
jne 0x140002c7d
sub rax, 2
mov word [rax], r14w
mov rcx, rbx
mov rax, rdi
cmp word [rax], r14w
je 0x140002c99
add rax, 2
sub rcx, 1
jne 0x140002c87
jmp 0x140002cee
test rcx, rcx
je 0x140002cee
mov rdx, rbx
sub rdx, rcx
sub rbx, rdx
lea rax, [rdi + rdx*2]
je 0x140002ce6
lea r8, [rsp + 0x40]
lea rcx, [rbx + rdx + 0x7ffffefb]
sub r8, rax
nop dword [rax]
test rcx, rcx
je 0x140002ce1
movzx edx, word [r8 + rax]
test dx, dx
je 0x140002ce1
mov word [rax], dx
add rax, 2
dec rcx
sub rbx, 1
jne 0x140002cc0
jmp 0x140002ce6
test rbx, rbx
jne 0x140002cea
sub rax, 2
mov word [rax], r14w
mov r14, qword [rsp + 0x470]
mov rbx, qword [rsp + 0x480]
mov eax, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x488
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001523
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x140015350
push rsi
push r12
push r13
sub rsp, 0x50
mov r13, rcx
mov r12d, 1
call fcn.14000107d
xor ecx, ecx
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], ecx
mov edx, dword [rax + 0x1c]
mov rcx, r13
call fcn.140001325
mov eax, dword [rsp + 0x24]
xor r11d, r11d
mov dword [rsp + 0x3c], r11d
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x20]
lea r8, [rsp + 0x78]
xor esi, esi
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x78], rsi
call fcn.1400014b0
test eax, eax
je 0x1400154ef
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rdi
nop word [rax + rax]
mov rdi, qword [rsp + 0x78]
inc esi
mov rcx, rdi
call fcn.1400011d1
test eax, eax
je 0x140015497
mov rcx, rdi
call fcn.14000131b
test eax, eax
je 0x140015497
mov ebx, dword [rdi + 0x318]
mov rcx, rdi
mov ebp, 1
call fcn.1400012bc
mov rcx, qword [r13 + 0x238]
mov r9, rbx
movsxd r8, eax
mov edx, 0x427
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rdi + 0x308]
lea r11, [rsp + 0x40]
mov dword [r11], eax
mov eax, dword [rdi + 0x30c]
lea r8, [rsp + 0x30]
mov dword [r11 + 4], eax
mov eax, dword [rdi + 0x310]
lea rdx, [rsp + 0x40]
mov dword [r11 + 8], eax
mov eax, dword [rdi + 0x314]
mov rcx, r13
mov dword [r11 + 0xc], eax
call fcn.140001302
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x28]
jmp 0x140015499
xor ebp, ebp
mov rcx, rdi
call fcn.1400012bc
movsxd r9, ebp
mov edx, 0x423
mov r8d, eax
mov dword [rdi + 0x318], r8d
mov rcx, qword [r13 + 0x238]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x78]
mov edx, esi
mov rcx, r13
and r12d, eax
call fcn.1400014b0
test eax, eax
jne 0x140015400
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov eax, r12d
add rsp, 0x50
pop r13
pop r12
pop rsi
ret
Function at 0x140002aa0
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140002aa0
push rbp
push rsi
push rdi
push r12
sub rsp, 0x488
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r12, r9
mov rdi, r8
mov ebp, edx
mov rsi, rcx
test r8, r8
jne 0x140002ad6
xor eax, eax
jmp 0x140002d03
sub ebp, dword [rcx + 0x324]
mov qword [rsp + 0x480], rbx
mov qword [rsp + 0x478], r13
mov qword [rsp + 0x470], r14
lea rcx, [rsp + 0x252]
xor r14d, r14d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x250], r14w
call fcn.14001e8c0
mov ebx, 0x104
lea rdx, [rsp + 0x250]
mov r8d, ebx
mov ecx, 0x26c9
call fcn.1400013bb
mov rax, qword [rsi + 0x2d8]
mov r13d, ebp
lea rbp, [rbp + rbp*4]
shl rbp, 5
lea rcx, [rax + rbp + 0x131f4]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140002b65
mov rax, qword [rsi + 0x2d8]
lea rcx, [rax + rbp + 0x131f4]
jmp 0x140002b6d
lea rcx, [rsp + 0x250]
mov rax, qword [rsi + 0x2d8]
mov qword [rsp + 0x20], rcx
lea r8, str._s___s_
lea r9, [rax + rbp + 0xf374]
mov rdx, r12
mov rcx, rdi
call fcn.140001145
mov rcx, qword [rsi + 0x2d8]
mov eax, dword [rcx + r13*8 + 0x17208]
mov r13, qword [rsp + 0x478]
and eax, 0xf00
cmp eax, 0x500
jne 0x140002cee
mov edx, 1
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], r14
lea r8d, [rdx + 0x22]
call fcn.14000152d
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], r14w
call fcn.14001e8c0
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, ebx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x140002cee
mov rcx, rbx
mov rax, rdi
cmp word [rax], r14w
je 0x140002c28
add rax, 2
sub rcx, 1
jne 0x140002c16
jmp 0x140002c81
test rcx, rcx
je 0x140002c81
mov rdx, rbx
sub rdx, rcx
mov rcx, rbx
sub rcx, rdx
lea rax, [rdi + rdx*2]
je 0x140002c79
lea r9, [0x140056d64]
lea rdx, [rcx + rdx + 0x7ffffefb]
sub r9, rax
test rdx, rdx
je 0x140002c74
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x140002c74
mov word [rax], r8w
add rax, 2
dec rdx
sub rcx, 1
jne 0x140002c51
jmp 0x140002c79
test rcx, rcx
jne 0x140002c7d
sub rax, 2
mov word [rax], r14w
mov rcx, rbx
mov rax, rdi
cmp word [rax], r14w
je 0x140002c99
add rax, 2
sub rcx, 1
jne 0x140002c87
jmp 0x140002cee
test rcx, rcx
je 0x140002cee
mov rdx, rbx
sub rdx, rcx
sub rbx, rdx
lea rax, [rdi + rdx*2]
je 0x140002ce6
lea r8, [rsp + 0x40]
lea rcx, [rbx + rdx + 0x7ffffefb]
sub r8, rax
nop dword [rax]
test rcx, rcx
je 0x140002ce1
movzx edx, word [r8 + rax]
test dx, dx
je 0x140002ce1
mov word [rax], dx
add rax, 2
dec rcx
sub rbx, 1
jne 0x140002cc0
jmp 0x140002ce6
test rbx, rbx
jne 0x140002cea
sub rax, 2
mov word [rax], r14w
mov r14, qword [rsp + 0x470]
mov rbx, qword [rsp + 0x480]
mov eax, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x488
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a360
Capabilities:
Terminate thread

Disassembly:
jmp 0x14000a360
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x5c0]
xor ebp, ebp
test rcx, rcx
je 0x14000a3b6
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsi + 0x5c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x5c0], rbp
mov rbx, qword [rsi + 0x20]
test rbx, rbx
je 0x14000a40a
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], bp
call fcn.14001e8c0
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rsi + 0x20], rbp
mov rdx, qword [0x140067388]
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rbx, [rsi + 0xd418]
mov edi, 0x20
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000a434
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14000a431
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rbx], rbp
add rbx, 8
sub rdi, 1
jne 0x14000a416
mov rcx, rsi
call fcn.14000108c
lea eax, [rdi + 1]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001e890
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000b4a0
Capabilities:
Check os version

Disassembly:
jmp 0x14000b4a0
push rbx
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
mov rdi, r8
mov rbx, rdx
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x110
call fcn.14001e8c0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x40], 2
jne 0x14000b500
cmp dword [rsp + 0x34], 5
jbe 0x14000b500
xor eax, eax
jmp 0x14000b5db
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140001456
test eax, eax
je 0x14000b4f9
mov dword [rsi + 0x320], 0
xor ebx, ebx
nop
mov rdx, qword [rsi + 0x2d0]
mov rcx, qword [0x140067388]
mov r8d, ebx
add rdx, 0x14
call qword [sym.imp.SHELL32.dll_ExtractIconW]
mov rdi, rax
test rax, rax
je 0x14000b55f
mov rcx, qword [rsi + 0x2f8]
mov r8, rax
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyIcon]
inc ebx
cmp ebx, 0x12
jb 0x14000b520
lea r8, str.NVTBZoomWindowClass
lea rdx, [0x1400010dc]
mov r9d, 0x800000
mov rcx, rsi
mov dword [rsi + 0x31c], 0
mov dword [rsp + 0x20], 0x200
call fcn.1400012ee
mov r9, qword [rsi + 0x2f8]
xor r8d, r8d
mov rcx, rax
mov edx, 0x430
mov qword [rsi + 0x20], rax
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [0x140001406]
xor r8d, r8d
mov rcx, rsi
call fcn.14000104b
mov rcx, rsi
mov dword [rsi + 0x2f0], 1
mov dword [rsi + 8], 0
call fcn.140001037
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x160
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000bdd0
Capabilities:
Terminate thread

Disassembly:
jmp 0x14000bdd0
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rbx + 0x20], 0
mov rdx, qword [0x140067388]
lea rcx, str.NVTBZoomWindowClass
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov rcx, qword [rbx + 0x300]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14000e570
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
jmp 0x14000e570
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, dx
xor edx, edx
mov rsi, r8
mov ecx, edi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ebx, al
bts ebx, 9
shl ebx, 0x10
cmp edi, 0x21
jl 0x14000e5af
cmp edi, 0x28
jle 0x14000e5ab
lea ecx, [rdi - 0x2d]
cmp ecx, 1
ja 0x14000e5af
bts ebx, 0x18
mov r8d, 0x104
mov rdx, rsi
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140011da0
Capabilities:
Query environment variable

Disassembly:
jmp 0x140011da0
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
test r8, r8
je 0x140011e5c
test rdx, rdx
je 0x140011e5c
mov qword [rsp + 0x270], rbp
lea rcx, [rsp + 0x32]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bp
call fcn.14001e8c0
lea rdx, [rsp + 0x30]
lea rcx, str.SystemRoot
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140011e2d
lea rdx, [rsp + 0x30]
lea rcx, str.windir
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x30]
lea r8, str._s_nview_nvtb__08X__08X.bmp
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
call fcn.1400011f4
mov rbp, qword [rsp + 0x270]
mov eax, 1
jmp 0x140011e5e
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret

Function at 0x140011eb0
Capabilities:
Query environment variable

Disassembly:
jmp 0x140011eb0
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140065210]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r9
mov esi, r8d
mov rbx, rdx
test r9, r9
je 0x140011f56
test rdx, rdx
je 0x140011f56
xor eax, eax
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], ax
call fcn.14001e8c0
lea rdx, [rsp + 0x30]
lea rcx, str.SystemRoot
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140011f2d
lea rdx, [rsp + 0x30]
lea rcx, str.windir
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x30]
lea r8, str._s_nview_nvtb_thumb__08X__08X.bmp
mov edx, 8
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], esi
call fcn.1400011f4
mov eax, 1
jmp 0x140011f58
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14001e890
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x140015350
push rsi
push r12
push r13
sub rsp, 0x50
mov r13, rcx
mov r12d, 1
call fcn.14000107d
xor ecx, ecx
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], ecx
mov edx, dword [rax + 0x1c]
mov rcx, r13
call fcn.140001325
mov eax, dword [rsp + 0x24]
xor r11d, r11d
mov dword [rsp + 0x3c], r11d
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x20]
lea r8, [rsp + 0x78]
xor esi, esi
xor edx, edx
mov rcx, r13
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x78], rsi
call fcn.1400014b0
test eax, eax
je 0x1400154ef
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x88], rdi
nop word [rax + rax]
mov rdi, qword [rsp + 0x78]
inc esi
mov rcx, rdi
call fcn.1400011d1
test eax, eax
je 0x140015497
mov rcx, rdi
call fcn.14000131b
test eax, eax
je 0x140015497
mov ebx, dword [rdi + 0x318]
mov rcx, rdi
mov ebp, 1
call fcn.1400012bc
mov rcx, qword [r13 + 0x238]
mov r9, rbx
movsxd r8, eax
mov edx, 0x427
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rdi + 0x308]
lea r11, [rsp + 0x40]
mov dword [r11], eax
mov eax, dword [rdi + 0x30c]
lea r8, [rsp + 0x30]
mov dword [r11 + 4], eax
mov eax, dword [rdi + 0x310]
lea rdx, [rsp + 0x40]
mov dword [r11 + 8], eax
mov eax, dword [rdi + 0x314]
mov rcx, r13
mov dword [r11 + 0xc], eax
call fcn.140001302
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x28]
jmp 0x140015499
xor ebp, ebp
mov rcx, rdi
call fcn.1400012bc
movsxd r9, ebp
mov edx, 0x423
mov r8d, eax
mov dword [rdi + 0x318], r8d
mov rcx, qword [r13 + 0x238]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x78]
mov edx, esi
mov rcx, r13
and r12d, eax
call fcn.1400014b0
test eax, eax
jne 0x140015400
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov eax, r12d
add rsp, 0x50
pop r13
pop r12
pop rsi
ret
Function at 0x140018c80
Capabilities:
Terminate thread

Disassembly:
jmp 0x140018c80
jmp 0x140019390
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x2f8]
test rcx, rcx
je 0x140018cc5
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov rcx, qword [rbx + 0x2f8]
xor edx, edx
call qword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
mov rcx, qword [rbx + 0x2f8]
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov qword [rbx + 0x2f8], 0
mov rcx, qword [rbx + 0x300]
test rcx, rcx
je 0x140018cf1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x300]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x300], 0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140018d08
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rbx + 0x20], 0
add rsp, 0x20
pop rbx
ret
lea rax, vtable.IToolbarBand.0
mov qword [rcx], rax
jmp 0x140001096

Function at 0x140018d40
Capabilities:
Create thread

Disassembly:
jmp 0x140018d40
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140018d6f
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 0x300]
test rcx, rcx
je 0x140018d8c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x300], 0
lea rax, [rsp + 0x48]
mov r9, rbx
mov r8, rsi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x48], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
mov qword [rbx + 0x300], rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test rdi, rdi
je 0x140018dd4
mov eax, dword [rsp + 0x48]
mov dword [rdi], eax
mov rax, qword [rbx + 0x300]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140018fb0
Capabilities:
Set registry value

Disassembly:
jmp 0x140018fb0
sub rsp, 0x38
mov rax, r8
mov rcx, rdx
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r9
xor r8d, r8d
mov rdx, rax
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140018ff0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140018ff0
push rbx
sub rsp, 0x40
mov rax, r8
mov r10, rdx
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov rbx, r9
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rcx, r10
mov rdx, rax
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x30], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019054
mov eax, dword [rsp + 0x30]
mov dword [rbx], eax
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x140019080
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140019080
push rbx
push rsi
push rdi
sub rsp, 0x80
xor eax, eax
xor esi, esi
mov rdi, rcx
mov rcx, qword [rcx + 0x2d8]
mov dword [rdx], esi
mov dword [rdx + 4], eax
mov dword [rdx + 8], eax
mov rbx, rdx
mov dword [rdx + 0xc], eax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
call fcn.14000126c
test eax, eax
je 0x1400191f3
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0xa0]
lea rdx, str.Toolbar
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400191e8
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0xa8]
lea rdx, [rdi + 0x2c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0xa8], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400191dd
mov rcx, qword [rsp + 0x50]
xor eax, eax
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], eax
lea rax, [rsp + 0xb0]
lea rdx, [0x140058aa0]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], esi
mov dword [rsp + 0xb0], 0x10
mov dword [rsp + 0xb8], 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400191d2
lea rcx, [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rbx], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x140019f50
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140019f50
push rbx
sub rsp, 0x40
mov rbx, r8
test r8, r8
je 0x140019fad
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 4
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140019fad
mov eax, dword [rsp + 0x60]
mov dword [rbx], eax
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140019fd0
Capabilities:
Set registry value

Disassembly:
jmp 0x140019fd0
sub rsp, 0x38
test r8, r8
jne 0x140019fe0
xor eax, eax
add rsp, 0x38
ret
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9d, 4
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x38
ret