joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6bc041d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x7ff6bc04c0a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x7ff6bc041ec0
mov rax, qword [0x7ff6bc04c0a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x7ff6bc041d5c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x7ff6bc041de7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x7ff6bc041d40
mov rcx, r12
call fcn.7ff6bc0427c0
mov rbp, rax
test rax, rax
je 0x7ff6bc041f1d
mov rax, qword [0x7ff6bc04c0a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.7ff6bc0428f0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x7ff6bc04c0a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x7ff6bc041f02
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x7ff6bc041de0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x7ff6bc041e70
add dword [0x7ff6bc04c0a4], 1
cmp ebx, 8
jae 0x7ff6bc041e18
test bl, 4
jne 0x7ff6bc041ed0
test ebx, ebx
je 0x7ff6bc041e09
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x7ff6bc041ef0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x7ff6bc041e09
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x7ff6bc041e4a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x7ff6bc04c0a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x7ff6bc041de0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.7ff6bc041ca0
xor edi, edi
jmp 0x7ff6bc041d67
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x7ff6bc041e09
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x7ff6bc041e09
mov rax, qword [0x7ff6bc04c0a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.7ff6bc041ca0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.7ff6bc041ca0
nop
nop dword [rax]
Function at 0x7ff6bc042430
Capabilities:
Get thread local storage value

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

Function at 0x7ff6bc0427c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x7ff6bc049900]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x7ff6bc042839
mov rcx, r10
call fcn.7ff6bc042690
test eax, eax
je 0x7ff6bc042839
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x7ff6bc042836
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x7ff6bc04282d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x7ff6bc042839
add r8, 0x28
cmp r8, r9
jne 0x7ff6bc042818
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x14000a370
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14000a3b0
mov eax, 0xff
jmp 0x14000a55b
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000a3cc
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x140018cc8], r9d
mov dword [0x140018cd0], ecx
mov dword [0x140018cd4], edx
mov dword [0x140018cd8], eax
mov dword [0x140018ccc], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a443
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000a443
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000a443
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x14000a445
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x14000a445
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000c07c
test eax, eax
jne 0x14000a47b
cmp dword [0x14001871c], 2
je 0x14000a467
call fcn.14000be60
mov ecx, 0x1c
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
call fcn.14000b990
test eax, eax
jne 0x14000a4a7
cmp dword [0x14001871c], 2
je 0x14000a492
call fcn.14000be60
mov ecx, 0x10
call fcn.14000beac
mov ecx, 0xff
call fcn.14000bab0
nop
call fcn.14000c0f0
test eax, eax
jns 0x14000a4ba
mov ecx, 0x1b
call fcn.14000bacc
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001a8d0], rax
call fcn.14000c890
mov qword [0x140018720], rax
call fcn.14000c38c
test eax, eax
jns 0x14000a4e5
mov ecx, 8
call fcn.14000bacc
call fcn.14000c66c
test eax, eax
jns 0x14000a4f8
mov ecx, 9
call fcn.14000bacc
mov ecx, edi
call fcn.14000bb2c
test eax, eax
je 0x14000a50a
mov ecx, eax
call fcn.14000bacc
mov r8, qword [0x140018cb8]
mov qword [0x140018ce8], r8
mov rdx, qword [0x140018cb0]
mov ecx, dword [0x140018cac]
call fcn.140006490
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x14000a53b
mov ecx, eax
call fcn.14000be50
call fcn.14000bb18
jmp 0x14000a559
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000a5c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call 0x140141000
add rsp, 0x28
jmp 0x14000a370

Function at 0x14000b06c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000ba44
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000bcc0
Function at 0x231941ab2
Capabilities:
Get session integrity level

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov dword [rbp - 0x14], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
lea rdx, [rbp - 0x10]
mov r8, rdx
mov edx, 8
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call rax
mov rax, qword [rbp - 0x10]
lea rcx, [rbp - 0x14]
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rdx
mov r9d, 4
mov r8, rcx
mov edx, 0x14
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call rax
mov eax, dword [rbp - 0x14]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
cmp dword [rbp - 4], 0
je 0x231941b3d
mov rax, qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
call rax
test eax, eax
je 0x231941b3d
mov eax, 1
jmp 0x231941b42
mov eax, 0
movzx eax, al
add rsp, 0x50
pop rbp
ret

Function at 0x231941c27
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov rax, qword [rbp + 0x20]
mov rcx, rax
call fcn.231a136a0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
je 0x231941d65
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileSize]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0xffffffff
je 0x231941d39
mov eax, dword [rbp - 0xc]
add eax, 1
mov eax, eax
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x1c]
mov r8d, dword [rbp - 0xc]
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
test eax, eax
je 0x231941d00
mov eax, dword [rbp - 0x1c]
cmp dword [rbp - 0xc], eax
jne 0x231941d00
mov eax, 1
jmp 0x231941d05
mov eax, 0
test al, al
je 0x231941d26
mov eax, dword [rbp - 0xc]
mov rdx, qword [rbp - 0x18]
add rax, rdx
mov byte [rax], 0
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator_char_const_
cmp qword [rbp - 0x18], 0
je 0x231941d39
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.operator_delete___void_
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x231941d65
nop
mov rax, qword [rbp + 0x20]
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x2319429d2
Capabilities:
Delete file
Move file
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov dword [rbp + 0x30], r8d
mov dword [rbp + 0x38], r9d
mov ecx, dword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
mov rax, qword [rbp + 0x20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
cmp dword [rbp + 0x38], 0
je 0x231942afa
mov rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x48]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MoveFileA]
call rax
lea rax, [rbp - 0x31]
mov rcx, rax
call fcn.2319de6c0
lea rcx, [rbp - 0x31]
mov rdx, qword [rbp + 0x50]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 1]
mov rcx, rax
call fcn.2319de6c0
lea rcx, [rbp - 1]
mov rdx, qword [rbp + 0x50]
lea rax, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x30]
mov r8d, 0x8000000
mov rcx, rax
call sym.f_xpc_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____unsigned_long_
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 1]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x31]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov rdx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_MoveFileA]
call rax
mov rax, qword [rbp + 0x50]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFileA]
call rax
mov eax, dword [rbp + 0x30]
mov rcx, qword [rbp + 0x28]
mov rdx, rax
call sym.RtlSecureZeroMemory
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
jmp 0x231942b5c
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x231947094
Capabilities:
Encode data using base64 via winapi

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov dword [rbp - 8], 0
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
mov ebx, eax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.data___const
mov rcx, rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0x40000001
mov edx, ebx
mov rax, qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
call rax
test eax, eax
setne al
test al, al
je 0x2319471ba
lea rax, [rbp - 3]
mov rcx, rax
call fcn.2319de6c0
mov eax, dword [rbp - 8]
mov ecx, eax
lea rdx, [rbp - 3]
lea rax, [rbp - 0x30]
mov r9, rdx
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____unsigned_long_long__char__std::allocator_char__const_
lea rax, [rbp - 3]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp - 0x30]
mov edx, 0
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator___unsigned_long_long_
mov rbx, rax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.size___const
mov esi, eax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.data___const
mov rcx, rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 0x40000001
mov edx, esi
mov rax, qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
call rax
test eax, eax
setne al
test al, al
je 0x2319471a0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp + 0x20]
mov rdx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov ebx, 0
jmp 0x2319471a5
mov ebx, 1
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jne 0x23194724c
lea rax, [rbp - 2]
mov rcx, rax
call fcn.2319de6c0
lea rax, [rbp - 1]
mov rcx, rax
call sym.f_eb64_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_::lambda__1::operator_____const
mov rcx, rax
call method.ay::obfuscated_data_2ull__11895496657436502477ull__char_.operator_char__
mov rdx, rax
lea rcx, [rbp - 2]
mov rax, qword [rbp + 0x20]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 2]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x23194724c
mov rax, qword [rbp + 0x20]
add rsp, 0x60
pop rbx
pop rsi
pop rbp
ret
Function at 0x2319472f6
Capabilities:
Decode data using base64 via winapi

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov dword [rbp - 8], 0
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.length___const
mov ebx, eax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 1
mov edx, ebx
mov rax, qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call rax
test eax, eax
setne al
test al, al
je 0x231947440
lea rax, [rbp - 3]
mov rcx, rax
call fcn.2319de6c0
mov eax, dword [rbp - 8]
mov ecx, eax
lea rdx, [rbp - 3]
lea rax, [rbp - 0x30]
mov r9, rdx
mov r8d, 0
mov rdx, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____unsigned_long_long__char__std::allocator_char__const_
lea rax, [rbp - 3]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp - 0x30]
mov edx, 0
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.operator___unsigned_long_long_
mov rbx, rax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.length___const
mov esi, eax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 1
mov edx, esi
mov rax, qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
call rax
test eax, eax
setne al
test al, al
je 0x231947426
lea rax, [rbp - 0x30]
mov rcx, qword [rbp + 0x20]
mov rdx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov ebx, 0
jmp 0x23194742b
mov ebx, 1
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jne 0x2319474d2
lea rax, [rbp - 2]
mov rcx, rax
call fcn.2319de6c0
lea rax, [rbp - 1]
mov rcx, rax
call sym.f_db64_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_::lambda__1::operator_____const
mov rcx, rax
call method.ay::obfuscated_data_2ull__8783450493831703475ull__char_.operator_char__
mov rdx, rax
lea rcx, [rbp - 2]
mov rax, qword [rbp + 0x20]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp - 2]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x2319474d2
mov rax, qword [rbp + 0x20]
add rsp, 0x70
pop rbx
pop rsi
pop rbp
ret
Function at 0x231950260
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0x10
mov byte [rbp - 0x20], 0x6e
mov byte [rbp - 0x1f], 0xb0
mov byte [rbp - 0x1e], 0x41
mov byte [rbp - 0x1d], 0xe7
mov byte [rbp - 0x1c], 0x16
mov byte [rbp - 0x1b], 0x23
mov byte [rbp - 0x1a], 0x2b
mov byte [rbp - 0x19], 0x30
mov byte [rbp - 0x18], 0x2b
mov byte [rbp - 0x17], 0xa7
mov byte [rbp - 0x16], 0x56
mov byte [rbp - 0x15], 0xe6
mov byte [rbp - 0x14], 0x10
mov byte [rbp - 0x13], 0x3b
mov byte [rbp - 0x12], 0x2d
mov byte [rbp - 0x11], 0x1d
lea rax, [0x231ec2900]
mov rcx, rax
call dbg.__emutls_get_address
movzx eax, byte [rax]
test al, al
jne 0x231950321
lea rax, [0x231ec2920]
mov rcx, rax
call dbg.__emutls_get_address
mov rcx, rax
lea rax, [rbp - 0x20]
mov rdx, rax
call method.ay::obfuscated_data_16ull__2114817593833674051ull__char_.obfuscated_data_ay::obfuscator_16ull__2114817593833674051ull__char__const_
lea rax, [0x231ec2900]
mov rcx, rax
call dbg.__emutls_get_address
mov byte [rax], 1
lea rax, [0x231ec2920]
mov rcx, rax
call dbg.__emutls_get_address
mov r8d, 0
mov rdx, rax
lea rax, [method.ay::obfuscated_data_16ull__2114817593833674051ull__char_.obfuscated_data__]
mov rcx, rax
call sym.__cxa_thread_atexit
lea rax, [0x231ec2920]
mov rcx, rax
call dbg.__emutls_get_address
add rsp, 0x40
pop rbp
ret
Function at 0x231951e94
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp - 8], 0x1f
mov byte [rbp - 0x30], 0xa2
mov byte [rbp - 0x2f], 0xee
mov byte [rbp - 0x2e], 0x58
mov byte [rbp - 0x2d], 0x87
mov byte [rbp - 0x2c], 0x3f
mov byte [rbp - 0x2b], 4
mov byte [rbp - 0x2a], 0x8b
mov byte [rbp - 0x29], 0x6c
mov byte [rbp - 0x28], 0xdb
mov byte [rbp - 0x27], 0xe7
mov byte [rbp - 0x26], 0x42
mov byte [rbp - 0x25], 0xd2
mov byte [rbp - 0x24], 0x39
mov byte [rbp - 0x23], 1
mov byte [rbp - 0x22], 0xdd
mov byte [rbp - 0x21], 0x68
mov byte [rbp - 0x20], 0x95
mov byte [rbp - 0x1f], 0xa1
mov byte [rbp - 0x1e], 0x48
mov byte [rbp - 0x1d], 0xc6
mov byte [rbp - 0x1c], 0x24
mov byte [rbp - 0x1b], 0x11
mov byte [rbp - 0x1a], 0x98
mov byte [rbp - 0x19], 0x7b
mov byte [rbp - 0x18], 0xdb
mov byte [rbp - 0x17], 0xe4
mov byte [rbp - 0x16], 0x4a
mov byte [rbp - 0x15], 0xc0
mov byte [rbp - 0x14], 0x76
mov byte [rbp - 0x13], 0x44
mov byte [rbp - 0x12], 0xfd
lea rax, [0x231ec1e80]
mov rcx, rax
call dbg.__emutls_get_address
movzx eax, byte [rax]
test al, al
jne 0x231951f91
lea rax, [0x231ec1ea0]
mov rcx, rax
call dbg.__emutls_get_address
mov rcx, rax
lea rax, [rbp - 0x30]
mov rdx, rax
call method.ay::obfuscated_data_31ull__719842942590484987ull__char_.obfuscated_data_ay::obfuscator_31ull__719842942590484987ull__char__const_
lea rax, [0x231ec1e80]
mov rcx, rax
call dbg.__emutls_get_address
mov byte [rax], 1
lea rax, [0x231ec1ea0]
mov rcx, rax
call dbg.__emutls_get_address
mov r8d, 0
mov rdx, rax
lea rax, [method.ay::obfuscated_data_31ull__719842942590484987ull__char_.obfuscated_data__]
mov rcx, rax
call sym.__cxa_thread_atexit
lea rax, [0x231ec1ea0]
mov rcx, rax
call dbg.__emutls_get_address
add rsp, 0x50
pop rbp
ret
Function at 0x231967fd0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x231968040
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x231f08074]
test esi, esi
mov rbx, rcx
jle 0x231968170
mov rax, qword [0x231f08078]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x23196808b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x231968115
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x231968070
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x231968192
mov rax, qword [0x231f08078]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x231f08078]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x231968177
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x23196810e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x231968120
add dword [0x231f08074], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x231f08078]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x23196810e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x231968098
mov rax, qword [0x231f08078]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]