joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007620
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
mov dword [rsp + 0x70], edx
lea rdi, [rsp + 0x70]
mov esi, 4
xor ebp, ebp
movabs r14, 0x800000000000
movabs r15, 0xffff800000000000
nop dword [rax]
mov qword [rsp + 0x40], rbp
xorps xmm0, xmm0
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x6c], ebp
mov qword [rsp + 0x48], rbx
movdqu xmmword [rsp + 0x5c], xmm0
cmp rsi, 4
jb 0x14000769e
mov dword [rsp + 0x58], 4
mov eax, dword [rdi]
jmp 0x1400076bc
cmp rsi, 2
jb 0x1400076b1
mov dword [rsp + 0x58], 2
movzx eax, word [rdi]
jmp 0x1400076bc
mov dword [rsp + 0x58], 1
movzx eax, byte [rdi]
mov dword [rsp + 0x5c], eax
cmp rbx, r14
jb 0x14000774b
cmp rbx, r15
jb 0x140007765
call fcn.140002a10
mov rcx, rax
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x78]
mov r9d, 0x30
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x30
mov edx, 0x8000204c
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x58]
add rbx, rax
add rdi, rax
sub rsi, rax
jne 0x140007670
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140008f20
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbx
lea rcx, str.Userland_address_used:_0x_016llx_nThis_should_not_happen__aborting..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov rdx, rbx
lea rcx, str.Non_canonical_address_used:_0x_016llx_nAborting_to_avoid_a_BSOD..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140007780
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
mov qword [rsp + 0x78], rdx
lea rdi, [rsp + 0x78]
mov esi, 8
xor ebp, ebp
movabs r14, 0x800000000000
movabs r15, 0xffff800000000000
nop dword [rax]
mov qword [rsp + 0x40], rbp
xorps xmm0, xmm0
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x6c], ebp
mov qword [rsp + 0x48], rbx
movdqu xmmword [rsp + 0x5c], xmm0
cmp rsi, 4
jb 0x1400077fe
mov dword [rsp + 0x58], 4
mov eax, dword [rdi]
jmp 0x14000781c
cmp rsi, 2
jb 0x140007811
mov dword [rsp + 0x58], 2
movzx eax, word [rdi]
jmp 0x14000781c
mov dword [rsp + 0x58], 1
movzx eax, byte [rdi]
mov dword [rsp + 0x5c], eax
cmp rbx, r14
jb 0x1400078ab
cmp rbx, r15
jb 0x1400078c5
call fcn.140002a10
mov rcx, rax
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x70]
mov r9d, 0x30
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x30
mov edx, 0x8000204c
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x58]
add rbx, rax
add rdi, rax
sub rsi, rax
jne 0x1400077d0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140008f20
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbx
lea rcx, str.Userland_address_used:_0x_016llx_nThis_should_not_happen__aborting..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
mov rdx, rbx
lea rcx, str.Non_canonical_address_used:_0x_016llx_nAborting_to_avoid_a_BSOD..._n
call fcn.1400014f0
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x140007e40
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push rbx
push r14
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14d, edx
mov rbx, rcx
cmp edx, 3
jbe 0x140007e80
mov r8, rcx
mov edx, 3
lea rcx, str.____Reached_maximun_number_of_attempts___i__to_uninstall_the_service__s_n
call fcn.1400014f0
xor eax, eax
jmp 0x140008022
mov qword [rsp + 0xb0], rbp
lea rdx, str.ServicesActive
mov qword [rsp + 0x80], rsi
xor ecx, ecx
xor esi, esi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r15
mov r15d, esi
lea r8d, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140007f0e
lea r8d, [rsi + 0x20]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbp, rax
test rax, rax
je 0x140007eef
lea r8, [rsp + 0x40]
mov rcx, rax
lea edx, [rsi + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbp
mov r15d, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r15d, r15d
je 0x140007f0e
mov rdx, rbx
lea rcx, str.____s_service_stopped_n
call fcn.1400014f0
jmp 0x140007f57
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
jne 0x140007f2c
mov rdx, rbx
lea rcx, str.____s_service_not_running_n
call fcn.1400014f0
jmp 0x140007f57
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x425
jne 0x140007fdd
mov rdx, rbx
lea rcx, str.____s_service_cannot_accept_control_messages_at_this_time__waiting..._n
call fcn.1400014f0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x140007ff1
mov r8d, 0x10004
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x140007fcc
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140007fcc
cmp dword [rsp + 0x24], 1
mov rcx, rdi
je 0x140007fbb
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007ff1
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x140007ff1
mov eax, esi
jmp 0x140008008
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ERROR_ServiceUninstall___ServiceUninstall__0x_08x__n
call fcn.1400014f0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [r14 + 1]
mov rcx, rbx
call fcn.140007e40
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140008f20
add rsp, 0x88
pop r14
pop rbx
ret
Function at 0x140008ca0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
cmp dword [0x14001cf40], 0
jne 0x140008e4f
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400070e0
mov edx, 1
mov rcx, qword [rax + 0x30]
call fcn.140004100
xor edi, edi
lea r15, [0x14001cf40]
mov rsi, rax
mov r14d, edi
mov ebp, edi
cmp dword [rax + 0x50], edi
jbe 0x140008dd5
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], r12
mov r12d, 0x775a
nop word [rax + rax]
mov rax, qword [rsi + 0x48]
mov rbx, qword [rsi + 0x18]
mov ecx, ebp
mov r9d, dword [rax + rcx*4]
cmp dword [rsi], edi
je 0x140008d28
lea rdx, [rbx + r9]
jmp 0x140008d63
mov rax, qword [rsi + 0x20]
mov r8d, edi
mov r11, qword [rsi + 0x38]
movzx r10d, word [rax + 6]
test r10d, r10d
je 0x140008d60
lea rax, [r11 + 8]
mov edx, dword [rax + 4]
cmp edx, r9d
ja 0x140008d54
add edx, dword [rax]
cmp r9d, edx
jb 0x140008e59
inc r8d
add rax, 0x28
cmp r8d, r10d
jb 0x140008d41
mov rdx, rdi
cmp word [rdx], r12w
jne 0x140008dc0
mov r9d, edi
mov r8d, 0xe14b0d06
mov rax, rdx
nop word [rax + rax]
movzx eax, word [rax]
mov ecx, r8d
ror ecx, 8
inc r9d
add ecx, eax
mov eax, r9d
add rax, rdx
xor r8d, ecx
cmp byte [rax], dil
jne 0x140008d80
mov eax, r14d
lea rcx, [rax + rax*2]
lea rbx, [rcx*4]
mov rcx, rsi
mov dword [rbx + r15 + 4], r8d
call fcn.140004240
mov dword [rbx + r15 + 8], eax
inc r14d
inc ebp
cmp ebp, dword [rsi + 0x50]
jb 0x140008d10
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov edx, r14d
lea r9, [0x140008c60]
mov r8d, 0xc
mov dword [0x14001cf40], r14d
lea rcx, [0x14001cf44]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov eax, dword [0x14001cf40]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
test eax, eax
je 0x140008e29
mov eax, edi
lea rdx, [rax + rax*2]
mov dword [r15 + rdx*4 + 0xc], edi
inc edi
mov eax, dword [0x14001cf40]
cmp edi, eax
jb 0x140008e12
mov edx, eax
lea r9, [0x140008c80]
mov r8d, 0xc
lea rcx, [0x14001cf44]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x38
ret
mov eax, r8d
lea rcx, [rax + rax*4]
lea rdx, [r11 + rcx*8]
test rdx, rdx
je 0x140008d60
sub r9d, dword [rdx + 0xc]
mov edx, dword [rdx + 0x14]
mov eax, r9d
add rax, rbx
add rdx, rax
jmp 0x140008d63

Function at 0x1400097f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000983e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000983e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000983e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000983e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000983e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140009840
xor al, al
add rsp, 0x28
ret
Function at 0x140009bc0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, dword [0x14001c030]
call fcn.140008e90
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x1406ac058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406ac1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406ac089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ac06f
add dl, dl
jne 0x1406ac096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ac0f6
xor eax, eax
add dl, dl
jne 0x1406ac0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ac1ad
add dl, dl
jne 0x1406ac0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ac0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ac0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ac0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406ac0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406ac07e
mov eax, 1
add dl, dl
jne 0x1406ac106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ac113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ac0fb
sub eax, ebx
mov ebx, 1
jne 0x1406ac14c
mov ecx, 1
add dl, dl
jne 0x1406ac12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ac13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ac123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ac07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406ac168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ac175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ac15d
cmp eax, 0x7d00
jae 0x1406ac19b
cmp eax, 0x500
jb 0x1406ac196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ac07e
cmp eax, 0x7f
ja 0x1406ac19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ac07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406ac1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406ac07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400038e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1402489f0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov ecx, 0x500
call fcn.140004e5c
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140003930
mov rcx, rax
call fcn.140003f3c
nop
mov qword [rbx + 0x178], rax
xor edx, edx
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 0x29]
call fcn.140184970
call fcn.14000a7e4
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x11], rcx
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rbp - 0x21], rax
and qword [rbp + 7], 0
call fcn.14000a7e4
mov edx, 0x7f00
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 1], rax
call fcn.14000a7e4
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp - 9], rax
mov rax, qword [0x1403b4010]
mov qword [rbp + 0x17], rax
mov qword [rbp + 0xf], 0x80
lea rcx, [rbp - 0x29]
call fcn.14000b6e8
test eax, eax
jne 0x1400039cb
xor r8d, r8d
xor edx, edx
lea rcx, [0x14020c400]
call fcn.1400064cc
xor eax, eax
jmp 0x140003ab9
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rax, qword [rbx + 0x178]
mov qword [rbx + 0x40], rax
call fcn.140013244
test rax, rax
je 0x1400039ff
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe8]
mov rbx, qword [rax + 0x40]
mov dword [rbp + 0x2f], 0x72657355
mov dword [rbp + 0x33], 0x642e3233
mov word [rbp + 0x37], 0x6c6c
mov byte [rbp + 0x39], 0
mov dword [rbp + 0x3f], 0x776f6853
mov dword [rbp + 0x43], 0x646e6957
mov word [rbp + 0x47], 0x776f
mov byte [rbp + 0x49], 0
lea rcx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rbp + 0x3f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov rcx, rbx
call rax
call fcn.1400035c8
mov rbx, rax
test rax, rax
je 0x140003ab4
mov rcx, rax
call fcn.1400034d8
test rax, rax
je 0x140003a6d
call rax
cmp dword [rbx + 0x1c], 0
je 0x140003a89
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov r9d, dword [rax + 0x28]
add r9, rcx
xor r8d, r8d
xor edx, edx
call r9
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140003aa0
xor edx, edx
mov r8d, 0x8000
call qword [0x1403b4048]
call qword [0x1403b4060]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [0x1403b4058]
mov eax, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140182cd0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret
Function at 0x14000d210
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
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov r14, rcx
test rdx, rdx
je 0x14000d278
call fcn.14000a7e4
mov r8d, 0xf0
mov rdx, rsi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14000d278
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000d29a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, r14
call fcn.14002afd8
mov esi, eax
test rdi, rdi
je 0x14000d298
test rbx, rbx
je 0x14000d298
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
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 0x14000ee5c
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 rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.140024260
mov rdi, rax
test rax, rax
je 0x14000eed8
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, eax
test rbx, rbx
je 0x14000eed3
cmp dword [rbx], 0x40
jb 0x14000eed3
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14000eed3
or dword [rbx + 4], 0x80000002
mov rax, rsi
jmp 0x14000eedc
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 0x140012aa4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x70
mov edi, r9d
mov rsi, r8
mov r14, rdx
mov r15d, ecx
and qword [rax - 0x10], 0
and qword [rax - 0x18], 0
xor ebx, ebx
mov eax, dword [0x1403a8ef4]
test eax, eax
je 0x140012af6
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403a8ef4]
test eax, eax
jne 0x140012aff
call fcn.140012fb0
test eax, eax
je 0x140012b1b
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402474b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140012b26
xor eax, eax
jmp 0x140012bd4
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8, rsi
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
mov qword [rsp + 0x68], rax
xor ebx, ebx
test rax, rax
sete bl
test ebx, ebx
je 0x140012bb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140012bb8
xor edi, edi
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140012bd1
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x140012bf0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x20], 0
xor ebx, ebx
mov eax, dword [0x1403a8ef4]
test eax, eax
je 0x140012c3a
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403a8ef4]
test eax, eax
jne 0x140012c43
call fcn.140012fb0
test eax, eax
je 0x140012c5f
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402474b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140012c67
xor eax, eax
jmp 0x140012cae
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassInfoExW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x140012c91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140012c93
xor esi, esi
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140012cac
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140012cc4
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1403ac2c8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1403a8ef4]
test eax, eax
je 0x140012d0f
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403a8ef4]
test eax, eax
jne 0x140012d18
call fcn.140012fb0
test eax, eax
je 0x140012d34
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402474b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x140012d3c
xor eax, eax
jmp 0x140012d99
test rbx, rbx
jne 0x140012d5c
lea rcx, str.InitCommonControlsEx
call fcn.1400129f4
mov rbx, rax
test rax, rax
je 0x140012d67
mov qword [0x1403ac2c8], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x140012d7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140012d7e
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140012d97
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140012ed8
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor r14d, r14d
mov word [rax - 0x18], r14w
mov qword [rax + 0x10], r14
mov ebx, r14d
mov eax, dword [0x1403a8ef4]
test eax, eax
je 0x140012f20
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1403a8ef4]
test eax, eax
jne 0x140012f29
call fcn.140012fb0
test eax, eax
je 0x140012f45
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402474b0]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x140012f4f
movzx eax, r14w
jmp 0x140012f97
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx ebx, ax
mov word [rsp + 0x20], ax
mov edi, r14d
test bx, bx
sete dil
test edi, edi
je 0x140012f78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140012f7b
mov esi, r14d
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x140012f94
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movzx eax, bx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14001480c
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x140014886
xor r8d, r8d
call fcn.140014ad0
mov rsi, rax
test rax, rax
jne 0x140014842
mov eax, edi
jmp 0x14001489c
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x14001483e
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140015564
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400155c7
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400155db
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400155db
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x1400155e0
cmp dword [rcx + 8], 0
je 0x1400155db
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1400155e0
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret