joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000899c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800089cc
xor eax, eax
jmp 0x180008a8f
mov rbp, rbx
cmp word [rax], si
je 0x1800089f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800089d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800089d4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800088bc
movsxd r14, eax
test eax, eax
jne 0x180008a2f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800089c5
mov rcx, r14
call fcn.180009c2c
mov rdi, rax
test rax, rax
jne 0x180008a48
xor ecx, ecx
call fcn.180006ef4
jmp 0x180008a24
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800088bc
test eax, eax
jne 0x180008a79
mov rcx, rdi
call fcn.180006ef4
jmp 0x180008a83
xor ecx, ecx
call fcn.180006ef4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000e1e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18000e208
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18000e208
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002ce0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.140004840
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.140004840
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 0x140002d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140002e80
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002d9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002e25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002d80
mov rcx, rbx
call fcn.1400037a0
mov rdi, rax
test rax, rax
je 0x140002ea2
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400038e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002e87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002e1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002e30
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002e1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002ce0
nop dword [rax]
xor esi, esi
jmp 0x140002da8
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002ce0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002ce0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003410
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x14000346c
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 0x140003463
test rsi, rsi
je 0x140003463
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003448
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 0x1400037a0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140003820
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ab0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000383f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140003848
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000383f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400038e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ab0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400038ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003908
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140003cd0
Capabilities:
Get common file path
Terminate process

Disassembly:
push rdi
push r15
sub rsp, 0x48
mov rax, qword [0x140020010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x28]
mov rdi, rdx
lea rcx, [0x140014598]
xor r15d, r15d
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x28], r15
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140003e77
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rsp + 0x70], rbp
mov rbx, 0xffffffffffffffff
mov rbp, qword [rsp + 0x28]
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
mov qword [rsp + 0x40], r14
nop
inc rbx
cmp word [rbp + rbx*2], r15w
jne 0x140003d40
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x140003ea5
mov qword [rsp + 0x78], rsi
mov qword [rdi + 0x18], 7
cmp rbx, 8
jae 0x140003d90
mov qword [rdi + 0x10], rbx
mov rdx, rbp
add rbx, rbx
mov rcx, rdi
mov r8, rbx
call fcn.140007950
mov word [rbx + rdi], r15w
jmp 0x140003e42
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x140003dac
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140003dde
mov ecx, 0xa
mov r14, rax
cmp rax, rcx
movabs rax, 0x7fffffffffffffff
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, rax
ja 0x140003e9f
add rcx, rcx
cmp rcx, 0x1000
jb 0x140003e0a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003e9f
mov rcx, rax
call fcn.140003ef8
test rax, rax
je 0x140003eab
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140003e1c
test rcx, rcx
je 0x140003e19
call fcn.140003ef8
mov rsi, rax
jmp 0x140003e1c
mov rsi, r15
mov qword [rdi + 0x10], rbx
mov rdx, rbp
add rbx, rbx
mov qword [rdi], rsi
mov r8, rbx
mov qword [rdi + 0x18], r14
mov rcx, rsi
call fcn.140007950
mov word [rbx + rsi], r15w
mov rbp, qword [rsp + 0x28]
mov rcx, rbp
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rsi, qword [rsp + 0x78]
mov rax, rdi
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140003ed0
add rsp, 0x48
pop r15
pop rdi
ret
mov r9d, 0x10
lea r8, str.ERROR
lea rdx, str.Error:_System32_was_not_found.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140001130
int3
call fcn.1400011d0
int3
call fcn.140008544
int3

Function at 0x140004a64
Capabilities:
Parse pe header

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

Function at 0x140008ad4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400088c4
Function at 0x14000c5dc
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000c60c
xor eax, eax
jmp 0x14000c6cf
mov rbp, rbx
cmp word [rax], si
je 0x14000c631
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000c618
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000c614
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000c52c
movsxd r14, eax
test eax, eax
jne 0x14000c66f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000c605
mov rcx, r14
call fcn.14000aa80
mov rdi, rax
test rax, rax
jne 0x14000c688
xor ecx, ecx
call fcn.14000ab94
jmp 0x14000c664
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000c52c
test eax, eax
jne 0x14000c6b9
mov rcx, rdi
call fcn.14000ab94
jmp 0x14000c6c3
xor ecx, ecx
call fcn.14000ab94
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400116a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400116c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400116c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14008ae20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
movzx eax, byte [0x1404b2b8c]
mov ecx, eax
xor cl, 9
and al, 9
add al, al
add al, cl
mov byte [rbp - 0x20], al
mov r8d, dword [0x1404b2b88]
mov eax, 0xffffa6bc
add eax, dword [0x1404b416c]
cdqe
add rax, qword [0x1404b4188]
mov ecx, r8d
xor ecx, 0x99119bbc
mov edx, r8d
and edx, 0x19119bbc
lea edx, [rcx + rdx*2]
add r8d, 0x9428eb28
mov rcx, rbx
call qword [case.0x1400f5c95.0]
mov r14, rax
cmp rax, 0xf
jbe 0x14008aee3
mov eax, dword [0x1404b4168]
sub eax, dword [0x1404b2b88]
add eax, 0xbe9c2b6b
cdqe
add rax, qword [0x1404b4178]
lea rcx, [rbp - 0x20]
mov rdx, r14
mov r9, rbx
call qword [case.0x1400f5c95.0]
jmp 0x14008af68
cmp dword [0x1404b2b88], 0xbe9c84af
jne 0x14008af13
mov qword [rbp - 0x10], r14
lea rcx, [rbp - 0x20]
mov rdx, rbx
mov r8, r14
call fcn.1403d0ac0
mov byte [rbp + r14 - 0x20], 0
mov eax, dword [0x14051cbcc]
cmp eax, 0x62
jl 0x14008af68
lea r15, [rbp - 0x20]
mov r12d, 0x41637b52
lea rax, [fcn.14008ae20]
lea r13d, [rax + rax]
add r13d, 0x19e0
nop
mov qword [rbp - 0x10], r14
mov dword [0x14051cbcc], 0x18
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.1403d0ac0
mov byte [rbp + r14 - 0x20], 0
mov eax, dword [0x1404b2b88]
add eax, r12d
mov ecx, r13d
xor ecx, eax
not ecx
test ecx, eax
jne 0x14008af30
jmp 0x14008aeef
mov eax, dword [0x14051cbcc]
cmp eax, 0x36
jg 0x14008afa0
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x30], xmm0
mov eax, dword [0x14051cbc8]
mov ecx, dword [0x1404b2b88]
neg ecx
add ecx, eax
add ecx, 0xbe9c84ae
imul ecx, eax
test cl, 1
je 0x14008afb5
nop dword [rax + rax]
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x30], xmm0
cmp dword [0x1404b2b88], 0xbe9c84af
jne 0x14008afa0
jmp 0x14008af73
lea rdx, [rbp - 0x30]
lea r8, [rbp - 0x20]
mov rcx, rsi
call fcn.14008b100
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x14008b066
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14008b04c
mov edx, dword [0x14051cbc8]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
nop word cs:[rax + rax]
mov edx, 0x41637b52
add edx, dword [0x1404b2b88]
lea r8, [fcn.14008ae20]
add r8d, r8d
add r8d, 0x30a0
test r8d, edx
jne 0x14008b000
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
movabs rdx, 0xdb66ad69b88fc60a
add rdx, qword [0x1404b2b80]
cmp rcx, rdx
jae 0x14008b084
add rax, 0x28
mov rdx, rax
mov rcx, r8
mov eax, 0xffffa6bc
add eax, dword [0x1404b4160]
cdqe
add rax, qword [0x1404b4180]
call qword [case.0x1400f5c95.0]
lea rax, [0x1403ec0f8]
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140388c3c
int3
Function at 0x140097cc0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
movaps xmmword [rbp - 0x10], xmm6
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rsi, rcx
lea rax, [0x1403ece18]
mov qword [rcx], rax
lea rax, [rcx + 8]
mov qword [rbp - 0x58], rax
mov dword [rcx + 8], 0
mov word [rcx + 0xc], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x30], 0
mov qword [rcx + 0x38], 0xf
mov byte [rcx + 0x20], 0
lea rax, [0x1403eb8c8]
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x58], 0
mov qword [rcx + 0x60], 0xf
mov byte [rcx + 0x48], 0
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x80], 0
mov qword [rcx + 0x88], 0xf
mov byte [rcx + 0x70], 0
mov qword [rcx + 0x68], rax
mov byte [rcx + 0x90], 0
mov dword [rcx + 0x94], 0
lea rax, [rcx + 0xa8]
mov qword [rbp - 0x50], rax
xorps xmm6, xmm6
movups xmmword [rcx + 0xb0], xmm6
mov qword [rcx + 0xc0], 0
mov byte [rcx + 0xc8], 1
mov dword [rcx + 0xcc], 1
movups xmmword [rcx + 0xd0], xmm6
mov qword [rcx + 0xe0], 0
lea rdi, [0x1403ed778]
mov qword [rcx + 0xa8], rdi
mov qword [rcx + 0xa0], 0
mov byte [rcx + 0x1e0], 0
lea rbx, [rcx + 0x1e4]
mov r8d, 0x150
mov rcx, rbx
xor edx, edx
call fcn.1403d1170
mov qword [rbp - 0x48], rbx
mov rcx, rbx
xor edx, edx
call fcn.14027ea60
mov dword [rsi + 0x334], 0
lea rax, [rsi + 0x348]
mov qword [rbp - 0x40], rax
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
mov qword [rsi + 0x368], 0
mov ecx, 0x70
call fcn.1403a8a84
lea rcx, [rsi + 0x360]
mov qword [rbp - 0x38], rcx
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 0x360], rax
lea rax, [rsi + 0x370]
mov qword [rbp - 0x30], rax
movups xmmword [rsi + 0x370], xmm6
mov qword [rsi + 0x380], 0
lea rax, [rsi + 0x390]
mov qword [rbp - 0x28], rax
movups xmmword [rsi + 0x390], xmm6
mov qword [rsi + 0x3a0], 0
mov eax, dword [0x14051ce50]
mov ecx, dword [0x140520970]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x140097f1d
lea rax, [0x14051cc88]
mov qword [rsi + 0x3a8], rax
lea rax, [rsi + 0x3c8]
mov qword [rbp - 0x20], rax
movups xmmword [rsi + 0x3d0], xmm6
mov qword [rsi + 0x3e0], 0
mov byte [rsi + 0x3e8], 1
mov dword [rsi + 0x3ec], 1
movups xmmword [rsi + 0x3f0], xmm6
mov qword [rsi + 0x400], 0
mov qword [rsi + 0x3c8], rdi
mov rcx, rsi
call fcn.1400984c0
mov rax, rsi
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x20], 0xfb710d9e
lea r8, [0x14051ce50]
mov ecx, 1
xor edx, edx
mov r9d, 0x78e50c2b
call fcn.1400aa370
cmp dword [0x14051ce50], 0xffffffff
jne 0x140097ead
lea rcx, [0x14051cc88]
call fcn.140098b70
lea rcx, [0x140098ec0]
mov edx, 0xbea1fe28
mov r8d, 0x376a9807
mov r9d, 0x4d55758
call fcn.1400ad8d0
mov dword [rsp + 0x20], 0xfb710d9e
lea r8, [0x14051ce50]
mov ecx, 1
mov edx, 1
mov r9d, 0x78e50c2b
call fcn.1400aa370
jmp 0x140097ead
Function at 0x1400a9ca0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1400a9cf2
test edx, edx
je 0x1400a9d41
movzx eax, byte [0x1404b1096]
cmp al, 0xce
je 0x1400a9cea
mov cl, 0x7c
nop dword [rax]
mov al, 0x9d
lock cmpxchg byte [0x1404b1096], cl
je 0x1400a9da6
movzx edx, byte [0x1404b2b8c]
mov r8d, edx
xor r8b, 0xd7
and dl, 0x57
add dl, dl
add dl, r8b
cmp al, dl
jne 0x1400a9cc0
lea rax, [0x1404b1090]
ret
test edx, edx
je 0x1400a9d6c
movzx eax, byte [0x1404b1303]
cmp al, 0x13
je 0x1400a9d39
nop word cs:[rax + rax]
movzx ecx, byte [0x1404b2b8c]
lea eax, [rcx + 0x57]
add cl, 0x97
lock cmpxchg byte [0x1404b1303], cl
je 0x1400a9e00
movzx ecx, byte [0x1404b2b8c]
add cl, 0x1c
cmp al, cl
jne 0x1400a9d10
lea rax, [0x1404b12f0]
ret
movzx eax, byte [0x1404b131d]
cmp al, 0xa9
je 0x1400a9d64
mov cl, 0xbc
nop
mov al, 0x55
lock cmpxchg byte [0x1404b131d], cl
je 0x1400a9e41
cmp al, 0xa9
jne 0x1400a9d50
lea rax, [0x1404b1310]
ret
movzx eax, byte [0x1404b1145]
cmp al, 0x80
je 0x1400a9d9e
mov cl, 0xa3
nop dword [rax]
mov al, 0x42
lock cmpxchg byte [0x1404b1145], cl
je 0x1400a9e8f
movzx edx, byte [0x1404b2b8c]
add dl, 0x89
cmp al, dl
jne 0x1400a9d80
lea rax, [0x1404b1130]
ret
xor r8d, r8d
lea rax, [0x1404b1090]
lea rcx, [0x1403eb590]
mov edx, 0x41637b52
nop dword [rax]
movsxd r8, r8d
movzx r9d, byte [r8 + rcx]
xor byte [r8 + rax], r9b
mov r9d, dword [0x1404b2b88]
add r9d, edx
mov r10d, r8d
xor r10d, r9d
and r9d, r8d
lea r8d, [r10 + r9*2]
cmp r8d, 6
jl 0x1400a9dc0
movzx eax, byte [0x1404b2b8c]
add al, 0xd7
xchg byte [0x1404b1096], al
lea rax, [0x1404b1090]
ret
xor edx, edx
lea rax, [0x1404b12f0]
lea rcx, [0x1403eb7d0]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x1404b2b88]
add edx, r8d
add edx, 0x41637b52
cmp edx, 0x13
jl 0x1400a9e10
mov al, 0x13
xchg byte [0x1404b1303], al
lea rax, [0x1404b12f0]
ret
xor edx, edx
lea rax, [0x1404b1310]
lea rcx, [0x1403eb7f0]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0xd
jl 0x1400a9e60
mov al, 0xa9
xchg byte [0x1404b131d], al
lea rax, [0x1404b1310]
ret
xor eax, eax
lea rcx, [0x1404b1130]
lea rdx, [0x1403eb620]
nop
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x14
jg 0x1400a9eb8
inc rax
jmp 0x1400a9ea0
mov al, 0x80
xchg byte [0x1404b1145], al
lea rax, [0x1404b1130]
ret
Function at 0x1400aa030
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1400aa075
test edx, edx
je 0x1400aa0ac
movzx eax, byte [0x1404b128f]
cmp al, 0xf6
je 0x1400aa06d
mov cl, 0x90
nop word cs:[rax + rax]
mov al, 0xff
lock cmpxchg byte [0x1404b128f], cl
je 0x1400aa15c
movzx edx, byte [0x1404b2b8c]
dec dl
cmp al, dl
jne 0x1400aa050
lea rax, [0x1404b1280]
ret
test edx, edx
je 0x1400aa125
movzx eax, byte [0x1404b12b6]
cmp al, 0x9b
je 0x1400aa0a4
mov cl, 0x15
nop word [rax + rax]
mov al, 0xa8
lock cmpxchg byte [0x1404b12b6], cl
je 0x1400aa1ca
cmp al, 0x9b
jne 0x1400aa090
lea rax, [0x1404b12b0]
ret
movzx eax, byte [0x1404b1203]
nop word cs:[rax + rax]
cmp al, 0x7d
je 0x1400aa200
movzx ecx, byte [0x1404b2b8c]
lea eax, [rcx + 0x7d]
add cl, 0xf8
lock cmpxchg byte [0x1404b1203], cl
jne 0x1400aa0c0
xor eax, eax
lea rcx, [0x1404b1200]
lea rdx, [0x1403eb6e0]
mov r8d, 0x41637b54
nop word cs:[rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x1404b2b88]
add r10d, r8d
cmp r9d, r10d
jge 0x1400aa1f8
inc rax
jmp 0x1400aa100
movzx eax, byte [0x1404b134d]
cmp al, 0xe2
je 0x1400aa154
mov cl, 0x23
nop word cs:[rax + rax]
mov al, 0xc3
lock cmpxchg byte [0x1404b134d], cl
je 0x1400aa21f
cmp al, 0xe2
jne 0x1400aa140
lea rax, [0x1404b1340]
ret
xor edx, edx
lea rax, [0x1404b1280]
lea rcx, [0x1403eb760]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rax]
movzx r9d, byte [rdx + rcx]
mov r10d, r8d
xor r10b, 0x93
and r8b, 0x13
add r8b, r8b
add r8b, r10b
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
add r8b, 0x6d
mov byte [rdx + rax], r8b
mov r8d, dword [0x1404b2b88]
add edx, r8d
add edx, 0x41637b52
cmp edx, 0xf
jl 0x1400aa170
mov al, 0xf6
xchg byte [0x1404b128f], al
lea rax, [0x1404b1280]
ret
xor eax, eax
lea rcx, [0x1404b12b0]
lea rdx, [0x1403eb790]
nop word [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 5
jg 0x1400aa208
inc rax
jmp 0x1400aa1e0
mov al, 0x7d
xchg byte [0x1404b1203], al
lea rax, [0x1404b1200]
ret
movzx eax, byte [0x1404b2b8c]
add al, 0xa4
xchg byte [0x1404b12b6], al
lea rax, [0x1404b12b0]
ret
xor eax, eax
lea rcx, [0x1404b1340]
lea rdx, [0x1403eb820]
nop
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x1400aa248
inc rax
jmp 0x1400aa230
mov al, 0xe2
xchg byte [0x1404b134d], al
lea rax, [0x1404b1340]
ret
Function at 0x1400aa570
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x1400aa5ac
test edx, edx
je 0x1400aa5f7
movzx eax, byte [0x1404b1166]
cmp al, 0x43
je 0x1400aa5a4
mov cl, 0x6a
nop word cs:[rax + rax]
mov al, 0xe6
lock cmpxchg byte [0x1404b1166], cl
je 0x1400aa65c
cmp al, 0x43
jne 0x1400aa590
lea rax, [0x1404b1150]
ret
test edx, edx
je 0x1400aa62c
movzx eax, byte [0x1404b1199]
movzx ecx, byte [0x1404b2b8c]
mov edx, ecx
xor dl, 0x4d
and dl, cl
xor cl, 0xb2
add dl, dl
add dl, cl
cmp al, dl
je 0x1400aa5ef
movzx ecx, byte [0x1404b2b8c]
lea eax, [rcx + 0x66]
add cl, 0xc5
lock cmpxchg byte [0x1404b1199], cl
je 0x1400aa6a6
cmp al, 0xa9
jne 0x1400aa5d0
lea rax, [0x1404b1190]
ret
movzx eax, byte [0x1404b10c5]
cmp al, 0x31
je 0x1400aa624
mov cl, 0xed
nop word cs:[rax + rax]
mov al, 0xc
lock cmpxchg byte [0x1404b10c5], cl
je 0x1400aa6f9
cmp al, 0x31
jne 0x1400aa610
lea rax, [0x1404b10b0]
ret
movzx eax, byte [0x1404b11b6]
cmp al, 0xac
je 0x1400aa654
mov cl, 0x38
nop dword [rax]
mov al, 0xec
lock cmpxchg byte [0x1404b11b6], cl
je 0x1400aa738
cmp al, 0xac
jne 0x1400aa640
lea rax, [0x1404b11a0]
ret
xor edx, edx
lea rax, [0x1404b1150]
lea rcx, [0x1403eb640]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0x16
jl 0x1400aa670
movzx eax, byte [0x1404b2b8c]
add al, 0x4c
xchg byte [0x1404b1166], al
lea rax, [0x1404b1150]
ret
xor edx, edx
lea rax, [0x1404b1190]
lea rcx, [0x1403eb680]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
not edx
and edx, 0x7ffffffe
or edx, r8d
not edx
lea edx, [r8 + rdx*2]
cmp edx, 9
jl 0x1400aa6c0
mov al, 0xa9
xchg byte [0x1404b1199], al
lea rax, [0x1404b1190]
ret
xor eax, eax
lea rcx, [0x1404b10b0]
lea rdx, [0x1403eb5b0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x14
jg 0x1400aa728
inc rax
jmp 0x1400aa710
mov al, 0x31
xchg byte [0x1404b10c5], al
lea rax, [0x1404b10b0]
ret
xor eax, eax
lea rcx, [0x1404b11a0]
lea rdx, [0x1403eb690]
mov r8d, 0x41637b67
nop
movzx r9d, byte [rax + rdx]
mov r10d, r9d
xor r10b, r9b
not r10b
and r10b, byte [rax + rcx]
xor r10b, r9b
mov byte [rax + rcx], r10b
lea r9d, [rax + 1]
mov r10d, dword [0x1404b2b88]
add r10d, r8d
cmp r9d, r10d
jge 0x1400aa781
inc rax
jmp 0x1400aa750
mov al, 0xac
xchg byte [0x1404b11b6], al
lea rax, [0x1404b11a0]
ret