joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b29e0
Capabilities:
Contain obfuscated stackstrings
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rdi, rcx
mov qword [rbp + 0x3f], rcx
xor r14d, r14d
mov dword [rbp + 0x37], r14d
mov dword [rbp - 0x29], 0x620061
mov dword [rbp - 0x25], 0x320031
mov dword [rbp - 0x21], 0x2d005f
mov dword [rbp - 0x1d], 0x630033
mov dword [rbp - 0x19], 0x640034
mov dword [rbp - 0x15], 0x370036
mov dword [rbp - 0x11], 0x660065
mov dword [rbp - 0xd], 0x680067
mov dword [rbp - 9], 0x690038
mov dword [rbp - 5], 0x35006a
mov dword [rbp - 1], 0x6c006b
mov dword [rbp + 3], 0x39006d
mov dword [rbp + 7], 0x6f006e
mov dword [rbp + 0xb], 0x710070
mov dword [rbp + 0xf], 0x730072
mov dword [rbp + 0x13], 0x750074
mov dword [rbp + 0x17], 0x770076
mov dword [rbp + 0x1b], 0x790078
mov dword [rbp + 0x1f], 0x49007a
mov dword [rbp + 0x23], 0x50004f
mov dword [rbp + 0x27], 0x410043
mov dword [rbp + 0x2b], 0x450046
mov dword [rbp + 0x2f], 0x4a0057
mov eax, 0x4b
mov word [rbp + 0x33], ax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov dword [rbp + 0x37], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov eax, 0x66666667
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ebx, eax
add ebx, 7
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movsxd rbx, ebx
test rbx, rbx
je 0x1400b2b8d
movabs rsi, 0x642c8590b21642c9
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, rsi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x2e
sub rcx, rax
movzx r9d, word [rbp + rcx*2 - 0x29]
mov rax, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rax, rdx
jae 0x1400b2b7f
lea rcx, [rax + 1]
mov qword [rdi + 0x10], rcx
mov rcx, rdi
cmp rdx, 8
jb 0x1400b2b72
mov rcx, qword [rdi]
mov word [rcx + rax*2], r9w
mov word [rcx + rax*2 + 2], r14w
jmp 0x1400b2b87
mov rcx, rdi
call fcn.1400b3d60
sub rbx, 1
jne 0x1400b2b25
mov rax, rdi
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400b3270
Capabilities:
Create thread
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1400d9028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor r14d, r14d
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov r8d, r9d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x1400b330f
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400b3308
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x1400b3303
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b348a
mov rcx, r8
call fcn.1400b6150
xor al, al
jmp 0x1400b3452
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400b32c9
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400b3325
mov rcx, qword [rdi]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
call fcn.1400b4f8c
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1400b4c00
mov rax, qword [rsp + 0x68]
lea r9, [rax + rax]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400b3366
mov r8, qword [rdi]
mov qword [rsp + 0x20], r14
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400b33b7
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b33b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b33b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b6150
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
mov r8d, 0x1000
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400b3452
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400b344d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b348a
mov rcx, r8
call fcn.1400b6150
mov word [rdi], r14w
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400b6130
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400b59ac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400b4f1c
mov ebx, eax
test eax, eax
jne 0x1400b59dc
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400b5a3f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b5a36
test al, 0x10
je 0x1400b5a36
bt eax, 0xa
jae 0x1400b5a2f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400b5a5c
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400b5a2b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400b5a2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x1400b5a36
and dword [rsp + 0x3c], 0
jmp 0x1400b5a3b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b5e04
Capabilities:
Get geographical location

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

Function at 0x1400b69bc
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
movdqa xmm0, xmmword [0x140002100]
movdqa xmm1, xmmword [0x140002080]
mov edx, 2
mov dword [rbp + 0xa0], 0xd085fc2a
lea rax, [rbp - 0x6f]
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x140002070]
movdqa xmmword [rbp - 0x60], xmm1
lea r8d, [rdx + 0x2c]
movdqa xmm1, xmmword [0x140002040]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm0, xmmword [0x140002020]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x140002050]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x1400020b0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm0, xmmword [0x1400020f0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm0, xmmword [0x1400020c0]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm1, xmmword [0x140002010]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm0, xmmword [0x140002090]
movdqa xmmword [rbp], xmm1
movdqa xmm1, xmmword [0x1400020e0]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm0, xmmword [0x140002110]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm1, xmmword [0x1400020a0]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm0, xmmword [0x140002030]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm1, xmmword [0x140002060]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm0, xmmword [0x140002120]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm1, xmmword [0x1400020d0]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmmword [rbp + 0x80], xmm1
nop dword [rax]
lea rcx, [rdx - 2]
lea rax, [rax + 6]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x60]
xor byte [rax - 7], cl
lea rcx, [rdx - 1]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x60]
xor byte [rax - 6], cl
mov rcx, rdx
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x60]
xor byte [rax - 5], cl
lea rcx, [rdx + 1]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x60]
xor byte [rax - 4], cl
lea rcx, [rdx + 2]
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x60]
xor byte [rax - 3], cl
lea rcx, [rdx + 3]
add rdx, 6
and ecx, 0xf
movzx ecx, byte [rsp + rcx + 0x60]
xor byte [rax - 2], cl
dec r8
jne 0x140001120
xor ebx, ebx
mov qword [rbp - 0x80], 0x114
mov qword [rsp + 0x70], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rbp - 0x80]
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
call fcn.140001250
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0x70]
lea r8, [rbp - 0x70]
mov rcx, rax
lea rax, [rsp + 0x60]
mov r9d, 0x114
mov qword [rsp + 0x20], rax
call fcn.14000125b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov r9, rax
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov edx, 0x20000000
mov qword [rsp + 0x20], rax
call fcn.140001266
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
xor edx, edx
call fcn.140001271
mov rbx, qword [rsp + 0x1c0]
xor eax, eax
add rsp, 0x1b0
pop rbp
ret

Function at 0x140001250
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret
Function at 0x14000125b
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x140001266
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0xc7
syscall
ret

Function at 0x140001271
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 4
syscall
ret
Function at 0x1409bc3c8
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409bc54f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1409bc3f9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409bc3df
add dl, dl
jne 0x1409bc406
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409bc466
xor eax, eax
add dl, dl
jne 0x1409bc415
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409bc51d
add dl, dl
jne 0x1409bc426
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409bc433
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409bc440
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409bc44d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409bc45a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409bc3ee
mov eax, 1
add dl, dl
jne 0x1409bc476
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409bc483
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409bc46b
sub eax, ebx
mov ebx, 1
jne 0x1409bc4bc
mov ecx, 1
add dl, dl
jne 0x1409bc49e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409bc4ab
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409bc493
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409bc3ee
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409bc4d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409bc4e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409bc4cd
cmp eax, 0x7d00
jae 0x1409bc50b
cmp eax, 0x500
jb 0x1409bc506
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409bc3ee
cmp eax, 0x7f
ja 0x1409bc50e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409bc3ee
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409bc542
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1409bc3ee
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006d20
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140006da0
Capabilities:
Parse pe header

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

Function at 0x140006e60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000f840]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140006e7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140006e88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400026f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401030b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], r8b
mov rdi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x40
mov rdx, rdi
mov rbx, rax
lea rax, [rsp + 0x34]
lea r8d, [r9 - 0x3f]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r8, [rsp + 0x30]
mov r9d, 1
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi + 0x18], 0x10
jb 0x140002787
mov rcx, qword [rsi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsi + 0x10], 0
mov eax, edi
mov byte [rsi], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400027c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401030b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], r8w
mov rdi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x40
mov rdx, rdi
mov rbx, rax
lea rax, [rsp + 0x34]
lea r8d, [r9 - 0x3e]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r8, [rsp + 0x30]
mov r9d, 2
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi + 0x18], 0x10
jb 0x140002858
mov rcx, qword [rsi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsi + 0x10], 0
mov eax, edi
mov byte [rsi], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002890
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401030b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], r8d
mov rdi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x40
mov rdx, rdi
mov rbx, rax
lea rax, [rsp + 0x30]
lea r8d, [r9 - 0x3c]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r8, [rsp + 0x34]
mov r9d, 4
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi + 0x18], 0x10
jb 0x140002927
mov rcx, qword [rsi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsi + 0x10], 0
mov eax, edi
mov byte [rsi], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x140002960
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401030b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
movss dword [rsp + 0x34], xmm2
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x40
mov rdx, rdi
mov rbx, rax
lea rax, [rsp + 0x30]
lea r8d, [r9 - 0x3c]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r8, [rsp + 0x34]
mov r9d, 4
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi + 0x18], 0x10
jb 0x1400029f8
mov rcx, qword [rsi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsi + 0x10], 0
mov eax, edi
mov byte [rsi], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140002a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401030b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
movsd qword [rsp + 0x38], xmm2
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x40
mov rdx, rdi
mov rbx, rax
lea rax, [rsp + 0x30]
lea r8d, [r9 - 0x38]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r8, [rsp + 0x38]
mov r9d, 8
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi + 0x18], 0x10
jb 0x140002ac8
mov rcx, qword [rsi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsi + 0x10], 0
mov eax, edi
mov byte [rsi], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140002b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1401030b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov r8d, ecx
mov ecx, 0x1fffff
xor edx, edx
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x40
mov rdx, rdi
mov rbx, rax
lea rax, [rsp + 0x30]
lea r8d, [r9 - 0x38]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea r8, [rsp + 0x38]
mov r9d, 8
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsi + 0x18], 0x10
jb 0x140002b97
mov rcx, qword [rsi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsi + 0x10], 0
mov eax, edi
mov byte [rsi], 0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000e1a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1401030b0]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
mov rbp, rdx
mov rdx, qword [rsp + 0xc0]
mov r15d, r9d
mov r14, r8
mov ebx, ecx
mov qword [rsp + 0x50], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x38], dil
cmp byte [rdx], dil
jne 0x14000e1ee
mov r8d, edi
jmp 0x14000e1fb
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], dil
jne 0x14000e1f2
lea rcx, [rsp + 0x38]
call fcn.14000b7d0
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp qword [rsp + 0x50], 0x10
mov rbx, qword [rsp + 0x48]
mov r8d, 5
lea rcx, [rsp + 0x38]
mov rsi, rax
cmovae rcx, qword [rsp + 0x38]
cmp rbx, r8
mov dword [rsp + 0x30], edi
cmovb r8, rbx
test r8, r8
jne 0x14000e248
mov eax, edi
jmp 0x14000e254
lea rdx, [0x140013314]
call sub.MSVCR110.dll_memcmp
cdqe
test rax, rax
jne 0x14000e266
cmp rbx, 5
jb 0x14000e2a2
mov eax, edi
setne al
test eax, eax
jne 0x14000e2a2
lea rax, [rsp + 0x30]
mov r9d, 0x40
mov r8, r15
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r9, r15
mov r8, r14
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x50], 0x10
jb 0x14000e2bd
mov rcx, qword [rsp + 0x38]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400104e0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret