joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008d648
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 0x14008d682
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008d687
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 0x14008d6d0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400da690]
cmp byte [rcx + rax], 0
je 0x14008d6d0
dec r8
sub rdx, 1
jne 0x14008d6b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400902fc
Capabilities:
Parse pe header

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

Function at 0x14009feb8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14009fd4b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009fd4b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009fd4b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009fd4b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009fd4b
cmp dword [rcx + 0x84], 0xe
jbe 0x14009fd4b
cmp dword [rcx + 0xf8], 0
je 0x14009fd4b
mov ecx, ebx
call fcn.14009fdec
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14009fbdc
cmp dword [rbp + 0x20], 0
je 0x14009fd98
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14009fda0
int3
xor r8d, r8d
xor edx, edx
jmp 0x14009fce4
Function at 0x1400b3680
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b36a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400b36a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000b510
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.140015e00
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.140015e00
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 0x14000b580
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400e40a4]
mov rbx, rcx
test esi, esi
jle 0x14000b6b0
mov rax, qword [0x1400e40a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b5cb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b655
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b5b0
mov rcx, rbx
call fcn.14000bff0
mov rdi, rax
test rax, rax
je 0x14000b6d2
mov rax, qword [0x1400e40a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000c130
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400e40a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b6b7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000b64e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000b660
add dword [0x1400e40a4], 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 [0x1400e40a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b64e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b510
nop dword [rax]
xor esi, esi
jmp 0x14000b5d8
mov rax, qword [0x1400e40a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b510
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b510
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000bc60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400e4100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400e40e0]
test rbx, rbx
je 0x14000bcbc
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 rsi, rsi
je 0x14000bcb3
test eax, eax
jne 0x14000bcb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000bc98
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 0x14000bff0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x14000c070
Capabilities:
Parse pe header

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

Function at 0x14000c130
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400bd2c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000c14f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000c158
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400177f0
Capabilities:
Check for debugger via api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp - 4], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rbp - 4]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
call rax
mov eax, dword [rbp - 4]
test eax, eax
setne al
add rsp, 0x30
pop rbp
ret

Function at 0x140017cb0
Capabilities:
Connect socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp - 4], 0
mov dword [rbp - 8], 5
mov dword [rbp - 0xc], 0x1f4
jmp 0x140017d1e
mov rdx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
sete al
test al, al
je 0x140017d01
mov eax, 1
jmp 0x140017d29
mov eax, dword [rbp - 4]
mov edx, 0x1f4
mov ecx, eax
shl edx, cl
mov eax, edx
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
add dword [rbp - 4], 1
cmp dword [rbp - 4], 4
jle 0x140017cd7
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x1400780b0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1400780f8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x1400780ca
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008b850
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008b878
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
test eax, eax
jle 0x14008b8c0
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008b890
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008b8cc
call rbp
cmp dword [rax], 4
je 0x14008b890
lea rcx, str.random_device_could_not_be_read
call fcn.1400b26d0
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140097cc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0x80000000
mov dword [rbp - 0x18], 0x7fffffff
mov qword [rbp - 8], 0
jmp 0x140097d52
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 0x18d]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x24]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x24]
and eax, 1
test eax, eax
je 0x140097d39
mov eax, 0x9908b0df
jmp 0x140097d3e
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov dword [rax + rdx*4], ecx
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0xe2
jbe 0x140097ce4
mov qword [rbp - 0x10], 0xe3
jmp 0x140097dd4
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x20], eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 0xe3]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x20]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x20]
and eax, 1
test eax, eax
je 0x140097dbb
mov eax, 0x9908b0df
jmp 0x140097dc0
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov dword [rax + rdx*4], ecx
add qword [rbp - 0x10], 1
cmp qword [rbp - 0x10], 0x26e
jbe 0x140097d66
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x9bc]
and eax, 0x80000000
mov edx, eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
and eax, 0x7fffffff
or eax, edx
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x630]
mov edx, dword [rbp - 0x1c]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x1c]
and eax, 1
test eax, eax
je 0x140097e21
mov eax, 0x9908b0df
jmp 0x140097e26
mov eax, 0
xor edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x9bc], edx
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140097e50
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov eax, dword [rbp + 0x18]
mov ecx, eax
call fcn.1400a7410
mov rdx, qword [rbp + 0x10]
mov dword [rdx], eax
mov qword [rbp - 8], 1
jmp 0x140097ec8
mov rax, qword [rbp - 8]
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
shr eax, 0x1e
xor dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
imul eax, eax, 0x6c078965
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov ecx, eax
call fcn.1400a7440
add dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, eax
call fcn.1400a7410
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 8]
mov dword [rdx + rcx*4], eax
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0x26f
jbe 0x140097e79
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0x270
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140097f20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
cmp rax, 0x26f
jbe 0x140097f4b
mov rax, qword [rbp + 0x10]
mov rcx, rax
call fcn.140097cc0
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
lea rcx, [rax + 1]
mov rdx, qword [rbp + 0x10]
mov qword [rdx + 0x9c0], rcx
mov rdx, qword [rbp + 0x10]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0xb
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0x12
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
add rsp, 0x30
pop rbp
ret

Function at 0x1400b1b10
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b6200]
jmp 0x14000cea0

Function at 0x1400b1b20
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b6200]
jmp 0x14000cea0
Function at 0x7ff7aa566370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x29], rdx
mov qword [rbp - 0x39], r8
xor r15d, r15d
call fcn.7ff7aa6741b0
mov r14, rax
xorps xmm0, xmm0
test rax, rax
jne 0x7ff7aa5663fc
mov dword [rbp - 0x49], 0x6c756e5a
mov word [rbp - 0x45], 0x6c
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rbp - 0x48]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ff7aa5663e1
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.7ff7aa570130
jmp 0x7ff7aa566561
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x7ff7aa566431
mov r8, qword [rdi]
mov edx, 0x2712
mov rcx, r14
call fcn.7ff7aa677150
mov edx, 0x51
mov r8d, 1
mov rcx, r14
call fcn.7ff7aa677150
mov dword [rbp - 0x39], 0x79656b78
mov dword [rbp - 0x35], 0x68747561
mov dword [rbp - 0x31], 0x6e69772e
mov byte [rbp - 0x2d], 0
lea r8, [rbp - 0x38]
mov edx, 0x27c1
mov rcx, r14
call fcn.7ff7aa677150
mov edx, 0x40
mov r8d, 1
mov rcx, r14
call fcn.7ff7aa677150
mov edx, 0xac
mov r8d, 1
mov rcx, r14
call fcn.7ff7aa677150
mov r8, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x7ff7aa5664ae
mov r8, qword [rsi]
mov edx, 0x271f
mov rcx, r14
call fcn.7ff7aa677150
lea r8, [0x7ff7aa566170]
mov edx, 0x4e2b
mov rcx, r14
call fcn.7ff7aa677150
lea r8, [rbp - 0x19]
mov edx, 0x2711
mov rcx, r14
call fcn.7ff7aa677150
lea r8, [0x7ff7aa5661c0]
mov edx, 0x4e6f
mov rcx, r14
call fcn.7ff7aa677150
lea r8, [rbp + 7]
mov edx, 0x272d
mov rcx, r14
call fcn.7ff7aa677150
mov rcx, r14
call fcn.7ff7aa674220
test eax, eax
je 0x7ff7aa56651d
lea rcx, [0x7ff7aa716bfc]
call fcn.7ff7aa563430
lea r8, [rbp - 0x21]
mov edx, 0x400022
mov rcx, r14
call fcn.7ff7aa674180
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 9], r15
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
lea rcx, [rbp + 7]
call fcn.7ff7aa56d8f0
nop
lea rcx, [rbp - 0x19]
call fcn.7ff7aa56d8f0
nop
mov rcx, rsi
call fcn.7ff7aa56d8f0
nop
mov rcx, rdi
call fcn.7ff7aa56d8f0
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.7ff7aa6d76b0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ff7aa56d4a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ff7aa56d573
cmp byte [rcx + 0x71], 0
je 0x7ff7aa56d573
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ff7aa56d56f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ff7aa56d534
sub eax, 1
je 0x7ff7aa56d538
cmp eax, 2
jne 0x7ff7aa56d56f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7aa6d76b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x7ff7aa56d566
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ff7aa56d56f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x7ff7aa56d51c
xor al, al
jmp 0x7ff7aa56d51c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ff7aa6d76b0
add rsp, 0x60
pop rbx
ret
Function at 0x7ff7aa59e770
Capabilities:
Create thread

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x7ff7aa74f840]
xor rax, rsp
mov qword [rbp + 0x47], rax
movdqa xmm0, xmmword [0x7ff7aa72ed00]
movdqu xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x7ff7aa72edb0]
movdqu xmmword [rbp + 0x17], xmm1
mov dword [rbp + 0x27], 0x756e65
mov dword [rbp + 0x37], 0x6c65437d
mov word [rbp + 0x3b], 0x7865
mov byte [rbp + 0x3d], 0
mov dword [rsp + 0x20], 0x7d0
xor r9d, r9d
lea r8, [rbp + 8]
lea rdx, [rbp + 0x38]
call fcn.7ff7aa5aa210
mov ecx, 1
call fcn.7ff7aa6d76d0
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x7ff7aa59f100]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x7ff7aa59e852
cmp dword [rbp - 1], 0
je 0x7ff7aa59e846
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp + 0x37], xmm0
lea rcx, [rbp + 0x37]
call qword [sym.imp.msvcp140.dll__Thrd_detach]
test eax, eax
jne 0x7ff7aa59e846
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.7ff7aa6d76b0
add rsp, 0x90
pop rbp
ret
mov ecx, 1
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 1], 0
mov ecx, 6
call qword [sym.imp.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x7ff7aa5bb5f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, eax
and r10d, 7
je 0x7ff7aa5bb621
cmp eax, r10d
jge 0x7ff7aa5bb60f
call fcn.7ff7aa5badf0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov dword [rbx + 0x14], eax
mov eax, dword [rbx + 0x10]
xor r8d, r8d
mov r9d, eax
test eax, eax
jle 0x7ff7aa5bb662
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r10d, cl
nop word [rax + rax]
shr ecx, 8
lea eax, [r9 - 8]
mov byte [rdx], r10b
lea rdx, [rdx + 1]
inc r8d
mov dword [rbx + 0x14], ecx
mov r9d, eax
movzx r10d, cl
test eax, eax
jg 0x7ff7aa5bb640
mov dword [rbx + 0x10], eax
jns 0x7ff7aa5bb688
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, [0x7ff7aa7215a8]
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x7ff7aa5bb6b7
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x7ff7aa5bb6a1
xor dl, dl
jmp 0x7ff7aa5bb6aa
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x7ff7aa5bb695
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 0x7ff7aa5bb664
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x7ff7aa5bb721
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, [0x7ff7aa721590]
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x7ff7aa5bb73b
mov rcx, rbx
call fcn.7ff7aa5baf30
test eax, eax
je 0x7ff7aa5bb714
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret