joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402c4b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0x4c746547
mov dword [rsp + 0x29], 0x726f72
mov dword [rsp + 0x25], 0x72457473
mov byte [rsp + 0x24], 0x61
call fcn.1402c4390
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402c4b80
call rax
add rsp, 0x38
ret
add rsp, 0x38
ret

Function at 0x1402c4c60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor ebx, ebx
call fcn.1402c4290
mov rdi, rax
test rax, rax
je 0x1402c4cda
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2f], 0x57636570
mov rcx, rax
mov dword [rsp + 0x29], 0x6c694665
mov dword [rsp + 0x22], 0x65526874
mov word [rsp + 0x26], 0x6f6d
mov word [rsp + 0x2d], 0x5365
mov byte [rsp + 0x33], bl
mov word [rsp + 0x20], 0x6150
mov byte [rsp + 0x28], 0x76
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402c4cd1
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1402c4d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
xor ebx, ebx
call fcn.1402c4290
mov rdi, rax
test rax, rax
je 0x1402c4d6d
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x68746150
mov rcx, rax
mov dword [rsp + 0x26], 0x646e6570
mov word [rsp + 0x2a], 0x57
mov word [rsp + 0x24], 0x7041
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402c4d64
mov rdx, rsi
mov rcx, rbp
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1402c4d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor ebx, ebx
call fcn.1402c4290
mov rdi, rax
test rax, rax
je 0x1402c4dfa
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x73697845
mov rcx, rax
mov dword [rsp + 0x22], 0x69466874
mov dword [rsp + 0x2c], 0x577374
mov word [rsp + 0x20], 0x6150
mov word [rsp + 0x26], 0x656c
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402c4df1
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1402c4e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, r8
mov rbp, rdx
xor ebx, ebx
call fcn.1402c43f0
mov rdi, rax
test rax, rax
je 0x1402c4eb5
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2e], 0x577845
mov rcx, rax
mov word [rsp + 0x2a], 0x6f48
mov word [rsp + 0x24], 0x6e69
mov word [rsp + 0x21], 0x7465
mov word [rsp + 0x27], 0x776f
mov byte [rsp + 0x20], 0x53
mov word [rsp + 0x2c], 0x6b6f
mov byte [rsp + 0x23], 0x57
mov byte [rsp + 0x26], VarCyFromDisp
mov byte [rsp + 0x29], 0x73
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402c4eac
xor r9d, r9d
lea ecx, [rbx + 3]
mov r8, rsi
mov rdx, rbp
call rax
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1402c4ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
xor ebx, ebx
call fcn.1402c43f0
mov rdi, rax
test rax, rax
je 0x1402c4f55
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x776f646e
mov rcx, rax
mov word [rsp + 0x32], 0x78
mov dword [rsp + 0x2d], 0x6b6f6f48
mov dword [rsp + 0x24], 0x69576b6f
mov byte [rsp + 0x31], 0x45
mov dword [rsp + 0x20], 0x6f686e55
mov byte [rsp + 0x2c], 0x73
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402c4f4c
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1402c4ff0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbp, rcx
xor ebx, ebx
call fcn.1402c43f0
mov rdi, rax
test rax, rax
je 0x1402c5066
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x27], 0x65676173
mov rcx, rax
mov word [rsp + 0x25], 0x7365
mov dword [rsp + 0x20], 0x74736f50
mov word [rsp + 0x2b], 0x57
mov byte [rsp + 0x24], 0x4d
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1402c505d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, rbp
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400023d0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000245d
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140002452
mov dword [rsp + 0x70], ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x70], 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140007190
add rsp, 0x80
pop rbx
ret

Function at 0x140003d60
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 0x140003d88
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 0x140003dae
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003db0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003e09
test ecx, ecx
jle 0x140003de9
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 0x140003e09
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003e09
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 0x140003e30
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 0x140003e52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140003e68
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 0x140003e84
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140003e86
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003ec2
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 0x140003f5e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140003efd
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 0x140003f3e
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 0x140003f5e
cmp rbx, rax
ja 0x140003f10
test rbx, rbx
je 0x140003f5e
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
Function at 0x1400043c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400043ed
xor eax, eax
jmp 0x140004559
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004427
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004427
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004559
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000454c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000446a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004495
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004551
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004504
sub eax, 1
je 0x140004504
cmp eax, 2
jne 0x14000454c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004551
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004532
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000454c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004551
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140007190
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400054e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140017040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400055b3
cmp byte [rcx + 0x71], 0
je 0x1400055b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400055af
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 0x140005574
sub eax, 1
je 0x140005578
cmp eax, 2
jne 0x1400055af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140007190
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400055a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400055af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000555c
xor al, al
jmp 0x14000555c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140007190
add rsp, 0x60
pop rbx
ret

Function at 0x140007da4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007dee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007dee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007dee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007dee
cmp dword [rcx + 0x84], 0xe
jbe 0x140007dee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007df0
xor al, al
add rsp, 0x28
ret
Function at 0x14000fc40
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
movups xmmword [rsp + 0x30], xmm6
mov ebp, dword [rcx + 8]
lea eax, [rbp + 1]
mov r12, rax
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x20]
lea rdx, [rax + rax*4]
shl rdx, 3
mov rsi, r8
call sub.msvcrt.dll_realloc
test rax, rax
je 0x14000fe3f
lea rdx, [rbp + rbp*4]
mov dword [rbx + 8], r12d
pxor xmm0, xmm0
mov rcx, rdi
lea rbp, [rax + rdx*8]
mov qword [rbx + 0x20], rax
mov r8d, 2
xor edx, edx
mov dword [rbp + 0x10], 0
movups xmmword [rbp], xmm0
pxor xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
call sub.msvcrt.dll_fseek
mov rcx, rdi
call sub.msvcrt.dll_ftell
mov rcx, rdi
movsxd r14, eax
call sub.msvcrt.dll_rewind
mov rcx, r14
call sub.msvcrt.dll_malloc
mov r12, rax
test rax, rax
je 0x14000fe3f
mov r9, rdi
mov r8d, 1
mov rdx, r14
mov rcx, rax
call sub.msvcrt.dll_fread
test rax, rax
je 0x14000fe2a
lea rax, [0x14000f9a0]
mov r8d, r14d
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x28], rbx
lea r9, [0x14000fa80]
mov qword [rsp + 0x20], rax
call fcn.14000fea0
cmp eax, 0xffffffff
je 0x14000fe38
mov rcx, rsi
call fcn.140012020
cmp eax, 0xffffffff
je 0x14000fe31
mov rcx, rsi
call fcn.14001ab30
cmp eax, 0xffffffff
je 0x14000fe31
mov edx, dword [rsi + 0x70]
test edx, edx
je 0x14000fe10
mov r13d, edx
mov r12, qword [rsi + 0x78]
xor ecx, ecx
mov rdi, r13
shl rdi, 4
mov rbx, r12
mov rax, r12
add rdi, r12
add ecx, dword [rax + 8]
add rax, 0x10
cmp rdi, rax
jne 0x14000fd70
lea r14, [r13*4]
movd xmm1, ecx
movd xmm6, edx
add rcx, r14
punpckldq xmm6, xmm1
call sub.msvcrt.dll_malloc
test rax, rax
je 0x14000fe3f
mov qword [rbp + 0x18], rax
xor edx, edx
movq qword [rbp], xmm6
nop dword [rax]
mov ecx, dword [r12 + rdx*4 + 0xc]
mov dword [rax + rdx], ecx
add rdx, 4
cmp r14, rdx
jne 0x14000fdb0
mov rbp, qword [rsi + 0x60]
lea rcx, [rax + r13*4]
nop dword [rax]
mov esi, dword [rbx + 8]
mov edx, dword [rbx + 0xc]
add rbx, 0x10
add rdx, rbp
mov r8, rsi
call sub.msvcrt.dll_memcpy
mov rcx, rax
add rcx, rsi
cmp rdi, rbx
jne 0x14000fdd0
xor eax, eax
movups xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call sub.msvcrt.dll_malloc
test rax, rax
je 0x14000fe3f
mov qword [rbp], 0
mov qword [rbp + 0x18], rax
jmp 0x14000fdf0
mov eax, 0xfffffffc
jmp 0x14000fdf2
mov eax, 0xfffffff6
jmp 0x14000fdf2
mov eax, 0xfffffff7
jmp 0x14000fdf2
mov eax, 0xffffffff
jmp 0x14000fdf2
Function at 0x1400172a0
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
xor r14d, r14d
lea r13, [rsp + 0x38]
mov rbp, rcx
mov r12, rdx
mov rsi, r8
mov edx, 8
mov r8d, 1
mov rbx, r9
mov r9, rcx
mov rcx, r13
call sub.msvcrt.dll_fread
mov rcx, rbp
call sub.msvcrt.dll_ftell
mov edi, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
add edi, 1
and edi, 0xfffffffe
add edi, eax
cmp edx, 0x5453494c
je 0x140017368
cmp edx, 0x46464952
je 0x140017368
test rsi, rsi
jne 0x14001731c
jmp 0x140017344
cmp edx, eax
je 0x140017430
add rsi, 0x10
mov eax, dword [rsi]
test eax, eax
jne 0x140017310
cmp qword [rsp + 0xa0], 0
je 0x140017420
mov r8, r13
mov rdx, r12
mov rcx, rbp
call qword [rsp + 0xa0]
mov r14d, eax
xor r8d, r8d
mov edx, edi
mov rcx, rbp
call sub.msvcrt.dll_fseek
mov eax, r14d
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
test rbx, rbx
je 0x140017344
lea rcx, [rsp + 0x34]
mov r9, rbp
mov r8d, 1
mov edx, 4
call sub.msvcrt.dll_fread
mov eax, dword [rbx]
test eax, eax
je 0x140017344
mov edx, dword [rsp + 0x34]
jmp 0x1400173a3
mov eax, dword [rbx + 0x28]
add rbx, 0x28
test eax, eax
je 0x140017420
cmp edx, eax
jne 0x140017398
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140017448
mov rdx, r12
mov rcx, rbp
call rax
mov r14d, eax
test eax, eax
js 0x140017344
nop dword [rax + rax]
mov rcx, rbp
call sub.msvcrt.dll_ftell
cmp eax, edi
jge 0x1400173fb
mov rax, qword [rsp + 0xa0]
mov rdx, r12
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 8]
call fcn.1400172a0
mov r14d, eax
test eax, eax
jns 0x1400173c8
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140017344
mov rdx, r12
mov rcx, rbp
call rax
mov r14d, eax
jmp 0x140017344
xor r14d, r14d
jmp 0x140017344
mov r8, r13
mov rdx, r12
mov rcx, rbp
call qword [rsi + 8]
mov r14d, eax
jmp 0x140017344
xor r14d, r14d
jmp 0x1400173c8
Function at 0x14001dd70
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movups xmm2, xmmword [0x140034df0]
xor eax, eax
movsxd r12, r8d
mov rdi, rdx
mov rbp, rcx
mov r13d, r12d
sar r13d, 1
lea ebx, [r13 - 1]
movsxd rsi, r13d
shr ebx, 2
shl rsi, 2
add ebx, 1
lea rdx, [rcx + rsi]
add rsi, rdi
shl rbx, 4
mov rcx, rax
movups xmm1, xmmword [rdx + rax]
neg rcx
movups xmm0, xmmword [rdx + rcx - 0x10]
shufps xmm0, xmm0, 0x1b
subps xmm1, xmm0
addps xmm0, xmmword [rdx + rax]
xorps xmm1, xmm2
movups xmmword [rdi + rax], xmm0
movups xmmword [rsi + rax], xmm1
add rax, 0x10
cmp rax, rbx
jne 0x14001ddb0
mov r8d, r13d
mov rdx, rbp
mov rcx, rdi
call fcn.14001df10
mov rdx, rbp
mov r8d, r13d
mov rcx, rsi
call fcn.14001df10
lea rdx, [rdi + r12*4]
xor eax, eax
movups xmm1, xmmword [rdi + rax]
movups xmm0, xmmword [rdx - 0x10]
sub rdx, 0x10
movaps xmm2, xmm1
shufps xmm0, xmm0, 0x1b
unpckhps xmm1, xmm0
unpcklps xmm2, xmm0
movups xmmword [rbp + rax*2 + 0x10], xmm1
movups xmmword [rbp + rax*2], xmm2
add rax, 0x10
cmp rbx, rax
jne 0x14001de00
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x14001de40
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movsxd rax, r8d
mov rdi, rdx
mov rbx, rcx
mov r12, rax
lea rdx, [rdx + rax*4]
xor eax, eax
sar r12d, 1
lea esi, [r12 - 1]
shr esi, 2
add esi, 1
shl rsi, 4
movups xmm1, xmmword [rbx + rax*2]
movups xmm0, xmmword [rbx + rax*2 + 0x10]
sub rdx, 0x10
movaps xmm2, xmm1
shufps xmm2, xmm0, 0x88
movups xmmword [rdi + rax], xmm2
add rax, 0x10
shufps xmm0, xmm1, 0x77
movups xmmword [rdx], xmm0
cmp rax, rsi
jne 0x14001de70
movsxd r13, r12d
mov rdx, rbx
mov r8d, r12d
mov rcx, rdi
call fcn.14001df10
shl r13, 2
mov rdx, rbx
mov r8d, r12d
lea rbp, [rdi + r13]
add rbx, r13
mov rcx, rbp
call fcn.14001df10
movups xmm2, xmmword [0x140034df0]
xor eax, eax
nop dword [rax + rax]
movups xmm1, xmmword [rbp + rax]
movups xmm0, xmmword [rdi + rax]
mov rdx, rax
neg rdx
xorps xmm1, xmm2
subps xmm0, xmm1
addps xmm1, xmmword [rdi + rax]
movups xmmword [rbx + rax], xmm1
add rax, 0x10
shufps xmm0, xmm0, 0x1b
movups xmmword [rbx + rdx - 0x10], xmm0
cmp rsi, rax
jne 0x14001ded0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x14001ea80
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.14002d1e0
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.14002d1e0
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 0x14001eaf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14003d104]
mov rbx, rcx
test esi, esi
jle 0x14001ec20
mov rax, qword [0x14003d108]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001eb3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14001ebc5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14001eb20
mov rcx, rbx
call fcn.14001f560
mov rdi, rax
test rax, rax
je 0x14001ec42
mov rax, qword [0x14003d108]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14001f6a0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14003d108]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001ec27
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14001ebbe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14001ebd0
add dword [0x14003d104], 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 [0x14003d108]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001ebbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14001ea80
nop dword [rax]
xor esi, esi
jmp 0x14001eb48
mov rax, qword [0x14003d108]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14001ea80
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14001ea80
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14001f1d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14003d160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14003d140]
test rbx, rbx
je 0x14001f22c
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 0x14001f223
test eax, eax
jne 0x14001f223
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001f208
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]