joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400eb890
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401c61a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov r11, rcx
test edx, edx
jle 0x1400ebae1
lea r10d, [rdx*4]
lea eax, [r9 + r9*2]
cmp r10d, eax
jg 0x1400ebae1
mov rbx, r8
movsxd r8, r9d
add r8, rbx
movsxd rdi, edx
add rdi, rcx
lea rdx, [rdi - 3]
mov r9, qword [rsp + 0xb0]
cmp rcx, rdx
jae 0x1400eb945
nop word [rax + rax]
mov ecx, dword [r11]
bswap ecx
shr ecx, 8
mov eax, ecx
shr rax, 0x12
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ffff
mov eax, ecx
shr rax, 0xc
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and ecx, 0xfff
mov eax, ecx
shr rax, 6
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
and ecx, 0x3f
movzx ecx, byte [rcx + r9]
mov byte [rbx + 3], cl
add rbx, 4
add r11, 3
cmp r11, rdx
jb 0x1400eb8f0
sub r8d, ebx
sub edi, r11d
mov ecx, edi
je 0x1400ebadb
sub ecx, 1
je 0x1400eba97
sub ecx, 1
je 0x1400eba31
cmp ecx, 1
je 0x1400eb9c1
mov r9d, 0x887
lea r8, str.C:UserslimzadminDownloadsprotobuf_3.17.3_srcgoogleprotobuf_stubs_strutil.cc
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.1400e0de0
nop
lea rdx, str.Logic_problem__szsrc_
mov rcx, rax
call fcn.1400e1110
mov rcx, rax
mov edx, edi
call fcn.1400e10a0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400e0f00
nop
lea rcx, [rsp + 0x28]
call fcn.1400e0e90
sub ebx, esi
mov eax, ebx
jmp 0x1400ebae3
lea eax, [r8 - 4]
test eax, eax
js 0x1400ebae1
movzx eax, word [r11 + 1]
ror ax, 8
movzx ecx, ax
movzx eax, byte [r11]
shl eax, 0x10
add ecx, eax
mov eax, ecx
shr rax, 0x12
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ffff
mov edx, ecx
mov eax, ecx
shr rax, 0xc
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and edx, 0xfff
mov eax, edx
shr rax, 6
movzx eax, byte [rax + r9]
mov byte [rbx + 2], al
and edx, 0x3f
movzx eax, byte [rdx + r9]
mov byte [rbx + 3], al
add rbx, 4
sub ebx, esi
mov eax, ebx
jmp 0x1400ebae3
sub r8d, 3
js 0x1400ebae1
movzx eax, word [r11]
ror ax, 8
movzx ecx, ax
mov eax, ecx
shr rax, 0xa
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 0x3ff
mov eax, ecx
shr rax, 4
movzx eax, byte [rax + r9]
mov byte [rbx + 1], al
and ecx, 0xf
shl ecx, 2
movzx ecx, byte [rcx + r9]
mov byte [rbx + 2], cl
add rbx, 3
cmp byte [rsp + 0xb8], 0
je 0x1400ebadb
lea eax, [r8 - 1]
test eax, eax
js 0x1400ebae1
mov byte [rbx], 0x3d
inc rbx
sub ebx, esi
mov eax, ebx
jmp 0x1400ebae3
sub r8d, 2
js 0x1400ebae1
movzx ecx, byte [r11]
mov eax, ecx
shr rax, 2
movzx eax, byte [rax + r9]
mov byte [rbx], al
and ecx, 3
shl ecx, 4
movzx ecx, byte [rcx + r9]
mov byte [rbx + 1], cl
add rbx, 2
cmp byte [rsp + 0xb8], 0
je 0x1400ebadb
lea ecx, [r8 - 2]
test ecx, ecx
js 0x1400ebae1
mov word [rbx], 0x3d3d
add rbx, 2
sub ebx, esi
mov eax, ebx
jmp 0x1400ebae3
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140158360
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400fd9c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
mov r10, rdx
jb 0x1400fd9d6
mov r10, qword [rdx]
mov r11, qword [rdx + 0x10]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1400fda14
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r11
jb 0x1400fda00
mov r8, rdx
mov rcx, rbx
lea rdx, [rsp + 0x20]
call fcn.1400b3ea0
mov rax, qword [rax + 8]
test rax, rax
je 0x1400fda3d
cmp rax, qword [rbx + 8]
je 0x1400fda3d
add rax, 0x30
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
lea rdi, [0x1401cfdc0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x1400fe197
cmp dword [rsp + 0x48], 0
je 0x1400fe104
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 4
call fcn.1400fe1a0
nop
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1400fe197
mov rsi, qword [0x1401cfdb8]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400fe118
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov r8, qword [rbx + 0x10]
xor edi, edi
mov ecx, edi
test r8, r8
je 0x1400fe153
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400fe140
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400b3ea0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400fe172
mov rax, qword [rsi + 8]
jmp 0x1400fe179
mov rdx, qword [rsi + 8]
mov rax, rdx
lea rcx, [rdx + 0x30]
cmp rdx, rax
cmovne rdi, rcx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
Function at 0x140105e50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
lea r8, [rsp + 0x48]
xor edx, edx
lea rdi, [0x1401cfdc8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x140105f47
cmp dword [rsp + 0x48], 0
je 0x140105eb4
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 4
call fcn.140105f50
nop
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x140105f47
mov rsi, qword [0x1401cfdd0]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140105ec8
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov r8, qword [rbx + 0x10]
xor edi, edi
mov ecx, edi
test r8, r8
je 0x140105f03
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140105ef0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400b3ea0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140105f22
mov rax, qword [rsi + 8]
jmp 0x140105f29
mov rdx, qword [rsi + 8]
mov rax, rdx
lea rcx, [rdx + 0x30]
cmp rdx, rax
cmovne rdi, rcx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
Function at 0x140111e90
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 8
mov r11, qword [0x1401cfdd8]
test r11, r11
je 0x140111fdf
mov r10, qword [rcx + 8]
mov qword [rsp + 0x10], rbx
mov rax, r10
shr rax, 8
movabs rbx, 0xcbf29ce484222325
movzx r9d, al
mov qword [rsp], rdi
movabs rdi, 0x100000001b3
movzx eax, r10b
xor rax, rbx
imul rax, rdi
xor r9, rax
mov rax, r10
shr rax, 0x10
movzx ecx, al
mov rax, r10
imul r9, rdi
shr rax, 0x18
xor r9, rcx
movzx ecx, al
imul r9, rdi
mov rax, r10
xor r9, rcx
shr rax, 0x20
movzx ecx, al
mov rax, r10
imul r9, rdi
shr rax, 0x28
xor r9, rcx
movzx ecx, al
imul r9, rdi
mov rax, r10
xor r9, rcx
shr rax, 0x30
movzx ecx, al
mov rax, r10
imul r9, rdi
shr rax, 0x38
xor r9, rcx
movzx ecx, dl
xor rcx, rbx
mov rbx, qword [rsp + 0x10]
imul rcx, rdi
imul r9, rdi
xor r9, rax
movzx eax, byte [rsp + 0x19]
xor rcx, rax
movzx eax, byte [rsp + 0x1a]
imul rcx, rdi
imul r9, rdi
xor rcx, rax
movzx eax, byte [rsp + 0x1b]
imul rcx, rdi
xor rcx, rax
imul rcx, rdi
mov rdi, qword [rsp]
xor rcx, r9
mov r9, qword [r11 + 8]
and rcx, qword [r11 + 0x30]
shl rcx, 4
add rcx, qword [r11 + 0x18]
mov rax, qword [rcx + 8]
cmp rax, r9
je 0x140111fdf
mov rcx, qword [rcx]
nop
cmp r10, qword [rax + 0x10]
jne 0x140111fab
cmp edx, dword [rax + 0x18]
je 0x140111fb6
cmp rax, rcx
je 0x140111fdf
mov rax, qword [rax + 8]
jmp 0x140111fa0
test rax, rax
cmove rax, r9
cmp rax, r9
je 0x140111fdf
add rax, 0x20
je 0x140111fdf
movups xmm0, xmmword [rax]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rax + 0x10]
mov al, 1
movups xmmword [r8 + 0x10], xmm1
add rsp, 8
ret
xor al, al
add rsp, 8
ret
Function at 0x140003840
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
xor edx, edx
test rcx, rcx
mov rbx, r8
je 0x140003874
cmp word [rcx], 0x5a4d
jne 0x140003874
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003874
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003874
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003780
test eax, eax
jne 0x140003890
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400037f0
test rax, rax
je 0x140003885
mov rcx, qword [rbx]
lea rdx, [rax + 0x10]
mov r9d, 8
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
call fcn.14000406c
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140003f70
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140003f10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000d580
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 fcn.1400160c0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400160c0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000d5f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140024f94]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000d780
mov rax, qword [0x140024f98]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000d63c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000d6c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000d620
mov rcx, rdi
call fcn.14000e150
test rax, rax
mov r12, rax
je 0x14000d7d2
mov rax, qword [0x140024f98]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000e290
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x140024f98]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000d7b5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000d6be
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000d730
add dword [0x140024f94], 1
cmp ebx, 8
jae 0x14000d6f1
test bl, 4
jne 0x14000d790
test ebx, ebx
je 0x14000d6e6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000d7a4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000d6e6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000d70a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x140024f98]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000d6be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000d580
xor esi, esi
jmp 0x14000d647
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000d6e6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000d6e6
mov rax, qword [0x140024f98]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000d580
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000d580
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000dda0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x140025000]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140024fe0]
test rbx, rbx
je 0x14000ddf4
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 0x14000ddeb
test rsi, rsi
je 0x14000ddeb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ddd0
lea rcx, [0x140025000]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000e150
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1400204b0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000e1bf
mov rcx, r9
call fcn.14000e020
test eax, eax
je 0x14000e1bf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000e1bd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000e1b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000e1bf
add rdx, 0x28
cmp rdx, r9
jne 0x14000e1a0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140018480
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14001c180]
jmp 0x14000ef80

Function at 0x140018490
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x14001c180]
jmp 0x14000ef80
Function at 0x140157a10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
lea rbx, [rcx + 0x58]
movsd xmm6, qword [0x1402ce980]
mov rdi, rcx
movaps xmmword [rsp + 0x30], xmm7
mov esi, 4
movsd xmm7, qword [0x1402ce9f0]
movaps xmmword [rsp + 0x20], xmm8
xorps xmm8, xmm8
nop
movsd xmm1, qword [rdi + 8]
mulsd xmm1, qword [rbx]
movsd xmm0, qword [rbx - 0x20]
mulsd xmm0, qword [rdi]
addsd xmm0, xmm8
addsd xmm0, xmm1
xorps xmm0, xmm7
call fcn.140191cf0
addsd xmm0, xmm6
movaps xmm1, xmm6
divsd xmm1, xmm0
movsd qword [rbx - 0x48], xmm1
add rbx, 8
sub rsi, 1
jne 0x140157a50
movsd xmm1, qword [rdi + 0x80]
mulsd xmm1, qword [rdi + 0x18]
movsd xmm2, qword [rdi + 0x88]
mulsd xmm2, qword [rdi + 0x20]
movsd xmm0, qword [rdi + 0x78]
mulsd xmm0, qword [rdi + 0x10]
addsd xmm0, xmm8
addsd xmm0, xmm1
movsd xmm1, qword [rdi + 0x90]
mulsd xmm1, qword [rdi + 0x28]
addsd xmm0, xmm2
addsd xmm0, xmm1
xorps xmm0, xmm7
call fcn.140191cf0
mov rbx, qword [rsp + 0x60]
addsd xmm0, xmm6
mov rsi, qword [rsp + 0x68]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
divsd xmm6, xmm0
movsd qword [rdi + 0x30], xmm6
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
Function at 0x140159ad0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1402d6010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
call fcn.140157b10
call fcn.140156b00
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140159b3a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x140159b3e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140159b8f
call fcn.140157b10
call fcn.140156b00
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140159b76
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140159b50
jmp 0x140159b7a
mov esi, dword [rsp + 0x28]
call fcn.140157b10
call fcn.140156b00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14015b360
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140159bc0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402d6010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x140159cc2
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14016b740
xor r9d, r9d
mov eax, 0xa3b69df1
test rdi, rdi
je 0x140159c4a
movzx r8d, byte [r9 + rsi]
mov edx, eax
movzx ecx, r9b
shl eax, 8
and cl, 3
or eax, r8d
shl cl, 3
shr edx, cl
xor dl, r8b
mov byte [r9 + rsi], dl
inc r9
cmp r9, rdi
jb 0x140159c22
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rbp
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14015b360
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140159d90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1402d6010]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor esi, esi
movsxd r15, r9d
mov ebp, esi
mov r14d, esi
mov rdi, r8
mov rbx, rcx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x140159dd0
test rax, rax
je 0x140159e1e
mov rcx, rsi
movsxd rax, r14d
lea r8, [rsp + 0x20]
add r8, rax
lea rdx, str._2hhx
add rcx, rbx
call fcn.140157f40
add ebp, 2
mov rax, 0xffffffffffffffff
inc r14d
movsxd rcx, ebp
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], sil
jne 0x140159e10
cmp rcx, rax
jb 0x140159de1
lea rbp, [0x1402ce910]
test r15d, r15d
jle 0x140159f4f
cmp r15d, 8
jb 0x140159f4f
lea rcx, [r15 - 1]
lea rax, [rsp + 0x20]
add rax, rcx
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x140159e5b
lea rax, [rsp + 0x20]
cmp rdx, rax
jae 0x140159f4f
lea rax, [rcx + rbp]
cmp rdi, rax
ja 0x140159e6d
cmp rdx, rbp
jae 0x140159f4f
cmp r15d, 0x40
jb 0x140159f1f
mov eax, r15d
and eax, 0xffffffc0
mov rdx, rbp
movsxd rbx, eax
lea r8, [rsp + 0x20]
sub rdx, rdi
lea r9, [0x1402ce920]
sub r8, rdi
lea r10, [rsp + 0x30]
sub r9, rdi
sub r10, rdi
lea rcx, [rdi + 0x20]
mov r11, 0xffffffffffffffe0
sub r11, rdi
nop
movdqu xmm0, xmmword [rdx + rcx - 0x20]
add esi, 0x40
movdqu xmm1, xmmword [r8 + rcx - 0x20]
movdqu xmm2, xmmword [r10 + rcx - 0x20]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r11 + rcx]
movdqu xmm0, xmmword [r9 + rcx - 0x60]
movdqu xmmword [rcx - 0x60], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdx + rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
movdqu xmmword [rcx - 0x50], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [r9 + rcx - 0x40]
movdqu xmm2, xmmword [r10 + rcx - 0x40]
movdqu xmmword [rcx - 0x40], xmm1
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x30], xmm2
cmp rax, rbx
jl 0x140159eb0
mov eax, r15d
and al, 0x3f
cmp al, 8
jb 0x140159f4f
mov eax, r15d
and eax, 0xfffffff8
movsxd rcx, esi
movsxd rdx, eax
nop dword [rax + rax]
movq xmm1, qword [rcx + rbp]
add esi, 8
movq xmm0, qword [rsp + rcx + 0x20]
xorps xmm1, xmm0
movq qword [rcx + rdi], xmm1
add rcx, 8
cmp rcx, rdx
jl 0x140159f30
movsxd rcx, esi
cmp rcx, r15
jge 0x140159f73
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
xor al, byte [rsp + rcx + 0x20]
mov byte [rcx + rdi], al
inc rcx
cmp rcx, r15
jl 0x140159f60
mov byte [r15 + rdi], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14015b360
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14015bfc4
Capabilities:
Parse pe header

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

Function at 0x14015d9b0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14015d9de
xor eax, eax
jmp 0x14015dac4
cmp qword [rcx + 0x68], 0
je 0x14015d9ef
call fcn.14015dae0
jmp 0x14015dac4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14015da06
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14015da08
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14015da3a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14016b740
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14015dabe
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14015da71
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14015da9a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14017c238
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14015dabe
cmp rsi, rbx
ja 0x14015da78
test rsi, rsi
je 0x14015dabe
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14017c238
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140161e10
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x140161e40
lea rdx, [0x1401aed90]
mov ecx, 0x10008
call fcn.1401666e0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret