joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003a50
Capabilities:
Get file system object information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x310
mov rax, qword [0x14017c030]
xor rax, rsp
mov qword [rsp + 0x300], rax
xor eax, eax
mov rsi, rcx
mov edi, r8d
mov rbx, rdx
lea rcx, [rsp + 0x48]
mov r8d, 0x2b0
xor edx, edx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x40], rax
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x40]
mov r9d, 0x2b8
mov edx, edi
mov rcx, rbx
mov dword [rsp + 0x20], CPtrList::AddTail
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rdx, [rsp + 0x258]
mov rcx, rsi
call qword [sym.imp.utilities.dll_public:_void___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const____ptr64____ptr64]
mov rax, rsi
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140113b50
add rsp, 0x310
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001d7d0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1d0
mov rax, qword [0x14017c030]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rcx, [0x14018afd0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x14018affc], 0xffffffff
mov bl, 1
jne 0x14001d823
lea rdx, [rsp + 0x20]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor edx, edx
movzx ebx, bl
test eax, eax
mov dword [0x14018affc], eax
cmovne ebx, edx
lea rcx, [0x14018afd0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140113b50
add rsp, 0x1d0
pop rbx
ret
Function at 0x14001e890
Capabilities:
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x20
mov edi, 0x10000
mov rsi, r9
mov r13, r8
mov rcx, rdi
mov rbx, rdx
call sub.mfc90u.dll_new__
mov r15, rax
test rsi, rsi
je 0x14001e8d2
xor r8d, r8d
mov rdx, rsi
mov ecx, r13d
call qword [sym.imp.MSVCR90.dll__lseeki64]
mov rbp, qword [rsp + 0x70]
cmp rsi, rbp
jge 0x14001e9a1
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r14
mov r14, qword [rsp + 0x78]
nop
mov r12, rbp
mov rdx, r15
mov ecx, r13d
sub r12, rsi
cmp r12, rdi
cmovg r12, rdi
mov r8d, r12d
call qword [sym.imp.MSVCR90.dll__read]
xor r9d, r9d
mov rdx, r15
mov r8d, eax
mov rcx, rbx
mov edi, eax
call qword [sym.imp.WS2_32.dll_send]
lea rcx, str.Send:__I64u__d_n
mov r8d, edi
mov rdx, rsi
mov ebx, eax
call qword [sym.imp.MSVCR90.dll_printf]
cmp ebx, 0xffffffff
je 0x14001e988
mov ecx, r13d
call qword [sym.imp.MSVCR90.dll__telli64]
cmp rax, r14
je 0x14001e977
mov rbx, qword [rsp + 0x58]
add rsi, r12
mov edi, 0x10000
cmp rsi, rbp
jl 0x14001e8f0
xor eax, eax
mov r12, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140127de0]
call qword [sym.imp.MSVCR90.dll_printf]
xor eax, eax
jmp 0x14001e95c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str._nError:__d_n
mov edx, eax
call qword [sym.imp.MSVCR90.dll_printf]
xor eax, eax
jmp 0x14001e95c
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001ea90
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov r15d, 0x10000
mov rdi, r9
mov rcx, r15
mov r13, rdx
call sub.mfc90u.dll_new__
mov rbp, qword [rsp + 0x80]
cmp rdi, rbp
mov r12, rax
jge 0x14001eb6e
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
nop word [rax + rax]
mov rcx, qword [0x140181538]
mov rdx, qword [r14 + 0xc0]
mov rsi, rbp
mov rax, qword [rcx]
sub rsi, rdi
mov r9, r12
cmp rsi, r15
mov r8, rdi
cmovg rsi, r15
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call qword [rax + 0x30]
test eax, eax
je 0x14001eb64
xor r9d, r9d
mov r8d, esi
mov rdx, r12
mov rcx, r13
call qword [sym.imp.WS2_32.dll_send]
lea rcx, str.Send:__I64u__d_n
xor r8d, r8d
mov rdx, rdi
mov ebx, eax
call qword [sym.imp.MSVCR90.dll_printf]
cmp ebx, 0xffffffff
je 0x14001eb4f
test rsi, rsi
je 0x14001eb64
add rdi, rsi
cmp rdi, rbp
jl 0x14001eae0
jmp 0x14001eb64
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str._nError:__d_n
mov edx, eax
call qword [sym.imp.MSVCR90.dll_printf]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rcx, r12
call sub.mfc90u.dll_delete__
mov rbp, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14002b200
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx + 8]
lea rdx, [0x140128268]
or r8d, 0xffffffff
mov rcx, rbx
call fcn.14003a7d0
or r8d, 0xffffffff
mov rcx, rbx
cmp dword [rax + 0x244], 0
lea rdx, [0x1401282a8]
je 0x14002b23b
lea rdx, [0x1401282c8]
add rsp, 0x20
pop rbx
jmp fcn.14003a9e0
Function at 0x1400300e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0xa0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rsi, rcx
mov rcx, qword [rcx + 0x3a8]
call fcn.140056570
lea rcx, [rsi + 0x1138]
mov qword [rsp + 0xd8], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
or r8d, 0xffffffff
lea rdx, [0x140128a20]
lea rcx, [rsi + 8]
call qword [sym.imp.soui.dll_public:_class_SOUI::SWindow____ptr64___cdecl_SOUI::SWindow::FindChildByName_wchar_t_const____ptr64__int____ptr64]
mov qword [rsp + 0xc0], rax
mov eax, dword [0x14018ada8]
test eax, eax
je 0x1400301ac
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rbx, rax
mov ecx, dword [0x14018ada8]
test ecx, ecx
je 0x1400301ac
nop
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400301ac
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400301a2
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x68]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [0x14018ada8]
test eax, eax
jne 0x140030160
mov dword [0x14018ada8], 1
mov rbx, qword [rsp + 0xc0]
test rbx, rbx
je 0x1400301d5
mov edx, 1
mov r8d, edx
mov rcx, rbx
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SWindow::SetVisible_int__int____ptr64]
nop
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14003025e
test edi, edi
jne 0x140030209
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0x2710
ja 0x14003025e
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rcx, qword [rsi + 0x1320]
test rcx, rcx
je 0x14003023a
mov edi, 1
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140030253
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14003025e
jmp 0x1400301f6
mov qword [rsi + 0x1320], 0
lea rcx, [rsi + 0x390]
call qword [sym.imp.soui.dll_public:_int___cdecl_SOUI::CSimpleWnd::IsWindowEnabled_void_const___ptr64]
test eax, eax
jne 0x140030292
lea edx, [rax + 1]
mov rcx, qword [rsi + 0x3a8]
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 1
mov r8d, edx
lea rcx, [rsi + 8]
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SWindow::EnableWindow_int__int____ptr64]
nop
mov dword [0x14018ada8], 0
test rbx, rbx
je 0x1400302b1
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rbx
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SWindow::SetVisible_int__int____ptr64]
nop
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400475c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rsi, rcx
mov rcx, qword [0x140181538]
xor r8d, r8d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x120]
mov rbx, qword [rsi + 0x680]
test rbx, rbx
je 0x140047630
mov eax, dword [rbx + 8]
cmp eax, 2
jne 0x140047622
lea rcx, [rsp + 0x70]
mov dword [rbx + 8], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x70]
sub rax, qword [rbx + 0x28]
mov qword [rbx + 0x28], 0
add qword [rbx + 0x20], rax
mov eax, dword [rbx + 8]
test eax, eax
je 0x140047630
mov dword [rbx + 8], 3
mov eax, dword [rsi + 0x690]
cmp eax, 2
jne 0x14004766e
lea rcx, [rsp + 0x78]
mov dword [rsi + 0x690], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x78]
sub rax, qword [rsi + 0x6b0]
mov qword [rsi + 0x6b0], 0
add qword [rsi + 0x6a8], rax
mov eax, dword [rsi + 0x690]
test eax, eax
je 0x140047682
mov dword [rsi + 0x690], 3
lea rdx, [0x140127f10]
lea rcx, [rsi + 8]
or r8d, 0xffffffff
call qword [sym.imp.soui.dll_public:_class_SOUI::SWindow____ptr64___cdecl_SOUI::SWindow::FindChildByName_wchar_t_const____ptr64__int____ptr64]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rax
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SWindow::EnableWindow_int__int____ptr64]
lea rdx, [0x14012b0b0]
lea rcx, [rsi + 8]
or r8d, 0xffffffff
call qword [sym.imp.soui.dll_public:_class_SOUI::SWindow____ptr64___cdecl_SOUI::SWindow::FindChildByName_wchar_t_const____ptr64__int____ptr64]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rax
call qword [sym.imp.soui.dll_public:_void___cdecl_SOUI::SWindow::SetVisible_int__int____ptr64]
mov eax, dword [rsi + 0x690]
test eax, eax
je 0x140047746
nop word [rax + rax]
xor r8d, r8d
lea rdx, [rsi + 0x688]
mov r9d, 0x7d0
lea ecx, [r8 + 1]
mov dword [rsp + 0x20], 0x4ff
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x140047746
cmp eax, 1
jne 0x14004773c
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14004773c
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [rsi + 0x690]
test eax, eax
jne 0x1400476e0
mov rcx, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp qword [sym.imp.soui.dll_protected:_void___cdecl_SOUI::SHostDialog::OnCancel_void____ptr64]
Function at 0x140047770
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
lea rcx, [rsp + 0x50]
call qword [0x140122ef8]
nop
mov r8, qword [rbx + 0x6e0]
lea rdx, str.__e__select__s
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, str.explorer.exe
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CView::CView]
add rsp, 0x40
pop rbx
ret

Function at 0x1400478d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x140181538]
xor r8d, r8d
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x120]
mov rdi, qword [rbx + 0x680]
test rdi, rdi
je 0x14004793b
mov eax, dword [rdi + 8]
cmp eax, 2
jne 0x14004792d
lea rcx, [rsp + 0x30]
mov dword [rdi + 8], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
sub rax, qword [rdi + 0x28]
mov qword [rdi + 0x28], 0
add qword [rdi + 0x20], rax
mov eax, dword [rdi + 8]
test eax, eax
je 0x14004793b
mov dword [rdi + 8], 3
mov eax, dword [rbx + 0x690]
cmp eax, 2
jne 0x140047979
lea rcx, [rsp + 0x38]
mov dword [rbx + 0x690], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x38]
sub rax, qword [rbx + 0x6b0]
mov qword [rbx + 0x6b0], 0
add qword [rbx + 0x6a8], rax
mov eax, dword [rbx + 0x690]
test eax, eax
je 0x14004798d
mov dword [rbx + 0x690], 3
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004bae0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call qword [0x140122ef8]
nop
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CStdioFile::Flush]
mov rdx, rax
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rcx, qword [rdi + 0x3a8]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CDataPathProperty::Open]
lea rdx, str.GlarysoftUndelete
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_COleCurrency::operator_]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14004bb79
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x3a8]
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea r8, str.History.dat
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140042700
nop
mov rdx, qword [rax]
mov rcx, rbx
call qword [sym.imp.utilities.dll_public:_void___cdecl_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140050f60
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14017c030]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor esi, esi
mov rbx, rcx
mov dword [rsp + 0x48], 7
lea ecx, [rsi + 0x70]
mov dword [rsp + 0x4c], esi
mov byte [rsp + 0x50], sil
call sub.mfc90u.dll_new__
lea r8d, [rsi + 0x70]
xor edx, edx
mov rcx, rax
mov rdi, rax
call sub.MSVCR90.dll_memset
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r9d, [rsi + 0xc]
lea r8, [rsp + 0x48]
mov edx, 0x2d1400
mov rcx, rbx
mov dword [rsp + 0x28], WSACleanup
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140051005
cmp dword [rsp + 0x40], 0xc
jb 0x140051005
movzx ebx, byte [rdi + 8]
mov rcx, rdi
call sub.mfc90u.dll_delete__
test ebx, ebx
sete sil
mov eax, esi
jmp 0x140051016
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call sub.mfc90u.dll_delete__
or eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140113b50
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140055f20
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x14017c030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov esi, r9d
mov rdi, r8
mov r12, rdx
mov rbx, rcx
mov ecx, r9d
call sub.mfc90u.dll_new__
mov rbp, rax
mov r9, rax
mov r8d, esi
mov edx, dword [rdi]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140055f7d
mov rcx, rbp
call sub.mfc90u.dll_delete__
xor eax, eax
jmp 0x140056015
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140055fa6
mov rcx, rbp
call sub.mfc90u.dll_delete__
xor eax, eax
jmp 0x140056015
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax]
rol r8d, 0x10
lea rdx, str._08X
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x40]
lea r8, str.StringFileInfo_sFileVersion
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.140055e50
nop
mov rdx, rax
mov rcx, r12
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov edx, 0x2c
lea r8d, [rdx + 2]
mov rcx, r12
call qword [sym.imp.mfc90u.dll_CMDIChildWnd::PreCreateWindow]
mov rcx, rbp
call sub.mfc90u.dll_delete__
mov eax, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140113b50
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140056570
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
lea rcx, [rax + 0x10]
call qword [0x140122ef8]
nop
mov r8, rbx
lea rdx, str._preview_wmplayer__d
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_COleServerDoc::XOleObject::EnumAdvise]
lea rcx, [rsp + 0x60]
call fcn.140055cb0
mov rbx, rax
lea rcx, [rsp + 0x38]
call fcn.140055da0
cmp qword [rbx + 0x20], 8
jb 0x1400565d2
mov rbx, qword [rbx + 8]
jmp 0x1400565d6
add rbx, 8
cmp qword [rax + 0x20], 8
jb 0x1400565e3
mov r8, qword [rax + 8]
jmp 0x1400565e7
lea r8, [rax + 8]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
mov r9, qword [rsp + 0xa8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rbx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
xor edi, edi
cmp rbx, 0x20
seta dil
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, edi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x1400589c0
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14017c030]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x58]
call sub.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary
nop
xor r9d, r9d
lea r8d, [r12 + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call sub.mfc90u.dll_COleFrameHook::OnPreTranslateMessage
test eax, eax
je 0x140058bbc
lea rcx, [rsp + 0x40]
call qword [0x140122d68]
nop
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x88]
call sub.mfc90u.dll_AFX_DDPDATA::AFX_DDPDATA
nop
lea rcx, [rsp + 0x58]
call sub.mfc90u.dll_COleServerDoc::XOleObject::GetExtent
mov rsi, rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor edx, edx
mov r8d, 0x8000002
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r13, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140058b6e
call fcn.140058d20
test eax, eax
je 0x140058b60
lea rcx, [rsp + 0xa0]
call qword [0x14018acc8]
mov rbx, r12
mov edi, 0x10000
cmp rbx, rsi
jae 0x140058b1f
mov rcx, rsi
sub rcx, rbx
movsxd rax, edi
cmp rcx, rax
jae 0x140058acb
mov edi, esi
sub edi, ebx
movsxd r14, edi
mov r8, rbx
shr r8, 0x20
mov qword [rsp + 0x20], r14
mov r9d, ebx
mov edx, 4
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r13, rax
test rax, rax
je 0x140058b1a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0xa0]
call qword [0x14018acd0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
add rbx, r14
mov r13, qword [rsp + 0x38]
jmp 0x140058ab4
mov r13, qword [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call qword [0x14018acd8]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x50]
call fcn.140058c10
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CWinThread::CWinThread]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc90u.dll_CWinApp::CWinApp]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x58]
call sub.mfc90u.dll_CFrameWnd::CanEnterHelpMode
nop
jmp 0x140058b85
call sub.mfc90u.dll_AfxRegisterWndClass
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [0x140122e90]
or r12d, 1
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc90u.dll_CWinApp::CWinApp]
nop
lea rcx, [rsp + 0x58]
call sub.mfc90u.dll_CDialogTemplate::CDialogTemplate
mov rax, r15
jmp 0x140058bdc
xor edx, edx
mov rcx, r15
call qword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMFC]
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x58]
call sub.mfc90u.dll_CDialogTemplate::CDialogTemplate
mov rax, r15
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140113b50
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400596f0
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x170
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rbx, rcx
lea rax, vtable.CCallback.0
mov qword [rsp + 0x30], rax
xor esi, esi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x40], rsi
lea rax, [0x1400595b0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
mov rcx, qword [rcx + 0x678]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea rdx, [rbx + 0x680]
lea rcx, [rsp + 0x190]
call qword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
nop
lea edx, [rsi + 0x5c]
lea rcx, [rsp + 0x190]
call qword [sym.imp.mfc90u.dll_CMDIFrameWnd::PreTranslateMessage]
cmp eax, 0xffffffff
je 0x1400597a2
mov r8d, eax
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x190]
call qword [sym.imp.mfc90u.dll_CDockState::GetVersion]
nop
mov rdx, rax
lea rcx, [rsp + 0x190]
call qword [sym.imp.mfc90u.dll_CToolBarCtrl::CToolBarCtrl]
nop
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400597c4
mov rdx, qword [rsp + 0x190]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbx + 0x680]
mov rdx, qword [rbx + 0x678]
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
setne sil
mov dword [rbx + 0x69c], esi
test eax, eax
jne 0x140059924
mov rax, qword [rbx + 0x690]
cmp dword [rax - 0x10], 0
je 0x140059924
xor r8d, r8d
mov rdx, qword [rbx + 0x680]
lea rcx, [rsp + 0x1a8]
call fcn.1400589c0
nop
mov rdx, qword [rax]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.140015740
nop
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x198]
call qword [0x140122f38]
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140059868
call qword [sym.imp.MSVCR90.dll_free]
nop
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.mfc90u.dll_CWinApp::CWinApp]
mov rdx, qword [rbx + 0x690]
lea rcx, [rsp + 0x198]
call qword [sym.imp.mfc90u.dll_CLongBinary::classCLongBinary]
test eax, eax
jne 0x1400598fe
mov rcx, qword [rbx + 0x680]
mov eax, dword [rcx - 0x10]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8, str.UpdateFile
lea rdx, [0x140127cc0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.Config.dll_Ordinal_13]
mov r11, qword [rbx + 0x688]
mov eax, dword [r11 - 0x10]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r11
mov r9d, 1
lea r8, str.UpdateVer
lea rdx, [0x140127cc0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.Config.dll_Ordinal_13]
jmp 0x140059915
mov dword [rbx + CMiniDockFrameWnd::Create], 1
mov rcx, qword [rbx + 0x680]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x198]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
lea rcx, [rsp + 0x190]
call qword [sym.imp.mfc90u.dll_CView::CView]
nop
add rsp, 0x170
pop rdi
pop rsi
pop rbx
ret