joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007440
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
lea rcx, [0x1402f9270]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
je 0x140007699
mov ecx, dword [0x1402f92d8]
movups xmm0, xmmword [0x1402f92a8]
mov dword [rsp + 0x60], ecx
movzx ecx, word [0x1402f92dc]
movups xmm1, xmmword [0x1402f92b8]
mov qword [rsp + 0xa0], rbx
xor ebx, ebx
cmp dword [0x140353c80], 2
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x64], cx
mov ecx, ebx
movups xmm0, xmmword [0x1402f92c8]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
jl 0x14000762c
movdqa xmm0, xmmword [0x140304230]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140304160]
mov eax, 1
movdqa xmm4, xmmword [0x140304210]
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x1403041c0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x70], xmm8
movd xmm8, eax
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x140007510
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ecx, 0x36
jge 0x14000766c
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x36
jl 0x140007640
lea rdx, [rsp + 0x30]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x14035a9d0], rax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0xa8
ret
add rsp, 0xa8
ret
Function at 0x140007a30
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x1418
call fcn.140248160
sub rsp, rax
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov ebp, r9d
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r10d, eax
mov ecx, 1
mov qword [rsp + 0x78], r10
movabs rdx, 0x5851f42d4c957f2d
movabs rax, 0x5555555555555555
mov qword [rsp + 0x13f8], rax
nop word [rax + rax]
mov rax, r10
shr rax, 0x3e
xor r10, rax
imul r10, rdx
add r10, rcx
mov qword [rsp + rcx*8 + 0x78], r10
inc rcx
cmp rcx, 0x138
jb 0x140007aa0
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x138
call fcn.140008010
mov rcx, rax
mov dword [rsp + 0x3c], 0
movabs rdx, 0x6969696969696969
mov dword [rsp + 0x54], 0
xor rcx, rdx
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rcx
mov ecx, dword [rbx]
xor ecx, 0x7b
mov dword [rsp + 0x38], ecx
mov rcx, rax
xor rcx, rdi
xor rax, rsi
mov qword [rsp + 0x48], rax
mov rax, qword [0x14035a9d0]
mov qword [rsp + 0x40], rcx
movzx ecx, byte [rax]
add cl, 0x34
cmp cl, 0x33
ja 0x140007b44
movabs rax, 0x8200020000001
bt rax, rcx
jae 0x140007b44
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 0x13387676
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x28]
mov dword [rsp + 0x2c], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x60], 0
xor ecx, ecx
call qword [0x14035a9d0]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0x1418
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007bb0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1410
call fcn.140248160
sub rsp, rax
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r9d, eax
movabs rcx, 0x5851f42d4c957f2d
mov qword [rsp + 0x78], r9
mov r8d, 1
movabs rax, 0x5555555555555555
mov qword [rsp + 0x13f8], rax
mov rax, r9
shr rax, 0x3e
xor r9, rax
imul r9, rcx
add r9, r8
mov qword [rsp + r8*8 + 0x78], r9
inc r8
cmp r8, 0x138
jb 0x140007c12
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x138
call fcn.140008010
mov rcx, rax
mov dword [rsp + 0x3c], 0
movabs rdx, 0x6969696969696969
mov qword [rsp + 0x50], 8
xor rcx, rdx
mov qword [rsp + 0x58], rcx
mov ecx, dword [rbx]
xor ecx, 0x7b
mov dword [rsp + 0x38], ecx
mov rcx, rax
xor rcx, rdi
xor rax, rsi
mov qword [rsp + 0x48], rax
mov rax, qword [0x14035a9d0]
mov qword [rsp + 0x40], rcx
movzx ecx, byte [rax]
add cl, 0x34
cmp cl, 0x33
ja 0x140007cb3
movabs rax, 0x8200020000001
bt rax, rcx
jae 0x140007cb3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 0x13387676
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x28]
mov dword [rsp + 0x2c], 2
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x60], 0
xor ecx, ecx
call qword [0x14035a9d0]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0x1410
pop rdi
pop rsi
pop rbx
ret
Function at 0x140007d20
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x1418
call fcn.140248160
sub rsp, rax
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov rbp, r9
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r10d, eax
mov edx, 1
mov qword [rsp + 0x78], r10
movabs rcx, 0x5851f42d4c957f2d
movabs rax, 0x5555555555555555
mov qword [rsp + 0x13f8], rax
nop
mov rax, r10
shr rax, 0x3e
xor r10, rax
imul r10, rcx
add r10, rdx
mov qword [rsp + rdx*8 + 0x78], r10
inc rdx
cmp rdx, 0x138
jb 0x140007d80
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x138
call fcn.140008010
mov r10, qword [0x14035a9d0]
mov rcx, rax
xor rax, rdi
mov dword [rsp + 0x48], esi
xor r8d, r8d
mov qword [rsp + 0x40], rax
movabs rdx, 0x6969696969696969
mov dword [rsp + 0x3c], r8d
xor rcx, rdx
mov dword [rsp + 0x4c], r8d
mov qword [rsp + 0x58], rcx
mov ecx, dword [rbx]
xor ecx, 0x7b
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x38], ecx
movzx eax, byte [r10]
add al, 0x34
cmp al, 0x33
ja 0x140007e1a
movabs rcx, 0x8200020000001
bt rcx, rax
jae 0x140007e1a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x28]
mov dword [rsp + 0x28], 0x13387676
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2c], 3
xor ecx, ecx
call r10
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0x1418
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140007e80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x1400
call fcn.140248160
sub rsp, rax
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov r8d, eax
movabs rdx, 0x5851f42d4c957f2d
movabs rax, 0x5555555555555555
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x13e8], rax
mov eax, 1
nop word [rax + rax]
mov rcx, r8
shr rcx, 0x3e
xor r8, rcx
imul r8, rdx
add r8, rax
mov qword [rsp + rax*8 + 0x68], r8
inc rax
cmp rax, 0x138
jb 0x140007ee0
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x138
call fcn.140008010
mov rcx, rax
mov dword [rsp + 0x28], 0x13387676
xor rax, rdi
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x38]
mov eax, dword [rbx]
movabs rdx, 0x6969696969696969
xor eax, 0x7b
mov qword [rsp + 0x38], 0
xor rcx, rdx
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x28]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [0x14035a9d0]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.1402474e0
mov rbx, qword [rsp + 0x1420]
add rsp, 0x1400
pop rdi
ret
Function at 0x140008010
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140008082
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140008040
mov ecx, dword [r10]
jmp 0x140008183
cmp ecx, 0x270
jb 0x140008183
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x1400080b0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x140008100
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x140009300
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x140009482
test byte [r8 + 0x5e], 0x40
jne 0x14000932d
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx edx, word [rsi + 0x14]
movzx eax, word [rsi + 6]
add rdx, 0x18
mov r8d, dword [r8 + 0xb0]
add rdx, rsi
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140009482
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140009366
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000937d
add rdx, 0x28
cmp rdx, r9
jb 0x140009354
mov eax, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x140009478
cmp rbx, r15
jae 0x140009478
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x140009473
add eax, 0xfffffff8
shr eax, 1
je 0x140009464
lea r11, [rbx + 8]
mov edi, eax
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x1400093f2
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x1400093fe
cmp ax, 0xa
jne 0x140009456
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x14000944b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x140009432
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x14000943d
add rax, 0x28
cmp rax, r10
jb 0x140009420
jmp 0x14000944b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x14000944e
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x1400093d0
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x1400093b4
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
Function at 0x140009ad0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r15, r9
mov rsi, r8
mov r14, rdx
mov rbx, rcx
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
mov eax, 0x5a4d
cmp word [r15], ax
je 0x140009b12
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
jmp 0x140009c72
mov qword [rsp + 0x90], rbp
movsxd rbp, dword [r15 + 0x3c]
add rbp, r15
cmp dword [rbp], 0x4550
je 0x140009b35
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
jmp 0x140009c6a
test rsi, rsi
je 0x140009b2a
xor eax, eax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x28], rax
mov rdi, rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov ecx, dword [rbp + 0x50]
add rcx, 0xffffffffffffffe0
add rcx, rsi
cmp rsi, rcx
jae 0x140009bf9
mov qword [rsp + 0x58], r12
movzx r12d, byte [rsp + 0xb0]
mov qword [rsp + 0x50], r13
mov r13d, 4
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x40
lea r9, [rsp + 0x20]
test r12b, r12b
mov r8d, 1
mov rdx, rdi
mov rcx, r14
cmovne eax, r13d
mov dword [rsp + 0x20], eax
call fcn.140007d20
mov r9d, 0x20
lea r8, [rsp + 0x28]
mov rdx, rdi
mov rcx, r14
call fcn.140007a30
test r12b, r12b
je 0x140009bdc
mov rdx, rdi
mov rcx, r14
call fcn.140007e80
mov ecx, dword [rbp + 0x50]
add rdi, 0x20
add rcx, 0xffffffffffffffe0
add rcx, rsi
cmp rdi, rcx
jb 0x140009b90
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov r8, rbp
mov rdx, r15
mov rcx, rsi
call fcn.140009300
mov r8, rbp
mov rdx, r15
mov rcx, r14
call fcn.1400082e0
mov rdi, qword [rsp + 0x60]
test al, al
je 0x140009b2a
mov r9d, 0x1000
mov r8, r15
mov rdx, rsi
mov rcx, r14
call fcn.140007a30
test eax, eax
jne 0x140009b2a
mov r9, rbp
mov r8, r15
mov rdx, rsi
mov rcx, r14
call fcn.140009490
test al, al
je 0x140009b2a
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
mov eax, dword [rbp + 0x28]
add rax, rsi
mov qword [rbx + 8], rsi
mov qword [rbx], rax
mov rbp, qword [rsp + 0x90]
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0x68
pop r15
pop r14
pop rsi
pop rbx
ret
Function at 0x14000ad40
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
movups xmm0, xmmword [0x1402f9548]
pextrw eax, xmm0, 7
movups xmmword [rsp + 0x40], xmm0
test ax, ax
je 0x14000aea1
cmp dword [0x140353c80], 2
jl 0x14000ae67
movdqa xmm2, xmmword [0x140304160]
mov eax, 4
movdqa xmm3, xmmword [0x140304170]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1403042b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140304180]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x1402f9548]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x1403041f0]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x40], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140304180]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1403041f0]
pxor xmm2, xmm0
movq qword [rsp + 0x48], xmm2
jmp 0x14000aea1
lea r8, [rsp + 0x40]
xor ecx, ecx
nop
mov eax, 0x5397829d
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x31
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x37
xor word [r8 - 2], ax
cmp ecx, 8
jl 0x14000ae70
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000aee7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x68
ret
xor al, al
add rsp, 0x68
ret
Function at 0x14000eac0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.140248160
sub rsp, rax
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov r14, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor ebp, ebp
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
jne 0x14000eb12
mov rdx, rbp
jmp 0x14000ebdb
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.14000c9b0
test al, al
je 0x14000eb0a
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x14000eb50
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
test r15d, r15d
je 0x14000ebb8
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ebb1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x14000eba3
cmp rdi, rax
je 0x14000ec15
inc esi
cmp esi, r15d
jb 0x14000eb80
mov rdx, rbp
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.14000e9b0
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1402474e0
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x14000ebb8
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x50]
add rdx, rax
je 0x14000ebb8
test ecx, ecx
je 0x14000ebb8
lea rax, [rsp + 0x50]
mov ebp, ecx
sub rdx, rax
add rdx, r13
jmp 0x14000ebbb
Function at 0x14000fc40
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000fc68
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000fc8e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000fc90
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000fce9
test ecx, ecx
jle 0x14000fcc9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000fce9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000fce9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14000fd10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000fd32
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000fd48
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000fd64
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000fd66
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000fda2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000fe3e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000fddd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000fe1e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000fe3e
cmp rbx, rax
ja 0x14000fdf0
test rbx, rbx
je 0x14000fe3e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret