joyce8/EMBER2024-capa huggingface dataset:
Function at 0x32d031770
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x32d037064]
mov r12, rcx
test ebx, ebx
jle 0x32d0318a0
mov rax, qword [0x32d037068]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x32d0317bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x32d031843
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x32d0317a0
mov rcx, r12
call fcn.32d031ef0
mov rsi, rax
test rax, rax
je 0x32d0318c2
mov rax, qword [0x32d037068]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.32d032020
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x32d037068]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x32d0318a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x32d03183c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x32d031850
add dword [0x32d037064], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x32d037068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x32d03183c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.32d031700
nop dword [rax]
xor ebx, ebx
jmp 0x32d0317c7
mov rax, qword [0x32d037068]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.32d031700
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.32d031700
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x32d031b60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x32d0370a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x32d037080]
test rbx, rbx
je 0x32d031bb4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x32d031bab
test r12, r12
je 0x32d031bab
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x32d031b90
lea rcx, [0x32d0370a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x32d031ef0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x32d034220]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x32d031f10
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x32d031f18
ret
cmp word [r8 + 0x18], 0x20b
jne 0x32d031f10
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x32d031f65
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x32d031f5c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x32d031f10
add rax, 0x28
cmp rax, r9
jne 0x32d031f48
xor eax, eax
ret

Function at 0x32d031f70
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x32d034220]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x32d031f90
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x32d031f98
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x32d031f90
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x32d032020
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x32d034220]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x32d032040
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x32d032048
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140001834
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [0x140051728], 0
jne 0x140001881
call fcn.140038ec8
movzx ecx, word [0x14005172c]
lea r8, [rsp + 0x20]
mov r9d, 0x10
test eax, eax
setne byte [0x14005172e]
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov byte [0x140051728], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003c810
add rsp, 0x58
ret
Function at 0x140002170
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor esi, esi
lea rcx, [rsp + 0x30]
mov r14d, 0xffff
mov word [rsp + 0x24], si
mov edx, 0x105
movzx ebx, r14w
mov edi, 1
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000220e
lea r8, [0x14003f558]
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140001584
test eax, eax
js 0x14000220e
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000220e
test al, 0x10
jne 0x14000220e
lea rdx, [rsp + 0x20]
mov word [rsp + 0x20], si
lea rcx, [rsp + 0x30]
call fcn.14001a9e8
test eax, eax
cmovne bx, word [rsp + 0x20]
lea rdx, [rsp + 0x24]
lea rcx, [0x140043308]
call fcn.14001a9e8
test eax, eax
je 0x140002234
cmp r14w, bx
je 0x140002234
cmp word [rsp + 0x24], bx
mov edi, esi
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14003c810
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140003104
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebx, ebx
mov rax, r9
mov rsi, r8
mov rdi, rcx
test r9, r9
je 0x1400031c2
test r8, r8
je 0x1400031c2
test rcx, rcx
je 0x1400031c2
and qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea ebp, [rbx + 1]
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x30], ebp
mov r9d, 0x20019
mov dword [rsp + 0x34], 0x208
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400031c2
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400031b7
cmp dword [rsp + 0x30], ebp
cmove ebx, ebp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
lea rax, str.9.0.0.0
lea r8, [rsp + 0x40]
mov edx, 0x104
cmove r8, rax
mov rcx, rdi
call fcn.140001470
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14003c810
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000348c
Capabilities:
Check if file exists
Get common file path
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov esi, edx
mov rdi, rcx
mov edx, 0x104
lea rcx, [rsp + 0x250]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14000353a
test esi, esi
lea rcx, [0x140040f18]
lea rax, str._NTUninstallWMP11_
mov edx, 0x208
cmove rax, rcx
lea r8, str._s_swmploc.dll
lea rcx, str._s_swmvcore.dll
mov qword [rsp + 0x20], rax
cmove r8, rcx
lea r9, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call fcn.1400017b4
test eax, eax
js 0x14000353a
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000353e
test al, 0x10
jne 0x14000353e
lea rcx, [rsp + 0x40]
mov ebx, 1
call fcn.1400182b8
mov qword [rdi], rax
test ebx, ebx
jne 0x140003598
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
jne 0x140003560
lea edx, [rcx + 3]
call fcn.140016188
mov rcx, qword [0x140050310]
cmp rcx, 0xffffffffffffffff
je 0x14000358c
cmp dword [0x1400516e0], 2
jl 0x14000358c
and dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, str.ERROR:_Back_up_files_may_not_be_available_for_rollback._r_n
mov r8d, 0x39
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, esi
mov rcx, rdi
call fcn.14000320c
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14003c810
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140003ba8
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x38
and qword [rbp + 0x30], 0
lea rax, [rbp + 0x30]
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerSetup
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003c98
lea ebx, [rax + 4]
cmp dword [rbp + 0x18], eax
je 0x140003c6a
and dword [rbp + 0x28], eax
lea rdx, str.Progress_MaxDialog
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
mov dword [rsp + 0x28], ebx
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], ebx
lea rdx, str.Progress_CurrentInstall
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x28]
mov dword [rsp + 0x28], ebx
lea rdx, str.Progress_MaxInstall
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x28], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], ebx
lea rdx, str.Progress_CurrentDialog
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x38
pop rbx
pop rbp
ret

Function at 0x140003ca8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [0x140051660], 0
mov rdi, rcx
mov ebx, 0x80004005
jne 0x140003d3a
mov ecx, 0x88
call fcn.14003c414
test rax, rax
je 0x140003cf0
mov rcx, rax
call fcn.140013d94
mov qword [0x140051660], rax
test rax, rax
je 0x140003d3f
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140003d3f
mov rcx, qword [0x140051660]
lea r8, [rsp + 0x20]
mov eax, dword [0x140050c44]
mov rdx, rdi
mov dword [rcx + 0x74], eax
mov eax, dword [0x1400502e0]
mov dword [rcx + 0x6c], eax
call fcn.140015120
xor ebx, ebx
jmp 0x140003d3f
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14003c810
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x140003d68
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x368]
sub rsp, 0x460
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor ebx, ebx
lea rdx, [rbp + 0x140]
mov r8d, 0x105
xor ecx, ecx
mov edi, ebx
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140003f95
lea rcx, [rbp + 0x140]
call fcn.1400182b8
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140016f30
test eax, eax
js 0x140003f95
cmp dword [0x140050ce0], ebx
jne 0x140003df0
call fcn.140018260
jmp 0x140003e2d
mov edi, 0x104
lea rcx, [rbp + 0x140]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140003e30
lea r8, str.wmvcore.dll
mov edx, edi
lea rcx, [rbp + 0x140]
call fcn.140001584
test eax, eax
js 0x140003e30
lea rcx, [rbp + 0x140]
call fcn.1400182b8
mov rsi, rax
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x34], ebx
mov edi, ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], ebx
jmp 0x140003e4f
inc edi
lea rcx, [rax + 2]
mov edx, 0x2e
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x140003e49
mov ecx, edi
sub ecx, 1
je 0x140003f39
sub ecx, 1
je 0x140003f11
cmp ecx, 1
lea rcx, [rsp + 0x40]
je 0x140003ee4
test edi, edi
je 0x140003e96
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsp + 0x38], eax
jmp 0x140003f55
inc edi
lea rcx, [rax + 2]
mov edx, 0x2c
call qword [sym.imp.msvcrt.dll_wcschr]
test rax, rax
jne 0x140003e90
lea rcx, [rsp + 0x40]
sub edi, 1
je 0x140003edb
sub edi, 1
je 0x140003ed2
cmp edi, 1
je 0x140003ec9
call qword [sym.imp.msvcrt.dll__wtoi]
mov dword [rsp + 0x30], eax
jmp 0x140003f55
lea rdx, str._lu__lu__lu__lu
jmp 0x140003eeb
lea rdx, str._lu__lu__lu
jmp 0x140003f1d
lea rdx, str._lu__lu
jmp 0x140003f45
lea rdx, str._lu._lu._lu._lu
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll_swscanf]
jmp 0x140003f55
lea rdx, str._lu._lu._lu
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
call qword [sym.imp.msvcrt.dll_swscanf]
jmp 0x140003f55
lea rdx, str._lu._lu
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_swscanf]
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x3c]
shl eax, 0x10
add ecx, eax
mov eax, dword [rsp + 0x38]
mov edi, ecx
and rdi, 0xffffffffffff0000
shl eax, 0x10
add edx, eax
movzx eax, cx
or rdi, rax
mov ecx, edx
shl rdi, 0x10
shr rcx, 0x10
or rdi, rcx
movzx ecx, dx
shl rdi, 0x10
or rdi, rcx
cmp rdi, rsi
setae bl
mov eax, ebx
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.14003c810
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140003fcc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
and qword [rbp + 0x18], 0
lea rcx, [rbp - 0x18]
mov dword [rbp - 0x20], 1
call fcn.14003a4e4
mov edi, 4
lea rcx, [rbp - 0x18]
or word [rbp - 0xc], di
call fcn.140010978
test eax, eax
js 0x14000405c
mov rdx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
lea r9d, [rdi - 2]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000405c
mov rcx, qword [rbp + 0x18]
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], edi
lea rdx, str.AcceptedPrivacyStatement
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp + 0x18], 0
and qword [rsp + 0x40], 0
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferences
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 2
xor r8d, r8d
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400040ca
mov rcx, qword [rbp + 0x18]
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], edi
lea rdx, str.AcceptedPrivacyStatement
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x18]
call fcn.14003aa74
mov rdi, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x1400040e8
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rcx
xor ebx, ebx
call fcn.140017488
test eax, eax
je 0x1400041e0
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x8000080
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140004156
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400041e0
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edi, 0x104
mov edx, edi
call fcn.140001470
test eax, eax
js 0x1400041e0
lea rdx, [0x140042014]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcsstr]
test rax, rax
je 0x14000418f
lea rcx, [rsp + 0x40]
call fcn.140016c6c
lea r9, [rsp + 0x40]
mov rdx, rdi
lea r8, str._s.bak
lea rcx, [rsp + 0x250]
call fcn.140001734
test eax, eax
js 0x1400041e0
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400041db
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x1400041e0
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14003c810
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret
Function at 0x14000420c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [0x140050c44], ebx
je 0x140004236
lea eax, [rbx + 1]
jmp 0x140004298
test rax, rax
je 0x140004296
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x140004296
mov edi, ebx
cmp dword [rsp + 0x30], ebx
jle 0x14000428d
mov r14, rax
mov rcx, qword [r14]
lea rdx, [0x14003fb08]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x140004282
inc edi
add r14, 8
cmp edi, dword [rsp + 0x30]
jl 0x140004260
jmp 0x14000428d
mov ebx, 1
mov dword [0x140050c44], ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400042b4
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140004338
xor r9d, r9d
lea r8, str.RebarWindow32
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
je 0x140004338
xor r9d, r9d
lea r8, str.WMPDeskBand
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x1400043a8
xor r9d, r9d
lea r8, str.WMP9DeskBand
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x1400043a8
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140017e7c
mov ebx, 0x104
test eax, eax
je 0x140004372
lea r8, str.wmdband.dll
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140001584
test eax, eax
js 0x140004372
lea rcx, [rsp + 0x20]
call fcn.1400040e8
test eax, eax
jne 0x1400043a8
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140017e7c
test eax, eax
je 0x1400043af
lea r8, str.wmpband.dll
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140001584
test eax, eax
js 0x1400043af
lea rcx, [rsp + 0x20]
call fcn.1400040e8
test eax, eax
je 0x1400043af
mov eax, 1
jmp 0x1400043b1
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14003c810
add rsp, 0x240
pop rbx
ret
Function at 0x1400043d0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov ebx, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140004426
lea r8, [0x14003fbc8]
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140001584
test eax, eax
js 0x140004426
lea rcx, [rsp + 0x20]
call fcn.1400040e8
test eax, eax
jne 0x14000445d
mov edx, ebx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140004464
lea r8, str.wmvcore.dll
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140001584
test eax, eax
js 0x140004464
lea rcx, [rsp + 0x20]
call fcn.1400040e8
test eax, eax
je 0x140004464
mov eax, 1
jmp 0x140004469
call fcn.1400042b4
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14003c810
add rsp, 0x240
pop rbx
ret

Function at 0x140004488
Capabilities:
Delete file

Disassembly:
sub rsp, 0x248
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140017e7c
test eax, eax
je 0x1400044e4
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea r8, str.eula.txt
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140001584
test eax, eax
js 0x1400044e4
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14003c810
add rsp, 0x248
ret

Function at 0x140004504
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400045ad
mov qword [r11 - 0x18], rbx
lea rax, [r11 + 8]
mov qword [r11 - 0x20], rax
xor r9d, r9d
mov qword [r11 - 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 2
test edx, edx
mov dword [rsp + 0x20], ebx
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerWMPQFEBackup
mov qword [r11 + 8], rbx
mov rcx, 0xffffffff80000002
jne 0x140004561
lea rdx, str.SoftwareMicrosoftMultimediaWMPlayerWMFDistQFEBackup
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400045ad
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400045ad
lea rax, [0x14003f4a0]
mov dword [rsp + 0x28], 2
mov esi, 1
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
test eax, eax
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret