joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x60
movsxd rax, dword [rcx]
mov rbx, rdx
mov rdx, rcx
cmp eax, r8d
je 0x140022c51
movups xmm0, xmmword [rbx]
mov r9, rax
mov qword [rsp + 0x70], rsi
mov rax, qword [rcx + 0x10]
shl r9, 5
mov qword [rsp + 0x78], rdi
lea rdi, [rbx + 0x88]
movups xmmword [r9 + rax], xmm0
movsxd rcx, dword [rcx]
mov rax, qword [rdx + 0x10]
movups xmm0, xmmword [rbx + 0x10]
shl rcx, 5
movups xmmword [rcx + rax + 0x10], xmm0
mov rax, qword [rdx + 0x10]
mov dword [rdx], r8d
movsxd rcx, r8d
shl rcx, 5
movups xmm0, xmmword [rcx + rax]
movups xmmword [rbx], xmm0
mov rax, qword [rdx + 0x10]
movups xmm0, xmmword [rcx + rax + 0x10]
movups xmmword [rbx + 0x10], xmm0
mov rax, qword [rbx + 0x18]
movsxd rsi, dword [rbx + 0x10]
lea rcx, [rax + rsi*2]
movsxd rax, dword [rbx]
mov qword [rbx + 0x50], rcx
test eax, eax
je 0x140022c08
imul rcx, rax, 0x38
mov rax, qword [rbx + 8]
add rax, 0xffffffffffffffc8
add rcx, rax
je 0x140022c08
cmp dword [rcx + 0x20], 0
jne 0x140022bf6
movups xmm0, xmmword [rdi]
mov rsi, qword [rsp + 0x70]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [rdi + 0x18]
mov rdi, qword [rsp + 0x78]
mov dword [rcx + 0x18], eax
add rsp, 0x60
pop rbx
ret
mov r8d, 0x1c
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140022c47
xor eax, eax
mov dword [rsp + 0x3c], esi
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x98]
lea rdx, [rsp + 0x20]
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x30], rax
mov rcx, rbx
movups xmm0, xmmword [rdi]
mov eax, dword [rbx + 0xa0]
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
call fcn.14001a4d0
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbx
ret
sub rsp, 0x38
mov rax, qword [0x14005e230]
mov rcx, qword [rax + 0x4dc8]
mov r9, qword [rax + 0x4008]
movups xmm0, xmmword [r9 + 0x248]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2a8]
add rsp, 0x38
jmp 0x140022b30
Function at 0x140032900
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14005e100]
xor rax, rsp
mov qword [rsp + 0x68], rax
test edx, edx
jne 0x140032943
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_find_cs2._n
call fcn.140030e30
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rcx]
lea r8, [rsp + 0x40]
mov eax, edx
mov r9d, 0x28
mov qword [rsp + 0x40], rax
mov edx, 0x2221e4
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
setne al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140035310
add rsp, 0x78
ret
Function at 0x140035b7c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rbx, rcx
xor edi, edi
xor edx, edx
xor ecx, ecx
lea r8d, [rdi + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbx], rax
test rax, rax
je 0x14000226e
lea rcx, [rsp + 0xa8]
call fcn.140001f40
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400020e7
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rax
call fcn.1400035c4
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x88]
call fcn.140003480
nop
mov r8d, 0xd
lea rdx, str._rentdrv2.sys
lea rcx, [rsp + 0x88]
call fcn.140002bd0
cmp qword [rax + 0x18], 0xf
jbe 0x14000213e
mov rax, qword [rax]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
mov r9d, 0xf003f
lea r8, str.rentdrv2
lea rdx, str.rentdrv2
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov qword [rbx + 8], rax
mov rdx, qword [rsp + 0xa0]
cmp rdx, 0xf
jbe 0x1400021db
inc rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003864
movdqa xmm0, xmmword [0x140005a60]
movdqu xmmword [rsp + 0x98], xmm0
mov byte [rsp + 0x88], 0
mov rdx, qword [rsp + 0xc0]
cmp rdx, 7
jbe 0x14000223f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000223a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000223a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003864
cmp qword [rbx + 8], 0
jne 0x140002281
mov r8d, 0xf01ff
lea rdx, str.rentdrv2
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140002281
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x1400022b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor ebx, ebx
lea rcx, [rsp + 0x70]
call fcn.140001f40
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400022ee
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
call fcn.1400035c4
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140003480
nop
mov r8d, 0xd
lea rdx, str._rentdrv2.sys
lea rcx, [rsp + 0x50]
call fcn.140002bd0
cmp qword [rax + 0x18], 0xf
jbe 0x14000233f
mov rax, qword [rax]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400023ab
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003864
movdqa xmm0, xmmword [0x140005a60]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x140002406
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002401
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003864
movdqa xmm0, xmmword [0x140005a50]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], bx
cmp rdi, 0xffffffffffffffff
je 0x14000248e
mov dword [rsp + 0x94], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov esi, 0xa0c0
mov ecx, 0x7e48
mov eax, dword [rsp + 0x90]
test eax, eax
cmovne esi, ecx
lea rcx, [0x140012130]
lea rdx, [0x140008070]
cmovne rdx, rcx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x94]
mov r8d, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
test eax, eax
jne 0x140002492
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400024a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x94], esi
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140003800
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400024d0
Capabilities:
Delete file
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x140002500
cmp qword [rdi + 8], rcx
je 0x140002510
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rdi], rax
test rax, rax
je 0x140002592
mov r8d, 0xf01ff
lea rdx, str.rentdrv2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rdi + 8], rax
test rax, rax
je 0x14000257f
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000257f
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x14000257f
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000259e
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, str._X__Fail_to_start_the_Driver_n
call fcn.140001010
lea rcx, [rsp + 0x40]
call fcn.140001f40
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x1400025b5
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
call fcn.1400035c4
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140003480
mov r8d, 0xd
lea rdx, str._rentdrv2.sys
lea rcx, [rsp + 0x20]
call fcn.140002bd0
cmp qword [rax + 0x18], 0xf
jbe 0x140002605
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140002649
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002644
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002695
call fcn.140003864
movdqa xmm0, xmmword [0x140005a60]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400026a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000269c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000269c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003864
test bl, bl
jne 0x1400026b1
lea rcx, str._X__Fail_to_delete_the_Driver_from_disk_n
call fcn.140001010
lea rcx, str.____All_PoC_files_are_cleaned____n
call fcn.140001010
nop
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140003800
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x14000374c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140003786
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000378b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400037d4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400053f0]
cmp byte [rcx + rax], 0
je 0x1400037d4
dec r8
sub rdx, 1
jne 0x1400037ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400041f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000423e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000423e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000423e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000423e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000423e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004240
xor al, al
add rsp, 0x28
ret
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001069
lea rcx, str.Windows_original_main_args:_n
call fcn.140001148
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001069
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.140001148
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000103e
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010b5
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a2
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010db
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 2
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x14000230c]
mov qword [rsp + 0x38], rax
lea rax, [0x140002310]
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret

Function at 0x1400018f4
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140014810
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x14002e0f8]
call fcn.140011811
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011262
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140011410
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1400111b8
nop
lea rcx, [rbp + 0x108]
call fcn.14001132f
nop
lea rax, [0x140011569]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14001159b
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x140014913
lea rcx, [rbp + 8]
call fcn.140011357
nop
jmp 0x14001492c
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1400111d6
nop
lea rcx, [rbp + 8]
call fcn.14001132f
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140023710]
call fcn.1400116bd
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400113e8
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140011488
Capabilities:
Terminate process

Disassembly:
jmp 0x14001ad90
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 0x140011587
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x140017f30
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x208], rax
lea rcx, [0x14002e0fe]
call fcn.140011811
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
lea rax, [rbp + 0x138]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140017ff3
lea rcx, [rbp + 0x10]
call fcn.140011384
inc rax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.MyProgram
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
mov rcx, qword [rbp + 0x138]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140022f40]
call fcn.1400116bd
mov rcx, qword [rbp + 0x208]
xor rcx, rbp
call fcn.1400113e8
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret
Function at 0x1400115b9
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001c0e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c100
xor al, al
jmp 0x14001c181
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c113
xor al, al
jmp 0x14001c181
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001c13d
xor al, al
jmp 0x14001c181
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c151
xor al, al
jmp 0x14001c181
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c163
xor al, al
jmp 0x14001c181
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c17f
xor al, al
jmp 0x14001c181
mov al, 1
add rsp, 0x38
ret
Function at 0x14001181b
Capabilities:
Power down monitor

Disassembly:
jmp 0x140019270
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14002e0fe]
call fcn.140011811
nop
mov r9d, 2
mov r8d, 0xf170
mov edx, 0x112
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov dword [rbp + 0xe4], 0xa
lea rdx, [rbp + 0xe4]
lea rcx, [rbp + 0xc8]
call fcn.1400111e0
mov rcx, rax
call fcn.140011168
nop
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x140019ee0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011857
movzx eax, al
test eax, eax
jne 0x140019f00
mov ecx, 7
call fcn.1400116d6
nop
mov byte [rsp + 0x20], 0
call fcn.140011712
mov byte [rsp + 0x21], al
cmp dword [0x140028b78], 1
jne 0x140019f24
mov ecx, 7
call fcn.1400116d6
nop
jmp 0x140019f7c
cmp dword [0x140028b78], 0
jne 0x140019f77
mov dword [0x140028b78], 1
lea rdx, [0x140022660]
lea rcx, [0x140022330]
call fcn.1400113ca
test eax, eax
je 0x140019f58
mov eax, 0xff
jmp 0x14001a081
lea rdx, [0x140022220]
lea rcx, [section..rdata]
call fcn.1400116f9
mov dword [0x140028b78], 2
jmp 0x140019f7c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400116b3
call fcn.1400115eb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140019fd9
mov rcx, qword [rsp + 0x30]
call fcn.1400112f3
movzx eax, al
test eax, eax
je 0x140019fd9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002f020]
nop
call fcn.14001164a
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001a00d
mov rcx, qword [rsp + 0x38]
call fcn.1400112f3
movzx eax, al
test eax, eax
je 0x14001a00d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400117df
nop
call fcn.14001a130
mov dword [rsp + 0x28], eax
call fcn.1400115b9
movzx eax, al
test eax, eax
jne 0x14001a02c
mov ecx, dword [rsp + 0x28]
call fcn.140011082
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001a03b
call fcn.1400117ee
nop
xor edx, edx
mov cl, 1
call fcn.1400112c6
mov eax, dword [rsp + 0x28]
jmp 0x14001a081
add rsp, 0x68
ret