joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d84a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push r15
sub rsp, 8
mov r14, rdx
mov r15, rcx
cmp r8, 5
jae 0x1400d84bf
xor eax, eax
add rsp, 8
pop r15
pop r14
ret
mov r9d, dword [rcx + 0x4e00]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbp
mov ebp, dword [rcx + 0x4e04]
mov qword [rsp + 0x30], rsi
mov rsi, qword [rcx + 0x4df8]
lea rbx, [r8 - 4]
mov qword [rsp + 0x38], rdi
xor r10d, r10d
mov qword [rsp], r12
lea r12, [0x140000000]
add rbx, rdx
nop dword [rax]
lea rax, [r10 + r14]
cmp rax, rbx
jae 0x1400d8523
nop dword [rax]
movzx ecx, byte [rax]
and cl, 0xfe
cmp cl, 0xe8
je 0x1400d8523
inc rax
cmp rax, rbx
jb 0x1400d8510
mov r10, rax
sub r10, r14
cmp rax, rbx
jae 0x1400d8647
mov rcx, r10
sub rcx, rsi
cmp rcx, 3
jbe 0x1400d8560
xor r9d, r9d
movzx edx, byte [rax + 4]
mov rsi, r10
lea ecx, [rdx - 1]
cmp cl, 0xfd
ja 0x1400d85a6
and r9d, 3
add r9d, r9d
or r9d, 1
inc r10
jmp 0x1400d8500
dec ecx
shl r9d, cl
and r9d, 7
je 0x1400d8541
movzx ecx, byte [r9 + r12 + 0x194ac8]
mov rdx, rax
sub rdx, rcx
cmp byte [r9 + r12 + 0x194ac0], 0
movzx ecx, byte [rdx + 4]
je 0x1400d8590
inc cl
test cl, 0xfe
jne 0x1400d8541
and r9d, 3
mov rsi, r10
add r9d, r9d
or r9d, 1
inc r10
jmp 0x1400d8500
movzx ecx, byte [rax + 3]
movzx r8d, dl
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rax + 2]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rax + 1]
shl r8d, 8
or r8d, ecx
sub r8d, r10d
sub r8d, ebp
test r9d, r9d
je 0x1400d8618
movzx r11d, byte [r9 + r12 + 0x194ac8]
shl r11d, 3
neg r11d
nop word [rax + rax]
lea ecx, [r11 + 0x18]
mov edx, r8d
shr edx, cl
inc dl
test dl, 0xfe
jne 0x1400d8618
lea ecx, [r11 + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor r8d, edx
sub r8d, r10d
sub r8d, ebp
jmp 0x1400d85f0
mov ecx, r8d
mov byte [rax + 1], r8b
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [rax + 4], cl
mov ecx, r8d
shr ecx, 0x10
mov byte [rax + 3], cl
mov ecx, r8d
shr ecx, 8
add r10, 5
mov byte [rax + 2], cl
jmp 0x1400d8500
add dword [r15 + 0x4e04], r10d
mov r12, qword [rsp]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov qword [r15 + 0x4df8], rsi
mov rsi, qword [rsp + 0x30]
mov dword [r15 + 0x4e00], r9d
mov rax, r10
add rsp, 8
pop r15
pop r14
ret
Function at 0x1400f4660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r14d, 4
mov r10, rcx
xor edi, edi
lea rbx, [rcx + 0x10290]
lea rsi, [rcx + 0x10694]
lea r15, [0x14019d8a0]
mov ebp, r14d
nop dword [rax + rax]
xor r11d, r11d
cmp dword [r10 + 0x10e90], r11d
jbe 0x1400f4704
nop dword [rax]
xor r9d, r9d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r10 + rcx*2 + 0x6efc]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r15]
add r9d, ecx
cmp eax, 1
jne 0x1400f46c0
mov dword [rbx + r11*4], r9d
inc r11d
cmp r11d, dword [r10 + 0x10e90]
jb 0x1400f46b0
mov edx, 0xe
cmp dword [r10 + 0x10e90], edx
jbe 0x1400f472f
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
inc edx
shr eax, 1
sub eax, 5
shl eax, 4
add dword [rcx], eax
cmp edx, dword [r10 + 0x10e90]
jb 0x1400f4712
mov eax, dword [rbx]
add rsi, 0x200
add rbx, 0x100
mov dword [rsi - 0x204], eax
mov eax, dword [rbx - 0xfc]
add rdi, 0x40
mov dword [rsi - 0x200], eax
mov eax, dword [rbx - 0xf8]
mov dword [rsi - 0x1fc], eax
mov eax, dword [rbx - 0xf4]
mov dword [rsi - 0x1f8], eax
dec rbp
jne 0x1400f46a0
lea rdi, [r10 + 0x108a0]
nop dword [rax]
cmp r14d, 4
ja 0x1400f478b
mov edx, r14d
jmp 0x1400f479d
bsr edx, r14d
mov eax, r14d
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
lea edx, [rax + rdx*2]
mov r9d, edx
mov eax, edx
mov ebx, r14d
and eax, 1
shr r9d, 1
mov r11d, edx
dec r9d
or eax, 2
mov ecx, r9d
shl eax, cl
sub ebx, eax
xor r8d, r8d
mov ebp, eax
lea esi, [r8 + 1]
mov eax, esi
mov edx, ebx
shr ebx, 1
sub rax, r11
and edx, 1
add rax, rbp
lea esi, [rdx + rsi*2]
movzx ecx, word [r10 + rax*2 + 0x70fa]
mov eax, edx
neg eax
shr rcx, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r15]
add r8d, eax
dec r9d
jne 0x1400f47c4
mov ecx, dword [r10 + r11*4 + 0x10290]
inc r14d
add rdi, 4
add ecx, r8d
mov dword [rdi - 0x204], ecx
mov ecx, dword [r10 + r11*4 + 0x10390]
add ecx, r8d
mov dword [rdi - 4], ecx
mov ecx, dword [r10 + r11*4 + 0x10490]
add ecx, r8d
mov dword [rdi + 0x1fc], ecx
mov ecx, dword [r10 + r11*4 + 0x10590]
add ecx, r8d
mov dword [rdi + 0x3fc], ecx
cmp r14d, 0x80
jb 0x1400f4780
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov dword [r10 + 0x10e94], r9d
pop r15
pop r14
ret
Function at 0x14015ec50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
mov r14, rdx
add rax, 0x18
add rcx, rax
call qword [0x14078bb48]
mov rdi, rax
test rax, rax
jne 0x14015ec92
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14015ecd5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add r14, qword [rdi + 0x10]
mov rcx, r14
call qword [rbx + 0x10]
mov ebp, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14015ed31
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
dec rbp
jne 0x14015ecf0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14015ed73
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401aa671]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401aa672]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14015ed40
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x403748
Capabilities:
Accept command line arguments
Create process on windows
Persist via active setup registry key
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x590
mov rax, qword [0x004115d0]
xor rax, rsp
mov qword [rsp + 0x580], rax
lea rcx, [rsp + 0x162]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x160], si
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xa0]
lea rdx, str.SoftwareMicrosoftActive_SetupInstalled_Components_26923b43_4d38_484f_9b9e_de460746276c
mov r8d, 0xba
call sub.msvcrt.dll_memcpy
lea rax, [rsp + 0x60]
lea r9d, [rsi + 1]
lea rdx, [rsp + 0xa0]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov edi, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4039a8
mov r8d, 0x208
lea rcx, [rsp + 0x160]
xor edx, edx
mov dword [rsp + 0x54], r8d
mov dword [rsp + 0x50], esi
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x60]
lea r11, [rsp + 0x54]
lea rax, [rsp + 0x160]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x50]
lea rdx, str.StubPath
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x403887
cmp dword [rsp + 0x50], 1
je 0x403836
cmp dword [rsp + 0x50], 2
jne 0x403887
mov eax, dword [rsp + 0x54]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x160]
shr rax, 1
mov dword [rsp + 0x58], esi
mov word [rsp + rax*2 + 0x15e], si
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
cmp rax, rsi
je 0x403887
mov r8, qword [rax]
lea rcx, [rsp + 0x160]
mov edx, 0x104
call fcn.00402838
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x4039a8
mov rax, qword [str._ShowQLIcon]
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x370]
mov qword [rcx], rax
mov rax, qword [0x0040a060]
mov r8d, 0x104
mov qword [rcx + 8], rax
mov rax, qword [0x0040a068]
mov qword [rcx + 0x10], rax
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, esi
je 0x4039a8
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x370]
lea r8, str.__s___s
lea rcx, [rsp + 0x160]
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.004031fc
cmp eax, esi
jl 0x4039a8
mov ebx, 0x68
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8, rbx
call sub.msvcrt.dll_memset
xor eax, eax
lea rdx, [rsp + 0x160]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0xa0], ebx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
je 0x4039a8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.00403050
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x403bc4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x6f0
mov rax, qword [0x004115d0]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov rbp, rcx
call sub.iertutil.dll_Ordinal_42
test eax, eax
je 0x403d8c
call sub.iertutil.dll_Ordinal_44
test eax, eax
jne 0x403d8c
mov edi, 0x104
lea rcx, [rsp + 0xd0]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x403d8c
lea r8, str.AppPatch_sysmain.sdb
lea rcx, [rsp + 0xd0]
mov rdx, rdi
call fcn.00403130
test eax, eax
js 0x403d8c
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
xor r9d, r9d
lea r8d, [r9 + 1]
lea rcx, [rsp + 0xd0]
mov edx, 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x403d8c
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x403d83
mov eax, 0x1c81080
cmp dword [rsp + 0x44], eax
jb 0x403cb3
cmp dword [rsp + 0x4c], eax
jae 0x403d83
mov rax, qword [0x00411ae8]
test rax, rax
jne 0x403cc4
call fcn.0040326c
lea r8, [rsp + 0x2e0]
mov r9d, 0x200
mov edx, 0x2c3
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x403d83
mov rax, qword [0x00411ae8]
test rax, rax
jne 0x403cf9
call fcn.0040326c
lea r8, [rsp + 0x50]
mov r9d, 0x40
mov edx, 0x2d3
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x403d83
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x2e0]
mov r9d, 0x31
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x403d83
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, str._extoff_go.microsoft.com_fwlink__LinkId106323
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rdx, [rcx + rcx]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
je 0x403d83
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, str._extoff_go.microsoft.com_fwlink__LinkId106323
lea rdx, [rsi + 1]
mov rcx, rdi
mov qword [rbp], rdi
call fcn.00402838
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.00403050
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x404af4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x58
lea rax, [r11 - 0x18]
lea r8, str.TerminateOnShutdown
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Optionsiexplore.exe
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x30], r9
and qword [r11 - 0x38], 0
mov r9d, 0x10
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 4
call sub.SHLWAPI.dll_SHRegGetValueW
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
add rsp, 0x58
ret

Function at 0x404b54
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
sub rsp, 0x38
lea rax, [r11 + 0x20]
mov r9d, 4
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call sub.SHLWAPI.dll_SHSetValueW
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
add rsp, 0x38
ret

Function at 0x405180
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r11d, dword [r8]
mov rbx, rdx
mov r9, rcx
and r11d, 0xfffffff8
test byte [r8], 4
mov r10, rcx
je 0x4051af
mov eax, dword [r8 + 8]
movsxd r10, dword [r8 + 4]
neg eax
add r10, rcx
movsxd rcx, eax
and r10, rcx
movsxd rax, r11d
mov rdx, qword [rax + r10]
mov rax, qword [rbx + 0x10]
mov ecx, dword [rax + 8]
add rcx, qword [rbx + 8]
test byte [rcx + 3], 0xf
je 0x4051d3
movzx eax, byte [rcx + 3]
and eax, 0xfffffff0
cdqe
add r9, rax
xor r9, rdx
mov rcx, r9
add rsp, 0x20
pop rbx
jmp fcn.00403050

Function at 0x40556c
Capabilities:
Set registry value

Disassembly:
mov r9d, ecx
lea r8, str.StartPageCache
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMain
mov rcx, 0xffffffff80000001
jmp fcn.00404b54

Function at 0x405740
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
and dword [rsp + 0x40], 0
lea rax, [r11 + 0x10]
lea r9, [r11 + 0x18]
mov qword [r11 - 0x10], rax
lea rax, [r11 + 8]
lea r8, str.StartPageCache
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMain
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x48], 4
mov qword [r11 - 0x18], rax
call sub.SHLWAPI.dll_SHGetValueW
test eax, eax
jne 0x4057a8
cmp dword [rsp + 0x50], 4
jne 0x4057a0
mov eax, dword [rsp + 0x40]
cmp eax, 1
je 0x4057ac
cmp eax, 2
je 0x4057ac
cmp eax, 0xa
je 0x4057ac
xor eax, eax
mov dword [rsp + 0x40], eax
jmp 0x4057ac
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x4057ea
call fcn.004056a8
mov dword [rsp + 0x40], eax
test eax, eax
je 0x4057ea
call sub.iertutil.dll_Ordinal_32
cmp eax, 1
jne 0x4057e6
mov r9d, dword [rsp + 0x40]
lea r8, str.StartPageCache
lea rdx, str.SoftwareMicrosoftInternet_ExplorerMain
mov rcx, 0xffffffff80000001
call fcn.00404b54
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x405c0c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x004115d0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov ecx, 4
call qword [sym.imp.iertutil.dll_Ordinal_74]
mov rbx, rax
test rax, rax
je 0x405d51
lea rax, [rsp + 0x48]
mov edi, 0x20019
lea rdx, str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov r9d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x405ca0
lea rax, [rsp + 0x48]
lea rdx, str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
mov r9d, edi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405d51
xor edi, edi
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov edx, edi
mov dword [rsp + 0x40], 0x27
call sub.SHLWAPI.dll_SHEnumValueW
mov esi, eax
test eax, eax
jne 0x405d3c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_SHCLSIDFromString]
test eax, eax
js 0x405d3c
lea rax, [rsp + 0x50]
lea r8d, [rsi + 1]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [0x00409de8]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rax
call sub.urlmon.dll_Ordinal_104
test eax, eax
js 0x405d3c
mov r8, qword [rsp + 0x50]
mov edx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.iertutil.dll_Ordinal_85]
cmp eax, 0xffffffff
jne 0x405d3c
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
inc edi
test esi, esi
je 0x405ca2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [0x00411920]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x00411ad8], 0
jne 0x405d71
mov qword [0x00411ad8], rbx
xor ebx, ebx
lea rcx, [0x00411920]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x405d96
lea rdx, [0x00405990]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.iertutil.dll_Ordinal_79]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.00403050
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x4062bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x004115d0]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rax, [rsp + 0x34]
movsxd rdi, edx
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor esi, esi
mov word [rcx], si
lea r9, [rsp + 0x30]
lea r8, str.AcceptLanguage
lea rdx, str.SoftwareMicrosoftInternet_ExplorerInternational
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 0x208
call sub.SHLWAPI.dll_SHGetValueW
cmp eax, esi
jne 0x40637d
cmp dword [rsp + 0x30], 1
jne 0x40637d
lea rax, [rsp + 0x40]
cmp word [rsp + 0x40], si
je 0x406357
cmp word [rax], 0x2c
je 0x406357
cmp word [rax], 0x3b
je 0x406357
mov rcx, rax
call qword [sym.imp.USER32.dll_CharNextW]
cmp word [rax], si
jne 0x40633d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
mov word [rax], si
call sub.MLANG.dll_Ordinal_123
cmp eax, esi
jl 0x40637d
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, rbx
call fcn.00402838
cmp si, word [rbx]
jne 0x406395
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov r8d, edi
mov rdx, rbx
mov ecx, eax
call sub.MLANG.dll_Ordinal_121
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.00403050
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x4068fc
Capabilities:
Query environment variable

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 r12
sub rsp, 0x20
xor r12d, r12d
mov edi, r9d
mov rsi, r8
mov rbp, rdx
cmp rcx, r12
je 0x40692b
mov ebx, r12d
jmp 0x406957
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
cmp eax, edi
jbe 0x406952
cmp edi, r12d
je 0x40694d
lea eax, [rdi - 1]
mov word [rsi + rax*2], r12w
mov ebx, r12d
jmp 0x406965
cmp eax, r12d
jne 0x406965
mov rdx, rdi
mov r8, rbp
mov rcx, rsi
call fcn.00402838
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r12
ret
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp 0x4068fc

Function at 0x406ae8
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r11d, eax
xor eax, eax
cmp r11d, eax
jbe 0x406b0a
cmp r11d, ebx
jb 0x406b0f
mov eax, 0x7a
add rsp, 0x20
pop rbx
ret
Function at 0x180011406
Capabilities:
Terminate process

Disassembly:
jmp 0x18001f8a0
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]
nop
add rsp, 0x28
ret
Function at 0x180011799
Capabilities:
Enumerate processes

Disassembly:
jmp 0x180018b30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x18002c040]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x180032083]
call fcn.180011721
nop
mov dword [rbp + 0x174], 0
xor edx, edx
mov ecx, 2
call fcn.18001137f
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x180018b9f
xor eax, eax
jmp 0x180018c14
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1800115ff
test eax, eax
jne 0x180018bd3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, str.____Failed_to_gather_information_on_system_processes___n
call fcn.180011375
nop
xor eax, eax
jmp 0x180018c14
lea rdx, [rbp + 0x5c]
mov rcx, qword [rbp + 0x270]
call fcn.180011816
test eax, eax
jne 0x180018bf2
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x174], eax
jmp 0x180018c03
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.18001173f
test eax, eax
jne 0x180018bd3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x174]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x180026eb0]
call fcn.18001160e
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.180011393
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret