joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800034e5
Capabilities:
Enumerate services

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x30], xmm6
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov r15, rcx
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x180003681
mov rsi, rax
xor edi, edi
lea r14, [rbp - 0xc]
mov dword [r14], edi
lea r12, [rbp + 0x24]
mov dword [r12], edi
mov rcx, r15
call fcn.180002022
xorps xmm6, xmm6
movups xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov rcx, rsi
xor edx, edx
mov r8d, 0x30
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
mov ebx, 0x400
add ebx, dword [r14]
mov dword [r14], ebx
mov rcx, rbp
mov qword [rcx + 0x10], rdi
movaps xmmword [rcx], xmm6
mov rdx, rbx
call fcn.180003940
test al, al
je 0x1800035b1
mov rcx, qword [rbp]
lea rdi, [rcx + rbx]
xor edx, edx
mov r8, rbx
call fcn.1800284f0
mov qword [rbp + 8], rdi
jmp 0x1800035b5
mov rdi, qword [rbp + 8]
mov rax, qword [rbp]
sub edi, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
xor edi, edi
mov qword [rbp - 8], rsi
mov rcx, rsi
xor edx, edx
mov r8d, 0x30
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
mov rbx, qword [rbp]
mov r13, qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
movaps xmm6, xmmword [0x18003e3e0]
lea r12, [rbp - 0x30]
cmp edi, dword [rbp + 0x24]
jae 0x180003665
mov eax, edi
imul rax, rax, 0x38
mov rsi, qword [rbx + rax]
mov r14d, dword [rbx + rax + 0x2c]
call r13
cmp r14d, eax
jne 0x180003661
mov rcx, rsi
call fcn.18002d558
movups xmmword [rbp - 0x20], xmm6
mov byte [rbp - 0x30], 0
mov rcx, rsi
call fcn.18002b510
mov rcx, r12
mov rdx, rsi
mov r8, rax
call fcn.1800010f2
mov rdx, qword [r15]
mov rcx, r15
mov r8, r12
call fcn.1800039c2
mov rcx, r12
call fcn.180001084
inc edi
jmp 0x180003609
xor ebx, ebx
cmp qword [r15 + 8], 0
setne bl
mov rcx, rbp
call fcn.180003742
mov rcx, qword [rbp - 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
movaps xmm6, xmmword [rbp + 0x30]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x180003a50
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.18002b510
xor ecx, ecx
test rsi, rsi
je 0x180003aa4
test eax, eax
je 0x180003aa4
lea ecx, [rax - 1]
movabs rdx, 0xff51afd7ed558ccd
imul rdx, rcx
movzx ecx, byte [rsi]
movabs rsi, 0xc4ceb9fe1a85ec53
imul rsi, rcx
add rsi, rdx
mov eax, eax
movabs rcx, 0xc42069d607db7920
imul rcx, rax
test rsi, rsi
cmovne rcx, rsi
mov rax, rcx
add rsp, 0x20
pop rsi
ret
Function at 0x140006100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
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
je 0x140006175
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140006175
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140006165
nop
cmp rbx, rcx
jae 0x140006175
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140006150
cmp rbx, rcx
jae 0x140006175
cmp word [rbx], 0
je 0x140006175
mov rax, rbx
jmp 0x140006177
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400097f0
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
xor r15d, r15d
mov qword [r11 - 0x48], r15
mov qword [r11 - 0x38], r15
mov ebx, 7
mov qword [r11 - 0x30], rbx
mov word [r11 - 0x48], r15w
mov rdx, qword [str.0e__]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140009841
lea rcx, [rsp + 0x40]
call fcn.14000a220
nop
mov r14, qword [rdi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x1400099e0
cmp qword [rdi + 0x18], 8
jb 0x14000987e
mov rdi, qword [rdi]
mov qword [rsp + 0x20], r15
lea rbp, [r14 + 1]
lea rsi, [rsp + 0x20]
cmp rbp, 7
jbe 0x1400098c5
mov rbx, rbp
or rbx, 7
cmp rbx, rcx
jbe 0x1400098a3
mov rbx, rcx
jmp 0x1400098af
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x20]
call fcn.14000a030
mov rsi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbx
mov eax, 0x5c
mov word [rsi], ax
lea rcx, [rsi + 2]
lea r8, [r14 + r14]
mov rdx, rdi
call fcn.1400d9910
mov word [rsi + rbp*2], r15w
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000a0a0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14000994f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000994a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400099e6
call fcn.1400d7558
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400099b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400099ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400099da
call fcn.1400d7558
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1400de97c
nop
call fcn.140007720
nop
call fcn.1400de97c
int3
Function at 0x14000a940
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
movzx edi, r8b
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
mov r8d, dword [rdx + 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x78], 0x67452301
mov dword [rsp + 0x7c], 0xefcdab89
mov dword [r11 - 0x28], 0x98badcfe
mov dword [r11 - 0x24], 0x10325476
jb 0x14000a9b8
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.14000b670
movzx r8d, dil
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14000a350
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d7670
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret
Function at 0x14000d0e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdi, rdx
mov rsi, rcx
lea rdx, str.click
mov rcx, rdi
call fcn.14002d610
test al, al
je 0x14000d2fe
mov rcx, qword [rdi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.retryBtn
mov rcx, rax
call fcn.14002d610
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003d20
test bl, bl
je 0x14000d187
lea rax, [rsi + 0x18]
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x14000ddf0]
xor edx, edx
xor ecx, ecx
call fcn.1400eaac8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000d2fe
mov rcx, qword [rdi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.confirmBtn
mov rcx, rax
call fcn.14002d610
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003d20
test bl, bl
je 0x14000d1d6
xor r9d, r9d
xor r8d, r8d
mov edx, 0x605
mov ecx, dword [rsi + 0x18]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x14000d2fe
mov rcx, qword [rdi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.closeBtn
mov rcx, rax
call fcn.14002d610
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003d20
test bl, bl
je 0x14000d251
mov rax, qword [0x140320198]
test rax, rax
jne 0x14000d23c
mov ecx, 0x90
call fcn.1400d7034
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000d235
mov rcx, rax
call fcn.140014090
nop
mov qword [0x140320198], rax
mov rcx, rax
call fcn.1400168a0
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14000d2fe
mov rcx, qword [rdi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.miniBtn
mov rcx, rax
call fcn.14002d610
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003d20
test bl, bl
je 0x14000d2a0
lea rcx, [rsi - 0x28]
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf020
call fcn.14003a280
jmp 0x14000d2fe
mov rcx, qword [rdi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.urlBtn
mov rcx, rax
call fcn.14002d610
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003d20
test bl, bl
je 0x14000d2fe
mov dword [rsp + 0x28], 5
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.http:__www.dingtalk.com__gotoDownloadtrue
lea rdx, [0x140241ce8]
xor ecx, ecx
call qword [0x140240838]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140016750
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x4e50
call fcn.1400d76d0
sub rsp, rax
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x4e40], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4e20
call fcn.1400d9fc0
lea r8, [0x140246650]
mov edx, 0x2710
lea rcx, [rsp + 0x20]
call fcn.1400eac98
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x2710
call fcn.1400eac18
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001687a
lea rcx, [rsp + 0x20]
call fcn.140017ac0
lea rcx, [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test ebx, ebx
je 0x1400167eb
test eax, eax
jne 0x14001687a
mov rcx, qword [rdi]
test rcx, rcx
je 0x140016870
cmp dword [rdi + 0x88], 2
jl 0x140016815
cmp qword [0x140317500], 8
lea r8, [0x1403174e8]
cmovae r8, qword [0x1403174e8]
jmp 0x14001682c
cmp qword [0x1403174e0], 8
lea r8, [0x1403174c8]
cmovae r8, qword [0x1403174c8]
mov edx, 0x603
mov r9d, 1
call fcn.14003a280
mov rcx, qword [rdi]
lea r9, str.retryBtn
mov edx, 0x604
mov r8d, 1
call fcn.14003a280
mov rcx, qword [rdi]
lea r9, str.urlBtn
mov edx, 0x604
mov r8d, 1
call fcn.14003a280
inc dword [rdi + 0x88]
xor eax, eax
jmp 0x14001687f
mov eax, 1
mov rcx, qword [rsp + 0x4e40]
xor rcx, rsp
call fcn.1400d7670
mov rbx, qword [rsp + 0x4e70]
add rsp, 0x4e50
pop rdi
ret

Function at 0x1400168a0
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov rdx, qword [rcx + 0x58]
jmp fcn.140016750
Function at 0x140017ac0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x50a0
call fcn.1400d76d0
sub rsp, rax
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x5090], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x4e20
call fcn.1400d9fc0
mov r8, rdi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1400eac98
lea r8, [0x140246e88]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.1400eac18
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140017c43
nop dword [rax + rax]
lea rdx, [0x140246ca0]
lea rcx, [rsp + 0x4c]
call fcn.1400ea684
test eax, eax
je 0x140017bf5
lea rdx, [0x140246ca4]
lea rcx, [rsp + 0x4c]
call fcn.1400ea684
test eax, eax
je 0x140017bf5
mov r8, rdi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1400eac98
lea r8, [0x140245a90]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.1400eac18
lea r8, [rsp + 0x4c]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.1400eac18
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x270]
je 0x140017beb
call fcn.140017ac0
test eax, eax
je 0x140017c3a
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140017bf1
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140017c3a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140017b50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x5090]
xor rcx, rsp
call fcn.1400d7670
mov rbx, qword [rsp + 0x50b8]
add rsp, 0x50a0
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x140017c19
Function at 0x1400197a0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.1400d9fc0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400d7670
add rsp, 0x158
ret

Function at 0x14001ac50
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
call fcn.140004b20
mov rcx, rax
test rax, rax
je 0x14001acd4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, str.LocalD85E4557_AFBC_4229_9628_6E78BFA45875
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001ac83
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14000ac20
mov byte [rsp + 0x28], 0
lea rdx, [rsp + 0x20]
lea rcx, [0x140017d40]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001acce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x30
pop rbx
ret
mov ecx, 0x80004005
call fcn.1400049a0
int3
Function at 0x14001b320
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea r8, [0x140241920]
lea rdx, str.Updater:
lea rcx, str.RunAfterRemoveLocalUpdater_Start...
call fcn.14002c680
mov rcx, qword [rbx + 0x80]
xor esi, esi
test rcx, rcx
je 0x14001b37c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x80], rsi
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x34]
call fcn.1400d9fc0
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 6
jb 0x14001b454
call fcn.140004b20
mov rcx, rax
test rax, rax
je 0x14001b4a6
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14001b3f4
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140005800
mov rbx, qword [rsp + 0x20]
mov r8d, 0x104
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test rbx, rbx
jne 0x14001b40e
mov eax, esi
jmp 0x14001b41e
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400ea46c
test eax, eax
js 0x14001b49b
cmp eax, dword [rbx - 0xc]
jg 0x14001b49b
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], si
mov rcx, rbx
call fcn.140020e50
nop
mov eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14001b45c
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + 8]
jmp 0x14001b45c
mov rcx, rbx
call fcn.14001c040
lea r8, [0x140241920]
lea rdx, str.Updater:
lea rcx, str.RunAfterRemoveLocalUpdater_End...
call fcn.14002c680
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80070057
call fcn.1400049a0
nop
mov ecx, 0x80004005
call fcn.1400049a0
int3
Function at 0x14001c410
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, r8
mov esi, edx
lea rcx, [rsp + 0x28]
call fcn.140018ae0
nop
call fcn.140004b20
mov rcx, rax
test rax, rax
je 0x14001c5d4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
test rdi, rdi
je 0x14001c49c
cmp rdi, 0x10000
jae 0x14001c488
movzx edx, di
lea rcx, [rsp + 0x20]
call fcn.1400054f0
jmp 0x14001c4af
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14001c490
jmp 0x14001c49e
xor eax, eax
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000ac20
nop
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
call fcn.14000c360
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x20]
lea rcx, [rdi - 0x18]
call fcn.14000c360
add rax, 0x18
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_7d98a55614e642993372e4126df9e37c___bool__struct_HWND______ptr64__unsigned_long_int__class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____.0
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x30]
lea rcx, [0x140017c50]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14001c53b
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x88], 0
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001c559
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001c578
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, ebx
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x14001c593
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14001c5af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400049a0
int3
Function at 0x14001ea30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001eb04
cmp byte [rcx + 0x72], 0
je 0x14001eb04
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x14001eb00
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x14001eac6
sub eax, 1
je 0x14001eaca
cmp eax, 2
jne 0x14001eb00
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d7670
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001eaf7
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1400ecc58
cmp rdi, rax
jne 0x14001eb00
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14001eaae
xor al, al
jmp 0x14001eaae
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d7670
add rsp, 0x60
pop rbx
ret
Function at 0x140020c00
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x50a0
call fcn.1400d76d0
sub rsp, rax
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x5090], rax
mov rbx, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x4e20
call fcn.1400d9fc0
mov r8, rsi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1400eac98
lea r8, [0x140246e88]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.1400eac18
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140020d2a
lea rdx, [0x140246ca0]
lea rcx, [rsp + 0x4c]
call fcn.1400ea684
test eax, eax
je 0x140020d30
lea rdx, [0x140246ca4]
lea rcx, [rsp + 0x4c]
call fcn.1400ea684
test eax, eax
je 0x140020d30
mov r8, rsi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1400eac98
lea r8, [0x140245a90]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.1400eac18
lea r8, [rsp + 0x4c]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.1400eac18
test byte [rsp + 0x20], 0x10
je 0x140020d2e
mov rdx, rbx
lea rcx, [rsp + 0x270]
call fcn.140020c00
test eax, eax
jne 0x140020d30
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x140020d54
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140020c93
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x5090]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0x50a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140020e50
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x4ec0
call fcn.1400d76d0
sub rsp, rax
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x4eb0], rax
mov rbx, rcx
mov edx, 0x2710
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xorps xmm0, xmm0
lea rax, [0x140241ce8]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x70
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 1
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x24], 0x40
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x40], rbx
call qword [0x140240830]
test eax, eax
jne 0x140020f29
mov r8, rbx
lea rdx, str.createProcessAsUser
lea rcx, str._error
call fcn.14002c680
mov rcx, qword [rsp + 0x4eb0]
xor rcx, rsp
call fcn.1400d7670
add rsp, 0x4ec0
pop rbx
ret
Function at 0x140023ff0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140317e98]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
xor edx, edx
lea ecx, [rax + 0xf]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400240a6
nop
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.1400ea684
test eax, eax
jne 0x140024095
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140024088
mov eax, dword [rsp + 0x38]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140024095
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.140012c60
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140024060
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400d7670
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret