joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ab30
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14036a3c8]
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 0x14000aba8
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.14000b860
movzx r8d, dil
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14000a540
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140240e30
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret
Function at 0x14000df90
Capabilities:
Create process on windows
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, str.click
mov rcx, rsi
call fcn.140068770
test al, al
je 0x14000e1b5
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.retryBtn
mov rcx, rax
call fcn.140068770
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003e80
test bl, bl
je 0x14000e037
lea rax, [rdi + 0x38]
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x14000f050]
xor edx, edx
xor ecx, ecx
call fcn.140254060
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000e1b5
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.confirmBtn
mov rcx, rax
call fcn.140068770
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003e80
test bl, bl
je 0x14000e086
xor r9d, r9d
xor r8d, r8d
mov edx, 0x605
mov ecx, dword [rdi + 0x38]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x14000e1b5
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.closeBtn
mov rcx, rax
call fcn.140068770
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003e80
test bl, bl
je 0x14000e101
mov rax, qword [0x14036e8e0]
test rax, rax
jne 0x14000e0ec
mov ecx, 0xb0
call fcn.1402407f4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000e0e5
mov rcx, rax
call fcn.1400160a0
nop
mov qword [0x14036e8e0], rax
mov rcx, rax
call fcn.140019470
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x14000e1b5
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.miniBtn
mov rcx, rax
call fcn.140068770
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003e80
test bl, bl
je 0x14000e150
lea rcx, [rdi - 0x28]
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf020
call fcn.140074720
jmp 0x14000e1b5
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0xc8]
nop
lea rdx, str.urlBtn
mov rcx, rax
call fcn.140068770
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003e80
test bl, bl
je 0x14000e1b5
lea r8, [rdi + 0x18]
cmp qword [r8 + 0x18], 8
jb 0x14000e194
mov r8, qword [r8]
mov dword [rsp + 0x28], 5
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [0x140281e18]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140240e30
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140019320
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x4e50
call fcn.140240e90
sub rsp, rax
mov rax, qword [0x14036a3c8]
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.140243780
lea r8, [0x140285fc0]
mov edx, 0x2710
lea rcx, [rsp + 0x20]
call fcn.1402542b8
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x2710
call fcn.140254238
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001944a
lea rcx, [rsp + 0x20]
call fcn.14001a690
lea rcx, [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test ebx, ebx
je 0x1400193bb
test eax, eax
jne 0x14001944a
mov rcx, qword [rdi]
test rcx, rcx
je 0x140019440
cmp dword [rdi + 0xa8], 2
jl 0x1400193e5
cmp qword [reloc.WS2_32.dll_getsockopt], 8
lea r8, [0x140364528]
cmovae r8, qword [0x140364528]
jmp 0x1400193fc
cmp qword [reloc.WS2_32.dll_getsockopt], 8
lea r8, [0x140364508]
cmovae r8, qword [0x140364508]
mov edx, 0x603
mov r9d, 1
call fcn.140074720
mov rcx, qword [rdi]
lea r9, str.retryBtn
mov edx, 0x604
mov r8d, 1
call fcn.140074720
mov rcx, qword [rdi]
lea r9, str.urlBtn
mov edx, 0x604
mov r8d, 1
call fcn.140074720
inc dword [rdi + 0xa8]
xor eax, eax
jmp 0x14001944f
mov eax, 1
mov rcx, qword [rsp + 0x4e40]
xor rcx, rsp
call fcn.140240e30
mov rbx, qword [rsp + 0x4e70]
add rsp, 0x4e50
pop rdi
ret

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

Disassembly:
mov rdx, qword [rcx + 0x78]
jmp fcn.140019320
Function at 0x14001a690
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.140240e90
sub rsp, rax
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rsp + 0x5090], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x4e20
call fcn.140243780
mov r8, rdi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1402542b8
lea r8, [0x140287948]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140254238
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001a813
nop dword [rax + rax]
lea rdx, [0x140285fcc]
lea rcx, [rsp + 0x4c]
call fcn.140253dc4
test eax, eax
je 0x14001a7c5
lea rdx, [0x140285fd0]
lea rcx, [rsp + 0x4c]
call fcn.140253dc4
test eax, eax
je 0x14001a7c5
mov r8, rdi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1402542b8
lea r8, [0x140285d80]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140254238
lea r8, [rsp + 0x4c]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140254238
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x270]
je 0x14001a7bb
call fcn.14001a690
test eax, eax
je 0x14001a80a
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001a7c1
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14001a80a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001a720
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x5090]
xor rcx, rsp
call fcn.140240e30
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 0x14001a7e9
Function at 0x14001da10
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.140243780
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.140240e30
add rsp, 0x158
ret

Function at 0x14001efa0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
call fcn.140004c80
mov rcx, rax
test rax, rax
je 0x14001f024
mov rax, qword [rax]
call qword [rax + Ordinal_26]
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 0x14001efd3
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14000ae10
mov byte [rsp + 0x28], 0
lea rdx, [rsp + 0x20]
lea rcx, [0x14001a920]
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 0x14001f01e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
add rsp, 0x30
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004b00
int3
Function at 0x14001f540
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea r8, [0x140281a50]
lea rdx, str.Updater:
lea rcx, str.RunAfterRemoveLocalUpdater_Start...
call fcn.140036e10
mov rcx, qword [rbx + 0xa0]
xor esi, esi
test rcx, rcx
je 0x14001f59c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xa0], rsi
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x34]
call fcn.140243780
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 6
jb 0x14001f674
call fcn.140004c80
mov rcx, rax
test rax, rax
je 0x14001f6c6
mov rax, qword [rax]
call qword [rax + Ordinal_26]
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 0x14001f614
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140005960
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 0x14001f62e
mov eax, esi
jmp 0x14001f63e
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140253bac
test eax, eax
js 0x14001f6bb
cmp eax, dword [rbx - 0xc]
jg 0x14001f6bb
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], si
mov rcx, rbx
call fcn.140025dd0
nop
mov eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14001f67c
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + ioctlsocket]
jmp 0x14001f67c
mov rcx, rbx
call fcn.140020260
lea r8, [0x140281a50]
lea rdx, str.Updater:
lea rcx, str.RunAfterRemoveLocalUpdater_End...
call fcn.140036e10
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140240e30
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.140004b00
nop
mov ecx, 0x80004005
call fcn.140004b00
int3
Function at 0x14001f6e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
lea r8, [0x140281a50]
lea rdx, str.Updater:
lea rcx, str.RunMainUpdater_Start...
call fcn.140036e10
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14001f732
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xa0], 0
xorps xmm0, xmm0
lea rax, [0x140281e18]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea r8, [0x140281a50]
lea rdx, str.Updater:
lea rcx, str.RunMainUpdater_End...
call fcn.140036e10
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140020630
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, r8
mov esi, edx
lea rcx, [rsp + 0x28]
call fcn.14001b8f0
nop
call fcn.140004c80
mov rcx, rax
test rax, rax
je 0x1400207f4
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
test rdi, rdi
je 0x1400206bc
cmp rdi, 0x10000
jae 0x1400206a8
movzx edx, di
lea rcx, [rsp + 0x20]
call fcn.140005650
jmp 0x1400206cf
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400206b0
jmp 0x1400206be
xor eax, eax
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14000ae10
nop
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
call fcn.14000ce00
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x20]
lea rcx, [rdi - 0x18]
call fcn.14000ce00
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, [0x14001a830]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14002075b
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 0x140020779
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140020798
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov eax, ebx
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x1400207b3
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + ioctlsocket]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400207cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140240e30
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.140004b00
int3
Function at 0x140022f40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14036a3c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140023014
cmp byte [rcx + 0x72], 0
je 0x140023014
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + Ordinal_26]
cmp di, ax
je 0x140023010
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 0x140022fd6
sub eax, 1
je 0x140022fda
cmp eax, 2
jne 0x140023010
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140240e30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140023007
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140256278
cmp rdi, rax
jne 0x140023010
cmp byte [rbx + 0x72], 0
sete al
jmp 0x140022fbe
xor al, al
jmp 0x140022fbe
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140240e30
add rsp, 0x60
pop rbx
ret
Function at 0x140025b80
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.140240e90
sub rsp, rax
mov rax, qword [0x14036a3c8]
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.140243780
mov r8, rsi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1402542b8
lea r8, [0x140287948]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140254238
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140025caa
lea rdx, [0x140285fcc]
lea rcx, [rsp + 0x4c]
call fcn.140253dc4
test eax, eax
je 0x140025cb0
lea rdx, [0x140285fd0]
lea rcx, [rsp + 0x4c]
call fcn.140253dc4
test eax, eax
je 0x140025cb0
mov r8, rsi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.1402542b8
lea r8, [0x140285d80]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140254238
lea r8, [rsp + 0x4c]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140254238
test byte [rsp + 0x20], 0x10
je 0x140025cae
mov rdx, rbx
lea rcx, [rsp + 0x270]
call fcn.140025b80
test eax, eax
jne 0x140025cb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x140025cd4
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140025c13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x5090]
xor rcx, rsp
call fcn.140240e30
lea r11, [rsp + 0x50a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140025d00
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rbx, rdx
mov rdi, rcx
mov r8, rcx
lea rdx, str.Updater_createProcess
lea rcx, str._start
call fcn.140036e10
xorps xmm0, xmm0
lea rax, [0x140281e18]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x40], rbx
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
lea r8, str._suc
lea rcx, str._error
cmovne rcx, r8
lea rdx, str.Updater_createProcess
mov r8, rdi
call fcn.140036e10
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140025dd0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push rbx
mov eax, 0x4ec0
call fcn.140240e90
sub rsp, rax
mov rax, qword [0x14036a3c8]
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, [0x140281e18]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
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 [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140025ea9
mov r8, rbx
lea rdx, str.createProcessAsUser
lea rcx, str._error
call fcn.140036e10
mov rcx, qword [rsp + 0x4eb0]
xor rcx, rsp
call fcn.140240e30
add rsp, 0x4ec0
pop rbx
ret
Function at 0x140029c40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14036a3c8]
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 0x140029cf6
nop
mov rdx, rsi
lea rcx, [rsp + 0x5c]
call fcn.140253dc4
test eax, eax
jne 0x140029ce5
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140029cd8
mov eax, dword [rsp + 0x38]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140029ce5
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.140014b20
lea rdx, [rsp + 0x30]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140029cb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140240e30
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14002a880
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
mov rdx, rcx
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rdi
call fcn.140029c40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9, qword [rsp + 0x28]
xor edi, edi
mov rcx, qword [rsp + 0x20]
mov rdx, r9
sub rdx, rcx
mov esi, eax
sar rdx, 2
test rdx, rdx
je 0x14002a91d
mov qword [rsp + 0x50], rbx
mov r8d, dword [rcx + rdi*4]
cmp r8d, esi
je 0x14002a906
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x3e8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
mov rax, r9
inc rdi
sub rax, rcx
sar rax, 2
cmp rdi, rax
jb 0x14002a8c3
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
test rcx, rcx
je 0x14002a95e
mov rdx, qword [rsp + 0x30]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x14002a959
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a963
call fcn.140240d18
add rsp, 0x48
ret
call fcn.1402480bc
int3