joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d20
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.1400079a0
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.1400079a0
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 0x140001d90
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140058174]
mov rbx, rcx
test esi, esi
jle 0x140001ec0
mov rax, qword [0x140058178]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001ddb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001e65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001dc0
mov rcx, rbx
call fcn.1400027e0
mov rdi, rax
test rax, rax
je 0x140001ee2
mov rax, qword [0x140058178]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002920
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140058178]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ec7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001e5e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001e70
add dword [0x140058174], 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 [0x140058178]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001e5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001d20
nop dword [rax]
xor esi, esi
jmp 0x140001de8
mov rax, qword [0x140058178]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001d20
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001d20
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002450
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400581e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400581c0]
test rbx, rbx
je 0x1400024ac
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 0x1400024a3
test rsi, rsi
je 0x1400024a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002488
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 0x1400027e0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140002860
Capabilities:
Parse pe header

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

Function at 0x140002920
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140055780]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000293f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002948
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001fb0
Capabilities:
Parse pe header

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

Function at 0x14000ae68
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000aed7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000aed7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000aed7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000aed7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000aed7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000aed7
cmp dword [rcx + 0xf8], 0
je 0x14000aed7
mov ecx, ebx
call fcn.14000af88
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000ad64
nop
cmp dword [rbp + 0x20], 0
je 0x14000af25
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000af30
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000ae68

Function at 0x14000b06c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000ae68
Function at 0x1400103e4
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 0x140010414
xor eax, eax
jmp 0x1400104d7
mov rbp, rbx
cmp word [rax], si
je 0x140010439
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010420
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001041c
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.140010304
movsxd r14, eax
test eax, eax
jne 0x140010477
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001040d
mov rcx, r14
call fcn.14000bea8
mov rdi, rax
test rax, rax
jne 0x140010490
xor ecx, ecx
call fcn.14000be6c
jmp 0x14001046c
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.140010304
test eax, eax
jne 0x1400104c1
mov rcx, rdi
call fcn.14000be6c
jmp 0x1400104cb
xor ecx, ecx
call fcn.14000be6c
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 0x140013948
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001395e
mov al, 1
jmp 0x1400139be
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001396f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400139bc
mov ecx, dword [rcx + 0x18]
nop
call fcn.140010d04
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400139bc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400139bc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400139bc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400139be
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140015a70
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000f3d4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140015afa
cmp byte [rbp - 0x21], r15b
je 0x140015af5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140015b30
call fcn.14000e1ec
test eax, eax
jne 0x140015b1c
cmp byte [rbp - 0x21], r15b
je 0x140015b14
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140015b30
cmp byte [rbp - 0x21], r15b
je 0x140015b2d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000e9b4
test eax, eax
jne 0x140015bd0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000f3d4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140015b6f
cmp byte [rbp - 0x21], r15b
je 0x140015ba4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140015ba4
call fcn.14000e1ec
test eax, eax
jne 0x140015b90
cmp byte [rbp - 0x21], r15b
je 0x140015b89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140015ba4
cmp byte [rbp - 0x21], r15b
je 0x140015ba1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000e9b4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140015bd0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140015bd3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140015be1
mov rcx, rdi
call fcn.14000be6c
cmp byte [rbp + 0x3f], r15b
je 0x140015bf0
mov rcx, qword [rbp + 0x27]
call fcn.14000be6c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400181f0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rdi, rcx
mov byte [rcx], 0
mov byte [rcx + 4], 1
mov dword [rcx + 8], 0x2d
mov dword [rcx + 0xc], 1
add rcx, 0x10
mov dword [rsp + 0x20], 0xff
mov r9d, 0xc8
xor r8d, r8d
lea edx, [r9 + 0x37]
call fcn.14000b2d0
mov qword [rdi + 0x14], 1
xor r12d, r12d
mov ecx, 0x3f800000
call fcn.14002fab0
movss dword [rdi + 0x1c], xmm0
mov byte [rdi + 0x20], r12b
lea r14, [rdi + 0x28]
mov qword [rsp + 0x90], r14
movabs rax, 0x77deabfad796540f
mov qword [rsp + 0x40], rax
movabs rcx, 0xad22748b5bbc7708
mov qword [rsp + 0x48], rcx
movabs rax, 0x77decc93b1f83b6c
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
mov dword [r14], r12d
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
lea rbx, [rsp + 0x30]
movq rax, xmm0
test al, al
je 0x1400012e8
nop dword [rax]
inc rbx
cmp byte [rbx], 0
jne 0x1400012e0
lea rax, [rsp + 0x30]
sub rbx, rax
mov dword [rsp + 0x40], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
lea rdx, [rbx + 1]
test rdx, rdx
je 0x140001320
lea rcx, [rsp + 0x48]
call fcn.140002010
nop word [rax + rax]
rdtsc
shl rdx, 0x20
or rax, rdx
mov rbp, rax
mov dword [rsp + 0x40], ebp
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
sub r8, rsi
xor edx, edx
mov rcx, rsi
call fcn.14007b770
mov r8d, r12d
test rbx, rbx
je 0x140001373
mov r9, r12
movzx eax, r8b
add al, al
lea edx, [rax + r8]
add dl, bpl
xor dl, byte [rsp + r9 + 0x30]
mov byte [r9 + rsi], dl
inc r8d
movsxd r9, r8d
cmp r9, rbx
jb 0x140001352
lea rdx, [rsp + 0x48]
lea rcx, [r14 + 8]
call fcn.140001f70
mov eax, dword [rsp + 0x40]
mov dword [r14], eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400013bc
mov rax, qword [rsp + 0x58]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x1400013b6
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14000141a
call fcn.14000d830
nop
mov dword [rdi + 0x48], r12d
mov qword [rdi + 0x50], r12
mov qword [rdi + 0x58], r12
mov qword [rdi + 0x60], r12
mov qword [rdi + 0x70], r12
mov qword [rdi + 0x68], r12
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x88], r12
mov qword [rdi + 0x90], r12
mov qword [rdi + 0x98], r12
mov qword [rdi + 0xa0], r12
mov qword [rdi + 0xa8], r12
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14007f5d4
nop
Function at 0x14000b730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov rbp, rcx
mov rdi, qword [rcx + 0x10]
sub rdi, qword [rcx + 8]
je 0x14000b82c
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x14000b86d
cmp rdi, 0x1000
jb 0x14000b7a3
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14000b873
call fcn.14000d580
test rax, rax
je 0x14000b867
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000b7ae
mov rcx, rdi
call fcn.14000d580
mov rsi, rax
lea r14, [rsi + rdi]
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14007b770
mov r8, r14
sub r8, rsi
xor edx, edx
mov rcx, rsi
call fcn.14007b770
xor r8d, r8d
mov rax, qword [rbp + 0x10]
sub rax, qword [rbp + 8]
cmp rax, 1
je 0x14000b81f
mov r9d, r8d
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbp + 8]
movzx eax, r8b
add al, al
lea ecx, [rax + r8]
add cl, byte [rbp]
xor cl, byte [rdx + r9]
mov byte [r9 + rsi], cl
inc r8d
mov rax, qword [rbp + 0x10]
sub rax, qword [rbp + 8]
movsxd r9, r8d
dec rax
cmp r9, rax
jb 0x14000b7f0
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
jmp 0x14000b849
mov ecx, 1
call fcn.14000d580
lea rcx, [rax + 1]
xor edx, edx
mov byte [rax], dl
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rcx
mov rax, rbx
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
call fcn.14007f5d4
int3
call fcn.140001ed0
int3
call fcn.140001160
int3
Function at 0x14001b900
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x228]
sub rsp, 0x310
xor r14d, r14d
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov ecx, 0x7f7fffff
mov qword [rsp + 0x30], r14
xorps xmm7, xmm7
mov qword [rsp + 0x38], r14
movaps xmm6, xmm2
mov dword [rsp + 0x40], r14d
mov rsi, rdx
mov byte [rsp + 0x60], r14b
mov dword [rsp + 0x64], r14d
call fcn.14002fab0
mov ecx, 0x3f800000
movss dword [rsp + 0x68], xmm0
mov byte [rsp + 0x6c], r14b
mov dword [rsp + 0x70], r14d
call fcn.14002fab0
mov ecx, 0x3f733333
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x4c], 1
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 1
call fcn.14002fab0
movss dword [rsp + 0x74], xmm0
lea rcx, [rbp - 0x20]
movabs rax, 0x6dd49d353d7c63d
xor edx, edx
mov qword [rbp - 0x80], rax
mov r8d, 0x200
movabs rax, 0x8f3483ae42bea36
mov qword [rbp - 0x78], rax
movabs rax, 0x6b349bc5391c661
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x20], rax
movabs rax, 0x8f34866e458ea42
mov qword [rsp + 0x28], rax
pxor xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.14007b770
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0x1e0], rax
mov edx, 0x7ffe0030
mov rdi, rbx
inc rdi
cmp word [rdx + rdi*2], r14w
jne 0x14001ba12
add rdi, rdi
lea rcx, [rbp - 0x20]
mov r8, rdi
call fcn.14007b0c0
mov rcx, qword [rbp + 0x1e0]
lea rax, [rsp + 0x20]
add rcx, rdi
mov rdi, rbx
mov qword [rbp + 0x1e0], rcx
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14001ba44
add rdi, rdi
lea rdx, [rsp + 0x20]
mov r8, rdi
call fcn.14007b0c0
mov rcx, qword [rbp + 0x1e0]
add rcx, rdi
mov qword [rbp + 0x1e0], rcx
nop
inc rbx
cmp word [rsi + rbx*2], r14w
jne 0x14001ba70
add rbx, rbx
mov rdx, rsi
mov r8, rbx
call fcn.14007b0c0
add qword [rbp + 0x1e0], rbx
lea r8, [rbp + 0x238]
mov r9b, 1
mov qword [rbp + 0x230], r14
lea rdx, [rbp + 0x230]
mov qword [rbp + 0x238], r14
lea rcx, [rbp - 0x20]
call fcn.14002d830
mov rdx, qword [rbp + 0x230]
test rdx, rdx
je 0x14001bb2e
mov rcx, qword [rbp + 0x238]
test rcx, rcx
je 0x14001bb2e
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
mov rax, qword [0x1401bf190]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x70], rdx
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x68], ecx
mov rcx, qword [rax + 0x40]
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x40], r14b
movss dword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x50], xmm7
movups xmmword [rbp - 0x30], xmm1
call fcn.140021e80
mov rcx, qword [0x1401bf190]
cmp qword [rcx + 0x78], r14
jne 0x14001bb31
mov qword [rcx + 0x78], rax
jmp 0x14001bb31
mov rax, r14
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140022360
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov rdi, rcx
mov qword [rsp + 0x48], r14
movsxd r14, dword [rcx + 0x28]
mov ecx, dword [rcx + 0x2c]
mov qword [rsp + 0x40], r15
movzx r15d, dx
movaps xmmword [rsp + 0x30], xmm6
movaps xmm6, xmm3
lea esi, [r14 + 1]
movaps xmmword [rsp + 0x20], xmm7
movaps xmm7, xmm2
cmp esi, ecx
jle 0x140022401
test ecx, ecx
je 0x1400223af
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400223b4
mov eax, 8
cmp eax, esi
mov ebx, esi
cmovg ebx, eax
cmp ebx, ecx
jle 0x140022401
movsxd rax, ebx
imul rcx, rax, 0x2c
mov qword [rsp + 0x60], rbp
call fcn.14000d580
mov rdx, qword [rdi + 0x30]
mov rbp, rax
test rdx, rdx
je 0x1400223f5
movsxd rcx, dword [rdi + 0x28]
imul r8, rcx, 0x2c
mov rcx, rax
call fcn.14007b0c0
mov rcx, qword [rdi + 0x30]
call fcn.14000d830
mov qword [rdi + 0x30], rbp
mov rbp, qword [rsp + 0x60]
mov dword [rdi + 0x2c], ebx
movss xmm0, dword [rsp + 0x80]
movss xmm1, dword [rsp + 0x88]
mov dword [rdi + 0x28], esi
mov rsi, qword [rsp + 0x68]
imul rbx, r14, 0x2c
mov r14, qword [rsp + 0x48]
add rbx, qword [rdi + 0x30]
movss dword [rbx + 0x14], xmm0
movss xmm0, dword [rsp + 0x90]
movss dword [rbx + 0x18], xmm1
movss xmm1, dword [rsp + 0x98]
movss dword [rbx + 0x1c], xmm0
movss xmm0, dword [rsp + 0xa0]
movss dword [rbx + 0x20], xmm1
movss xmm1, dword [rsp + 0xa8]
movss dword [rbx + 0x24], xmm0
movss xmm0, dword [rsp + 0xb0]
movss dword [rbx + 0xc], xmm7
movaps xmm7, xmmword [rsp + 0x20]
movss dword [rbx + 0x10], xmm6
movaps xmm6, xmmword [rsp + 0x30]
mov word [rbx + 4], r15w
mov r15, qword [rsp + 0x40]
movss dword [rbx + 0x28], xmm1
mov rax, qword [rdi + 0x50]
addss xmm0, dword [rax + 0x20]
movss dword [rbx + 8], xmm0
mov rax, qword [rdi + 0x50]
cmp byte [rax + 0x1c], 0
je 0x1400224c8
mov ecx, 0x3f000000
call fcn.14002fab0
addss xmm0, dword [rbx + 8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 8], xmm0
mov byte [rdi + 0x64], 1
xor r8d, r8d
mov rdi, qword [rsp + 0x70]
nop dword [rax]
nop dword [rax + rax]
movzx eax, r8b
movsxd rdx, r8d
add al, al
lea ecx, [rax + r8]
inc r8d
add cl, byte [rbx]
xor byte [rdx + rbx + 4], cl
cmp r8d, 0x28
jb 0x1400224e0
add rsp, 0x50
pop rbx
ret
Function at 0x1400282b0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
mov edi, 0xa6d99f45
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rsp + 0x20], xmm0
movd ecx, xmm0
sub cx, 8
test ebp, ebp
je 0x140028353
mov r9, qword [rsp + 0x28]
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
mov r10d, 0x811c9dc5
cmp r9, r11
je 0x14002834a
nop
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
add r9, 2
cmp r9, r11
jne 0x140028320
cmp r10d, ebp
jne 0x1400284aa
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x1400284b2
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
shr r12, 0x20
mov esi, edx
add rsi, rbx
cmp rsi, rbx
je 0x1400284aa
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1400284aa
mov r15d, dword [rsi + 0x20]
dec r11d
lea rcx, [rbx + r11*4]
mov r8d, dword [rcx + r15]
add r8, rbx
mov r10d, 0x811c9dc5
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1400283dd
movsx ecx, r9b
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
movzx r9d, byte [r8]
lea r8, [r8 + 1]
test r9b, r9b
jne 0x1400283b2
cmp r10d, edi
je 0x1400283ef
test r11d, r11d
jne 0x140028392
mov rax, qword [rax]
jmp 0x1400282f0
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
cmp rax, rsi
jbe 0x1400284b4
lea rcx, [rsi + r12]
cmp rax, rcx
jae 0x1400284b4
mov ebp, 0x811c9dc5
mov edi, ebp
movzx r8d, byte [rax]
cmp r8b, 0x2e
je 0x140028459
nop dword [rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, ebp
imul ebp, edx, 0x1000193
inc rax
movzx r8d, byte [rax]
cmp r8b, 0x2e
jne 0x140028430
inc rax
movzx r8d, byte [rax]
test r8b, r8b
je 0x140028499
nop word [rax + rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, edi
imul edi, edx, 0x1000193
lea rax, [rax + 1]
movzx r8d, byte [rax]
test r8b, r8b
jne 0x140028470
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x1400282f0
xor eax, eax
lea rcx, [0x1400276b0]
call rax
mov qword [0x1401bf2b8], rax
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret