joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005f9c0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 0x10
call fcn.14008761c
test rax, rax
je 0x14005f9e6
mov qword [rax], rbx
lea rcx, [0x14005f960]
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14005f430]
xor edx, edx
xor ecx, ecx
call fcn.14009746c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14005fa4b
cmp dword [rsp + 0x38], 0
je 0x14005fa40
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140086818
test eax, eax
jne 0x14005fa40
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call fcn.140085bf4
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.140085bf4
int3
Function at 0x140072280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x1400722e4
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x1400722d8
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x1400722c0
test rdi, rdi
jne 0x140072312
xor eax, eax
jmp 0x140072397
mov rdx, r8
test rdi, rdi
je 0x1400722dd
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14007230c
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x1400722f0
jmp 0x1400722d8
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14007238f
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14007237e
cmp dword [rbx + 0x14], ebp
jne 0x14007237e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14007236f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.140089860
test eax, eax
je 0x140072386
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140072356
test rbx, rbx
je 0x14007238f
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140074550
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400eb618]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x140074644
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x1400745d8
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x1400745b0
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140073dc0
mov dword [rsi], eax
test eax, eax
jne 0x140074601
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.14007d330
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x14007466c
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140074290
test eax, eax
je 0x140074644
mov ecx, dword [r14]
test eax, ecx
jne 0x140074665
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.14007d8c0
cmp al, 2
jne 0x140074644
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x140074590
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140087ae0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x140074649
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.14007d8c0
cmp al, 2
jne 0x1400746e3
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x1400746e3
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x1400746ca
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x1400746a0
lea rcx, [rsp + 0x20]
call fcn.140074290
cmp eax, 0x10
jne 0x1400746e3
or dword [r14], eax
xor eax, eax
jmp 0x140074649
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x140074649
Function at 0x140088450
Capabilities:
Parse pe header

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

Function at 0x140097ae8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14009797b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009797b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009797b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009797b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009797b
cmp dword [rcx + 0x84], 0xe
jbe 0x14009797b
cmp dword [rcx + 0xf8], 0
je 0x14009797b
mov ecx, ebx
call fcn.140097a1c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14009780c
cmp dword [rbp + 0x20], 0
je 0x1400979c8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400979d0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140097914
Function at 0x1400ab260
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ab288
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ab288
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400011c8
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov rdi, rax
test rax, rax
je 0x140001249
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rdi, qword [rdi + 0x18]
test rdi, rdi
je 0x140001239
add rdi, 0x10
mov rbx, qword [rdi]
jmp 0x140001234
lea rcx, [rbx + 0x58]
mov r8b, 1
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
je 0x140001264
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000121b
xor ebx, ebx
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400015c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
mov rbx, qword [rbx + 0x30]
jmp 0x14000123b

Function at 0x14000126c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rax + 0x10], 0
lea r9, [rax + 0x10]
xor edx, edx
mov rsi, rcx
xor r8d, r8d
lea ebx, [rdx + 0xb]
mov ecx, ebx
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140001333
mov edx, eax
xor ecx, ecx
mov r8d, 0x4e554c4c
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rax
mov ecx, ebx
mov rdi, rax
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x140001333
mov r8d, dword [rdi]
xor ebx, ebx
xor ecx, ecx
test r8d, r8d
je 0x14000131e
mov r11d, ecx
lea rdx, [rdi + 0x30]
imul rax, r11, 0x128
mov r10, rsi
add rdx, rax
sub r10, rdx
movzx eax, byte [rdx]
movzx r9d, byte [rdx + r10]
sub eax, r9d
jne 0x140001305
inc rdx
test r9d, r9d
jne 0x1400012f0
test eax, eax
je 0x140001312
inc ecx
cmp ecx, r8d
jb 0x1400012d9
jmp 0x14000131e
imul rax, r11, 0x128
mov rbx, qword [rax + rdi + 0x18]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rbx, rbx
je 0x140001333
mov rax, rbx
jmp 0x140001335
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001374
Capabilities:
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbx, r9
mov rdi, r8
mov rsi, rdx
test rdx, rdx
je 0x1400013e0
test r8, r8
je 0x1400013e0
test rbx, rbx
je 0x1400013e0
and qword [rax + 0x10], 0
lea rdx, [rax - 0x18]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
lea rcx, [rsp + 0x68]
mov r9, rdi
mov qword [rsp + 0x30], rcx
mov r8, rax
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
test eax, eax
js 0x1400013e0
mov al, 1
jmp 0x1400013e2
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400013f4
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, r9
mov rsi, r8
mov rdi, rdx
test rdx, rdx
je 0x1400014d8
test r8, r8
je 0x1400014d8
test rbx, rbx
je 0x1400014d8
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
and qword [rsp + 0x28], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], 0x30
mov rdx, rdi
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwQueryVirtualMemory]
test eax, eax
js 0x1400014cd
mov rcx, qword [rsp + 0x50]
lea rdx, [rbx + rdi]
add rcx, qword [rsp + 0x38]
cmp rcx, rdx
jb 0x1400014cd
test dword [rsp + 0x58], 0x1000
je 0x1400014cd
mov eax, dword [rsp + 0x5c]
test eax, 0x101
jne 0x1400014cd
test al, 0x40
jne 0x1400014b0
test al, al
js 0x1400014b0
test al, 4
jne 0x1400014b0
test al, 8
je 0x1400014be
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400016c0
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov al, 1
jmp 0x1400014da
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400015c0
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400010d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x70
mov qword [rsp + 0x50], rcx
mov rcx, rdx
mov qword [rsp + 0x48], rdx
call fcn.1400017e0
xor r8d, r8d
mov ecx, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x48]
call fcn.140001c00
mov edx, dword [rax + 0x54]
mov r8d, edx
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.140002a20
nop
add rsp, 0x70
pop rsi
ret

Function at 0x1400024b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xb8
lea rdx, [0x1400040ab]
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0xb4], 0x201c9f1d
mov r8w, word [rsp + 0xae]
mov r9w, r8w
sub r9w, 0x8886
mov word [rsp + 0xae], r9w
mov qword [rsp + 0xa0], 0x7f92b344
mov r10d, dword [rsp + 0xb4]
mov r11d, r10d
add r11d, 0xdfe360f1
mov word [rsp + 0x3e], r8w
mov r8d, r11d
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], rax
call fcn.140001e20
xor r8d, r8d
mov eax, r8d
mov r8d, dword [rsp + 0x38]
imul r10d, r8d, 0x753812d8
mov dword [rsp + 0xb0], r10d
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov dx, word [rsp + 0x3e]
mov cx, dx
xor ecx, 0x3b02
mov r8w, cx
mov word [rsp + 0xae], r8w
mov ecx, dword [rsp + 0x38]
xor ecx, 0x494e30e1
mov dword [rsp + 0xb0], ecx
mov r9, qword [rsp + 0xa0]
mov r10b, byte [rsp + rax + 0x40]
movsx ecx, r10b
mov r8w, cx
xor r9, 0x7f92b364
mov word [rsp + rax*2 + 0x60], r8w
add rax, 1
mov dword [rsp + 0xb0], 0xd7f5e461
cmp rax, r9
mov qword [rsp + 0x28], rax
jne 0x140002544
lea rcx, [rsp + 0x60]
call fcn.140002710
mov edx, dword [rsp + 0x38]
add edx, edx
mov dword [rsp + 0xb0], edx
add rsp, 0xb8
ret
Function at 0x10000d320
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100010340]
jne 0x10000d33b
rol rcx, 0x10
test cx, 0xffff
jne 0x10000d337
ret 0
ror rcx, 0x10
jmp 0x10000d700
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1000104f0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x1000105e8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10000d785
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, [0x1000104f0]
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.ntdll.dll_RtlVirtualUnwind
jmp 0x10000d7a7
mov rax, qword [rsp + 0x88]
mov qword [0x1000105e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100010588], rax
mov rax, qword [0x1000105e8]
mov qword [0x100010460], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100010570], rax
mov dword [0x100010450], 0xc0000409
mov dword [0x100010454], 1
mov rax, qword [0x100010340]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100010348]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100003898]
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, 0x88
ret

Function at 0x10000d59c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10000d5e9
cmp rcx, 0xffffffffffffffff
je 0x10000d5e9
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000d5e1
cmp dword [rcx + 0x3c], edx
jl 0x10000d5e1
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000d5e1
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 0x10000d5e9
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140ee70b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140ee7237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140ee70e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ee70c7
add dl, dl
jne 0x140ee70ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ee714e
xor eax, eax
add dl, dl
jne 0x140ee70fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ee7205
add dl, dl
jne 0x140ee710e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ee711b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ee7128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ee7135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ee7142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ee70d6
mov eax, 1
add dl, dl
jne 0x140ee715e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ee716b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ee7153
sub eax, ebx
mov ebx, 1
jne 0x140ee71a4
mov ecx, 1
add dl, dl
jne 0x140ee7186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ee7193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ee717b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ee70d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ee71c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ee71cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ee71b5
cmp eax, 0x7d00
jae 0x140ee71f3
cmp eax, 0x500
jb 0x140ee71ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ee70d6
cmp eax, 0x7f
ja 0x140ee71f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ee70d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ee722a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140ee70d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001120d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400170f0
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 0x140011294
Capabilities:
Execute command

Disassembly:
jmp 0x1400119b0
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x1400270a4]
call fcn.14001139d
mov dword [rbp + 4], 0xa
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0xa
mov dword [rbp + 0x64], 0
xor ecx, ecx
call fcn.140011d40
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
mov byte [rbp + 0x84], 0
mov byte [rbp + 0xa4], 0
mov byte [rbp + 0xc4], 0
mov dword [rbp + 0xe4], 0
mov dword [rbp + 0x104], 0
mov dword [rbp + 0x124], 0
mov dword [rbp + 0x144], 0
mov dword [rbp + 0x164], 0
lea rcx, [0x14001f0c0]
call fcn.1400111a9
lea rdx, [rbp + 0x84]
lea rcx, [0x14001f01c]
call fcn.14001109b
movsx eax, byte [rbp + 0x84]
cmp eax, 0x70
jne 0x140011ac6
lea rcx, [0x14001ee80]
call qword [sym.imp.ucrtbased.dll_system]
call fcn.1400113f2
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x24]
mov r8d, dword [rbp + 4]
mov edx, dword [rbp + 0xe4]
movzx ecx, byte [rbp + 0xa4]
call fcn.140011244
jmp 0x140011ad6
movsx eax, byte [rbp + 0x84]
cmp eax, 0x71
jne 0x140011ad6
xor eax, eax
jmp 0x140011ad8
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ee20]
call fcn.140011339
mov rax, rdi
mov rcx, qword [rbp + 0x238]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x248]
pop rdi
pop rbp
ret

Function at 0x14001129e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018430
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018450
xor al, al
jmp 0x1400184d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018463
xor al, al
jmp 0x1400184d1
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 0x14001848d
xor al, al
jmp 0x1400184d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400184a1
xor al, al
jmp 0x1400184d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400184b3
xor al, al
jmp 0x1400184d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400184cf
xor al, al
jmp 0x1400184d1
mov al, 1
add rsp, 0x38
ret
Function at 0x2fc4d2000
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d30e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d2a02
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d2a9a
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d2a7e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d2a72
cmp qword [rbp - 0x10], 0
je 0x2fc4d2a72
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2a38
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d2a9b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2ba0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d2bc8
mov eax, 0
jmp 0x2fc4d2c16
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d2bf1
mov eax, 0
jmp 0x2fc4d2c16
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2c11
mov eax, 0
jmp 0x2fc4d2c16
mov eax, 1
add rsp, 0x20
pop rbp
ret