joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c3d70]
mov dword [rax], 1
mov rax, qword [0x1400c3d80]
mov dword [rax], 1
mov rax, qword [0x1400c3d90]
mov dword [rax], 1
mov rax, qword [0x1400c3d30]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002440
Capabilities:
List user account groups

Disassembly:
push rbp
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x20], rcx
mov dword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rdx
mov edx, 0
mov ecx, 0
call sym.NetLocalGroupEnum
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jne 0x140002585
mov dword [rbp - 4], 0
jmp 0x14000256d
lea rax, [rbp - 0x1a]
mov qword [rbp - 0x10], rax
nop
nop
mov rax, qword [rbp - 0x28]
mov edx, dword [rbp - 4]
shl rdx, 3
add rax, rdx
mov rdx, qword [rax]
lea rcx, [rbp - 0x1a]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp - 0x1a]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
lea rax, [rbp - 0x50]
lea rdx, str.Administrators
mov rcx, rax
call method.bool_std::operator_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t____std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const__wchar_t_const_
test al, al
jne 0x14000251c
lea rax, [rbp - 0x50]
lea rdx, str.Administrateurs
mov rcx, rax
call method.bool_std::operator_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t____std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const__wchar_t_const_
test al, al
je 0x140002523
mov eax, 1
jmp 0x140002528
mov eax, 0
test al, al
je 0x14000254f
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.NetApiBufferFree
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____
mov ebx, 0
jmp 0x140002554
mov ebx, 1
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
cmp ebx, 1
jne 0x140002607
add dword [rbp - 4], 1
mov eax, dword [rbp - 0x2c]
cmp dword [rbp - 4], eax
jb 0x1400024b3
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.NetApiBufferFree
lea rax, [rbp - 0x19]
mov qword [rbp - 0x18], rax
nop
nop
lea rdx, [rbp - 0x19]
mov rax, qword [rbp + 0x20]
mov r8, rdx
lea rdx, [0x1400bd620]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp - 0x19]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
jmp 0x140002607
mov rax, qword [rbp + 0x20]
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x140002615
Capabilities:
List user account groups

Disassembly:
push rbp
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x90]
mov qword [rbp + 0x20], rcx
mov dword [rbp - 0x2c], 0
mov dword [rbp - 0x30], 0
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, rdx
mov edx, 0
mov ecx, 0
call sym.NetLocalGroupEnum
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jne 0x14000275a
mov dword [rbp - 4], 0
jmp 0x140002742
lea rax, [rbp - 0x1a]
mov qword [rbp - 0x10], rax
nop
nop
mov rax, qword [rbp - 0x28]
mov edx, dword [rbp - 4]
shl rdx, 3
add rax, rdx
mov rdx, qword [rax]
lea rcx, [rbp - 0x1a]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp - 0x1a]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
lea rax, [rbp - 0x50]
lea rdx, str.Users
mov rcx, rax
call method.bool_std::operator_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t____std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const__wchar_t_const_
test al, al
jne 0x1400026f1
lea rax, [rbp - 0x50]
lea rdx, str.Utilisateurs
mov rcx, rax
call method.bool_std::operator_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t____std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____const__wchar_t_const_
test al, al
je 0x1400026f8
mov eax, 1
jmp 0x1400026fd
mov eax, 0
test al, al
je 0x140002724
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.NetApiBufferFree
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____
mov ebx, 0
jmp 0x140002729
mov ebx, 1
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
cmp ebx, 1
jne 0x1400027dc
add dword [rbp - 4], 1
mov eax, dword [rbp - 0x2c]
cmp dword [rbp - 4], eax
jb 0x140002688
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.NetApiBufferFree
lea rax, [rbp - 0x19]
mov qword [rbp - 0x18], rax
nop
nop
lea rdx, [rbp - 0x19]
mov rax, qword [rbp + 0x20]
mov r8, rdx
lea rdx, [0x1400bd620]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp - 0x19]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
jmp 0x1400027dc
mov rax, qword [rbp + 0x20]
add rsp, 0x98
pop rbx
pop rbp
ret
Function at 0x14000d690
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x14000e362
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400ef168]
test eax, eax
je 0x14000e3fa
lea rax, [0x1400ef140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400ef170]
mov qword [rbp - 8], rax
jmp 0x14000e3de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14000e3d2
cmp qword [rbp - 0x10], 0
je 0x14000e3d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14000e398
lea rax, [0x1400ef140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000e3fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000e500
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14000e528
mov eax, 0
jmp 0x14000e576
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000e551
mov eax, 0
jmp 0x14000e576
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14000e571
mov eax, 0
jmp 0x14000e576
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14000e57c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000e5fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14000e5f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14000e5f1
mov rax, qword [rbp - 8]
jmp 0x14000e60f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14000e5c4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x14000f880
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
cmp qword [rbp + 0x20], 0
je 0x14000f8a1
mov rax, qword [rbp + 0x10]
cmp rax, qword [rbp + 0x18]
jne 0x14000f8a8
mov eax, 0
jmp 0x14000f922
cmp qword [rbp + 0x10], 0
setne dl
cmp qword [rbp + 0x18], 0
setne al
xor eax, edx
test al, al
je 0x14000f916
cmp qword [rbp + 0x18], 0
jne 0x14000f8cc
mov eax, 1
jmp 0x14000f922
mov eax, 0xffffffff
jmp 0x14000f922
mov rax, qword [rbp + 0x10]
movzx edx, word [rax]
mov rax, qword [rbp + 0x18]
movzx eax, word [rax]
cmp dx, ax
je 0x14000f907
mov rax, qword [rbp + 0x10]
movzx edx, word [rax]
mov rax, qword [rbp + 0x18]
movzx eax, word [rax]
cmp dx, ax
jae 0x14000f900
mov eax, 0xffffffff
jmp 0x14000f922
mov eax, 1
jmp 0x14000f922
add qword [rbp + 0x10], 2
add qword [rbp + 0x18], 2
sub qword [rbp + 0x20], 1
cmp qword [rbp + 0x20], 0
jne 0x14000f8d3
mov eax, 0
pop rbp
ret

Function at 0x140019d60
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
call rcx
nop
jmp method.__cxxabiv1.__terminate_void________clone_.cold_

Function at 0x14001b650
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov r9, qword [rcx + 0x40]
mov rsi, rdx
mov rbx, rcx
mov edx, 1
mov rcx, rsi
call sym.fread
mov edx, 0xffffffff
test rax, rax
jle 0x14001b67c
movzx edx, byte [rsi + rax - 1]
mov dword [rbx + 0x48], edx
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x14001c2a0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400bc010], 0
jne 0x14001c3a3
mov byte [0x1400bc010], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x14001c378
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001c369
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400bdbb1]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x1400b63a7
jmp 0x1400b639f
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x14001c337
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
nop
jmp 0x1400b639a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
nop
nop
nop

Function at 0x14007b480
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007b4c8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007b49a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008df80
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 0x14008dfa8
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008dff0
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008dfc0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008dffc
call rbp
cmp dword [rax], 4
je 0x14008dfc0
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14009e860
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rcx, rdx
test rdx, rdx
js 0x14009e878
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
call method.std.__throw_bad_alloc__
nop
nop
nop
Function at 0x1400a1250
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movabs rcx, 0x3fffffffffffffff
mov rax, qword [rdx]
cmp rcx, rax
jb 0x1400a12ab
lea r9, [rax + 1]
cmp r8, rax
jae 0x1400a1289
add r8, r8
cmp rax, r8
jae 0x1400a1289
cmp rcx, r8
jae 0x1400a1298
movabs r9, 0x4000000000000000
mov qword [rdx], rcx
mov rcx, r9
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
lea r9, [r8 + 1]
mov qword [rdx], r8
mov rcx, r9
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
lea rcx, [0x1400bf000]
call method.std.__throw_length_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400a2aa0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rax, rdx
shr rax, 0x3e
jne 0x1400a2ac0
lea rcx, [rdx + rdx]
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
test rdx, rdx
js 0x1400a2ad0
call method.std.__throw_bad_alloc__
nop word [rax + rax]
call method.std.__throw_bad_array_new_length__
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400a5250
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movabs rax, 0x1fffffffffffffff
mov rcx, qword [rdx]
cmp rax, rcx
jb 0x1400a52b1
cmp r8, rcx
jb 0x1400a5280
add rcx, 1
add rcx, rcx
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
add r8, r8
cmp rcx, r8
jae 0x1400a526b
cmp rax, r8
jae 0x1400a52a8
movabs rcx, 0x4000000000000000
mov qword [rdx], rax
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
mov qword [rdx], r8
lea rcx, [r8 + 1]
jmp 0x1400a526f
lea rcx, str.basic_string::_M_create
call method.std.__throw_length_error_char_const_
nop
nop
nop

Function at 0x1400b5930
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 1
test rcx, rcx
cmovne rax, rcx
mov rbx, rax
mov rcx, rbx
call sym.malloc
test rax, rax
je 0x1400b5957
add rsp, 0x20
pop rbx
ret
call method.std.get_new_handler__
test rax, rax
je sym.operator_new_unsigned_long_long___clone_cold_
call rax
jmp 0x1400b5944

Function at 0x1400b62e0
Capabilities:
Write file on windows

Disassembly:
call sym.abort
mov rcx, rax
call sym.__cxa_begin_catch
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b6300
Capabilities:
Write file on windows

Disassembly:
mov ecx, 8
call sym.__cxa_allocate_exception
lea r8, [method.std::bad_alloc.bad_alloc__]
lea rdx, [0x1400c6b10]
mov rcx, rax
mov rax, qword [0x1400c3c50]
add rax, 0x10
mov qword [rcx], rax
call sym.__cxa_throw
nop
nop

Function at 0x1400b6330
Capabilities:
Write file on windows

Disassembly:
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400b63ac
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
call sym.abort
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x1400b639a
Function at 0x1400b7a80
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor edx, edx
lea rcx, [0x1400b9800]
movabs rdi, 0x2e78786362696c67
movabs r12, 0x6c6f6f705f68652e
call sym.pthread_mutex_init
pxor xmm0, xmm0
lea rcx, str.GLIBCXX_TUNABLES
mov qword [0x1400b9818], 0
movups xmmword [0x1400b9808], xmm0
call sym.getenv
mov dword [rsp + 0x40], 0
mov rbx, rax
lea rax, str.obj_size
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], rax
lea rax, str.obj_count
mov qword [rsp + 0x48], 9
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x100
test rbx, rbx
jne 0x1400b7b35
jmp 0x1400b7bdf
mov rcx, rbx
mov edx, 0x3a
call sym.strchr
mov rbx, rax
test rax, rax
je 0x1400b7b90
xor eax, eax
cmp byte [rbx], 0x3a
sete al
add rbx, rax
cmp qword [rbx], rdi
jne 0x1400b7b20
cmp qword [rbx + 7], r12
jne 0x1400b7b20
cmp byte [rbx + 0xf], 0x2e
jne 0x1400b7b20
add rbx, 0x10
lea rbp, [rsp + 0x30]
lea r13, [rsp + 0x60]
mov rsi, qword [rbp]
mov rcx, qword [rbp + 8]
test rsi, rsi
je 0x1400b7b7b
mov r8, rsi
mov rdx, rbx
call sym.memcmp
test eax, eax
jne 0x1400b7b85
cmp byte [rbx + rsi], 0x3d
je 0x1400b7c15
add rbp, 0x18
cmp rbp, r13
jne 0x1400b7b5f
jmp 0x1400b7b20
mov eax, dword [rsp + 0x58]
mov edx, 0x1000
mov ecx, 6
cmp eax, edx
cmovle edx, eax
mov eax, dword [rsp + 0x40]
test eax, eax
cmove eax, ecx
movsxd rbx, eax
movsxd rax, edx
add rbx, 0x26
imul rbx, rax
shl rbx, 3
mov qword [0x1400b9818], rbx
jne 0x1400b7bef
lea rcx, [sym.__tcf_0_3]
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.atexit
mov qword [0x1400b9818], 0x16000
mov ebx, 0x16000
mov rcx, rbx
call sym.malloc
mov qword [0x1400b9810], rax
test rax, rax
je 0x1400b7c4c
xor edx, edx
mov qword [0x1400b9808], rax
mov qword [rax], rbx
mov qword [rax + 8], rdx
jmp 0x1400b7bc7
lea rdx, [rsp + 0x28]
lea rcx, [rbx + rsi + 1]
xor r8d, r8d
call sym.strtoul
mov rbx, qword [rsp + 0x28]
movzx edx, byte [rbx]
cmp dl, 0x3a
je 0x1400b7c3c
test dl, dl
jne 0x1400b7b20
test eax, eax
js 0x1400b7b20
mov dword [rbp + 0x10], eax
jmp 0x1400b7b20
xor ecx, ecx
mov qword [0x1400b9818], rcx
jmp 0x1400b7bc7
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400133d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014720
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014740
xor al, al
jmp 0x1400147c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014753
xor al, al
jmp 0x1400147c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001477d
xor al, al
jmp 0x1400147c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014791
xor al, al
jmp 0x1400147c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400147a3
xor al, al
jmp 0x1400147c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400147bf
xor al, al
jmp 0x1400147c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012610
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a2
movzx eax, al
test eax, eax
jne 0x140012630
mov ecx, 7
call fcn.140011320
nop
mov byte [rsp + 0x20], 0
call fcn.140011334
mov byte [rsp + 0x21], al
cmp dword [0x14001e868], 1
jne 0x140012654
mov ecx, 7
call fcn.140011320
nop
jmp 0x1400126ac
cmp dword [0x14001e868], 0
jne 0x1400126a7
mov dword [0x14001e868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x140012688
mov eax, 0xff
jmp 0x1400127b1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001132a
mov dword [0x14001e868], 2
jmp 0x1400126ac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001130c
call fcn.1400112a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012709
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140012709
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001273d
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x14001273d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011361
nop
call fcn.140012860
mov dword [rsp + 0x28], eax
call fcn.140011285
movzx eax, al
test eax, eax
jne 0x14001275c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001276b
call fcn.14001136b
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x1400127b1
add rsp, 0x68
ret