joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402110b4
Capabilities:
Hash data using sha1

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r13d, r13d
mov dword [rsp + 0x5c], 0x67452301
mov ebx, r13d
mov qword [rsp + 0x50], r13
mov rdi, rdx
mov dword [rsp + 0x58], ebx
mov r12, rcx
mov dword [rsp + 0x60], 0xefcdab89
lea r14d, [r13 + 0x10]
mov dword [rsp + 0x64], 0x98badcfe
mov dword [rsp + 0x68], 0x10325476
lea rsi, [0x1403240d0]
mov dword [rsp + 0x6c], 0xc3d2e1f0
mov al, byte [rsi]
mov ecx, ebx
mov byte [rsp + rcx + 0x70], al
mov ebx, dword [rsp + 0x58]
inc ebx
mov dword [rsp + 0x58], ebx
cmp ebx, 0x40
jne 0x140211158
lea rcx, [rsp + 0x50]
call fcn.14020f670
mov ebx, dword [rsp + 0x58]
inc rsi
sub r14, 1
jne 0x140211133
movzx esi, word [rdi]
test si, si
je 0x140211256
mov r10d, 0x3ff
mov r14d, r13d
mov ecx, 0x2800
mov edx, r14d
add rdi, 2
mov r8d, 1
lea eax, [rcx + rsi]
cmp ax, r10w
ja 0x1402111b3
movzx ecx, word [rdi]
mov eax, 0x2400
add eax, ecx
cmp ax, r10w
ja 0x1402111b3
mov word [rbp + rdx*2 + 0xb2], cx
add rdi, 2
mov r8d, 2
mov word [rbp + rdx*2 + 0xb0], si
add r14d, r8d
movzx esi, word [rdi]
test si, si
je 0x1402111cc
cmp r14d, 0xf
jb 0x140211176
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0xb0]
mov qword [rsp + 0x30], r13
lea rcx, [0x1402b52dc]
mov dword [rsp + 0x28], r14d
mov r9d, r14d
mov edx, 0xa00
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_LCMapStringEx]
lea r15d, [r14 + r14]
mov r14d, r13d
test r15d, r15d
je 0x140211249
mov ecx, ebx
mov eax, r14d
mov al, byte [rbp + rax + 0xb0]
mov byte [rsp + rcx + 0x70], al
mov ebx, dword [rsp + 0x58]
inc ebx
mov dword [rsp + 0x58], ebx
cmp ebx, 0x40
jne 0x140211241
lea rcx, [rsp + 0x50]
call fcn.14020f670
mov ebx, dword [rsp + 0x58]
inc r14d
cmp r14d, r15d
jne 0x140211214
test si, si
je 0x140211256
movzx esi, word [rdi]
jmp 0x14021116d
mov edi, ebx
mov eax, ebx
shl edi, 3
add rdi, qword [rsp + 0x50]
mov byte [rsp + rax + 0x70], 0x80
jmp 0x14021126e
mov byte [rsp + rax + 0x70], r13b
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
cmp eax, 0x40
jne 0x14021128b
lea rcx, [rsp + 0x50]
call fcn.14020f670
mov eax, dword [rsp + 0x58]
cmp eax, 0x38
jne 0x140211269
bswap rdi
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x58], rdi
call fcn.14020f670
lea rcx, [rsp + 0x5c]
mov edx, 5
mov eax, dword [rcx]
bswap eax
mov dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1402112ab
mov al, byte [rsp + 0x63]
and al, 0xf
or al, 0x50
mov byte [rsp + 0x63], al
mov rax, r12
movups xmm0, xmmword [rsp + 0x5c]
movdqu xmmword [r12], xmm0
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1402361b0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1402267e0
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0xa78]
sub rsp, 0xb60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp + 0xa50], rax
mov rbx, rdx
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140118f85.0]
mov rdi, rax
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140226700
mov rbx, rax
xor esi, esi
cmp qword [rax + 0x10], rsi
je 0x14022693a
cmp qword [rax + 0x10], 0xff
ja 0x140226954
lea rax, vtable.RefCounted.0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], esi
lea rax, vtable.ORegistryKey.0
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x140333fe0]
movdqa xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x78], 1
mov dword [rsp + 0x7c], 0x85
mov byte [rsp + 0x28], sil
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14007ef1c
test al, al
je 0x1402268ce
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1402268bc
mov rdx, qword [rbx]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
jne 0x14022697d
lea rcx, [rsp + 0x40]
call fcn.14000ad98
mov rax, qword [rbp - 0x68]
cmp rax, 8
jb 0x14022690f
mov rcx, qword [rbp - 0x80]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, 0x1000
jb 0x14022690a
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140226931
call fcn.140261814
mov rcx, qword [rbp + 0xa50]
xor rcx, rsp
call fcn.1402361b0
mov rbx, qword [rsp + 0xb90]
add rsp, 0xb60
pop rdi
pop rsi
pop rbp
ret
call fcn.140261a5c
nop
jmp 0x140226939
nop
lea rcx, [rbp - 0x60]
call fcn.14014accc
lea rdx, [0x14033b8e8]
lea rcx, [rbp - 0x60]
call fcn.1402395b8
int3
mov r9, rbx
lea rcx, [rbp + 0x330]
call fcn.14014ad98
lea rdx, [0x14033b8e8]
lea rcx, [rbp + 0x330]
call fcn.1402395b8
nop
jmp 0x14022697c
nop
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
mov r8d, eax
lea rcx, [rbp + 0x6c0]
call fcn.14014ae8c
lea rdx, [0x14033b8e8]
lea rcx, [rbp + 0x6c0]
call fcn.1402395b8
int3
Function at 0x14022a144
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1010]
mov eax, 0x1110
call fcn.140237280
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x1148], rbx
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp + 0x1000], rax
mov rdi, r8
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov dword [rsp + 0x34], esi
lea rax, [0x1402c3030]
mov qword [rcx], rax
add rcx, 8
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
call fcn.14000b494
nop
nop dword [rax]
cmp qword [rdi + 0x10], rsi
je 0x14022a1d6
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14000b494
lea rax, [rsp + 0x68]
lea edi, [rsi + 1]
jmp 0x14022a225
mov dword [rsp + 0x30], 0x10
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea rcx, [0x1402b52dc]
lea rdx, [rbp - 0x78]
test eax, eax
cmove rdx, rcx
movdqa xmm0, xmmword [0x140333fe0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
lea rcx, [rsp + 0x48]
call fcn.14000b3a4
lea rax, [rsp + 0x48]
mov edi, 6
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
test dil, 2
je 0x14022a29c
and edi, 0xfffffffd
mov rax, qword [rsp + 0x60]
cmp rax, 8
jb 0x14022a289
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14022a284
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14022a369
call fcn.140261814
movdqa xmm0, xmmword [0x140333fe0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
test dil, 1
je 0x14022a2de
mov rax, qword [rbp - 0x80]
cmp rax, 8
jb 0x14022a2de
lea rax, [rax*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14022a2d9
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14022a35f
call fcn.140261814
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x60], 7
mov word [rbx + 0x48], si
xor edx, edx
mov r8d, 0x104a
lea rcx, [rbp - 0x50]
call fcn.140238d40
mov rax, qword [0x1403c61e8]
mov r9d, 0x825
lea r8, [rbp - 0x50]
lea rdx, str.X_t__
lea rcx, [0x1403c61e8]
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
test al, al
je 0x14022a33a
lea rdx, [rbp - 0x50]
lea rcx, [rbx + 0x48]
call fcn.14000b3a4
nop
mov rax, rbx
mov rcx, qword [rbp + 0x1000]
xor rcx, rsp
call fcn.1402361b0
mov rbx, qword [rsp + 0x1148]
add rsp, 0x1110
pop rdi
pop rsi
pop rbp
ret
call fcn.140261a5c
nop
jmp 0x14022a368
nop
call fcn.140261a5c
int3
Function at 0x14022d9e4
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
xor esi, esi
mov ecx, dword [0x1403c3070]
cmp byte [0x1403c3074], sil
je 0x14022da2e
call qword [sym.imp.KERNEL32.dll_FlsGetValue]
jmp 0x14022da34
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14022da67
cmp qword [rax + 0x20], rsi
je 0x14022da67
lea rbx, [rax + 0x38]
cmp qword [rbx + 0x10], rsi
jne 0x14022da51
mov rcx, rax
call fcn.140026678
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14000b494
jmp 0x14022da78
movdqa xmm0, xmmword [0x140333fe0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], si
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rdi
call fcn.14000b420
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x14022daca
mov rcx, qword [rbp - 0x28]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, 0x1000
jb 0x14022dac5
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14022daeb
call fcn.140261814
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402361b0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
call fcn.140261a5c
int3

Function at 0x140244270
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140244283
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1402448a4
lea rdx, [0x14033b300]
lea rcx, [rsp + 0x20]
call fcn.1402395b8
int3

Function at 0x14024b058
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [rdx + r10]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x14024b070
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14024b0ba
mov ecx, dword [r11]
cmp dword [rax + 8], ecx
je 0x14024b0bc
mov rax, qword [rax]
test rax, rax
jne 0x14024b0ad
xor eax, eax
test rax, rax
je 0x14024b0cc
test r8, r8
je 0x14024b0cc
mov ecx, dword [rax + 0xc]
mov dword [r8], ecx
mov rbx, qword [rsp + 8]
ret

Function at 0x14024c5c4
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [r9 + 0x27c]
bt eax, 0x1d
jae case.default.0x14024c5d7
mov rcx, r8
mov rax, rdx
jmp qword [case.0x140118f85.0]
mov qword [rcx], rdx
mov rdx, rcx
mov qword [rcx + 8], r8
mov rcx, r9
jmp fcn.14024c5f0

Function at 0x14024eccc
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1403ccff8]
xor edx, edx
jmp fcn.140244270
Function at 0x14024ef9c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov r11, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [rdx + r10]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x14024efb9
movsxd rcx, dword [r11]
xor edx, edx
mov rdi, qword [r11 + 8]
mov rax, r9
div rcx
movsxd r10, edx
xor edx, edx
mov rcx, qword [rdi + r10*8]
test rcx, rcx
je 0x14024f00c
mov r9, qword [rbx]
mov rax, qword [rcx]
cmp qword [rcx + 8], r9
je 0x14024f02d
mov rdx, rcx
mov rcx, rax
test rax, rax
jne 0x14024eff8
xor ecx, ecx
test rcx, rcx
je 0x14024f041
test r8, r8
je 0x14024f01f
mov rdx, qword [rcx + 0x10]
mov qword [r8], rdx
mov edx, 0x18
call fcn.140237170
mov al, 1
jmp 0x14024f043
test rdx, rdx
jne 0x14024f038
mov qword [rdi + r10*8], rax
jmp 0x14024f03b
mov qword [rdx], rax
dec dword [r11 + 4]
jmp 0x14024f00e
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14024f680
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1403ccff8]
jmp fcn.140244270

Function at 0x14025000c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [rdx + r10]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x140250024
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14025006f
mov rcx, qword [r11]
cmp qword [rax + 8], rcx
je 0x140250071
mov rax, qword [rax]
test rax, rax
jne 0x140250061
xor eax, eax
test rax, rax
je 0x140250082
test r8, r8
je 0x140250082
mov rcx, qword [rax + 0x10]
mov qword [r8], rcx
mov rbx, qword [rsp + 8]
ret

Function at 0x14025b45c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14025b520]
mov r9, qword [r9 + 8]
jmp fcn.14024c5c4

Function at 0x14025b4f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14025b530]
mov r9, qword [r9 + 8]
jmp fcn.14024c5c4

Function at 0x1402750a8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140274ec8
Function at 0x401530
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov dword [rbp + 0x18], edx
mov dword [rbp + 0x20], r8d
mov dword [rbp - 4], 0
jmp 0x401583
mov eax, dword [rbp - 4]
movsxd rdx, eax
lea rax, str.Y_XJKs
movzx eax, byte [rdx + rax]
mov edx, dword [rbp + 0x10]
sub eax, edx
mov edx, eax
mov eax, dword [rbp + 0x18]
sub edx, eax
mov eax, dword [rbp + 0x20]
mov ecx, edx
sub ecx, eax
mov eax, dword [rbp - 4]
movsxd rdx, eax
lea rax, str.Y_XJKs
mov byte [rdx + rax], cl
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
mov edx, 0x9dbc
cmp rax, rdx
jb 0x40154b
lea rdx, section..rdata
lea rcx, str.PTITCTFP1g_E4t_Sl33p
call sub.msvcrt.dll_fopen
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x40160b
mov dword [rbp - 8], 0
jmp 0x4015ef
mov eax, dword [rbp - 8]
movsxd rdx, eax
lea rax, str.Y_XJKs
movzx eax, byte [rdx + rax]
mov byte [rbp - 0x11], al
mov rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x11]
mov r9, rdx
mov r8d, 1
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
add dword [rbp - 8], 1
mov eax, dword [rbp - 8]
cdqe
mov edx, 0x9dbc
cmp rax, rdx
jb 0x4015b9
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.msvcrt.dll_fclose
nop
add rsp, 0x40
pop rbp
ret
Function at 0x4020e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movsxd rbp, dword [0x00411054]
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
test ebp, ebp
jle 0x4021fa
mov rax, qword [0x00411058]
xor r9d, r9d
add rax, 8
mov r10, qword [rax]
cmp rbx, r10
jb 0x40212e
mov rdx, qword [rax + 8]
mov r11d, dword [rdx + 8]
add r10, r11
cmp rbx, r10
jb 0x4021e0
add r9d, 1
add rax, 0x18
cmp r9d, ebp
jne 0x402112
mov rcx, rbx
call fcn.00402f20
test rax, rax
mov r12, rax
je 0x402232
lea rbp, [rbp + rbp*2]
shl rbp, 3
mov r13, rbp
add r13, qword [0x00411058]
mov qword [r13 + 0x10], rax
mov dword [r13], 0
call fcn.00403040
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 8], rax
mov rax, qword [0x00411058]
mov rcx, qword [rax + rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402215
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4021d9
sub eax, 0x40
and eax, 0xffffffbf
je 0x4021d9
mov r9, rbp
add r9, qword [0x00411058]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x402201
add dword [0x00411054], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sub.msvcrt.dll_memcpy
xor ebp, ebp
jmp 0x40213b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00402070
mov rax, qword [0x00411058]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbp + 8]
call fcn.00402070
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00402070
nop
nop word cs:[rax + rax]

Function at 0x402e30
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402e71
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402e68
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402e73
add rax, 0x28
cmp rax, r9
jne 0x402e54
xor eax, eax
repz ret

Function at 0x402f20
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [0x0040e330]
cmp word [rbx], 0x5a4d
je 0x402f40
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
mov rsi, rcx
mov rcx, rbx
call fcn.00402df0
test eax, eax
je 0x402f34
sub rsi, rbx
mov rcx, rbx
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.00402e30
Function at 0x403190
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x004119c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004119a0]
test rbx, rbx
je 0x4031e4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4031db
test rsi, rsi
je 0x4031db
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4031c0
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x004119c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
Function at 0x1400a97f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400a97fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a980d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a97f5
lea eax, [rcx + 1]
jmp 0x1400a981b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a982e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a9814
sub eax, 3
jb 0x1400a984e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a989d
sar eax, 1
movsxd rbp, eax
jb 0x1400a9884
jmp 0x1400a985c
add ebx, ebx
jne 0x1400a985a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a9884
inc ecx
add ebx, ebx
jne 0x1400a986a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a9884
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a987d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a986c
add ecx, 2
jmp 0x1400a9889
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400a97b2
jmp 0x1400a97fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xca00
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a98e9
cmp rsi, rcx
jae 0x1400a98f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a98d0
cmp al, 0x8f
ja 0x1400a98d0
cmp byte [rsi - 2], 0xf
je 0x1400a98d6
sub al, 0xe8
cmp al, 1
ja 0x1400a98ba
cmp rsi, rcx
jae 0x1400a98f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a98c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a98f1
lodsb al, byte [rsi]
jmp 0x1400a98d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa7000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a994e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1331c0]
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 0x1400a98fe
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 0x1400a9948
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a991e
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 0x1400a9988
cmp al, 0xef
ja 0x1400a997a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a995a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a9969
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400a99dc
sub rsp, 0xffffffffffffff80
jmp 0x140001260
Function at 0x140014240
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400efd00]
test rax, rax
je 0x140014262
call rax
mov al, 1
jmp 0x1400143be
xor r9d, r9d
mov dword [rbp - 0x30], 0x7f9ffc2b
mov cl, 0x2b
mov dword [rbp - 0x2c], 0xaac32877
mov dword [rbp - 0x28], 0x4f06da
movabs rbx, 0x8080808080808081
lea r10d, [r9 + 0xa]
movsx eax, cl
inc eax
movsxd r8, eax
lea rax, [r9 + 0xa]
imul r8, rax
mov rax, rbx
mul r8
shr rdx, 7
imul rax, rdx, 0xff
movsx rdx, cl
sub r8, rax
mov al, r9b
and al, 7
shl al, 3
mov cl, al
mov rax, rbx
sar rdx, cl
mov rcx, r10
xor r8b, dl
mul r10
add r10, 0xa
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor byte [rbp + r9 - 0x2f], r8b
inc r9
cmp r10, 0x6e
jae 0x1400142f3
mov cl, byte [rbp - 0x30]
jmp 0x14001428a
lea rcx, [rbp - 0x2f]
mov byte [rbp - 0x25], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
je 0x1400143bc
movdqa xmm0, xmmword [0x1400df460]
xor eax, eax
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x6562621f
xor r10d, r10d
mov word [rbp - 0xc], 0xd79
lea r11d, [rax + 0x15]
mov byte [rbp - 0xa], al
movsx eax, byte [rbp - 0x20]
mov cl, r10b
inc eax
and cl, 7
movsxd r8, eax
lea rax, [r10 + 0x15]
imul r8, rax
shl cl, 3
mov rax, rbx
mul r8
shr rdx, 7
imul rax, rdx, 0xff
movsx rdx, byte [rbp - 0x20]
sub r8, rax
sar rdx, cl
xor r8b, dl
mov rcx, r11
mov rax, rbx
mul r11
add r11, 0x15
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
xor r8b, cl
xor byte [rbp + r10 - 0x1f], r8b
inc r10
cmp r11, 0x1ce
jb 0x140014333
lea rdx, [rbp - 0x1f]
mov byte [rbp - 0xa], 0
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400efd00], rax
test rax, rax
jne 0x140014259
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x1400143cc
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400e9700]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov esi, ecx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140014447
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x140014434
cmp dword [rsp + 0x28], esi
je 0x14001443a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140014420
jmp 0x14001443e
mov ebx, dword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400945b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret