joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400041f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005008]
and qword [rbp + 0x18], 0
movabs rbx, 0x2b992ddfa232
cmp rax, rbx
jne 0x1400042af
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
shl rax, 0x18
xor qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [rbp + 0x10]
mov eax, eax
xor rax, qword [rbp + 0x10]
xor rax, rcx
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp + 0x20]
shl rax, 0x20
movabs rcx, 0xffffffffffff
xor rax, qword [rbp + 0x20]
xor rax, qword [rbp + 0x10]
and rax, rcx
movabs rcx, 0x2b992ddfa233
cmp rax, rbx
cmove rax, rcx
mov qword [0x140005008], rax
mov rbx, qword [rsp + 0x48]
not rax
mov qword [0x140005010], rax
add rsp, 0x20
pop rbp
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400065e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400f9b40]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400066b3
cmp byte [rcx + 0x71], 0
je 0x1400066b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400066af
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 0x140006674
sub eax, 1
je 0x140006678
cmp eax, 2
jne 0x1400066af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009a250
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400066a6
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 0x1400066af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000665c
xor al, al
jmp 0x14000665c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009a250
add rsp, 0x60
pop rbx
ret
Function at 0x140007130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400f9b40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x14000715d
xor eax, eax
jmp 0x1400072c6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14000719d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x14000719d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1400072be
cmp qword [rdi + 0x80], 0
je 0x1400072b9
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1400071d7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140007202
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400072be
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x140007271
sub eax, 1
je 0x140007271
cmp eax, 2
jne 0x1400072b9
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400072be
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x14000729f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400072b9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1400072be
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009a250
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400087c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x1400087f1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140008808
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x140008859
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x1400088d1
mov rcx, rbp
call int.1400066f0
cmp rbx, 0xfff
jbe 0x1400088b1
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1400088f2
cmp rbx, rax
ja 0x140008880
test rdi, rdi
je 0x1400088d1
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x1400088d4
invalid
Function at 0x140008900
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140008921
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x14000899c
test rax, rax
jle 0x14000897c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x14000899c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000899c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x14000bee0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0xa0
xorps xmm0, xmm0
mov qword [rsp + 0x90], rcx
xor eax, eax
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
movups xmmword [rsp + 0x24], xmm0
mov rdi, rcx
xor ecx, ecx
cmp qword [rdx + 0x18], 7
mov rsi, r8
movups xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x90], rdx
mov r14, rdx
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x90], r8
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x34], rax
mov dword [r11 - 0x2c], eax
mov rax, rdx
mov qword [rsp + 0x30], rcx
jbe 0x14000bf5a
mov rax, qword [rdx]
cmp qword [rdi + 0x18], 7
mov qword [rsp + 0x38], rax
mov rax, rdi
jbe 0x14000bf6c
mov rax, qword [rdi]
cmp qword [r8 + 0x18], 7
mov qword [rsp + 0x48], rax
mov rax, rsi
jbe 0x14000bf7e
mov rax, qword [r8]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 0xa
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov rcx, rdi
setne bl
call fcn.140002530
mov rcx, r14
call fcn.140002530
mov rcx, rsi
call fcn.140002530
movzx eax, bl
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
ret

Function at 0x14000bfd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x18], 7
mov rbx, rcx
mov qword [rsp + 0x20], rcx
jbe 0x14000bfec
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c000
test al, 0x10
jne 0x14000c000
mov dil, 1
jmp 0x14000c003
xor dil, dil
mov rcx, rbx
call fcn.140002530
mov rbx, qword [rsp + 0x48]
movzx eax, dil
add rsp, 0x30
pop rdi
ret
Function at 0x140010b90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
movzx esi, dl
mov rbx, rcx
xor ebp, ebp
mov qword [rcx + 0x350], rbp
mov qword [rcx + 0x348], rbp
mov dword [rcx + 0x340], ebp
mov rax, qword [rcx + 0x178]
mov byte [rax + 0x17], 1
cmp byte [rcx + 0x258], bpl
je 0x140010bdc
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x178]
call fcn.140002a70
mov rax, qword [rbx + 0x170]
mov byte [rax + 0x17], 1
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x170]
call fcn.140002a70
mov rax, qword [rbx + 0x328]
mov byte [rax + 0xe8], sil
cmp dword [rbx + 0x338], ebp
je 0x140010c48
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 0x338], eax
je 0x140010ce5
movups xmm0, xmmword [rbx + 0x330]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140010ccb
xorps xmm0, xmm0
movups xmmword [rbx + 0x330], xmm0
mov ecx, reloc.WS2_32.dll_recv
call fcn.140099f40
mov r9, rax
test rax, rax
je 0x140010c71
mov rax, qword [rbx + 0x328]
mov qword [r9], rax
lea rax, [0x140023390]
mov qword [r9 + 8], rax
jmp 0x140010c74
mov r9, rbp
mov qword [rsp + 0x60], r9
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
lea r8, [0x14000f1c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140010cd6
cmp dword [rbx + 0x338], 0
jne 0x140010cc4
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x330], xmm1
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140011eb0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
call fcn.14000caf0
test al, al
jne 0x140011f1a
mov edx, 0x25
lea rcx, [0x1400fb068]
call fcn.1400103d0
mov rcx, rax
call fcn.1400103e0
mov rdx, rax
xor r9d, r9d
lea r8, str.Erro
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 0xb
jne 0x140011f11
mov rcx, rsi
call fcn.140016200
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x28], r14d
mov dword [rbp + 0x48], r14d
lea ecx, [r14 + 8]
call fcn.14009a380
mov r15, rax
lea r12d, [r14 + 3]
test rax, rax
jne 0x140011f43
mov r13d, r12d
jmp 0x140011f99
lea r9, [rbp + 0x48]
mov r8, r15
mov edx, 1
mov rcx, qword [rsi + 0x130]
call sub.gdiplus.dll_GdipGetFontCollectionFamilyList
mov r13d, eax
test eax, eax
jne 0x140011f91
mov ebx, r14d
cmp dword [rbp + 0x48], ebx
jle 0x140011f91
mov rdi, r15
nop dword [rax]
movsxd rcx, ebx
shl rcx, 4
lea rdx, [rbp - 0x30]
add rdx, rcx
mov rcx, qword [rdi]
call sub.gdiplus.dll_GdipCloneFontFamily
inc ebx
lea rdi, [rdi + 8]
cmp ebx, dword [rbp + 0x48]
jl 0x140011f70
mov rcx, r15
call fcn.140099f7c
mov eax, 0x138
mov rcx, rsi
mov dword [rax + rcx], r13d
cmp dword [rbp + 0x48], 0
je 0x1400120eb
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x38], r14d
mov dword [rbp + 0x48], r14d
mov ecx, 8
call fcn.14009a380
mov r15, rax
test rax, rax
je 0x140012029
lea r9, [rbp + 0x48]
mov r8, rax
mov edx, 1
mov rcx, qword [rsi + 0x148]
call sub.gdiplus.dll_GdipGetFontCollectionFamilyList
mov r12d, eax
test eax, eax
jne 0x140012021
mov ebx, r14d
cmp dword [rbp + 0x48], ebx
jle 0x140012021
mov rdi, r15
nop word [rax + rax]
movsxd rcx, ebx
shl rcx, 4
lea rdx, [rbp - 0x40]
add rdx, rcx
mov rcx, qword [rdi]
call sub.gdiplus.dll_GdipCloneFontFamily
inc ebx
lea rdi, [rdi + 8]
cmp ebx, dword [rbp + 0x48]
jl 0x140012000
mov rcx, r15
call fcn.140099f7c
mov eax, 0x150
mov rcx, rsi
mov dword [rax + rcx], r12d
cmp dword [rbp + 0x48], 0
je 0x1400120ca
mov ecx, 0x2a8
call fcn.140099f40
mov qword [rbp + 0x50], rax
test rax, rax
je 0x14001208e
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsi + 0x2c4]
mov dword [rsp + 0x20], ecx
movss xmm3, dword [rsi + 0x29c]
mov r8d, dword [rsi + 0x298]
mov edx, dword [rsi + 0x294]
mov rcx, rax
call fcn.140009910
mov r14, rax
mov qword [rsi + 0x370], r14
mov byte [rsi + 0x238], 0
mov rcx, qword [rbp - 0x40]
call sub.gdiplus.dll_GdipDeleteFontFamily
nop
mov rcx, qword [rbp - 0x30]
call sub.gdiplus.dll_GdipDeleteFontFamily
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.No_bold_font_
lea rcx, [rbp - 0x20]
call fcn.14000df30
lea rdx, [0x1400f3dd8]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.No_font_
lea rcx, [rbp - 0x20]
call fcn.14000df30
lea rdx, [0x1400f3dd8]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140016200
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x1400f9b40]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
lea rcx, [rsp + 0x90]
call fcn.14000c2e0
xor eax, eax
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
cmp qword [rsp + 0xa8], 7
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x84], rax
mov dword [rsp + 0x8c], eax
lea rax, str.runas
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x24], xmm0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
cmova rax, qword [rsp + 0x90]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x38], rax
lea rax, str._ignoreinstances
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x54], xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x50], 0xa
movups xmmword [rsp + 0x74], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400162c0
xor bl, bl
jmp 0x1400162c5
mov byte [rbx], 0
mov bl, 1
mov rdx, qword [rsp + 0xa8]
cmp rdx, 7
jbe 0x140016310
mov rcx, qword [rsp + 0x90]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001630b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001630b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099f7c
movzx eax, bl
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14009a250
add rsp, 0xc0
pop rbx
ret
Function at 0x14001a6f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov r11, qword [rsp + 0x30]
movabs rax, 0x9e3779b185ebca87
mov r10, rdx
mov ebp, edx
imul r10, rax
shr ebp, 4
mov rbx, r8
xor r9d, r9d
mov rsi, rdx
mov rdi, rcx
nop dword [rax]
mov eax, r9d
inc r9d
shl eax, 4
mov ecx, eax
mov rax, qword [rax + r8 + 8]
mov rdx, qword [rcx + r8]
sub rax, r11
xor rax, qword [rcx + rdi + 8]
add rdx, r11
xor rdx, qword [rcx + rdi]
mul rdx
xor rax, rdx
add r10, rax
cmp r9d, 8
jb 0x14001a730
mov rax, qword [r8 + 0x7f]
mov rcx, r10
mov rdx, qword [r8 + 0x77]
sub rax, r11
xor rax, qword [rdi + rsi - 8]
add rdx, r11
xor rdx, qword [rdi + rsi - 0x10]
movabs r14, 0x165667919e3779f9
shr rcx, 0x25
mov r9d, 8
xor rcx, r10
imul rcx, r14
mul rdx
mov r10, rcx
shr r10, 0x20
xor r10, rcx
mov rsi, rax
xor rsi, rdx
cmp ebp, r9d
jbe 0x14001a7ec
mov eax, r9d
mov ecx, r9d
shl eax, 4
inc r9d
shl ecx, 4
add ecx, 0xffffff80
mov r8, qword [rcx + rbx + 0xb]
mov rdx, qword [rcx + rbx + 3]
sub r8, r11
xor r8, qword [rax + rdi + 8]
add rdx, r11
xor rdx, qword [rax + rdi]
mov rax, r8
mul rdx
xor rdx, rax
add rsi, rdx
cmp r9d, ebp
jb 0x14001a7b0
mov rbx, qword [rsp + 0x10]
lea rax, [rsi + r10]
mov rbp, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
shr rcx, 0x25
xor rcx, rax
imul rcx, r14
mov rax, rcx
shr rax, 0x20
xor rax, rcx
pop r14
ret
Function at 0x14003fdb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa28], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x14003fe7b
cmp qword [rcx + 0x260], 0
je 0x14003fe2e
mov qword [rsp + 0x40], rbx
call fcn.14002df10
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.14002e250
mov rcx, qword [rdi + 0x1d8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x260]
movzx edx, bl
mov rcx, rdi
call fcn.14002e250
mov rbx, qword [rsp + 0x40]
jmp 0x14003fe7b
mov ecx, esi
test edx, edx
je 0x14003fe3e
sub ecx, 1
je 0x14003fe3e
cmp ecx, 1
jne 0x14003fe7b
mov r9, qword [rdi + 0x1d0]
lea rax, [0x1400bf878]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret