joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140099790
Capabilities:
Read file on windows
Read pipe
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1060
call fcn.140101360
sub rsp, rax
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + CMFCToolBar::DrawButton], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x1078]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400998bb
cmp dword [rsp + 0x30], 0
jbe 0x1400998bb
movzx eax, word [0x14013e95c]
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0xffe
rep stosb byte [rdi], al
cmp dword [rsp + 0x30], 0xfff
jbe 0x140099837
mov dword [rsp + 0x34], 0xfff
jmp 0x14009983f
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x1078]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009989d
lea rdx, [rsp + 0x50]
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_5270_:CBackupMediaFile::ReadFileNamedPipeAllFileToOne
call fcn.1400c46e0
mov dword [rsp + 0x3c], 0
jmp 0x1400998b1
lea rdx, str.Read_File_Error
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_5275_:CBackupMediaFile::ReadFileNamedPipeAllFileToOne
call fcn.1400c46e0
nop
mov dword [rsp + 0x40], 1
jmp 0x1400998cf
lea rdx, str.dwReadLen_0
lea rcx, str.D:_svnplayersvnTLDrivingRecordBackupMediaFile.cpp_5281_:CBackupMediaFile::ReadFileNamedPipeAllFileToOne
call fcn.1400c46e0
nop
xor eax, eax
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x1060
pop rdi
ret
Function at 0x1400a4d40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x1405fdbd8]
call fcn.1400051f0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400a4d77
lea rcx, [0x14013fc30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
jmp 0x1400a4daf
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
call fcn.140020770
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
call fcn.14000aeb0
nop
add rsp, 0x68
ret
Function at 0x1400a9590
Capabilities:
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x80a0
call fcn.140101360
sub rsp, rax
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x8090], rax
mov dword [rsp + 0x34], 0xffffffff
mov rax, qword [rsp + 0x80b0]
mov rcx, qword [0x1405fdb48]
cmp qword [rax + 0x148], rcx
jne 0x1400a97bd
lea rcx, [0x1405fdb40]
call fcn.140076610
movzx eax, al
test eax, eax
je 0x1400a97bd
mov rax, qword [rsp + 0x80b0]
cmp qword [rax + 0x148], 0xffffffffffffffff
je 0x1400a97bd
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x800d
rep stosb byte [rdi], al
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x800d
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x80b0]
add rax, 0x128
mov rcx, rax
call fcn.140001ea0
mov dword [rsp + 0x30], eax
imul eax, dword [rsp + 0x30], 3
cmp eax, dword [0x140133af4]
jge 0x1400a968e
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
jmp 0x1400a96e5
imul eax, dword [rsp + 0x30], 3
mov ecx, dword [reloc.WS2_32.dll_inet_ntoa]
lea eax, [rax + rcx + 1]
cdqe
mov rcx, rax
call qword [sym.imp.mfc140u.dll_operator_1]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
imul eax, dword [rsp + 0x30], 3
mov ecx, dword [reloc.WS2_32.dll_inet_ntoa]
lea eax, [rax + rcx + 1]
cdqe
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
mov rcx, qword [rsp + 0x60]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80b0]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x80b0]
add rcx, 0x128
call fcn.140001eb0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x44]
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x80b0]
mov ecx, dword [rax + 0x11c]
call fcn.140075d50
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400a978c
mov eax, dword [rsp + 0x44]
mov ecx, dword [reloc.WS2_32.dll_inet_ntoa]
add ecx, eax
mov eax, ecx
mov r9d, dword [0x140133af8]
mov r8d, eax
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1405fdb40]
call fcn.140077450
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jg 0x1400a9782
lea rcx, [0x1405fdb40]
call fcn.140076f80
nop
jmp 0x1400a978a
mov dword [rsp + 0x34], 0
jmp 0x1400a9794
mov dword [rsp + 0x34], 0xffffffff
cmp qword [rsp + 0x38], 0
je 0x1400a97bb
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_operator]
nop
mov qword [rsp + 0x38], 0
jmp 0x1400a97e0
mov rax, qword [rsp + 0x80b0]
mov r8d, dword [rax + 0x11c]
lea rdx, str.socketl
lea rcx, str.D:_svnplayersvnTLDrivingRecordJobThreadHandleJob1.cpp_91_:HandleJob1::execute
call fcn.1400c46e0
nop
jmp 0x1400a97e2
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x8090]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x80a0
pop rdi
ret
Function at 0x1400aa0e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea r9, [0x1401213e8]
mov r8d, 1
xor edx, edx
lea rcx, [0x1401213f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x78]
call fcn.1400a9e90
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
add rax, 0x10
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400051f0
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x90]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx]
mov qword [rsp + 0x70], rdx
mov r8, qword [rsp + 0x68]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x78]
call fcn.1400aa050
nop
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
add rsp, 0x88
ret
Function at 0x1400b5490
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x1f0]
test eax, eax
je 0x1400b54c8
mov al, 1
jmp 0x1400b56d1
lea rcx, [rsp + 0x80]
call fcn.140007170
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xd0]
call fcn.140007140
lea rdx, str.uQnZi2sFw22L0_MRa8pYX_1E2P8065_5N5M3459_3C934220_04969_6562
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__5]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_AfxTryCleanup]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x54], 0
mov rax, qword [rsp + 0xd0]
add rax, 0xe8
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc351
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x80]
mov r8d, 0x50000008
lea rdx, str.DrivingMapInfo
mov rcx, rax
call fcn.1400b49b0
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x1400b5693
lea rcx, [0x1405fda50]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1400b5653
mov edx, dword [rsp + 0x58]
lea rcx, [0x1405fda50]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400053e0
nop
mov edx, 0xffffffff
lea rcx, [0x1405fda50]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
nop
lea rcx, [rsp + 0x90]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b5645
lea rcx, [rsp + 0x90]
call fcn.140005330
mov rcx, qword [rsp + 0xd0]
add rcx, 0xe8
mov rdx, rax
call fcn.1400c2360
mov rax, qword [rsp + 0xd0]
add rax, 0xe8
mov edx, 3
mov rcx, rax
call fcn.1400c2480
mov rax, qword [rsp + 0xd0]
add rax, 0xe8
mov edx, 0x3e9
mov rcx, rax
call fcn.1400c23f0
nop
lea rcx, [rsp + 0x90]
call fcn.1400053b0
nop
mov rax, qword [rsp + 0xd0]
add rax, 0x1d0
mov rcx, rax
call fcn.1400b4fb0
mov rcx, qword [rsp + 0xd0]
add rcx, 0x1d0
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.mfc140u.dll_CMiniFrameWnd::Create]
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x1f0], 1
jmp 0x1400b5697
jmp 0x1400b5699
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
cmp dword [rsp + 0x54], 0
je 0x1400b56b3
mov byte [rsp + 0x50], 1
jmp 0x1400b56b8
mov byte [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x51], al
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, byte [rsp + 0x51]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0xc8
ret
Function at 0x1400b56f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call fcn.140005330
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400b5764
mov rcx, qword [rsp + 0x48]
call fcn.140005330
mov rcx, qword [rsp + 0x40]
add rcx, 0xe8
mov rdx, rax
call fcn.1400c2360
mov rax, qword [rsp + 0x40]
add rax, 0xe8
mov edx, 3
mov rcx, rax
call fcn.1400c2480
mov rax, qword [rsp + 0x40]
add rax, 0xe8
mov edx, 0x3e9
mov rcx, rax
call fcn.1400c23f0
nop
jmp 0x1400b5768
jmp 0x1400b576a
mov rcx, qword [rsp + 0x48]
call fcn.1400053b0
nop
add rsp, 0x38
ret
Function at 0x1400c4c50
Capabilities:
Check for time delay via gettickcount
Read .ini file

Disassembly:
push rbx
sub rsp, 0x690
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + COleCurrency::operator-], rax
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1405fdc24]
cmp eax, 0xe10
jbe 0x1400c4da3
mov dword [rsp + 0x60], getservbyname
xor edx, edx
mov r8d, 0x204
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
mov r8d, operator
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400053e0
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x14014f720]
lea rcx, [rsp + 0x20]
call fcn.14006f480
cmp eax, 0xffffffff
jne 0x1400c4d03
lea rcx, [rsp + 0x20]
call fcn.1400053b0
xor eax, eax
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x690
pop rbx
ret
inc eax
movsxd r9, eax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14004c1a0
nop
mov dword [rsp + 0x270], getservbyname
xor edx, edx
mov r8d, 0x40c
lea rcx, [rsp + 0x274]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call fcn.140005330
mov r8, rax
lea rdx, str._sLanguageSvrLanguage.ini
lea rcx, [rsp + 0x270]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x270]
xor r8d, r8d
lea rdx, [0x14014f690]
lea rcx, str.LangList
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x1405fdc28], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1405fdc24], eax
lea rcx, [rsp + 0x40]
call fcn.1400053b0
nop
lea rcx, [rsp + 0x20]
call fcn.1400053b0
mov eax, dword [0x1405fdc28]
test eax, eax
je 0x1400c4ce8
cmp ebx, eax
jl 0x1400c4ce8
mov eax, 1
jmp 0x1400c4cea

Function at 0x1400c4dd0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rbx, rcx
lea rdx, str.TL_CLIENT:
lea rcx, [rsp + 0x30]
call fcn.140001fa0
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140005470
lea rdx, [0x14014f68c]
lea rcx, [rsp + 0x30]
call fcn.140005470
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140005470
mov r8d, 0x78
lea rdx, str.D:_svnplayersvnSystemDepWriteDebuglog.cpp
lea rcx, [rsp + 0x20]
call qword [sym.imp.glog.dll_public:_void___cdecl_google::LogMessage::constructor_char_const____ptr64__int____ptr64]
mov rdi, rax
lea rcx, [rsp + 0x30]
call fcn.140001eb0
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.glog.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_google::LogMessage::stream_void____ptr64]
mov rcx, rax
mov rdx, rbx
call fcn.140008610
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.glog.dll_public:_void___cdecl_google::LogMessage::destructor_void____ptr64]
lea rcx, [rsp + 0x30]
call fcn.140001eb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
lea rcx, [rsp + 0x30]
call fcn.140001f00
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140100c60
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400c5060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x50
mov rbx, rcx
inc dword [rcx + 8]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 8
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
test rax, rax
je 0x1400c508b
mov qword [rax], rbx
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400c52d0]
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 0x1400c50f7
cmp dword [rsp + 0x38], 0
je 0x1400c50eb
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400c50eb
mov rax, qword [rbx + 0x20]
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400c5660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push r14
sub rsp, 0x20
mov r14, r9
mov ebx, edx
call qword [sym.imp.mfc140u.dll_AfxFieldText]
movzx edx, bx
lea r8, [0x14014b1c8]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x1400c5760
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rdi
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x1400c5760
mov edx, esi
xor ecx, ecx
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
call fcn.140101c10
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rdi, qword [rsp + 0x40]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x1400c5740
lea rax, vtable.Gdiplus::Image.0
mov qword [rbx + 8], 0
lea rdx, [rbx + 8]
mov qword [rbx], rax
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [rbx + 0x10], eax
jmp 0x1400c5742
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 1
jmp 0x1400c5762
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400c78a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rbp, rcx
mov rsi, r9
mov ecx, reloc.WS2_32.dll_recv
mov edi, r8d
mov r14d, edx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400c78ea
lea rcx, str.TL_CLIENTFILELIB:malloc_FILEHANDLE_Fail_return_NULL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x1400c7934
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], edi
test edi, edi
jne 0x1400c78fe
mov r8d, r14d
xor edx, edx
jmp 0x1400c790a
cmp edi, 1
jne 0x1400c7920
xor r8d, r8d
movzx edx, dil
mov eax, dword [rsp + 0x60]
mov r9, rsi
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.1400c86b0
mov qword [rbx], rax
cmp qword [rbx], 0
jne 0x1400c7931
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400c7a00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rdx
movsxd rdi, r8d
mov edx, dword [rcx + 0x10]
mov rsi, rcx
cmp edx, 0x10000000
jl 0x1400c7a43
lea rcx, str.custommp4_read_data:file_pos_ld_n
call fcn.140008960
xor eax, eax
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov ebx, edx
mov qword [rsp + 0x38], rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
cmp eax, ebx
je 0x1400c7abb
mov rcx, qword [rsi]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov ebp, eax
test eax, eax
je 0x1400c7abb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, ebx
mov edi, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov r8d, edi
lea rcx, str.custommp4_read_data:fseek_error_d_errno_d_errstr_s_n
mov r9, rax
mov edx, ebp
call fcn.140008960
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edx, dword [rsi + 0x10]
lea rcx, str.custommp4_read_data:right_pos_ld_real_pos_d_n
mov r8d, eax
call fcn.140008960
xor eax, eax
jmp 0x1400c7aea
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r9, qword [rsi]
mov rdx, rdi
mov r8d, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsi]
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add dword [rsi + 0x10], edi
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400c7b20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov r15, rdx
movsxd rbp, r8d
mov edx, dword [rcx + 0x10]
mov rsi, rcx
cmp edx, 0x10000000
jl 0x1400c7b4d
lea rcx, str.custommp4_write_data:file_pos_ld_n
call fcn.140008960
mov rcx, qword [rsi]
mov ebx, dword [rsi + 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
cmp eax, ebx
je 0x1400c7bce
mov rcx, qword [rsi]
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x48], r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r14d, eax
test eax, eax
je 0x1400c7bc9
mov qword [rsp + 0x40], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, ebx
mov edi, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov r8d, edi
lea rcx, str.custommp4_write_data:fseek_error_d_errno_d_errstr_s_n
mov r9, rax
mov edx, r14d
call fcn.140008960
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edx, dword [rsi + 0x10]
lea rcx, str.custommp4_write_data:right_pos_ld_real_pos_d_n
mov r8d, eax
call fcn.140008960
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov r9, qword [rsi]
mov rdx, rbp
mov r8d, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add dword [rsi + 0x10], ebp
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x1401016c4
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140f550ae
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f550d7
pop rbp
sub rbp, 0x33
sub rbp, 0xf550a4
sub rsp, 0x20
jmp 0x140f550f6
mov rax, 0xf550a4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x4edaa145
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f55115
jmp 0x140f5512c
or eax, 0xccceaccc
jns 0x140f55178
or eax, 0x444d84c4
or eax, 0x820dac44
test dword [rbp + 0x45], ecx
or eax, 0x456d8782
or eax, 0x440da7b2
test dh, cl
invalid
jo 0x140f5519e
lahf
lodsd eax, dword [rsi]
lodsb al, byte [rsi]
push rbx
test byte [r13 + 0xd547447], r13b
invalid
xchg byte [0x14e0a68c3], bl
std
sar edx, 1
invalid
Function at 0x14001136b
Capabilities:
Terminate process

Disassembly:
jmp 0x140018450
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 0x140011460
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400197a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400197c0
xor al, al
jmp 0x140019841
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400197d3
xor al, al
jmp 0x140019841
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 0x1400197fd
xor al, al
jmp 0x140019841
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019811
xor al, al
jmp 0x140019841
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019823
xor al, al
jmp 0x140019841
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001983f
xor al, al
jmp 0x140019841
mov al, 1
add rsp, 0x38
ret