joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r11d, edx
and r11d, 7
je 0x14005551f
cmp edx, r11d
jge 0x14005550e
mov r8d, dword [rcx + 0x18]
mov eax, 1
mov ecx, edx
mov r9d, edx
shl eax, cl
cmp r8d, eax
jae 0x140055504
mov r10, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r10
jb 0x1400554cf
xor cl, cl
jmp 0x1400554d8
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r9 + 8]
mov ecx, r9d
mov dword [rbx + 0x10], edx
shl eax, cl
or r8d, eax
mov dword [rbx + 0x18], r8d
cmp edx, 0x18
jg 0x14005550e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r9d, edx
cmp r8d, eax
jb 0x1400554c3
mov rax, qword [rbx + 8]
mov edx, r9d
mov qword [rbx], rax
mov eax, dword [rbx + 0x18]
mov ecx, r11d
shr eax, cl
sub edx, r11d
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x10], edx
xor r8d, r8d
mov r9d, edx
test edx, edx
jle 0x140055562
mov eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
movzx r10d, al
nop word [rax + rax]
shr eax, 8
lea edx, [r9 - 8]
mov byte [rcx], r10b
lea rcx, [rcx + 1]
inc r8d
mov dword [rbx + 0x18], eax
mov r9d, edx
movzx r10d, al
test edx, edx
jg 0x140055540
mov dword [rbx + 0x10], edx
jns 0x140055588
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x1400555b7
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400555a1
xor dl, dl
jmp 0x1400555aa
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x140055598
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x140055564
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x140055621
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x20]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x30]
jbe 0x14005563b
mov rcx, rbx
call fcn.1400548a0
test eax, eax
je 0x140055614
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x20]
call fcn.1400afab0
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x20], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14005e4b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x160
mov rax, qword [0x1400d6040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x178], rbp
mov ecx, 0xf
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005e577
mov qword [rsp + 0x180], rdi
nop dword [rax]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14005e51d
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x14005e55d
mov r8d, dword [rsp + 0x28]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14005e55d
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14005e510
mov rdi, qword [rsp + 0x180]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
mov rbp, qword [rsp + 0x178]
cmp rdx, 0xf
jbe 0x14005e5be
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005e5b9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005e5f2
mov rcx, r8
call fcn.140080604
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14007ff50
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rsi
ret
call fcn.140095fac
int3
Function at 0x14005e600
Capabilities:
Create directory
Delete file
Encode data using xor
Move file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1400d6040]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.1400af6f0
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, 0x104
call fcn.1400806b8
xor edx, edx
mov r8d, 0x104
mov rcx, rax
mov rbx, rax
call fcn.1400af6f0
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14005e813
movsx r9d, byte [rsp + 0x40]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x2a4f1756
mov dword [rsp + 0x24], 0x233a3d25
mov dword [rsp + 0x28], 0x2c383038
mov word [rsp + 0x2c], 0x807f
call fcn.1400742e0
mov r8d, r9d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movdqa xmm3, xmmword [0x1400c5a80]
mov r9d, 0x10
movdqa xmm2, xmmword [0x1400c5d80]
mov r10, rax
mov eax, dword [0x1400c4e80]
movsx r8d, byte [rsp + 0x40]
movdqu xmmword [rsp + 0x20], xmm2
mov dword [rsp + 0x30], 0x86f5e9f7
movd xmm1, eax
paddb xmm1, xmm3
movd eax, xmm2
mov byte [rsp + 0x34], 0x87
movd xmm0, eax
mov eax, dword [0x1400c4e90]
xorps xmm1, xmm0
movd xmm0, dword [rsp + 0x24]
movd dword [rsp + 0x20], xmm1
movd xmm1, eax
mov eax, dword [str._b_t_n_v]
paddb xmm1, xmm3
xorps xmm1, xmm0
movd xmm0, dword [rsp + 0x28]
movd dword [rsp + 0x24], xmm1
movd xmm1, eax
mov eax, dword [0x1400c4eb0]
paddb xmm1, xmm3
xorps xmm1, xmm0
movd xmm0, dword [rsp + 0x2c]
movd dword [rsp + 0x28], xmm1
movd xmm1, eax
lea rax, [rsp + 0x30]
paddb xmm1, xmm3
xorps xmm1, xmm0
movd dword [rsp + 0x2c], xmm1
nop dword [rax]
lea ecx, [r9 + 0x73]
inc r9d
xor byte [rax], cl
lea rax, [rax + 1]
cmp r9d, 0x14
jb 0x14005e790
mov r9, r10
mov byte [rsp + 0x34], 0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov r8d, 1
lea rcx, [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x14005e813
xor edx, edx
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov edx, 6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, rbx
call fcn.140080604
mov al, 1
jmp 0x14005e81d
mov rcx, rbx
call fcn.140080604
xor al, al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14007ff50
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rbp
ret
Function at 0x14005ef70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x1400d6040]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 1
xor eax, eax
mov qword [rdx], rax
mov ecx, 0x28
call fcn.14008067c
xor ecx, ecx
mov dword [rax + 0x21], ecx
mov word [rax + 0x25], cx
mov byte [rax + 0x27], cl
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0xf
mov byte [rax], cl
mov byte [rax + 0x20], cl
mov qword [rdi], rax
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14005f07a
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x800
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14005f07a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14005f061
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi]
call fcn.14007ccc0
jmp 0x14005f086
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14007ff50
add rsp, 0x860
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005f0b0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x1400d6040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov qword [rsp + 0x50], rdx
mov rdi, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x60], 1
xor eax, eax
mov qword [rdx], rax
mov ecx, 0x28
call fcn.14008067c
xor r14d, r14d
mov dword [rax + 0x21], r14d
mov word [rax + 0x25], r14w
mov byte [rax + 0x27], r14b
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], r14b
mov byte [rax + 0x20], r14b
mov qword [rsi], rax
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14005f1af
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14005f25f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14005f25a
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14005f296
mov rcx, rax
jmp 0x14005f25a
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14005f289
mov eax, dword [rdi + 0x10]
lea ecx, [rax*8 + 1]
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14005f1f1
mov rax, qword [rdi]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14005f289
mov rax, qword [rsi]
mov byte [rax + 0x20], 1
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14005f25f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14005f25a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005f296
mov rcx, r8
call fcn.140080604
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14007ff50
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005f229
call fcn.140095fac
int3
Function at 0x14005ff30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqa xmm0, xmmword [0x1400c5a80]
lea rdx, [rcx + 8]
movdqa xmm3, xmmword [0x1400c4f70]
mov r8, rcx
movdqa xmm4, xmmword [0x1400c4ff0]
xor eax, eax
movdqa xmmword [rsp], xmm0
mov r9d, 8
mov r10d, dword [rsp]
nop dword [rax]
nop dword [rax + rax]
lea ecx, [r9 - 4]
movd xmm1, eax
pshufd xmm1, xmm1, 0
lea rdx, [rdx + 0x10]
paddd xmm1, xmm3
movd xmm0, r10d
andps xmm1, xmm4
movd xmm2, r9d
packuswb xmm1, xmm1
add eax, 0x10
packuswb xmm1, xmm1
paddb xmm1, xmm0
pshufd xmm2, xmm2, 0
movd xmm0, dword [rdx - 0x18]
paddd xmm2, xmm3
xorps xmm1, xmm0
andps xmm2, xmm4
movd dword [rdx - 0x18], xmm1
packuswb xmm2, xmm2
movd xmm1, ecx
lea ecx, [r9 + 4]
pshufd xmm1, xmm1, 0
add r9d, 0x10
movd xmm0, r10d
paddd xmm1, xmm3
packuswb xmm2, xmm2
andps xmm1, xmm4
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, dword [rdx - 0x14]
xorps xmm1, xmm0
movd xmm0, r10d
movd dword [rdx - 0x14], xmm1
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0x10]
movd xmm1, ecx
xorps xmm2, xmm0
pshufd xmm1, xmm1, 0
movd dword [rdx - 0x10], xmm2
paddd xmm1, xmm3
movd xmm0, r10d
andps xmm1, xmm4
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm1, xmm0
movd dword [rdx - 0xc], xmm1
cmp r9d, 0x28
jb 0x14005ff70
cmp eax, 0x2b
jae 0x140060060
mov edx, eax
add rdx, r8
lea ecx, [rax + 0x73]
inc eax
xor byte [rdx], cl
lea rdx, [rdx + 1]
cmp eax, 0x2b
jb 0x140060050
mov rax, r8
mov byte [r8 + 0x2b], 0
add rsp, 0x18
ret
Function at 0x1400742e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqa xmm0, xmmword [0x1400c5a80]
mov r8, rcx
movdqa xmm2, xmmword [0x1400c4f70]
xor eax, eax
movdqa xmm3, xmmword [0x1400c4ff0]
movdqa xmmword [rsp], xmm0
mov edx, dword [rsp]
nop dword [rax]
movd xmm1, eax
lea rcx, [rcx + 4]
pshufd xmm1, xmm1, 0
add eax, 4
movd xmm0, edx
paddd xmm1, xmm2
andps xmm1, xmm3
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm1, xmm0
movd dword [rcx - 4], xmm1
cmp eax, 0xc
jb 0x140074310
cmp eax, 0xd
jae 0x140074370
mov edx, eax
add rdx, r8
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x73]
inc eax
xor byte [rdx], cl
lea rdx, [rdx + 1]
cmp eax, 0xd
jb 0x140074360
mov rax, r8
mov byte [r8 + 0xd], 0
add rsp, 0x18
ret
Function at 0x14007abb0
Capabilities:
Encode data using xor

Disassembly:
movdqa xmm4, xmmword [0x1400c4f70]
lea rdx, [rcx + 0x10]
movdqa xmm5, xmmword [0x1400c5020]
xor r10d, r10d
mov eax, r10d
mov r8, rcx
mov r9d, 8
lea ecx, [r9 - 4]
movd xmm0, eax
pshufd xmm0, xmm0, 0
lea rdx, [rdx + 0x20]
paddd xmm0, xmm4
movq xmm2, xmm5
pshufhw xmm0, xmm0, 0xd8
add eax, 0x10
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x30]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm2, xmm5
xorps xmm3, xmm0
movd xmm0, ecx
movq qword [rdx - 0x30], xmm3
lea ecx, [r9 + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x28]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm2, xmm5
xorps xmm3, xmm0
movd xmm0, r9d
movq qword [rdx - 0x28], xmm3
add r9d, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x20]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movq xmm2, xmm5
xorps xmm3, xmm0
movd xmm0, ecx
movq qword [rdx - 0x20], xmm3
pshufd xmm0, xmm0, 0
paddd xmm0, xmm4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x18]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 0x18], xmm3
cmp r9d, 0x28
jb 0x14007abd3
cmp eax, 0x2e
jae 0x14007acd1
lea rdx, [r8 + rax*2]
nop
lea ecx, [rax + 0x73]
inc eax
xor word [rdx], cx
lea rdx, [rdx + 2]
cmp eax, 0x2e
jb 0x14007acc0
mov word [r8 + 0x5c], r10w
mov rax, r8
ret

Function at 0x14007ad00
Capabilities:
Encode data using xor

Disassembly:
movdqa xmm4, xmmword [0x1400c4f70]
xor r9d, r9d
movdqa xmm5, xmmword [0x1400c5020]
mov eax, r9d
mov r8, rcx
mov rdx, rcx
nop dword [rax]
movd xmm0, eax
lea rdx, [rdx + 8]
pshufd xmm0, xmm0, 0
movq xmm2, xmm5
paddd xmm0, xmm4
add eax, 4
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp eax, 0xc
jb 0x14007ad20
cmp eax, 0xf
jae 0x14007ad81
lea rdx, [rcx + rax*2]
nop word [rax + rax]
lea ecx, [rax + 0x73]
inc eax
xor word [rdx], cx
lea rdx, [rdx + 2]
cmp eax, 0xf
jb 0x14007ad70
mov word [r8 + 0x1e], r9w
mov rax, r8
ret
Function at 0x14007b2c0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x14007b2e4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x14007b372
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14007b340
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x14007b340
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400afab0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14007b35d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14007b365
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x14007b301
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x14007b450
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x14007b389
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14007b38b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14007b3bd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400afab0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14007b44d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14007b3f8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14007b42e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.140092adc
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14007b44d
cmp rsi, rax
ja 0x14007b401
test rsi, rsi
je 0x14007b44d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140092adc
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret

Function at 0x140080dc4
Capabilities:
Parse pe header

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

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

Function at 0x140090e90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400ac8a0
sub rsp, rax
mov rax, qword [0x1400d6040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14009c0b8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140090edf
mov rax, rbp
jmp 0x140090fe7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xd86b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14009c7a0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xd86b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140090fe3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140090fe3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14009c7a0
test rax, rax
js 0x140090fe3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140090fe3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140090fd5
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140090fd5
cmp byte [rcx], 0xd
jne 0x140090fbb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140090fca
cmp byte [rcx + 1], 0xa
jne 0x140090fca
inc rcx
jmp 0x140090fca
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xd64e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140090f9d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140090fe7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14007ff50
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140092ca8
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 0x140092d17
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140092d17
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140092d17
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140092d17
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140092d17
cmp dword [rcx + 0x84], 0xe
jbe 0x140092d17
cmp dword [rcx + 0xf8], 0
je 0x140092d17
mov ecx, ebx
call fcn.140092dc8
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.140092ba4
nop
cmp dword [rbp + 0x20], 0
je 0x140092d65
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140092d70
int3
xor r8d, r8d
xor edx, edx
jmp 0x140092ca8

Function at 0x140092eac
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 0x140092d17
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140092d17
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140092d17
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140092d17
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140092d17
cmp dword [rcx + 0x84], 0xe
jbe 0x140092d17
cmp dword [rcx + 0xf8], 0
je 0x140092d17
mov ecx, ebx
call fcn.140092dc8
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.140092ba4
nop
cmp dword [rbp + 0x20], 0
je 0x140092d65
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140092d70
int3
xor r8d, r8d
xor edx, edx
jmp 0x140092ca8