joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001648d
Capabilities:
Bypass uac via rpc

Disassembly:
jmp 0x14001d110
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x288], rax
lea rcx, [0x14007d505]
call fcn.140016b68
nop
mov byte [rbp + 4], 0
mov qword [rbp + 0x178], 0
mov dword [rbp + 0x194], 0
cmp qword [rbp + 0x2f8], 0
je 0x14001d1c5
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
nop
mov edx, 0x38
lea rcx, [rbp + 0x108]
call fcn.140016825
nop
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
nop
lea rdx, [rbp + 0x28]
lea rcx, str.201ef99a_7fa0_444c_9399_19ba84f12a1a
call fcn.140016406
test eax, eax
jne 0x14001d389
lea rcx, [rbp + 0x50]
call fcn.140016451
test eax, eax
jne 0x14001d389
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
nop
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x14001d2de
mov ecx, 0xffffffff
call qword [sym.imp.RPCRT4.dll_RpcRaiseException]
nop
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 0x14001d359
cmp qword [rbp + 0x178], 0
jne 0x14001d359
cmp qword [rbp + 0x2f8], 0
je 0x14001d355
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
nop
jmp 0x14001d37e
lea rcx, [rbp + 0x28]
call qword [sym.imp.RPCRT4.dll_RpcBindingFree]
nop
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 0x14003a600
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
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 0x14003a6fc
mov eax, dword [rbp + 4]
jmp 0x14003a857
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 0x14003a731
jmp 0x14003a832
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 0x14003a76c
jmp 0x14003a832
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 0x14003a78b
jmp 0x14003a832
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 0x14003a828
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 0x14003a81a
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]
nop
xor eax, eax
test eax, eax
jne 0x14003a6fc
cmp qword [rbp + 0x128], 0
je 0x14003a849
mov rcx, qword [rbp + 0x128]
call fcn.140016c21
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400621d0]
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 0x140036620
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x1e0], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0x108], 0
lea r8, [rbp + 0xe8]
lea rdx, [0x14006a4e0]
mov rcx, qword [rbp + 0x210]
call qword [sym.imp.SHELL32.dll_SHAssocEnumHandlersForProtocolByApplication]
test eax, eax
jge 0x1400366a8
jmp 0x140036890
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 0x140036871
cmp dword [rbp + 0x24], 0
je 0x140036871
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
lea r8, [rbp + 0x108]
lea rdx, [0x140069fb8]
mov rcx, qword [rbp + 0xc8]
call qword [rax]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jl 0x14003685c
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 0x140036847
cmp qword [rbp + 0x88], 0
je 0x140036847
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 0x140036839
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa8]
call fcn.1400161f9
nop
lea rdx, [0x1400637c4]
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
nop
mov rdx, qword [rbp + 0x210]
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
nop
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]
nop
mov rcx, qword [rbp + 0xa8]
call fcn.140016c21
nop
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x108]
call qword [rax + InitCommonControls]
nop
mov rax, qword [rbp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xc8]
call qword [rax + InitCommonControls]
nop
cmp dword [rbp + 0x24], 0
jne 0x1400366a8
mov rax, qword [rbp + 0xe8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0xe8]
call qword [rax + InitCommonControls]
nop
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 0x140038a90
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
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]
nop
cmp dword [rbp + 0x24], 0
je 0x140038b2e
mov eax, dword [rbp + 0x44]
and eax, 0x80
test eax, eax
jne 0x140038b1d
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 0x140038b30
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140062860]
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 0x14003d5a0
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x448], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
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 0x14003d616
mov eax, 1
jmp 0x14003d7ba
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 0x14003d661
cmp dword [rbp + 0x24], 2
jne 0x14003d65a
mov eax, 1
jmp 0x14003d7ba
xor eax, eax
jmp 0x14003d7ba
mov rcx, qword [rbp + 0x478]
call fcn.140016bf4
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax - 2]
cmp eax, 0x5c
je 0x14003d69f
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 0x14003d771
mov r9d, 0x104
lea r8, [rbp + 0x70]
mov edx, 0x104
mov rcx, qword [rbp + 8]
call fcn.1400165af
nop
mov rdx, qword [rbp + 0x478]
mov rcx, qword [rbp + 0x470]
call fcn.14001652d
test eax, eax
jne 0x14003d723
jmp 0x14003d771
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 0x14003d6f1
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]
nop
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 0x14003d7b8
mov eax, 1
jmp 0x14003d7ba
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400635e0]
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 0x140038080
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov dword [rbp + 0x74], 0
cmp qword [rbp + 0x180], 0
je 0x1400380f7
mov rax, qword [rbp + 0x180]
mov dword [rax], 0
cmp qword [rbp + 0x178], 0
jne 0x14003810b
mov eax, 0xc00000f0
jmp 0x1400381a6
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 0x1400381a3
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 0x1400381a3
cmp qword [rbp + 0x180], 0
je 0x1400381a3
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, [0x14005fc30]
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 0x140032eb0
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x728], rax
lea rcx, [0x14007e7e1]
call fcn.140016b68
nop
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 0x140032f62
jmp 0x14003304d
mov edx, 0x410
lea rcx, [rbp + 0xd0]
call fcn.140016825
nop
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400161f9
nop
lea rdx, str.hui32
lea rcx, [rbp + 0xd0]
call fcn.140016af0
nop
lea rdx, str..exe
lea rcx, [rbp + 0xd0]
call fcn.140016af0
nop
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 0x140032fde
jmp 0x14003304d
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 0x14003300f
jmp 0x14003304d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x68]
call fcn.140016410
test eax, eax
jne 0x140033025
jmp 0x14003304d
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x88]
call fcn.1400162b2
test eax, eax
je 0x140033043
mov dword [rbp + 0x24], 0
xor eax, eax
test eax, eax
jne 0x140032f3a
cmp qword [rbp + 0xa8], 0
je 0x140033065
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
cmp qword [rbp + 0x68], 0
je 0x14003307b
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + InitCommonControls]
nop
cmp qword [rbp + 0x88], 0
je 0x14003309a
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + InitCommonControls]
nop
cmp dword [rbp + 0x44], 0
jl 0x1400330a7
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
cmp dword [rbp + 4], 0
je 0x1400330bb
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005e560]
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 0x140031bd0
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x6c8], rax
lea rcx, [0x14007e6df]
call fcn.140016b68
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
cmp qword [rbp + 0x6f8], 0
je 0x140031c55
cmp dword [rbp + 0x700], 0
je 0x140031c55
cmp qword [rbp + 0x6f0], 0
jne 0x140031c5d
mov eax, dword [rbp + 4]
jmp 0x140031d33
mov r8d, dword [rbp + 0x700]
mov rdx, qword [rbp + 0x6f8]
mov rcx, qword [rbp + 0x6f0]
call fcn.14001612c
test eax, eax
jne 0x140031c80
jmp 0x140031d22
mov edx, 0x410
lea rcx, [rbp + 0x70]
call fcn.140016825
nop
mov rax, qword [0x140074d18]
add rax, 0x47c
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400161f9
nop
lea rdx, str.update.msu
lea rcx, [rbp + 0x70]
call fcn.140016af0
nop
lea rcx, [rbp + 0x70]
call fcn.14001678f
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140031cd0
jmp 0x140031d22
cmp qword [rbp + 0x708], 0
jne 0x140031cec
mov rcx, qword [rbp + 0x6f0]
call fcn.140016bdb
mov qword [rbp + 0x48], rax
jmp 0x140031cf7
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.140016c26
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x28]
call fcn.1400169ab
nop
xor eax, eax
test eax, eax
jne 0x140031c5d
mov rcx, qword [rbp + 0x6f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14005a410]
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 0x140016668
Capabilities:
Access pe header

Disassembly:
jmp 0x140034970
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
mov eax, dword [rbp + 0x168]
inc eax
shr eax, 1
mov r8d, eax
mov rdx, qword [rbp + 0x160]
xor ecx, ecx
call fcn.1400160b9
mov word [rbp + 0x44], ax
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x140034a91
mov rax, qword [rbp + 0x28]
add rax, 0x58
mov qword [rbp + 8], rax
movzx eax, word [rbp + 0x44]
mov ecx, 2
imul rcx, rcx, 0
mov rdx, qword [rbp + 8]
movzx ecx, word [rdx + rcx]
cmp eax, ecx
jge 0x140034a00
mov dword [rbp + 0x134], 1
jmp 0x140034a0a
mov dword [rbp + 0x134], 0
movzx eax, word [rbp + 0x44]
sub eax, dword [rbp + 0x134]
mov word [rbp + 0x44], ax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rbp + 8]
movzx eax, word [rcx + rax]
movzx ecx, word [rbp + 0x44]
sub ecx, eax
mov eax, ecx
mov word [rbp + 0x44], ax
movzx eax, word [rbp + 0x44]
mov ecx, 2
imul rcx, rcx, 1
mov rdx, qword [rbp + 8]
movzx ecx, word [rdx + rcx]
cmp eax, ecx
jge 0x140034a5a
mov dword [rbp + 0x134], 1
jmp 0x140034a64
mov dword [rbp + 0x134], 0
movzx eax, word [rbp + 0x44]
sub eax, dword [rbp + 0x134]
mov word [rbp + 0x44], ax
mov eax, 2
imul rax, rax, 1
mov rcx, qword [rbp + 8]
movzx eax, word [rcx + rax]
movzx ecx, word [rbp + 0x44]
sub ecx, eax
mov eax, ecx
mov word [rbp + 0x44], ax
jmp 0x140034a97
xor eax, eax
mov word [rbp + 0x44], ax
movzx eax, word [rbp + 0x44]
add eax, dword [rbp + 0x168]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14001669f
Capabilities:
Terminate process

Disassembly:
jmp 0x14003e810
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 0x1400166bd
Capabilities:
Access pe header

Disassembly:
jmp 0x14003a930
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 [0x140074400]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x14007eb67]
call fcn.140016b68
nop
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 0x14003aa5a
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 0x14003aa5a
mov rdx, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x68]
call fcn.1400160a5
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
je 0x14003aa47
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 0x14003aa27
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]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140060bc0]
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