joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov edx, 0x22
mov rcx, r8
mov rbx, r8
call fcn.140004dd0
or r9, 0xffffffffffffffff
test rax, rax
je 0x140002c85
nop word [rax + rax]
inc r9
cmp word [rbx + r9*2], 0
jne 0x140002c70
sub r9, 2
lea r8, [rbx + 2]
jmp 0x140002c93
inc r9
cmp word [rbx + r9*2], 0
jne 0x140002c85
mov r8, rbx
lea rcx, [0x14003df40]
mov edx, 0x104
call fcn.140004e5c
call fcn.140003080
mov r8, rdi
movzx ecx, ax
call fcn.140003260
xor ebx, ebx
lea r8, [0x140002ab0]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [0x14003e158], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x14003e158]
test rcx, rcx
je 0x140002d00
lea r9, [0x140001c60]
xor r8d, r8d
mov edx, 0x83
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rcx, qword [0x14003e168]
test rcx, rcx
je 0x140002d38
cmp byte [0x14003e160], bl
jne 0x140002d2b
call fcn.140002d50
mov rcx, qword [0x14003e168]
test eax, eax
je 0x140002d2b
call sub.KERNEL32.dll_FreeLibrary
jmp 0x140002d31
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [0x14003e168], rbx
mov byte [0x14003e160], bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140002de0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x30]
lea rdx, str.SOFTWARENico_Mak_ComputingWinZipLangs
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002e82
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, str.InstalledUILangID
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x38], 0x20a
mov word [rsp + 0x40], bx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002e77
cmp word [rsp + 0x40], bx
je 0x140002e77
lea rcx, [rsp + 0x40]
call fcn.140005c18
movzx ebx, ax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140004db0
add rsp, 0x260
pop rbx
ret
Function at 0x140002ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor ebx, ebx
mov rsi, r9
mov rdi, r8
movzx r15d, cx
mov qword [rsp + 0x48], rbx
test cx, cx
jne 0x140002ef5
test r8, r8
je 0x140002eeb
test r9, r9
je 0x140002eeb
mov word [r8], bx
mov eax, 1
jmp 0x14000305b
lea rax, [rsp + 0x48]
lea rdx, str.SOFTWARENico_Mak_ComputingWinZipLangs
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov word [rsp + 0x50], bx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003011
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x44], 0xff
mov dword [rsp + 0x40], 0x14
mov word [rsp + 0x70], bx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140003006
mov qword [rsp + 0x2b0], r14
mov r14d, ebx
nop word [rax + rax]
lea rcx, [rsp + 0x70]
mov word [rbp + 0x16c], bx
call fcn.140005c18
cmp ax, r15w
je 0x140002ffe
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
inc r14d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x70]
mov edx, r14d
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x70], bx
mov dword [rsp + 0x44], 0xff
mov qword [rsp + 0x20], rbx
mov word [rsp + 0x50], bx
mov dword [rsp + 0x40], 0x14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140002f90
mov r14, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x140003051
test rsi, rsi
je 0x140003051
mov rdx, rsi
mov rcx, rdi
cmp word [rsp + 0x50], bx
je 0x14000303e
lea r8, [rsp + 0x50]
mov word [rsp + 0x62], bx
call fcn.140006770
mov eax, 1
jmp 0x14000305b
lea r8, [0x140034840]
call fcn.140006770
mov eax, 1
jmp 0x14000305b
cmp word [rsp + 0x50], bx
setne bl
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140004db0
add rsp, 0x280
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140003080
Capabilities:
Identify system language via api

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, 0xffffffff80000001
call fcn.140002de0
movzx ebx, ax
test ax, ax
je 0x1400030ac
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
call fcn.140002ea0
test eax, eax
jne 0x140003106
mov rcx, 0xffffffff80000002
call fcn.140002de0
movzx ebx, ax
test ax, ax
je 0x1400030d2
xor r9d, r9d
xor r8d, r8d
movzx ecx, ax
call fcn.140002ea0
test eax, eax
jne 0x140003106
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
call fcn.140002d50
test eax, eax
jne 0x1400030f6
xor r9d, r9d
xor r8d, r8d
movzx ecx, bx
call fcn.140002ea0
test eax, eax
je 0x1400030fb
test bx, bx
jne 0x140003106
mov eax, 0x409
add rsp, 0x20
pop rbx
ret
movzx eax, bx
add rsp, 0x20
pop rbx
ret
Function at 0x140003260
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rbx, r8
movzx edi, cx
call fcn.140002d50
lea rdx, [rsp + 0x20]
mov r8d, 0x400
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.140006170
lea rdx, str.wzshlx64.dll
lea rcx, [rsp + 0x20]
call fcn.14000631c
test rax, rax
jne 0x14000333f
lea rdx, str.wzshlex1.dll
lea rcx, [rsp + 0x20]
call fcn.14000631c
test rax, rax
jne 0x14000333f
lea rdx, str.wzcab64.dll
lea rcx, [rsp + 0x20]
call fcn.14000631c
test rax, rax
jne 0x14000333f
lea rdx, str.wzcab3.dll
lea rcx, [rsp + 0x20]
call fcn.14000631c
test rax, rax
jne 0x14000333f
mov byte [0x14003e160], al
test esi, esi
je 0x140003346
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp di, ax
je 0x14000332a
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
lea rcx, [rsp + 0x20]
movzx r8d, di
mov edx, 4
call fcn.140015c74
jmp 0x140003353
mov byte [0x14003e160], 1
lea rcx, [rsp + 0x20]
movzx edx, di
call fcn.140003110
mov qword [0x14003e168], rax
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140004db0
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140003510
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov qword [rbp - 0x21], rdx
mov qword [rbp - 1], 7
xor edi, edi
mov qword [rbp - 9], rdi
mov word [rbp - 0x19], di
lea r8d, [rdi + 0x25]
lea rdx, str.http:__www.openthefile.net_extension_
lea rcx, [rbp - 0x19]
call fcn.140002460
nop
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], rdi
mov word [rbp + 7], di
lea r8d, [rdi + 0x3f]
lea rdx, str._utm_sourcefah_wz20utm_mediumsearchwebutm_campaignfah_wz20
lea rcx, [rbp + 7]
call fcn.140002460
nop
mov r8, rbx
lea rdx, [rbp + 0x27]
call fcn.140003a10
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140003d60
nop
cmp qword [rbp + 0x3f], 8
jb 0x1400035c1
mov rcx, qword [rbp + 0x27]
call fcn.140005770
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.140003d60
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r8, qword [rbp - 0x19]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor r8d, r8d
lea rdx, [0x140034a40]
lea rcx, [0x140034a70]
call fcn.140017040
nop
cmp qword [rbp + 0x1f], 8
jb 0x140003629
mov rcx, qword [rbp + 7]
call fcn.140005770
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], rdi
mov word [rbp + 7], di
cmp qword [rbp - 1], 8
jb 0x140003649
mov rcx, qword [rbp - 0x19]
call fcn.140005770
mov qword [rbp - 1], 7
mov qword [rbp - 9], rdi
mov word [rbp - 0x19], di
cmp qword [rbx + 0x18], 8
jb 0x140003668
mov rcx, qword [rbx]
call fcn.140005770
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140004db0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140003740
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, rdx
lea rcx, [rsp + 0xe0]
mov r8d, 0x208
xor edx, edx
call fcn.140009000
xor r9d, r9d
lea rdx, [rsp + 0xe0]
lea r8d, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, str._rundll32.exe
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call fcn.1400066e8
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140009000
xor eax, eax
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rbx
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140003825
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140004db0
add rsp, 0x300
pop rbx
ret
Function at 0x140003840
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, r8
mov rdi, rdx
xor edx, edx
mov r8d, 0x618
mov rcx, rsi
call fcn.140009000
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.140009000
xor r9d, r9d
lea r8d, [r9 + 0x25]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea r8, str._rundll32.exe
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400066e8
mov qword [rsp + 0x40], 7
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x28], bx
lea r8d, [rbx + 1]
lea rdx, [0x140034abc]
lea rcx, [rsp + 0x28]
call fcn.140003ea0
cmp word [rsp + 0x50], bx
jne 0x1400038f6
mov r8d, ebx
jmp 0x14000390b
lea rcx, [rsp + 0x50]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rcx + r8*2], 0
jne 0x140003900
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140003ea0
mov r8d, 2
lea rdx, [0x140034ac0]
mov rcx, rax
call fcn.140003ea0
mov r8d, 0xb
lea rdx, str.shell32.dll
mov rcx, rax
call fcn.140003ea0
mov r8d, 1
lea rdx, [0x140034ae0]
mov rcx, rax
call fcn.140003ea0
mov r8d, 0xd
lea rdx, str.OpenAs_RunDLL
mov rcx, rax
call fcn.140003ea0
mov r8d, 1
lea rdx, [0x140034b04]
mov rcx, rax
call fcn.140003ea0
cmp word [rdi], 0
je 0x14000399a
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140003990
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call fcn.140003ea0
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
inc rdx
mov rcx, rsi
call fcn.140006770
nop
cmp qword [rsp + 0x40], 8
jb 0x1400039dc
mov rcx, qword [rsp + 0x28]
call fcn.140005770
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140004db0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400045a0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x20], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rdx
xor edi, edi
mov eax, edi
cmp qword [rdx + 0x10], rax
setne al
test eax, eax
je 0x14000463c
mov qword [r11 - 0x38], rdi
lea rax, [r11 - 0x28]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rdi
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWARENico_Mak_ComputingFile_Association_HelperEXTS
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000463c
cmp qword [rbx + 0x18], 8
jb 0x14000461b
mov rdx, qword [rbx]
jmp 0x14000461e
mov rdx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, 3
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
cmp qword [rbx + 0x18], 8
jb 0x14000464b
mov rcx, qword [rbx]
call fcn.140005770
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140004db0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140005c0c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140005a74
Function at 0x1400156c4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9d, 0x20
mov edi, 0x404
lea r8, [rsp + 0x20]
lea edx, [r9 - 0x18]
mov ecx, edi
mov ebx, 0xc04
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140015720
lea rdx, [0x14002cc64]
lea rcx, [rsp + 0x20]
mov r8d, 3
call fcn.140013074
test eax, eax
je 0x140015720
mov bx, di
mov ax, bx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140004db0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x140015740
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x14003d75c]
test eax, eax
jne 0x140015845
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x11c
call fcn.140009000
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400157a3
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
xor eax, eax
lea r8d, [rax + 1]
mov dword [0x14003d75c], eax
sub ecx, r8d
je 0x140015825
cmp ecx, r8d
jne 0x140015845
cmp edx, 5
jne 0x140015813
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x14001580c
sub ecx, r8d
je 0x1400157f7
cmp ecx, r8d
je 0x1400157e1
lea eax, [rdx + 0xf]
jmp 0x14001583f
cmp word [rsp + 0x134], r8w
mov ecx, 0x10
cmovae eax, ecx
or eax, 4
jmp 0x14001583f
mov edx, 8
lea ecx, [rdx - 6]
cmp word [rsp + 0x134], cx
cmovae eax, edx
jmp 0x1400157f2
mov eax, 4
jmp 0x14001583f
cmp edx, 4
ja 0x14001585d
mov ecx, 2
mov eax, ecx
mov dword [0x14003d75c], ecx
cmp edx, 4
jne 0x140015845
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x14001583c
cmp ecx, 0xa
je 0x14001583c
cmp ecx, 0x5a
jne 0x140015845
mov eax, r8d
mov dword [0x14003d75c], eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140004db0
add rsp, 0x158
ret
mov eax, 0x20
jmp 0x14001583f

Function at 0x140015a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x14002cbf8]
mov rbx, rcx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
je 0x140015aae
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
add rsp, 0x20
pop rbx
ret
Function at 0x1400170a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400170d3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140017119
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140017114
nop
cmp rbx, rcx
jae 0x140017119
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x140017100
cmp rbx, rcx
jb 0x14001711d
xor eax, eax
jmp 0x140017129
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140017db0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x14003a138]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rbp, rdx
mov rbx, rcx
xor sil, sil
xor r15d, r15d
mov qword [r11 - 0x60], r15
mov dword [r11 - 0x58], r15d
mov qword [r11 - 0x50], r15
mov qword [r11 - 0x68], r15
lea rdx, [r11 - 0x68]
call fcn.140017780
nop
mov eax, dword [rbx + 0x18]
test eax, eax
je 0x140017e1f
mov edi, r15d
cmp eax, 2
setne dil
add rdi, 0xffffffff80000000
jmp 0x140017e26
mov rdi, 0xffffffff80000002
mov r9d, 0x20006
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400179f0
test eax, eax
jne 0x140017e5b
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017ea9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
jmp 0x140017ea9
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140017660
test eax, eax
sete dil
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140017ea4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
test dil, dil
je 0x140017eea
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, rbp
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx esi, sil
mov ecx, 1
test eax, eax
cmove esi, ecx
jmp 0x140017eef
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140017efd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140004db0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001020
Capabilities:
Encode data using xor
Set console window title

Disassembly:
sub rsp, 0x78
movups xmm0, xmmword [str.unfYQLN_IY]
xor ecx, ecx
cmp dword [0x140005008], 2
movups xmm1, xmmword [0x140003368]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x140003378]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
jl 0x1400011a4
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1400033a0]
movdqa xmm4, xmmword [0x1400033e0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [str.1111]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400033c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400033c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x140001090
movaps xmm6, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add rsp, 0x78
ret
lea r8, [rsp + 0x30]
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x30
jl 0x1400011b0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
add rsp, 0x78
ret
Function at 0x1400011f0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
lea rdx, [rsp + 0x30]
call fcn.1400013c0
mov r9, rax
cmp byte [rax + 0x53], 0
je 0x14000138c
xor ecx, ecx
cmp dword [0x140005008], 2
jl 0x140001355
movdqa xmm5, xmmword [0x1400033a0]
movdqa xmm4, xmmword [0x1400033e0]
movdqa xmm6, xmmword [str.1111]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, rax
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400033c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400033c0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x50
jl 0x140001253
cmp ecx, 0x54
jge 0x14000138c
movsxd r8, ecx
add r8, r9
nop dword [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x54
jl 0x140001360
mov rdx, r9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001420
mov rcx, rax
lea rdx, [0x1400015f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x1770
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140002028
Capabilities:
Parse pe header

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