joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180011bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x2c], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180021418], eax
je 0x180011c1e
mov eax, 0x10dd
jmp 0x180011e34
cmp dword [0x18002141c], 0
je 0x180011c32
mov eax, dword [0x18002141c]
jmp 0x180011e34
cmp qword [rsp + 0x78], 0
jne 0x180011c44
mov eax, 0x57
jmp 0x180011e34
cmp qword [rsp + 0x70], 0
jne 0x180011c56
mov eax, 6
jmp 0x180011e34
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180011c88
mov dword [rsp + 0x2c], 6
mov eax, dword [rsp + 0x2c]
mov dword [0x18002141c], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180021420], rax
mov eax, dword [rsp + 0x2c]
jmp 0x180011e34
mov ecx, 0x30
call fcn.180013104
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180011cf5
mov dword [rsp + 0x2c], 8
mov eax, dword [rsp + 0x2c]
mov dword [0x18002141c], eax
cmp qword [rsp + 0x40], 0
je 0x180011ce0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.18001308c
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180021420], rax
mov eax, dword [rsp + 0x2c]
jmp 0x180011e34
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.18000fa20
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.18000fa20
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x28], 0
je 0x180011d52
movsxd rax, dword [rsp + 0x28]
cmp rax, 0x1e
jbe 0x180011d6f
mov dword [rsp + 0x2c], 9
cmp dword [0x180021410], 0
je 0x180011d6a
jmp 0x180011cbb
jmp 0x180011cb1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180011d9c
mov dword [rsp + 0x2c], 9
cmp dword [0x180021410], 0
je 0x180011d97
jmp 0x180011cbb
jmp 0x180011cb1
mov dword [rsp + 0x38], 0
movsxd rax, dword [rsp + 0x28]
lea r9, [rsp + 0x38]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180011dd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2c], eax
jmp 0x180011cb1
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x40]
mov rcx, qword [0x180021430]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
mov qword [0x180021430], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180032550
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x18003257c
xor al, al
jmp 0x1800326a0
movdqa xmm0, xmmword [0x180052ae0]
movdqa xmm1, xmmword [0x180052af0]
mov rax, qword [r9]
xor r11d, r11d
mov qword [rsp + 0x50], r12
mov rcx, r8
movdqa xmmword [rsp], xmm0
movdqa xmm0, xmmword [0x180052b00]
movdqa xmmword [rsp + 0x10], xmm1
lea r12, [r8 + rax]
mov edx, r11d
movdqa xmm1, xmmword [0x180052b10]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmmword [rsp + 0x30], xmm1
test rbx, rbx
je 0x180032692
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1800325f9
mov r11d, 2
jmp 0x18003261d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x180032613
mov r11d, 1
jmp 0x18003261d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, r12
ja 0x1800326b5
mov eax, r10d
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov eax, r10d
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x18003265a
mov byte [rcx + 2], 0x3d
jmp 0x18003266a
shr r10, 6
and r10d, 0x3f
movzx eax, byte [rsp + r10]
mov byte [rcx + 2], al
add rcx, 3
add r8, 3
test r11, r11
je 0x18003267c
mov byte [rcx], 0x3d
jmp 0x180032683
movzx eax, byte [rsp + r9]
mov byte [rcx], al
inc rcx
inc r8
cmp rdx, rbx
jb 0x1800325e0
sub rcx, rsi
mov al, 1
mov qword [rbp], rcx
mov r12, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor al, al
jmp 0x18003269b

Function at 0x18014e966
Capabilities:
Allocate thread local storage

Disassembly:
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.180002b00
lea rbx, [0x18001f7c0]
mov edi, 0x9b
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rbx, 4
dec rdi
mov dword [rbx - 4], eax
jne 0x180002ec7
call fcn.180002b80
lea eax, [rdi + 1]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
pushfq
add qword [rsp + 8], 0x4934c
push r15
lea rdi, [rdi + 1]
movabs r15, 0x2dee73bf6d730012
neg r15b
push r13
jae 0x180002eb0
movabs r13, 0x1b240e9c4e393f06
push 0x34cb615d
mov qword [rsp + 0x48], rdi
movsx r13w, byte [rsp + 6]
mov dword [rsp], r13d
or r15b, byte [rsp + 7]
push rbp
call fcn.1801908c5
dec byte [rbp + 0x72]
loopne 0x18014e9ca
outsd dx, dword [rsi]
or al, 0x47
xchg esp, eax
jmp 0x1c1fbf293
xchg edi, eax
adc eax, 0xd470072b
sar dl, 1
cdq
push 0xffffffffb857c7f1
lodsd eax, dword [rsi]
mov bl, 0xab
invalid

