joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016366
Capabilities:
Print debug messages

Disassembly:
jmp 0x140035490
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14007db67]
call fcn.140016b68
mov qword [rbp + 0x48], 0x104
cmp qword [rbp + 0x140], 0
je 0x1400354df
mov rcx, qword [rbp + 0x140]
call fcn.1400162a3
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
cmp qword [0x140073c18], 0
jne 0x1400354f8
call fcn.140016640
mov rax, qword [rax + 0x30]
mov qword [rbp + 8], rax
jmp 0x140035507
mov rax, qword [0x140073c18]
mov rax, qword [rax + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x48]
shl rax, 1
mov r8, rax
mov edx, 8
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400355a6
lea rdx, str._UCM_
mov rcx, qword [rbp + 0x28]
call fcn.1400161f9
cmp qword [rbp + 0x140], 0
je 0x140035555
mov rdx, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
lea rdx, str._code__0x
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
mov rcx, qword [rbp + 0x28]
call fcn.140016bef
mov rdx, rax
mov ecx, dword [rbp + 0x148]
call fcn.1400169ce
lea rdx, [0x1400624dc]
mov rcx, qword [rbp + 0x28]
call fcn.140016af0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x1400163b1
Capabilities:
Bypass uac via icmluautil

Disassembly:
jmp 0x140023330
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14007ccd0]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x68], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x44], eax
lea r9, [rbp + 0x68]
mov r8d, 4
lea rdx, [0x140044120]
lea rcx, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
call fcn.140016965
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x1400233c0
jmp 0x14002340a
cmp qword [rbp + 0x68], 0
jne 0x1400233c9
jmp 0x14002340a
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov dword [rsp + 0x28], 5
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x160]
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x48]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jl 0x140023404
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140023398
cmp qword [rbp + 0x68], 0
je 0x14002341f
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jne 0x14002342b
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14004ae90]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14001648d
Capabilities:
Bypass uac via rpc

Disassembly:
jmp 0x14001d0b0
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x308
lea rbp, [rsp + 0x70]
lea rdi, [rsp + 0x70]
mov ecx, 0x76
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x328]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x14007c505]
call fcn.140016b68
mov byte [rbp + 4], 0
mov qword [rbp + 0x178], 0
mov dword [rbp + 0x194], 0
cmp qword [rbp + 0x2f8], 0
je 0x14001d164
mov rax, qword [rbp + 0x2f8]
mov qword [rax], 0
mov rax, qword [rbp + 0x2f8]
mov qword [rax + 8], 0
mov rax, qword [rbp + 0x2f8]
mov dword [rax + 0x10], 0
mov rax, qword [rbp + 0x2f8]
mov dword [rax + 0x14], 0
mov edx, 0x18
lea rcx, [rbp + 0xd8]
call fcn.140016825
mov edx, 0x38
lea rcx, [rbp + 0x108]
call fcn.140016825
mov dword [rbp + 0x12c], 1
movzx eax, word [rbp + 0x2f0]
mov word [rbp + 0x130], ax
mov edx, 0x70
lea rcx, [rbp + 0x50]
call fcn.140016825
lea rdx, [rbp + 0x28]
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call fcn.140016406
test eax, eax
jne 0x14001d320
lea rcx, [rbp + 0x50]
call fcn.140016451
test eax, eax
jne 0x14001d320
lea rax, [rbp + 0x194]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x58], rax
mov eax, dword [rbp + 0x2e8]
mov dword [rsp + 0x50], eax
mov rax, qword [rbp + 0x2e0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x108]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x2d8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x2d0]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x2c8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x2c0]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x2b8]
mov r8, qword [rbp + 0x2b0]
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x50]
call fcn.1400167cb
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14001d278
mov ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x50]
call qword [sym.imp.RPCRT4.dll_RpcAsyncCompleteCall]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
jne 0x14001d2f3
cmp qword [rbp + 0x178], 0
jne 0x14001d2f3
cmp qword [rbp + 0x2f8], 0
je 0x14001d2ef
mov rax, qword [rbp + 0x2f8]
mov rcx, qword [rbp + 0xd8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x2f8]
mov rcx, qword [rbp + 0xe0]
mov qword [rax + 8], rcx
mov rax, qword [rbp + 0x2f8]
mov ecx, dword [rbp + 0xe8]
mov dword [rax + 0x10], ecx
mov rax, qword [rbp + 0x2f8]
mov ecx, dword [rbp + 0xec]
mov dword [rax + 0x14], ecx
mov byte [rbp + 4], 1
lea rcx, [rbp + 0x50]
call fcn.140016a19
jmp 0x14001d316
lea rcx, [rbp + 0x28]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
movzx eax, byte [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x70]
lea rdx, reloc.OLEAUT32.dll_VariantClear
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x288]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x298]
pop rdi
pop rbp
ret
Function at 0x1400164a6
Capabilities:
Delete registry key
Delete registry value

Disassembly:
jmp 0x140039c40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x288]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000001
mov eax, 0x22
mov word [rbp + 0xf8], ax
mov eax, 0x24
mov word [rbp + 0xfa], ax
lea rax, str.SymbolicLinkValue
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x168], 0
mov rcx, qword [rbp + 0x260]
call fcn.1400162a3
mov eax, eax
shl rax, 1
mov dword [rbp + 0x24], eax
mov dword [rbp + 0xa8], 0x30
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xc0], 0x40
lea rax, [rbp + 0x78]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlFormatCurrentUserKeyPath]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140039d3b
mov eax, dword [rbp + 4]
jmp 0x140039e93
movzx eax, word [rbp + 0x4a]
mov ecx, dword [rbp + 0x24]
lea rax, [rax + rcx + 2]
mov qword [rbp + 0x148], rax
mov rcx, qword [rbp + 0x148]
call fcn.140016695
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
jne 0x140039d70
jmp 0x140039e70
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x80], rax
xor eax, eax
mov word [rbp + 0x78], ax
movzx eax, word [rbp + 0x148]
mov word [rbp + 0x7a], ax
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x78]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeStringToString]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140039dab
jmp 0x140039e70
mov rdx, qword [rbp + 0x260]
lea rcx, [rbp + 0x78]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140039dca
jmp 0x140039e70
mov dword [rbp + 0xa8], 0x30
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xc0], 0x140
lea rax, [rbp + 0x78]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd0], 0
lea r8, [rbp + 0xa8]
mov edx, 0xf003f
lea rcx, [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140039e66
lea rdx, [rbp + 0xf8]
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140039e59
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
test eax, eax
jne 0x140039d3b
cmp qword [rbp + 0x128], 0
je 0x140039e86
mov rcx, qword [rbp + 0x128]
call fcn.140016c1c
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140061030]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret
Function at 0x1400164d8
Capabilities:
Set registry value

Disassembly:
jmp 0x140035ce0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x228
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x248]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x108], 0
lea r8, [rbp + 0xe8]
lea rdx, [0x140069310]
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.SHELL32.dll_SHAssocEnumHandlersForProtocolByApplication]
test eax, eax
jge 0x140035d67
jmp 0x140035f46
mov dword [rbp + 0x24], 0
mov qword [rbp + 0xc8], 0
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax]
lea r9, [rbp + 0x24]
lea r8, [rbp + 0xc8]
mov edx, 1
mov rcx, qword [rbp + 0xe8]
call qword [rax + 0x18]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140035f28
cmp dword [rbp + 0x24], 0
je 0x140035f28
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
lea r8, [rbp + 0x108]
lea rdx, [0x140068de8]
mov rcx, qword [rbp + 0xc8]
call qword [rax]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140035f14
mov qword [rbp + 0x88], 0
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x108]
call qword [rax + 0x20]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140035f00
cmp qword [rbp + 0x88], 0
je 0x140035f00
mov rcx, qword [rbp + 0x210]
call fcn.1400162a3
mov qword [rbp + 0x1d8], rax
mov rcx, qword [rbp + 0x88]
call fcn.1400162a3
mov rcx, qword [rbp + 0x1d8]
lea rax, [rcx + rax + 4]
shl rax, 1
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x68]
call fcn.140016695
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
je 0x140035ef3
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa8]
call fcn.1400161f9
lea rdx, [0x140062624]
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
mov rdx, qword [rbp + 0x210]
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x44], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rbp + 0xa8]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApplicationAssociationToasts
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov rcx, qword [rbp + 0xa8]
call fcn.140016c1c
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x108]
call qword [rax + InitCommonControls]
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xc8]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x24], 0
jne 0x140035d67
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xe8]
call qword [rax + InitCommonControls]
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_SysStringLen
call fcn.1400169a6
mov rcx, qword [rbp + 0x1e0]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret
Function at 0x1400164f1
Capabilities:
Get explorer pid

Disassembly:
jmp 0x140038130
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x168]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14007db67]
call fcn.140016b68
call qword [sym.imp.USER32.dll_GetShellWindow]
mov qword [rbp + 8], rax
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x140]
mov dword [rbp + 0x44], eax
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rbp + 0x24], 0
je 0x1400381cc
mov eax, dword [rbp + 0x44]
and eax, 0x80
test eax, eax
jne 0x1400381bb
mov eax, dword [rbp + 0x44]
bts eax, 7
mov dword [rbp + 0x44], eax
mov r8d, dword [rbp + 0x24]
xor edx, edx
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x1400381ce
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400616c0]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001652d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
jmp 0x14003cb90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xb6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x448], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14003cc05
mov eax, 1
jmp 0x14003cda3
lea rax, [rbp + 0x298]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14003cc50
cmp dword [rbp + 0x24], 2
jne 0x14003cc49
mov eax, 1
jmp 0x14003cda3
xor eax, eax
jmp 0x14003cda3
mov rcx, qword [rbp + 0x478]
call fcn.140016bef
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax - 2]
cmp eax, 0x5c
je 0x14003cc8e
mov eax, 0x5c
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov rax, qword [rbp + 8]
add rax, 2
mov qword [rbp + 8], rax
xor eax, eax
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov dword [rbp + 0x44], 0x104
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14003cd5b
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0x104
mov rcx, qword [rbp + 8]
call fcn.1400165af
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call fcn.14001652d
test eax, eax
jne 0x14003cd0d
jmp 0x14003cd5b
mov dword [rbp + 0x44], 0x104
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14003ccdc
mov rax, qword [rbp + 8]
sub rax, 2
mov qword [rbp + 8], rax
xor eax, eax
mov rcx, qword [rbp + 8]
mov word [rcx], ax
mov rcx, qword [rbp + 0x298]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14003cda1
mov eax, 1
jmp 0x14003cda3
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140062440]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x448]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x458]
pop rdi
pop rbp
ret
Function at 0x140016596
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140037730
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 0x74], 0
cmp qword [rbp + 0x180], 0
je 0x1400377a6
mov rax, qword [rbp + 0x180]
mov dword [rax], 0
cmp qword [rbp + 0x178], 0
jne 0x1400377ba
mov eax, 0xc00000f0
jmp 0x140037855
mov eax, 8
imul rax, rax, 0
mov qword [rbp + rax + 0x28], 0xa
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x170]
mov qword [rbp + rax + 0x28], rcx
mov eax, 8
imul rax, rax, 2
mov qword [rbp + rax + 0x28], 0
lea r9, [rbp + 0x58]
mov r8d, 3
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140037852
lea r9, [rbp + 0x74]
mov r8, qword [rbp + 0x188]
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x178]
call qword [sym.imp.ntdll.dll_LdrAccessResource]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x140037852
cmp qword [rbp + 0x180], 0
je 0x140037852
mov rax, qword [rbp + 0x180]
mov ecx, dword [rbp + 0x74]
mov dword [rax], ecx
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005ea90]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret
Function at 0x1400165aa
Capabilities:
Delete file

Disassembly:
jmp 0x140032620
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x758
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x778]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x14007d7e1]
call fcn.140016b68
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0xc0000022
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 0x44], eax
mov r9d, 1
lea r8, str.Wow64LogMessageArgList
mov edx, dword [rbp + 0x758]
mov rcx, qword [rbp + 0x750]
call fcn.1400166bd
test eax, eax
jne 0x1400326d1
jmp 0x1400327b8
mov edx, 0x410
lea rcx, [rbp + 0xd0]
call fcn.140016825
mov rax, qword [0x140073c18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
lea rdx, str.hui32
lea rcx, [rbp + 0xd0]
call fcn.140016af0
lea rdx, str..exe
lea rcx, [rbp + 0xd0]
call fcn.140016af0
mov r8d, dword [rbp + 0x758]
mov rdx, qword [rbp + 0x750]
lea rcx, [rbp + 0xd0]
call fcn.14001612c
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jne 0x140032749
jmp 0x1400327b8
lea rcx, [rbp + 0xd0]
call fcn.1400162a3
shl rax, 1
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140016528
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14003277a
jmp 0x1400327b8
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x68]
call fcn.140016410
test eax, eax
jne 0x140032790
jmp 0x1400327b8
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x88]
call fcn.1400162b2
test eax, eax
je 0x1400327ae
mov dword [rbp + 0x24], 0
xor eax, eax
test eax, eax
jne 0x1400326a9
cmp qword [rbp + 0xa8], 0
je 0x1400327cf
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp qword [rbp + 0x68], 0
je 0x1400327e4
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
cmp qword [rbp + 0x88], 0
je 0x140032802
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
cmp dword [rbp + 0x44], 0
jl 0x14003280e
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rbp + 4], 0
je 0x140032821
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005d3c0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x728]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x738]
pop rdi
pop rbp
ret
Function at 0x1400165dc
Capabilities:
Delete file

Disassembly:
jmp 0x1400313a0
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x126
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x718]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14007d6df]
call fcn.140016b68
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x6f8], 0
je 0x140031424
cmp dword [rbp + 0x700], 0
je 0x140031424
cmp qword [rbp + 0x6f0], 0
jne 0x14003142c
mov eax, dword [rbp + 4]
jmp 0x1400314fd
mov r8d, dword [rbp + 0x700]
mov rdx, qword [rbp + 0x6f8]
mov rcx, qword [rbp + 0x6f0]
call fcn.14001612c
test eax, eax
jne 0x14003144f
jmp 0x1400314ed
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016825
mov rax, qword [0x140073c18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400161f9
lea rdx, str.update.msu
lea rcx, [rbp + 0x70]
call fcn.140016af0
lea rcx, [rbp + 0x70]
call fcn.14001678f
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14003149c
jmp 0x1400314ed
cmp qword [rbp + 0x708], 0
jne 0x1400314b8
mov rcx, qword [rbp + 0x6f0]
call fcn.140016bd6
mov qword [rbp + 0x48], rax
jmp 0x1400314c3
mov rax, qword [rbp + 0x708]
mov qword [rbp + 0x48], rax
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x6f0]
mov rcx, qword [rbp + 0x28]
call fcn.140016c21
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x28]
call fcn.1400169ab
xor eax, eax
test eax, eax
jne 0x14003142c
mov rcx, qword [rbp + 0x6f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140059270]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x6c8]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x6d8]
pop rdi
pop rbp
ret
Function at 0x1400166bd
Capabilities:
Access pe header

Disassembly:
jmp 0x140039f70
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
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 rcx, qword [rsp + 0x1a8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 4], 0
mov rcx, qword [rbp + 0x180]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14003a098
mov dword [rbp + 0x44], 0
lea rdx, [rbp + 0x44]
mov rcx, qword [rbp + 0x180]
call fcn.140016a3c
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x14003a098
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x68]
call fcn.1400160a5
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x14003a086
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x88]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 0x28], eax
cmp dword [rbp + 0x198], 0
je 0x14003a066
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x16]
btr eax, 0xd
mov rcx, qword [rbp + 0x28]
mov word [rcx + 0x16], ax
mov edx, dword [rbp + 0x188]
mov rcx, qword [rbp + 0x180]
call fcn.140016668
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 0x58], eax
mov dword [rbp + 4], 1
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005fa20]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret