joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180268ae0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, rcx
mov r8d, dword [rax]
cmp r8d, 1
jbe 0x180268b2a
mov rax, qword [rcx]
mov edx, dword [rax + 8]
and edx, 0x7fffffff
jne 0x180268b22
lea r9d, [rdx + 2]
xor r8d, r8d
lea edx, [r9 + 6]
lea ecx, [rdx + 0x48]
call sym.Qt5Core.dll_public:_static_struct_QArrayData____ptr64___cdecl_QArrayData::allocate_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___class_QFlags_enum_QArrayData::AllocationOption__
mov qword [rbx], rax
jmp 0x180268b2a
xor r8d, r8d
call sym.Qt5Core.dll_private:_void___cdecl_QVector_class_QXmlStreamAttribute_::realloc_int__class_QFlags_enum_QArrayData::AllocationOption_____ptr64
mov rcx, qword [rbx]
mov r9, rdi
mov r8d, 1
mov rdx, qword [rcx + 0x10]
add rdx, rcx
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sym.Qt5Core.dll_public:_class_QXmlStreamAttribute____ptr64___cdecl_QVector_class_QXmlStreamAttribute_::insert_class_QXmlStreamAttribute____ptr64__int__class_QXmlStreamAttribute_const____ptr64____ptr64
Function at 0x180284ff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call sym.Qt5Core.dll_public:_void___cdecl_QStateMachine::start_void____ptr64
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sym.Qt5Core.dll_protected:_void___cdecl_QListSpecialMethods_class_QItemSelectionRange_::destructor_void____ptr64

Function at 0x180285020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 8]
mov r8d, dword [rcx + 0xa0]
sub r8d, 1
je 0x180285058
cmp r8d, 1
jne 0x18028505f
mov edx, r8d
mov byte [rcx + 0xa6], r8b
call sym.Qt5Core.dll_public:_void___cdecl_QStateMachinePrivate::processEvents_enum_QStateMachinePrivate::EventProcessingMode____ptr64
jmp 0x18028505f
mov byte [rcx + 0xa6], 1
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp sym.Qt5Core.dll_protected:_void___cdecl_QListSpecialMethods_class_QItemSelectionRange_::destructor_void____ptr64
Function at 0x1802d7950
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
cmp rcx, 1
jb 0x1802d7a45
cmp rdx, 1
jb 0x1802d7a45
cmp rcx, rdx
mov rsi, rdx
mov rdx, r8
cmovbe rsi, rcx
mov ecx, 0x20
add rsi, 0x1fff
and rsi, 0xffffffffffffe000
call fcn.18029f240
mov rdi, rax
test rax, rax
je 0x1802d7a45
mov qword [rsp + 0x60], rbp
lea rbp, [rbx + 0x1fff]
and rbp, 0xffffffffffffe000
cmp rsi, rbp
ja 0x1802d7a2b
cmp rsi, 1
jb 0x1802d7a2b
mov rdx, qword [rax + 0x10]
mov ecx, 0x20
call qword [rax]
mov rbx, rax
test rax, rax
je 0x1802d7a2b
mov rax, qword [0x18058f038]
test rax, rax
jne 0x1802d79fc
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov qword [0x18058f038], rax
add rbp, rax
mov r9d, 4
not rax
mov r8d, 0x2000
and rbp, rax
xor ecx, ecx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, rbx
test rax, rax
jne 0x1802d7a57
mov rdx, qword [rdi + 0x10]
call qword [rdi + 8]
xor ebx, ebx
mov rbp, qword [rsp + 0x60]
mov qword [rdi + 0x18], rbx
test rbx, rbx
jne 0x1802d7a8a
mov rdx, qword [rdi + 0x10]
mov rcx, rdi
call qword [rdi + 8]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea rdx, [rax + rbp]
mov qword [rbx + 0x18], rax
mov qword [rbx + 8], rdx
mov qword [rbx + 0x10], rdx
sub rdx, rsi
call fcn.1802dcbe0
test rax, rax
jne 0x1802d7a81
mov rdx, rdi
mov rcx, rbx
call fcn.1802dc460
jmp 0x1802d7a2b
mov rax, qword [rbx + 8]
mov qword [rbx], rax
jmp 0x1802d7a2d
mov rbx, qword [rsp + 0x68]
mov rax, rdi
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1802dc300
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x18058f030]
test rcx, rcx
jne 0x1802dc32a
xor r8d, r8d
lea edx, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x18058f030], rax
jmp 0x1802dc335
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r10, qword [0x18058f048]
lea rax, [rbx - 0x10]
mov rcx, qword [rax]
mov r9, rax
sub r9, qword [rax + 8]
sub r10, rcx
mov qword [0x18058f048], r10
cmp qword [r9], 0
jne 0x1802dc36c
add qword [r9 + 0x20], rcx
lea r8, [r9 + 0x20]
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
jmp 0x1802dc39a
xor edx, edx
mov qword [rax + 0x20], rcx
mov rcx, qword [0x18058f040]
lea r8, [rax + 0x20]
mov qword [rax], rdx
mov r9, rax
mov qword [rbx], rcx
mov qword [rax + 0x18], rdx
test rcx, rcx
je 0x1802dc393
mov qword [rcx + 0x18], rax
mov qword [0x18058f040], rax
mov rcx, qword [r8]
cmp qword [rcx + r9], 0
lea rdx, [rcx + r9]
jne 0x1802dc3e6
add rcx, qword [rdx + 0x20]
mov qword [r8], rcx
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1802dc3c4
mov rax, qword [rdx + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [rdx + 0x10]
mov rax, qword [rdx + 0x18]
test rax, rax
je 0x1802dc3d3
mov qword [rax + 0x10], rcx
jmp 0x1802dc3da
mov qword [0x18058f040], rcx
mov rax, qword [r8]
mov qword [rax + r9 + 8], rax
lea rdx, [rax + r9]
cmp qword [r9 + 8], 0
jne 0x1802dc44c
cmp qword [rdx], 1
jne 0x1802dc44c
mov rcx, qword [0x18058f050]
lea rax, [r10 + r10*2]
sub rcx, qword [r8]
shr rax, 1
cmp rcx, rax
jbe 0x1802dc44c
mov qword [0x18058f050], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x1802dc425
mov rax, qword [r9 + 0x18]
mov qword [rcx + 0x18], rax
mov rcx, qword [r9 + 0x10]
mov rax, qword [r9 + 0x18]
test rax, rax
je 0x1802dc434
mov qword [rax + 0x10], rcx
jmp 0x1802dc43b
mov qword [0x18058f040], rcx
xor edx, edx
mov r8d, 0x8000
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x18058f030]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_ReleaseMutex]
Function at 0x1802dca10
Capabilities:
Allocate or change rwx memory
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x18058f030]
test rcx, rcx
jne 0x1802dca41
xor r8d, r8d
lea edx, [rcx + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r8, rax
mov qword [0x18058f030], rax
jmp 0x1802dca53
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8, qword [0x18058f030]
mov edi, 0x30
cmp rbx, rdi
cmovae rdi, rbx
mov rbx, qword [0x18058f040]
add rdi, 0x17
and rdi, 0xfffffffffffffff8
test rbx, rbx
je 0x1802dca85
mov rcx, qword [rbx + 0x20]
cmp rcx, rdi
jae 0x1802dcada
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1802dca73
lea rbx, [rdi + 0x1000f]
mov qword [rsp + 0x30], rsi
and rbx, 0xffffffffffff0000
mov r9d, 0x40
mov rdx, rbx
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1802dcb48
mov rcx, qword [0x18058f030]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rax, [rdi + 0x40]
cmp rcx, rax
jbe 0x1802dcaf8
sub rcx, rdi
mov qword [rbx + 0x20], rcx
add rbx, rcx
mov qword [rbx + 8], rcx
mov qword [rbx + rdi + 8], rdi
jmp 0x1802dcb26
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1802dcb0d
mov rax, qword [rbx + 0x18]
mov qword [rdx + 0x18], rax
mov rdx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1802dcb1c
mov qword [rax + 0x10], rdx
jmp 0x1802dcb23
mov qword [0x18058f040], rdx
mov rdi, rcx
add qword [0x18058f048], rdi
mov rcx, r8
mov qword [rbx], rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea rax, [rbx + 0x10]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
sub rbx, 0x10
add qword [0x18058f050], rbx
mov qword [rax + 8], rdx
lea rax, [rdi + 0x40]
cmp rbx, rax
jbe 0x1802dcba3
mov rcx, qword [0x18058f040]
lea rax, [rsi + rdi]
add qword [0x18058f048], rdi
sub rbx, rdi
mov qword [rsi], rdi
mov qword [rax + 8], rdi
mov qword [rax], rdx
mov qword [rax + 0x20], rbx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rdx
test rcx, rcx
je 0x1802dcb96
mov qword [rcx + 0x18], rax
mov qword [0x18058f040], rax
lea rcx, [rbx + rax]
jmp 0x1802dcbb1
add qword [0x18058f048], rbx
lea rcx, [rsi + rbx]
mov qword [rsi], rbx
mov qword [rcx], 1
mov qword [rcx + 8], rbx
mov rcx, qword [0x18058f030]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rbx, qword [rsp + 0x38]
lea rax, [rsi + 0x10]
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1802dcbe0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
cmp rdx, qword [rcx + 0x18]
jb 0x1802dcc54
cmp rdx, qword [rcx + 8]
jae 0x1802dcc54
mov rax, qword [0x18058f038]
test rax, rax
jne 0x1802dcc20
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov qword [0x18058f038], rax
mov r10, qword [rdi + 0x10]
not rax
mov rcx, rax
and r10, rax
and rcx, rbx
cmp rcx, r10
je 0x1802dcc7a
jae 0x1802dcc61
sub r10, rcx
mov r9d, 4
mov rdx, r10
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1802dcc7a
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
sub rcx, r10
mov r8d, 0x4000
mov rdx, rcx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x1802dcc54
mov qword [rdi + 0x10], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140001c24
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140022aa0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14016a31e]
call fcn.140011c76
nop
mov qword [rbp + 8], 0
jmp 0x140022adf
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x140022b35
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140022ad4
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400116fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400288d0
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 0x14001188e
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x1400165a0
push rbp
push rdi
sub rsp, 0x3e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140161480]
xor rax, rbp
mov qword [rbp + 0x3a0], rax
lea rcx, [0x14016a0fd]
call fcn.140011c76
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
call fcn.140011a50
nop
movsxd rax, dword [0x14012fe34]
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x140016672
lea rax, [rbp + 0x228]
mov qword [rbp + 0x268], rax
lea rdx, str.VirtualAlloc
mov rcx, qword [rbp + 0x268]
call fcn.140011596
mov qword [rbp + 0x398], rax
mov rcx, qword [rbp + 0x398]
call fcn.140011640
nop
mov dword [rbp + 4], 1
jmp 0x14001680e
mov rax, qword [rbp + 0x88]
mov qword [0x140161c10], rax
movsxd rax, dword [0x14012fe34]
mov rcx, qword [rbp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [0x140161c18], rax
movsxd rax, dword [0x14012fe34]
mov r8, rax
lea rdx, [0x140039010]
mov rcx, qword [rbp + 0x88]
call fcn.140011d43
nop
movsxd rax, dword [0x14012fe34]
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001671f
lea rax, [rbp + 0x288]
mov qword [rbp + 0x2c8], rax
lea rdx, str.VirtualProtect
mov rcx, qword [rbp + 0x2c8]
call fcn.140011596
mov qword [rbp + 0x398], rax
mov rcx, qword [rbp + 0x398]
call fcn.140011640
nop
mov dword [rbp + 4], 1
jmp 0x1400167f8
lea rdx, [0x1400112a8]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001677a
lea rax, [rbp + 0x2e8]
mov qword [rbp + 0x328], rax
lea rdx, str.AddVectoredExceptionHandler
mov rcx, qword [rbp + 0x328]
call fcn.140011596
mov qword [rbp + 0x398], rax
mov rcx, qword [rbp + 0x398]
call fcn.140011640
nop
mov dword [rbp + 4], 1
jmp 0x1400167f8
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1400167e8
lea rax, [rbp + 0x348]
mov qword [rbp + 0x388], rax
lea rdx, str.CreateThread
mov rcx, qword [rbp + 0x388]
call fcn.140011596
mov qword [rbp + 0x398], rax
mov rcx, qword [rbp + 0x398]
call fcn.140011640
nop
mov dword [rbp + 4], 1
jmp 0x1400167f8
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140030e20]
call fcn.140011a64
mov eax, edi
mov rcx, qword [rbp + 0x3a0]
xor rcx, rbp
call fcn.14001161d
lea rsp, [rbp + 0x3b8]
pop rdi
pop rbp
ret
Function at 0x1400118c0
Capabilities:
Parse pe header

Disassembly:
jmp 0x140029750
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140029770
xor al, al
jmp 0x1400297f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140029783
xor al, al
jmp 0x1400297f1
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 0x1400297ad
xor al, al
jmp 0x1400297f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400297c1
xor al, al
jmp 0x1400297f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400297d3
xor al, al
jmp 0x1400297f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400297ef
xor al, al
jmp 0x1400297f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140027a50
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011ce9
movzx eax, al
test eax, eax
jne 0x140027a70
mov ecx, 7
call fcn.140011a78
nop
mov byte [rsp + 0x20], 0
call fcn.140011ab9
mov byte [rsp + 0x21], al
cmp dword [0x140161ce0], 1
jne 0x140027a94
mov ecx, 7
call fcn.140011a78
nop
jmp 0x140027aec
cmp dword [0x140161ce0], 0
jne 0x140027ae7
mov dword [0x140161ce0], 1
lea rdx, [0x140030780]
lea rcx, [0x140030450]
call fcn.1400115fa
test eax, eax
je 0x140027ac8
mov eax, 0xff
jmp 0x140027bf1
lea rdx, [0x140030340]
lea rcx, [section..rdata]
call fcn.140011aa5
mov dword [0x140161ce0], 2
jmp 0x140027aec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011a46
call fcn.140011915
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140027b49
mov rcx, qword [rsp + 0x30]
call fcn.1400114e7
movzx eax, al
test eax, eax
je 0x140027b49
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 [0x14016b020]
nop
call fcn.1400119ab
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140027b7d
mov rcx, qword [rsp + 0x38]
call fcn.1400114e7
movzx eax, al
test eax, eax
je 0x140027b7d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011c26
nop
call fcn.140027c60
mov dword [rsp + 0x28], eax
call fcn.1400118c0
movzx eax, al
test eax, eax
jne 0x140027b9c
mov ecx, dword [rsp + 0x28]
call fcn.1400110cd
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140027bab
call fcn.140011c3f
nop
xor edx, edx
mov cl, 1
call fcn.14001148d
mov eax, dword [rsp + 0x28]
jmp 0x140027bf1
add rsp, 0x68
ret
Function at 0x140160d80
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140160d8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140160d9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140160d85
lea eax, [rcx + 1]
jmp 0x140160dab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140160dbe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140160da4
sub eax, 3
jb 0x140160dde
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140160e2d
sar eax, 1
movsxd rbp, eax
jb 0x140160e14
jmp 0x140160dec
add ebx, ebx
jne 0x140160dea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140160e14
inc ecx
add ebx, ebx
jne 0x140160dfa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140160e14
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140160e0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140160dfc
add ecx, 2
jmp 0x140160e19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140160d42
jmp 0x140160d8d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x69400
mov dl, 0x15
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140160e7d
cmp rsi, rcx
jae 0x140160e85
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140160e64
cmp al, 0x8f
ja 0x140160e64
cmp byte [rsi - 2], 0xf
je 0x140160e6a
sub al, 0xe8
cmp al, 1
ja 0x140160e4e
cmp rsi, rcx
jae 0x140160e85
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140160e54
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140160e85
lodsb al, byte [rsi]
jmp 0x140160e64
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x15d000]
mov eax, dword [rdi]
or eax, eax
je 0x140160eee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x172c68]
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 0x140160e92
jns 0x140160ec7
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140160ed1
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 0x140160ee8
mov qword [rbx], rax
add rbx, 8
jmp 0x140160eb2
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 0x140160f28
cmp al, 0xef
ja 0x140160f1a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140160efa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140160f09
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 + 0x23f]
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 0x140160f7c
sub rsp, 0xffffffffffffff80
jmp 0x14003a348
Function at 0x140029b84
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ae08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ae08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140002ccc
Capabilities:
Parse pe header

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