Function at 0x18017144f
Capabilities:
Encode data using xor

Disassembly:
movzx bx, word [rsp]
sub dil, byte [rsp + 0x46]
or word [rsp], di
lea rbx, [r9*8 + 0x3c205f52]
or esi, dword [rsp + 0x41]
call fcn.1801fc288
neg byte [rsp + 0x60]
mov dword [rsp + 0x60], 0x2589291b
push qword [rsp + 0x50]
popfq
lea rsp, [rsp + 0x70]
ret
jbe 0x18002fd2f
mov rbx, qword [rsp + 0x30]
mov byte [rsp + 0x60], 0x15
jns 0x1800351d0
Function at 0x1801d70e8
Capabilities:
Encode data using xor

Disassembly:
and al, 0x60
setle byte [rsp + 0x18]
test bl, 0x3f
not dword [rsp + 0x18]
mov rbx, qword [rsp + 0x48]
setg byte [rsp + 0x40]
jae 0x180217f91
stosb byte [rdi], al
lahf
repne stosd dword [rdi], eax
test al, 0xb7
xor byte [rcx + 0x6485a51], cl
sbb dword [rax + 0x5585b7a4], eax
jbe 0x1801d70d4
mov ah, 0x5b
movabs byte [0x4b5db7889d48540e], al
mov cl, 0x15
push rsi
mov bl, 0xb7
push rbx
invalid
add qword [rsp + 0x18], 0x759f6501
add qword [rsp + 0x50], 0x7fe55a14
add qword [rsp + 0x10], 0x7fdb4dea
call fcn.18003cdc5

Function at 0x1801ebccf
Capabilities:
Encode data using xor

Disassembly:
neg r13b
movabs r12, 0x4297697033b6701d
add r12b, 0x1b
call fcn.18003ce40
cdq
ror dword [rdx + 0x55a377f8], 1
jne 0x1801ebd13
sbb ebp, eax
pop rbx
adc ebp, esp
call [rcx + 0x77f88ad1]
movabs dword [0x2575201525257555], eax
and eax, 0x25752015
int3
push rbp
outsb dx, byte [rsi]
and eax, 0x922e86b0
fiadd dword [rdx + rdx*4 - 0x55]
xchg edx, eax
stosd dword [rdi], eax
pushfq
fiadd dword [rbx - 0x256822c1]
enter 0xffffffffffffa811, 0xffffffffffffff97
fcmove st(0), st(1)
pop rdx
xor ecx, dword [rdx + rbx*8 + 0x69398d21]
and eax, 0x9120874a
fisub dword [rdi - 0x256ca02d]
jb 0x1801ebd1b
jge 0x1801ebcdf
fisub dword [rdx - 0x256c90d6]
invalid

Function at 0x180252d23
Capabilities:
Encode data using xor

Disassembly:
push rcx
mov rcx, qword [rsp + 0x18]
mov rcx, qword [rcx]
mov qword [rsp + 0x18], 0x223d133e
push rbx
push r10
xor qword [rsp + 0x28], 0x9737ac1
push r13
movabs r13, 0x18227c8e61014eb3

Function at 0x1802a3567
Capabilities:
Encode data using xor

Disassembly:
add qword [rsp + 0x28], 0xffffffffffe7d1df
cmp r12b, 0x3a
Function at 0x1400010a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14002f070]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
lea rcx, [0x140419910]
mov qword [rsp + 0x30], rsi
mov rdi, rdx
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 4
mov edx, 0xc0000000
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000113b
lea r9d, [rsi + 2]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x14000112d
mov r8d, dword [rdi + 8]
lea r9, [rsp + 0x40]
sub r8d, dword [rdi]
mov rcx, rbx
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test rbx, rbx
je 0x14000113b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000a3a0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1400033f0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x300
mov rax, qword [0x14002f070]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, r8
mov rdi, rcx
mov r8d, 0x208
lea rcx, [rsp + 0xe0]
xor edx, edx
call fcn.14000cde0
cmp qword [rdi + 0x18], 8
jb 0x140003434
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x68]
call fcn.14000cde0
xor edi, edi
mov dword [rsp + 0x50], 0x68
mov eax, 5
mov dword [rsp + 0x8c], 0x101
mov word [rsp + 0x90], ax
cmp qword [rbx + 0x10], rdi
jne 0x140003481
mov ebx, edi
jmp 0x14000348b
cmp qword [rbx + 0x18], 8
jb 0x14000348b
mov rbx, qword [rbx]
lea rax, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14000a3a0
mov rbx, qword [rsp + 0x318]
add rsp, 0x300
pop rdi
ret
Function at 0x140003a70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14002f070]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x58], r9
mov edx, r9d
mov ecx, r9d
lea r8, [0x14002fa87]
nop dword [rax]
movzx eax, byte [rcx + r8]
xor al, 0x73
mov byte [rsp + rcx + 0x38], al
inc edx
lea rcx, [rcx + 1]
cmp edx, 0xb
jb 0x140003ab0
mov r8d, dword [rsp + 0x38]
lea rdx, [0x14002faa8]
add r8, rdx
mov qword [rsp + 0x50], r9
lea rcx, [rsp + 0x48]
call fcn.140004080
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x41]
movzx r8d, byte [rsp + 0x42]
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x48]
call fcn.140003500
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140003b5f
mov rax, qword [rsp + 0x58]
sub rax, rcx
cmp rax, 0x1000
jb 0x140003b5a
test cl, 0x1f
je 0x140003b2d
call fcn.140010b70
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140003b3c
call fcn.140010b70
int3
sub rcx, rax
cmp rcx, 8
jae 0x140003b4b
call fcn.140010b70
int3
cmp rcx, 0x27
jbe 0x140003b57
call fcn.140010b70
int3
mov rcx, rax
call fcn.14000a400
mov eax, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000a3a0
add rsp, 0x78
ret

Function at 0x140003b80
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140003c10]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8d, 0x103
lea rdx, [0x140419b20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [0x140419b20]
call fcn.14000cd1c
or r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp word [rax + r9*2 + 2], 0
jne 0x140003bd0
sub r9, 7
lea r8, [rax + 2]
mov edx, 0x104
lea rcx, [0x140419700]
call fcn.140010e54
call fcn.140003a70
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140011d9c
Capabilities:
Parse pe header

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, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140011b70
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140011b70
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140011b70
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140011b70
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140011b70
cmp dword [rcx + 0x84], 0xe
jbe 0x140011b70
cmp dword [rcx + 0xf8], esi
je 0x140011b70
mov ecx, r14d
call fcn.140011cb8
mov ecx, 2
call fcn.1400110e0
nop
cmp byte [0x140418f58], 0
jne 0x140011c3a
mov r15d, 1
mov eax, r15d
xchg dword [0x140418f4c], eax
test ebx, ebx
jne 0x140011be3
mov rdi, qword [0x14002f070]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140418f50]
cmp rcx, rax
je 0x140011bda
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000adcc]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140418f68]
jmp 0x140011bef
cmp ebx, r15d
jne 0x140011bf5
lea rcx, [0x140418f80]
call fcn.1400122ac
nop
test ebx, ebx
jne 0x140011c0c
lea rdx, [0x14001e348]
lea rcx, [0x14001e320]
call fcn.140011a30
lea rdx, [0x14001e358]
lea rcx, [0x14001e350]
call fcn.140011a30
movzx eax, byte [0x140418f58]
test esi, esi
cmove eax, r15d
mov byte [0x140418f58], al
jmp 0x140011c3a
mov ecx, 2
call fcn.140011134
test esi, esi
jne 0x140011c51
mov ecx, r14d
call fcn.140011c6c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140011b00

Function at 0x140ee6fb4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140ee6fbe
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140ee6fe7
pop rbp
sub rbp, 0x33
sub rbp, 0xee6fb4
sub rsp, 0x20
jmp 0x140ee7006
mov rax, 0xee6fb4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffff9638f212
xor byte [rax], dl
inc rax
dec rcx
jne 0x140ee7025
jmp 0x140ee703c
pop rdx
wait
sti
cdq
wait
adc dl, byte cs:[rdx]
adc bl, byte [rdx - 0x6d]
rcr dword [rdx], cl
adc edx, dword [rdx]
adc bl, byte [rdx + 0x13]
sti
pop rdx
invalid
Function at 0x1406b9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406b91df
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 0x1406b9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406b906f
add dl, dl
jne 0x1406b9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406b90f6
xor eax, eax
add dl, dl
jne 0x1406b90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406b91ad
add dl, dl
jne 0x1406b90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406b90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406b907e
mov eax, 1
add dl, dl
jne 0x1406b9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406b9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406b90fb
sub eax, ebx
mov ebx, 1
jne 0x1406b914c
mov ecx, 1
add dl, dl
jne 0x1406b912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406b913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406b9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406b907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406b9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406b9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406b915d
cmp eax, 0x7d00
jae 0x1406b919b
cmp eax, 0x500
jb 0x1406b9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406b907e
cmp eax, 0x7f
ja 0x1406b919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406b907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406b91d2
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 0x1406b907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000485b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140010080]
jne 0x14000379a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003796
repz ret
ror rcx, 0x10
jmp 0x1400047b4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140011280]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140011378]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140004839
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, [0x140011280]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000485b
mov rax, qword [rsp + 0x88]
mov qword [0x140011378], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140011318], rax
mov rax, qword [0x140011378]
mov qword [0x1400111f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140011300], rax
mov dword [0x1400111e0], 0xc0000409
mov dword [0x1400111e4], 1
mov rax, qword [0x140010080]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140010088]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140011278], eax
mov ecx, 1
call fcn.140005140
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000c508]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140011278], 0
jne 0x1400048e2
mov ecx, 1
call fcn.140005140
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 0x1400057ec
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140005fa4
nop
cmp dword [0x1400117b8], 1
je 0x140005798
mov dword [0x1400117b4], 1
mov byte [0x1400117b0], r12b
test ebx, ebx
jne 0x140005784
mov rcx, qword [0x140012270]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140005771
mov rcx, qword [0x140012268]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140005710
call fcn.140005150
cmp qword [rdi], rax
jne 0x140005710
jmp 0x1400056f6
cmp rdi, rsi
jb 0x140005771
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140005150
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140012270]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140012268]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000574f
cmp r13, rax
je 0x14000576f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400056f6
lea rdx, [0x14000c2a0]
lea rcx, [0x14000c298]
call fcn.140005540
lea rdx, [0x14000c2b0]
lea rcx, [0x14000c2a8]
call fcn.140005540
nop
test r12d, r12d
je 0x1400057a7
mov ecx, 8
call fcn.140005ea4
test r12d, r12d
jne 0x1400057d2
mov dword [0x1400117b8], 1
lea ecx, [r12 + 8]
call fcn.140005ea4
mov ecx, r15d
call fcn.1400054d4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140005660

Function at 0x1400057f8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140005660
Function at 0x1400093d4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140005150
xor ebx, ebx
mov rdi, rax
cmp qword [0x140011f38], rbx
jne 0x1400094da
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400095af
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400095af
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140011f38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140011f40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140011f48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140011f58], rax
test rax, rax
je 0x1400094d1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140011f50], rax
jmp 0x1400094e1
mov rax, qword [0x140011f50]
jmp 0x1400094e8
mov rax, qword [0x140011f50]
mov r11, qword [0x140011f58]
cmp rax, rdi
je 0x140009550
cmp r11, rdi
je 0x140009550
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140011f58]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140009550
test rax, rax
je 0x140009550
call rsi
test rax, rax
je 0x14000954a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000954a
test byte [rsp + 0x38], 1
jne 0x140009550
bts ebp, 0x15
jmp 0x14000958e
mov rcx, qword [0x140011f40]
cmp rcx, rdi
je 0x14000958e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000958e
call rax
mov rbx, rax
test rax, rax
je 0x14000958e
mov rcx, qword [0x140011f48]
cmp rcx, rdi
je 0x14000958e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000958e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140011f38]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400095af
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400095b1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret