joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007df59
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400bb660
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400bb030
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400bb6a1
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401dd020]
jmp 0x1400bb6a7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x14007dfdb
Capabilities:
Get geographical location

Disassembly:
jmp 0x140131160
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.140130090
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401311c7
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1401dd030]
jmp 0x1401311e9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14007d6d0
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x14007dffe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400992c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x14007e25b
Capabilities:
Print debug messages

Disassembly:
jmp 0x140168c90
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1401c8058]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x140168cb6
jmp 0x140168d33
mov rcx, qword [rbp + 0x30]
call fcn.14007da13
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140168ccf
jmp 0x140168d33
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140168cec
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14007ca4b
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.14007cec4
test eax, eax
jne 0x140168d33
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14007dc1b
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14007e7c9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140098280
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400982a0
xor al, al
jmp 0x140098321
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400982b3
xor al, al
jmp 0x140098321
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400982dd
xor al, al
jmp 0x140098321
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400982f1
xor al, al
jmp 0x140098321
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140098303
xor al, al
jmp 0x140098321
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14009831f
xor al, al
jmp 0x140098321
mov al, 1
add rsp, 0x38
ret
Function at 0x14007ed73
Capabilities:
Terminate process

Disassembly:
jmp 0x140113320
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14011334e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14007f61f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14007f471
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x1400942b0
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401c8058]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1401db0ab]
call fcn.14007fa57
mov eax, 0x104
mov eax, eax
mov ecx, dword [0x1401c9a40]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1401c9840], eax
jle 0x14009434b
lea rcx, [0x1401c9840]
call fcn.14007f3e0
cmp dword [0x1401c9840], 0xffffffff
jne 0x14009434b
lea rcx, [0x1401c9820]
call fcn.14007c483
lea rcx, [0x140181e40]
call fcn.14007d6f3
lea rcx, [0x1401c9840]
call fcn.14007f5ac
lea rcx, [0x1401c9820]
call fcn.14007feb2
test rax, rax
jne 0x1400943ec
mov dword [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp + 4]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14009438e
lea rax, [0x1401c9820]
jmp 0x1400943f3
mov dword [rbp + 0x44], 0
jmp 0x14009439f
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x1400943e2
movsxd rax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0x128]
call fcn.14007d3d8
nop
lea rdx, [rbp + 0x128]
lea rcx, [0x1401c9820]
call fcn.14007e8f5
nop
lea rcx, [rbp + 0x128]
call fcn.14007f188
jmp 0x140094397
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [0x1401c9820]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14018fa40]
call fcn.14007efda
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.14007dc1b
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x14007f688
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401443e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x14007f74b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400bb7a0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400bb0f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400bb7e9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401dd020]
jmp 0x1400bb7f8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x14015be70
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14007ca4b
sub rsp, rax
mov rax, qword [0x1401c8058]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401cb500]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14015c062
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x14015bfb6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14015bfb6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14015bf9b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x14015bf38
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14015c022
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14015c081
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14015c05d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14015c081
jmp 0x14015bf0e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007dc1b
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14015c130
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.14007ca4b
sub rsp, rax
mov rax, qword [0x1401c8058]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1401cb500]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14015c33d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x14015c289
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14015c289
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x14015c269
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x14015c1f8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14015c2fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14015c35c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x14015c338
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x14015c35c
jmp 0x14015c1ce
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14007dc1b
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1400132e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014630
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014650
xor al, al
jmp 0x1400146d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014663
xor al, al
jmp 0x1400146d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001468d
xor al, al
jmp 0x1400146d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400146a1
xor al, al
jmp 0x1400146d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146b3
xor al, al
jmp 0x1400146d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400146cf
xor al, al
jmp 0x1400146d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140005dc8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140005c5b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005c5b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005c5b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005c5b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005c5b
cmp dword [rcx + 0x84], 0xe
jbe 0x140005c5b
cmp dword [rcx + 0xf8], 0
je 0x140005c5b
mov ecx, ebx
call fcn.140005cfc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140005aec
cmp dword [rbp + 0x20], 0
je 0x140005ca8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005cb0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005bf4
Function at 0x140002918
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x228]
sub rsp, 0x320
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, qword [0x1400516d8]
lea rax, [rsp + 0x40]
xor esi, esi
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov qword [rsp + 0x40], rsi
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferences
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002b23
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rbp]
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MigrationSchema
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x38], 0x208
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002af9
cmp dword [rsp + 0x30], 1
jne 0x140002af9
movups xmm0, xmmword [0x1400411a8]
lea rdx, [rsp + 0x48]
mov edi, esi
movups xmm1, xmmword [0x140040fc0]
lea rcx, [rbp]
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140040eb8]
movdqu xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x140040ef8]
movdqu xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x140041188]
movdqu xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x140040f48]
movdqu xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x140040ec8]
movdqu xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1400410b8]
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x140040f58]
movdqu xmmword [rbp - 0x30], xmm1
movups xmm1, xmmword [0x1400411d8]
movdqu xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x10], xmm1
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov rdx, qword [rsp + 0x50]
mov eax, esi
mov r8, qword [rsp + 0x48]
movsxd rcx, eax
add rcx, rcx
cmp qword [rsp + rcx*8 + 0x60], r8
jne 0x140002a83
cmp qword [rsp + rcx*8 + 0x68], rdx
je 0x140002a8c
inc eax
cmp eax, 0xa
jae 0x140002a8e
jmp 0x140002a6f
mov edi, eax
lea ecx, [rdi + 1]
call fcn.140015d00
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x34]
mov edi, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.MigrationPercentage
mov dword [rsp + 0x30], edi
mov dword [rsp - 0x7b], edi
test edx, edx
mov rax, rcx
mov rcx, qword [rcx]
ror byte [rbp + 0x39], 0xc1
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
Function at 0x1400063cc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400502a8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov esi, edx
mov r14, rcx
lea rdx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
movd xmm1, dword [0x1400502d0]
mov r15d, dword [rbp - 0x44]
sub r15d, dword [rbp - 0x4c]
mov ecx, dword [rbp - 0x34]
mov ebx, dword [rbp - 0x48]
sub ebx, dword [rbp - 0x50]
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x140049d78]
movaps xmm0, xmm1
mulsd xmm1, qword [0x140049d68]
mulsd xmm0, qword [0x140049d58]
cvttsd2si eax, xmm1
cvttsd2si edi, xmm0
sub ecx, eax
mov eax, ecx
mov dword [rbp - 0x44], ecx
sub eax, r15d
cmp byte [0x140051728], 0
mov dword [rbp - 0x4c], eax
jne 0x14000649b
call fcn.140038ec8
movzx ecx, word [0x14005172c]
lea r8, [rbp - 0x30]
mov r9d, 0x10
test eax, eax
setne byte [0x14005172e]
lea edx, [r9 + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov byte [0x140051728], 1
cmp byte [0x14005172e], 0
je 0x1400064af
lea ecx, [rbx + rdi*2]
imul ecx, esi
add ecx, dword [rbp - 0x40]
jmp 0x1400064bc
mov ecx, dword [rbp - 0x38]
lea eax, [rdi + rbx]
imul eax, esi
sub ecx, eax
sub ecx, edi
lea eax, [rcx + rbx]
mov dword [rbp - 0x50], ecx
mov rcx, r14
mov dword [rbp - 0x48], eax
call qword [sym.imp.USER32.dll_GetParent]
mov r9d, 2
lea r8, [rbp - 0x50]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov r8d, dword [rbp - 0x4c]
mov r9d, ebx
mov edx, dword [rbp - 0x50]
mov rcx, r14
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003c810
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret