joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800274c0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov byte [rsp + 0x50], 0
mov r8d, dword [rsp + 0x78]
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionExt]
mov rcx, 0xffffffff80000001
call fcn.180026860
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180027673
mov r8d, dword [rsp + 0x78]
mov rdx, qword [str.Stats]
mov rcx, qword [rsp + 0x30]
call fcn.180026860
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180027668
mov rcx, qword [rsp + 0x70]
call fcn.180013770
mov r8d, dword [rsp + 0x78]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.180026860
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x18002765d
mov r8d, dword [rsp + 0x78]
mov rdx, qword [str.iexplore]
mov rcx, qword [rsp + 0x40]
call fcn.180026860
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180027652
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Blocked
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Count
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, [0x180051c08]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x54], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x50], 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [rsp + 0x50]
add rsp, 0x68
ret
Function at 0x180027690
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x38], 0
mov r9d, dword [rsp + 0x70]
or r9d, 0x20019
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [0x180051ac0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800277c1
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x38]
mov r8b, 1
mov rdx, qword [str.Approved_Extensions]
mov rcx, qword [rsp + 0x30]
call fcn.180026a60
movzx eax, al
test eax, eax
je 0x1800277b6
mov r9d, dword [rsp + 0x70]
or r9d, 0x20006
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [str.Approved_Extensions]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180027795
mov rcx, qword [rsp + 0x60]
call fcn.180013770
mov rdx, rax
mov dword [rsp + 0x28], 0x18
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x18002778a
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.1800274c0
mov byte [rsp + 0x48], al
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [str.Approved_Extensions]
mov rcx, qword [rsp + 0x30]
call fcn.180026a60
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [rsp + 0x48]
add rsp, 0x58
ret
Function at 0x180036aec
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x18006e408]
test rcx, rcx
jne 0x180036a43
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x180036a3c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x180036a6e
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x180036a38
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x18006e408], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x180036ae1
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180036a91
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x18006e408]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x180036abe
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x180036ae1
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x18006e408]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x180036ac5
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x1800369c8
Function at 0x1800397db
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18006afd8]
jne 0x180036e8a
rol rcx, 0x10
test cx, 0xffff
jne 0x180036e86
repz ret
ror rcx, 0x10
jmp 0x180039734
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18006e4f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18006e5e8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800397b9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18006e4f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800397db
mov rax, qword [rsp + 0x88]
mov qword [0x18006e5e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18006e588], rax
mov rax, qword [0x18006e5e8]
mov qword [0x18006e460], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18006e570], rax
mov dword [0x18006e450], 0xc0000409
mov dword [0x18006e454], 1
mov rax, qword [0x18006afd8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18006afe0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18006e4e8], eax
mov ecx, 1
call fcn.1800416d4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180054d80]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18006e4e8], 0
jne 0x180039862
mov ecx, 1
call fcn.1800416d4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x18003c06c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18003bee0
Function at 0x180041be4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1800399b8
xor ebx, ebx
mov rdi, rax
cmp qword [0x18006f1b8], rbx
jne 0x180041cea
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180041dbf
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180041dbf
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x180055ed0]
mov rcx, rsi
mov qword [0x18006f1b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18006f1c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x18006f1c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18006f1d8], rax
test rax, rax
je 0x180041ce1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18006f1d0], rax
jmp 0x180041cf1
mov rax, qword [0x18006f1d0]
jmp 0x180041cf8
mov rax, qword [0x18006f1d0]
mov r11, qword [0x18006f1d8]
cmp rax, rdi
je 0x180041d60
cmp r11, rdi
je 0x180041d60
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18006f1d8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180041d60
test rax, rax
je 0x180041d60
call rsi
test rax, rax
je 0x180041d5a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180041d5a
test byte [rsp + 0x38], 1
jne 0x180041d60
bts ebp, 0x15
jmp 0x180041d9e
mov rcx, qword [0x18006f1c0]
cmp rcx, rdi
je 0x180041d9e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180041d9e
call rax
mov rbx, rax
test rax, rax
je 0x180041d9e
mov rcx, qword [0x18006f1c8]
cmp rcx, rdi
je 0x180041d9e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180041d9e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18006f1b8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180041dbf
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180041dc1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140013694
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x140091a6b], 0
jne 0x1400136a6
call int.14001364c
lea rcx, str.________ML____options___filelist____link_linkoptions___n_n_Bl_linker__Use_alternate_linker___________safeseh_Assert_all_exception_n_c_Assemble_without_linking________________________handlers_are_declared_n_Cp_Preserve_case_of_user_identifiers______Sf_Generate_first_pass_listing_n_Cu_Map_all_identifiers_to_upper_case______Sl_width__Set_line_width_n_Cx_Preserve_case_in_publics__externs______Sn_Suppress_symbol_table_listing_n_coff_generate_COFF_format_object_file_____Sp_length__Set_page_length_n_D_name__text__Define_text_macro__________Ss_string__Set_subtitle_n_EP_Output_preprocessed_listing_to_stdout__St_string__Set_title_n_F__hex__Set_stack_size__bytes_____________Sx_List_false_conditionals_n_Fe_file__Name_executable__________________Ta_file__Assemble_non_.ASM_file_n_Fl_file__Generate_listing_________________w_Same_as__W0__WX_n_Fm_file__Generate_map_____________________WX_Treat_warnings_as_errors_n_Fo_file__Name_object_file_________________W_number__Set_warning_level_n_Fr_file__Generate_limited_browser_info____X_Ignore_INCLUDE_environment_path_n_FR_file__Generate_full_browser_info_______Zd_Add_line_number_debug_info_n_G_cdz__Use_Pascal__C__or_Stdcall_calls__Zf_Make_all_symbols_public_n_I_name__Add_include_path__________________Zi_Add_symbolic_debug_info_n_link__linker_options_and_libraries________Zm_Enable_MASM_5.10_compatibility_n_nologo_Suppress_copyright_message_________Zp_n__Set_structure_alignment_n_omf_generate_OMF_format_object_file_______Zs_Perform_syntax_check_only_n_Sa_Maximize_source_listing________________ZH:SHA_256_Use_SHA256_for_checksum_n______________________________________________in_debug_info__experimental__n_Gy____separate_functions_for_linker_n_errorReport:_option__Deprecated._Report_internal_assembler_errors_to_Microsoft_n____none___do_not_send_report_n____prompt___prompt_to_immediately_send_report_n____queue___at_next_admin_logon__prompt_to_send_report_n____send___send_report_automatically_n
call fcn.140037250
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400136bc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x140091a6b], 0
jne 0x1400136ce
call int.14001364c
lea rcx, str.usage:_ML___options___filelist____link_linkoptions__nRun__ML__help__or__ML_____for_more_info_n
call fcn.140037250
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x100369578
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
rdtsc
shl rdx, 0x20
or rax, rdx
cdqe
mov qword [0x1003fe198], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
xor ebx, ebx
lea rbp, [0x100000000]
and eax, 0x80000000
mov dword [0x1003fe928], eax
cmp dword [0x10041beb0], ebx
jne 0x1003695d6
lea rcx, [0x100405c40]
call fcn.10011146c
cmp eax, ebx
jl 0x1003697c5
mov dword [0x10041beb0], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rcx, [0x100000000]
mov rdi, qword [rsp + 0x28]
mov r8d, 0x80000000
lea rax, [rdi + r8]
movsxd rdx, dword [0x10000003c]
mov edx, dword [rdx + rbp + 0x50]
add rdx, rcx
cmp rdx, rax
jb 0x100369611
lea rdi, [rdx - 0x80000000]
lea rdx, [rdi + 0xffff]
mov rdi, qword [rsp + 0x30]
lea rax, [rdi - 0x80000000]
and rdx, 0xffffffffffff0000
cmp rcx, rax
mov qword [0x10041cd78], rdx
jbe 0x100369640
mov qword [0x1003fee98], rdi
jmp 0x10036964a
add rcx, r8
mov qword [0x1003fee98], rcx
mov word [0x1003fee98], bx
mov rax, qword [0x1003fee98]
sub rax, rdx
shr rax, 0x10
mov qword [0x100405548], rax
mov eax, ebx
cmp eax, ebx
jl 0x1003697c5
mov rax, qword [0x10041cb68]
cmp rax, 3
jae 0x1003696b6
lea rax, [rax + rax*4]
lea rcx, [rbp + rax*8 + 0x3fef30]
call fcn.10011146c
mov edx, eax
cmp eax, ebx
jl 0x1003696af
mov rax, qword [0x10041cb68]
inc rax
mov qword [0x10041cb68], rax
cmp rax, 3
jb 0x10036967d
cmp edx, ebx
jge 0x1003696b6
mov eax, edx
jmp 0x1003697c5
mov eax, dword [0x10028bf00]
cmp eax, ebx
je 0x100369750
mov r8d, 0x40
lea rsi, section..data
mov rcx, rsi
lea r9, [rsp + 0x78]
mov edx, dword [0x100015964]
mov eax, dword [0x10028bf00]
imul edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
jne 0x100369712
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov ecx, 0x54f
cmove eax, ecx
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
jmp 0x100369752
mov eax, dword [0x10028bf00]
cmp eax, ebx
mov r8, rbx
jbe 0x100369750
mov edi, dword [0x100015964]
xor eax, eax
imul rdi, r8
add rdi, rsi
mov ecx, dword [0x100015964]
mov dword [rbp + r8*4 + 0x4059e0], 0xef0b
inc r8
rep stosb byte [rdi], al
mov eax, dword [0x10028bf00]
cmp r8, rax
jb 0x10036971f
mov ecx, ebx
cmp ecx, ebx
jge 0x10036975a
mov eax, ecx
jmp 0x1003697c5
mov ecx, dword [0x1003feae0]
cmp ecx, ebx
je 0x1003697ac
lea rdi, [0x1003feb08]
mov edx, dword [0x1003fead8]
lea rax, [rdx + rbp + 0x3feb08]
mov qword [0x1003feae8], rdi
mov qword [0x1003feaf0], rax
mov eax, dword [0x1003feadc]
add rdx, rax
lea rax, [rdx + rbp + 0x3feb08]
add rcx, rdx
add rcx, rdi
mov qword [0x1003feaf8], rax
mov qword [0x1003feb00], rcx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
mov eax, 0x50381023
cmp dword [rsp + 0x70], ebx
cmovl ebx, dword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001290
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x1400
call fcn.140006060
sub rsp, rax
mov rax, qword [0x14001e010]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov ebp, 1
mov ecx, ebp
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x64], edx
inc rcx
cmp rcx, 0x270
jb 0x1400012f0
mov dword [rsp + 0x60], 0x270
lea rcx, [rsp + 0x60]
call fcn.140005000
mov ecx, eax
imul rdx, rcx, 0xdbba0
cmp edx, 0x28d7f
ja 0x14000134d
lea rcx, [rsp + 0x60]
call fcn.140005000
mov ecx, eax
imul rdx, rcx, 0xdbba0
cmp edx, 0x28d80
jb 0x140001332
shr rdx, 0x20
add edx, 0x186a0
lea rcx, [rsp + 0x30]
call fcn.140004200
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400013fc
lea r8, [rcx + 1]
mov qword [rsp + 0x40], r8
lea rdi, [rsp + 0x30]
cmp rdx, 0x10
cmovae rdi, qword [rsp + 0x30]
lea rax, [0x140007565]
lea r15, [0x140007564]
cmp rax, rdi
jbe 0x1400013c2
lea rax, [rdi + rcx]
cmp r15, rax
ja 0x1400013c2
cmp rdi, r15
ja 0x1400013ba
mov rsi, r14
jmp 0x1400013c5
mov rsi, rdi
sub rsi, r15
jmp 0x1400013c5
mov rsi, rbp
lea rcx, [rdi + 1]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + rsi]
sub rbp, rsi
lea rdx, [r15 + 1]
add rdx, rsi
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x14000140e
mov qword [rsp + 0x28], rbp
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140004e90
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140001479
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001474
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001474
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000524c
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.1400051f0
lea r11, [rsp + 0x1400]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400014b0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0x10
mov rbx, rcx
jb 0x1400014c3
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbx + 0x18]
test eax, eax
jne 0x140001508
cmp rcx, 0x10
jb 0x140001504
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400014ff
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001556
mov rcx, r8
call fcn.14000524c
mov al, 1
jmp 0x14000153d
cmp rcx, 0x10
jb 0x14000153b
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140001536
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001556
mov rcx, r8
call fcn.14000524c
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400031c0
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 0x1400031e8
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 0x14000320e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003210
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003269
test ecx, ecx
jle 0x140003249
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 0x140003269
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003269
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 0x140003290
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 0x1400032b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400032c8
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 0x1400032e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400032e6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003322
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 0x1400033be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000335d
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 0x14000339e
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 0x1400033be
cmp rbx, rax
ja 0x140003370
test rbx, rbx
je 0x1400033be
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