joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040200
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
cmp qword [rdx + 0x18], 8
jb 0x14004023a
mov rcx, qword [rdx]
jmp 0x14004023d
mov rcx, rsi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ebp, [rax + 1]
mov word [rsp + 0x88], r15w
mov r14d, ebp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov edx, ebp
lea rcx, [rsp + 0x40]
call fcn.140018560
mov rdi, qword [rsp + 0x40]
test al, al
je 0x140040292
lea r8, [rsp + 0x88]
mov edx, r14d
mov rcx, rdi
call fcn.14003f120
mov qword [rsp + 0x48], rax
cmp qword [rsi + 0x18], 8
jb 0x14004029c
mov rsi, qword [rsi]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
test eax, eax
je 0x1400402e4
lea rdx, [0x14008c6ac]
test rdi, rdi
cmovne rdx, rdi
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1400402d1
mov rcx, rbx
call fcn.1400030f0
nop
test rdi, rdi
je 0x140040302
mov rdx, qword [rsp + 0x50]
sub rdx, rdi
mov r8d, 2
sar rdx, 1
mov rcx, rdi
call fcn.140002ec0
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x140043848
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
cmp qword [rdx + 0x18], 8
jb 0x14004386c
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1400438db
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x1400438af
inc rax
jmp 0x1400438b6
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0x342500000000
or rax, rdi
or rax, rcx
jmp 0x14004392d
cmp ebx, dword [rsp + 0x58]
je 0x140043923
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x1400438fd
inc rax
jmp 0x140043904
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0x350500040002
jmp 0x1400438d6
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140043a98
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x20], 0
mov esi, edx
and dword [rax + 8], 0
lea rdx, [rcx + 0x40]
cmp qword [rdx + 0x18], 8
mov rdi, r8
jb 0x140043ac3
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
je 0x140043b3d
test eax, eax
je 0x140043b3d
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140043b0e
inc rax
jmp 0x140043b15
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0x312500000000
or rax, rbx
or rax, rcx
jmp 0x140043be1
cmp esi, dword [rsp + 0x40]
je 0x140043b85
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140043b5f
inc rax
jmp 0x140043b66
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0x320500040002
jmp 0x140043b35
mov eax, dword [rsp + 0x58]
cmp eax, 0x4000
jb 0x140043bd5
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
test rax, rax
je 0x140043bac
inc rax
jmp 0x140043bb3
lea rax, str.admin_appman_appv_sharedclientconfiguration_registryvalue.h
mov rdx, rax
lea rcx, [0x1400c3688]
call fcn.14000f3ec
shl rax, 0x34
movabs rcx, 0x330500040003
jmp 0x140043b35
mov dword [rdi], eax
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140063248
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, rdx
mov rdi, rcx
or rbp, 0xffffffffffffffff
cmp rdx, rcx
je 0x14006328d
mov r9, rbp
xor r8d, r8d
mov rdx, rcx
mov rcx, r14
call fcn.14000333c
cmp qword [rdi + 0x18], 8
jb 0x140063299
mov rcx, qword [rdi]
jmp 0x14006329c
mov rcx, rdi
mov qword [rsp + 0x20], 1
lea r9, [0x14008ed70]
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.14004055c
cmp rax, rbp
jne 0x1400632c4
mov al, 1
jmp 0x140063388
cmp qword [rdi + 0x18], 8
jb 0x1400632d0
mov rcx, qword [rdi]
jmp 0x1400632d3
mov rcx, rdi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r15d, eax
xor r12d, r12d
test eax, eax
je 0x140063388
mov rbx, r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.140018560
mov rsi, qword [rsp + 0x38]
test al, al
je 0x14006332c
add rbx, rbx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
lea rax, [rbx + rsi]
mov qword [rsp + 0x40], rax
cmp qword [rdi + 0x18], 8
jb 0x140063336
mov rdi, qword [rdi]
mov r8d, r15d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp r15d, eax
sete bl
test bl, bl
je 0x140063368
inc rbp
cmp word [rsi + rbp*2], r12w
jne 0x14006334f
mov r8, rbp
mov rdx, rsi
mov rcx, r14
call fcn.1400030f0
nop
test rsi, rsi
je 0x140063386
mov rdx, qword [rsp + 0x48]
sub rdx, rsi
sar rdx, 1
mov r8d, 2
mov rcx, rsi
call fcn.140002ec0
mov al, bl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14006531c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140065364
lea ebx, [rsi + 0xd]
jmp 0x1400653dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x1400653dd
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003efb8
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x1400653c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400653dd
mov rdx, qword [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x1400653c9
mov rcx, rdi
call fcn.1400030f0
mov ebx, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400653fb
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
mov r8d, 2
call fcn.140002ec0
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140065f30
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400c30c0], eax
call fcn.1400661d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400c30c0], 0
jne case.default.0x140065f86
mov ecx, 1
call fcn.1400661d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
scasb al, byte [rdi]
sbb dword [rbx + 0x75de3c38], esi
mov ebp, 0xf2bffbdf
or eax, 0xf498d73
sub ebx, dword [rbp - 0x4d]
push rsi
cmp ebx, dword [rsi - 0x28fb1dbe]
test ebx, 0xc285f1ef
invalid
Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d9
push r9
push r8
push rdx
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
push rcx
push rsi
mov rdx, qword [rdx + 0x20]
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x14000403a
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x140004030
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x1400040ce
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040ce
add rax, rdx
mov r8d, dword [rax + 0x20]
add r8, rdx
push rax
mov ecx, dword [rax + 0x18]
jrcxz 0x1400040cd
dec rcx
mov esi, dword [r8 + rcx*4]
xor r9, r9
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004084
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004075
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
pop r8
add rax, rdx
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004024
Function at 0x14002a2e0
Capabilities:
Delete service
Query service status

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x14002a338
lea r9d, [rax + 0x10]
lea r8, [0x1401c7218]
lea rdx, str.Failed_to_open_service_control_manager
call fcn.1400208f0
lea eax, [rbx + 1]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401312c0
add rsp, 0x50
pop rbx
ret
mov r8d, 0x10004
mov qword [rsp + 0x60], rdi
lea rdx, [0x1401efc50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
jne 0x14002a3c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14002a38e
lea r9d, [rdi + 0x10]
lea r8, [0x1401c7218]
lea rdx, str.Failed:_Permission_denied
call fcn.1400208f0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [rdi + 1]
jmp 0x14002a460
cmp eax, 0x424
je 0x14002a43c
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401c7218]
lea rdx, str.Failed_to_open_the_service
call fcn.1400208f0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14002a460
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14002a3e0
lea rdx, str.Failed_to_query_service_status
jmp 0x14002a421
cmp dword [rsp + 0x24], 1
mov rcx, rdi
je 0x14002a410
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14002a2e0
mov eax, 1
jmp 0x14002a460
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14002a44c
lea rdx, str.Failed_to_delete_the_service
lea r8, [0x1401c7218]
mov r9d, reloc.WS2_32.dll_recv
call fcn.1400208f0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14002a460
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401312c0
add rsp, 0x50
pop rbx
ret

Function at 0x14002a480
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x20], WSACleanup
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x28], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, str._rebootforce
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401312c0
add rsp, 0x1b0
pop rbx
ret
Function at 0x140076850
Capabilities:
Move file
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rbx, 0xffffffffffffffff
lea rsi, [0x1401eff20]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x140076870
test rax, rax
jne 0x1400768a6
lea r8, str.Error_opening_log_file_n
mov word [0x1401eff08], 0x100
xor edx, edx
lea rcx, vtable.VNCLog.0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
jmp fcn.140017a50
cmp byte [0x1401f0120], 0
mov byte [0x1401eff08], 1
jne 0x14007693d
mov qword [rsp + 0x50], rdi
mov rcx, rbx
inc rcx
cmp byte [rsi + rcx], 0
jne 0x1400768c2
add rcx, 5
call fcn.14013132c
mov rdi, rax
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp byte [rsi + rdx], 0
jne 0x1400768e0
add rdx, 5
mov r8, rsi
mov rcx, rdi
call fcn.140139fd0
nop dword [rax + rax]
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140076900
lea rdx, [rbx + 5]
mov rcx, rdi
lea r8, str..bak
call fcn.14013a030
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov rcx, rdi
call fcn.1401312e0
mov rdi, qword [rsp + 0x50]
mov rcx, qword [0x1401eff18]
xor ebx, ebx
test rcx, rcx
je 0x140076958
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401eff18], rbx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1401eff18], rax
cmp rax, 0xffffffffffffffff
jne 0x1400769b7
mov r9, rsi
mov word [0x1401eff08], 0x100
lea r8, str.Error_opening_log_file__s_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov rax, qword [0x1401eff18]
cmp byte [0x1401f0120], bl
mov rcx, rax
je case.default.0x1400769d7
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetEndOfFile]

Function at 0x1400769f0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x30
cmp byte [rcx + 9], 0
mov rsi, rdx
mov rbp, rcx
je 0x140076a14
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [rbp + 0xa], 0
mov rbx, 0xffffffffffffffff
je 0x140076a66
mov qword [rsp + 0x48], rdi
mov rdi, rbx
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140076a30
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov rdi, qword [rsp + 0x48]
cmp byte [rbp + 8], 0
je 0x140076a98
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140076a98
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140076a75
mov r8, rbx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
Function at 0x140076c20
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9d, dword [0x1401fdfcc]
lea r8, str.RestoreDesktop_:_Restorewallpaper__i_n
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140017a50
mov r9d, dword [0x1401fdfcc]
test r9d, r9d
je 0x140076d1a
mov eax, dword [0x1401fdff8]
lea r8, str.RestoreDesktop_:_Restorewallpaper__i__i_n
mov edx, 8
mov dword [rsp + 0x20], eax
lea rcx, vtable.VNCLog.0
call fcn.140017a50
cmp dword [0x1401fdff8], 0
je 0x140076c91
call fcn.140021660
cmp eax, 0x40047
jb 0x140076c91
mov cl, 1
call fcn.140021700
xor edx, edx
lea r8, [0x1401fe080]
mov r9d, 2
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
lea rax, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelDesktop
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140076d1a
lea rcx, [0x1401fe480]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140076ce2
mov dword [rsp + 0x28], eax
lea rdx, str.WallpaperStyle
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1401fdfcc], 0
add rsp, 0x38
ret

Function at 0x1400775d0
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x690], 0
mov rbx, rcx
je 0x14007767c
xor edx, edx
lea rcx, str.SYSTEM
nop
movzx eax, byte [rbx + rdx + 0x690]
inc rdx
cmp al, byte [rcx + rdx - 1]
jne 0x14007760d
cmp rdx, 7
jne 0x1400775f0
add rsp, 0x20
pop rbx
ret
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140077633
inc dword [rbx + 0x7c0]
mov byte [rbx + 0x7bc], al
add rsp, 0x20
pop rbx
ret
cmp byte [rbx + 0x7bc], 0
jne case.default.0x140077675
mov rcx, rbx
call fcn.1400776f0
mov rcx, rbx
call fcn.140077bf0
lea r8, [rbx + 0x7c6]
mov edx, 0x80
lea rcx, [rbx + 0x2b0]
call fcn.14014a4e0
lea rdx, [rbx + 0x288]
mov ecx, 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
add rsp, 0x20
pop rbx
ret
Function at 0x140083ec0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x548]
mov rbx, rcx
mov rcx, rbp
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x108]
test rcx, rcx
je 0x140083f8c
mov rcx, qword [rcx + 0xe4b8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140083f86
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x140083f86
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], rsi
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140083f23
inc rdx
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140083f81
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140083f81
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne case.default.0x140083f9e
lea rdx, [rbx + 1]
mov r8, rdi
mov rcx, rax
call fcn.140139fd0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rsi, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x62a5a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x62a72b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00647ae0
xorps xmm15, xmm15
mov r14, qword [0x00afacb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x62a605
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x62a614
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x62a633
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x62a643
cmp rbx, 0x1000
jae 0x62a60b
jmp 0x62a6ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x62a655
xor edx, edx
jmp 0x62a6a4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00647ae0
xorps xmm15, xmm15
mov r14, qword [0x00afacb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x62a639
jmp 0x62a628
call fcn.00678fc0
xorps xmm15, xmm15
mov r14, qword [0x00afacb0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.0064c0c0
lea rax, [0x007e4c1d]
mov ebx, 0x18
nop dword [rax]
call fcn.0064c940
mov rax, qword [rsp + 0x38]
call fcn.0064c680
lea rax, [0x007e5faf]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.0064c940
mov rax, qword [rsp + 0x30]
call fcn.0064c680
call fcn.0064c300
call fcn.0064c120
lea rax, [0x007ed24d]
mov ebx, 0x21
call fcn.0064a720
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.006758a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0062a5a0