joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43993a
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov eax, 0x4b8050
call fcn.00458b70
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push 0x500c1c
lea eax, [ebp - 0x10]
lea edi, [esi + 0x154]
push edi
push eax
call sub.MFC42.DLL_operator
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.004584fa
mov eax, dword [esi + 0x158]
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4399e2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4399e2
push 0xc
lea eax, [ebp - 0x1c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov edi, dword [edi]
add esp, 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xc
push eax
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4399e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x439ab8
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x58]
call fcn.004584fa
mov eax, dword [esi + 0x158]
push ebx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x439a71
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::CFile
mov esi, dword [esi + 0x158]
push ebx
push 0x1002
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x439a33
xor esi, esi
jmp 0x439a36
push 1
pop esi
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004587c4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x439ab8
cmp dword [ebp + 8], 1
jne 0x439a92
push dword [esi + 0x158]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [esi + 0x158]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x439f71
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b8128
call fcn.00458b70
sub esp, 0x108
and byte [ebp - 0x114], 0
push esi
push edi
mov esi, ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x10]
stosb byte es:[edi], al
call fcn.0045842e
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x50084c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [esi + 0x158]
push 0x104
push eax
push 0x4c7fc0
push str.userpanelver
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
test eax, eax
je 0x439ff6
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
call fcn.00458488
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43a518
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b81a4
call fcn.00458b70
sub esp, 0x120
push ebx
push esi
push edi
mov edi, ecx
push ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x158]
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call sub.MFC42.DLL_CString::CString_2
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0043a63e
test eax, eax
jne 0x43a555
push 1
jmp 0x43a581
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
mov ebx, 0x4c7fc0
push 0x104
push eax
push ebx
push str.PanelArray
push str.PanelInfo
call edi
test eax, eax
jne 0x43a587
push 2
pop eax
jmp 0x43a62f
lea ecx, [ebp - 0x28]
call fcn.004260bb
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x294]
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CDataProcessing::GetPanelIDArray_class_CArray_class_CString__class_CString___]
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x14], 0
dec eax
test eax, eax
jl 0x43a615
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x12c]
push 0x104
mov ecx, dword [ecx + edx*4]
push eax
push ebx
push str.syspanel
push ecx
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_5
push str.TRUE
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
mov byte [ebp - 4], 1
pop ecx
test eax, eax
lea ecx, [ebp - 0x10]
je 0x43a61a
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x14]
dec eax
cmp dword [ebp - 0x14], eax
jle 0x43a5b5
push 3
pop esi
jmp 0x43a621
call sub.MFC42.DLL_CString::CString
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00426105
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43a817
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
mov eax, 0x4b8200
call fcn.00458b70
sub esp, 0x28
push esi
mov esi, ecx
lea ecx, [ebp - 0x34]
call fcn.004584fa
push dword [esi + 0x160]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43a88c
push 0xc
lea eax, [ebp - 0x18]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [esi + 0x160]
and dword [ebp - 0x14], 0
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x43a88c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::CFileFind
xor eax, eax
jmp 0x43a8b1
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::Close
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::CFileFind
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x43a8c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4b8224
call fcn.00458b70
sub esp, 0x48
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.004584fa
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43a939
push 0xc
lea eax, [ebp - 0x18]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push 1
pop esi
push eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x43a93c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
xor eax, eax
jmp 0x43a9bf
push 1
pop esi
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x38]
call fcn.004584fa
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x43a999
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1002
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x43a983
xor esi, esi
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004587c4
jmp 0x43a9a6
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x43a9cf
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b8257
call fcn.00458b70
sub esp, 0x10c
and dword [ebp - 0x10], 0
push ebx
push 1
lea eax, [ebp - 0x118]
pop ebx
push dword [ecx + 0x164]
mov dword [ebp - 4], ebx
push 0x104
push eax
push 0x4c7fc0
push 0x502790
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.0045842e
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.00458488
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43c5d3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
lea eax, [ebp - 0x94]
push edi
mov edi, ecx
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 5
ja 0x43c612
jne 0x43c60b
cmp dword [ebp - 0x8c], 1
jae 0x43c612
mov esi, 0x735
jmp 0x43c617
mov esi, 0x734
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
movzx ecx, si
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x10
push 0x10
push 1
push ecx
push eax
call esi
test eax, eax
mov dword [edi + 0x434], eax
je 0x43c66c
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0x10
push 0x10
push 1
push 0x162
push eax
call esi
test eax, eax
mov dword [edi + 0x438], eax
jne 0x43c670
push dword [edi + 0x434]
call dword [sym.imp.USER32.dll_DestroyIcon]
xor eax, eax
jmp 0x43c67e
push 0
push 0x435b
mov ecx, edi
call sub.MFC42.DLL_CDialog::Create
pop edi
pop esi
leave
ret
Function at 0x43ef05
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x4b8e0d
call fcn.00458b70
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4ceb28
mov eax, dword [esi + 0x268]
lea edi, [esi + 0x268]
test eax, eax
mov dword [ebp - 4], 0xc
je 0x43ef4c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x7d0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esi + 0x264]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x25c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x14], edi
mov dword [edi], 0x4cebe8
mov byte [ebp - 4], 0xa
mov dword [edi], 0x4cb464
mov ecx, edi
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, 0x4c8778
mov byte [ebp - 4], 0xa
mov dword [edi], ebx
mov edi, dword [sym.imp.QQBaseClassInDll.dll_public_virtual:_void___thiscall_CHypelinkButton::destructor_void_]
lea ecx, [esi + 0x1e4]
mov byte [ebp - 4], 9
call edi
lea ecx, [esi + 0x16c]
mov byte [ebp - 4], 8
call edi
lea ecx, [esi + 0xf4]
mov byte [ebp - 4], 7
call edi
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CWnd::CWnd
lea edi, [esi + 0x88]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], edi
mov dword [edi], 0x4cd558
mov byte [ebp - 4], 2
mov dword [edi], 0x4cb464
mov ecx, edi
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [ebp - 4], 2
mov dword [edi], ebx
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
push 0x10
lea eax, [esi + 0x40]
push 0
push eax
call sub.MSVCRT.dll_memset
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov ecx, esi
call sub.MFC42.DLL_CWnd::CWnd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43f5ab
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0xe4]
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x28]
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
sub eax, dword [esi + 8]
push dword [edi + 0x20]
lea ebx, [eax + ecx - 0x12]
mov eax, dword [esi + 4]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ebx
lea eax, [eax + ecx - 2]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f61d
mov eax, dword [esi + 8]
push 0x50
sub eax, dword [esi]
push 1
mov ecx, edi
push eax
push dword [ebp - 0x1c]
push ebx
push dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
call sub.MFC42.DLL_CWnd::SetWindowPos
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, 0x3e8
jae 0x43f69c
mov ecx, dword [esi + 0xc]
and dword [ebp - 0x14], 0
sub ecx, dword [esi + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fild qword [ebp - 0x18]
fmul dword [0x4cebfc]
fmulp st(1)
call sub.MSVCRT.dll__ftol
push dword [edi + 0x20]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f69c
mov eax, dword [esi + 8]
push 4
push dword [ebp - 4]
sub eax, dword [esi]
mov ecx, edi
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 4]
push eax
push dword [ebp - 8]
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
push dword [edi + 0x20]
call ebx
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43f62c
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43f6de
mov eax, dword [esi + 0xc]
push 4
sub eax, dword [esi + 4]
mov ecx, edi
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0
call sub.MFC42.DLL_CWnd::SetWindowPos
push dword [edi + 0x20]
call ebx
push 0
push 0x1f40
push 1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a556
Capabilities:
Delete file

Disassembly:
mov eax, 0x4ba910
call fcn.00458b70
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, 0x4cf580
call sub.MFC42.DLL_CRuntimeClass::CreateObject
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x44a580
call sub.MFC42.DLL_AfxThrowMemoryException
push 0x4cf570
mov ecx, esi
call sub.MFC42.DLL_CCmdTarget::GetInterface
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x34]
call fcn.0045842e
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
push 0x503028
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x1001
push dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::CFile_1
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi]
push dword [ebp + 0x10]
push dword [ebp - 0x34]
push esi
call dword [eax + 0xc]
test eax, eax
je 0x44a5fa
mov dword [ebp - 0x18], ebx
jmp 0x44a603
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004587c4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
jmp 0x44a631
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44bc00
Capabilities:
Delete file

Disassembly:
mov eax, 0x4bad80
call fcn.00458b70
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.004584fa
push ebx
lea ecx, [ebp - 0x50]
push dword [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x44bc6d
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.____Find_UDP_failed
call sub.MFC42.DLL_CString::CString_5
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 1
call fcn.004493ba
add esp, 0xc
jmp 0x44bd8b
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CStdioFile::CStdioFile
push ebx
push 0x4000
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
je 0x44bd44
lea ecx, [ebp - 0x10]
call fcn.0045842e
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x44bce0
push ebx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 5
call fcn.004493ba
add esp, 0xc
jmp 0x44bc9e
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x14], ebx
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 4
call fcn.0044cc5d
cmp dword [ebp - 0x14], ebx
je 0x44bd7f
mov esi, 0x44bdb3
add edi, 0x78
push esi
mov ecx, edi
push dword [ebp - 0x18]
call fcn.00477172
push esi
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0044dc47
push 1
mov ecx, edi
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CTimerEvent::SetEnabled_int_]
jmp 0x44bd7f
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.____Open_UDP_index_failed
call sub.MFC42.DLL_CString::CString_5
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 4
call fcn.004493ba
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00458a6a
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x44e06e
Capabilities:
Move file

Disassembly:
mov eax, 0x4bb2a0
call fcn.00458b70
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
push esi
push dword [edi + 0x1c]
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov dword [ebp - 4], esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Lock
mov byte [ebp - 4], 1
cmp dword [ebp + 8], esi
je 0x44e0ae
mov ecx, edi
call fcn.0044dffe
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0044e04d
push 0x50066c
mov ecx, edi
call fcn.0044e04d
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
cmp eax, 0x18000
jbe 0x44e19a
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ebx, [edi + 0x14]
push ebx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
push str._Y_m_d_H_M
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CTime::Format
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
add edi, 0x18
push edi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
push edi
push ebx
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
push edi
push ebx
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov edx, dword [esi]
push 0
push 0x3021
push eax
mov ecx, esi
call dword [edx + 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Unlock
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46d455
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4bece5
call fcn.00458b70
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x98], ebx
jne 0x46d499
cmp dword [esi + 0x60], ebx
jne 0x46d4a0
push 0x5041ac
call fcn.0040882e
mov dword [esp], 0xb90
push esi
call fcn.0046f0bf
pop ecx
mov dword [esi + 0x98], 1
pop ecx
xor eax, eax
jmp 0x46d5ce
push 1
lea ecx, [ebp - 0x10]
pop edi
mov dword [esi + 0xa8], edi
call fcn.0045842e
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x10]
add eax, 8
mov dword [ebp - 4], ebx
push eax
call fcn.00458452
mov eax, dword [esi + 0xac]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jne 0x46d5c0
cmp dword [ebp - 0x14], edi
je 0x46d502
cmp dword [ebp - 0x14], 4
je 0x46d502
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_addr
mov edi, eax
inc edi
neg edi
sbb edi, edi
inc edi
jmp 0x46d504
xor edi, edi
mov eax, dword [esi + 0x5c]
push dword [eax + 0xc]
push dword [ebp - 0x10]
push 0x504160
call fcn.0040882e
add esp, 0xc
cmp edi, ebx
je 0x46d585
push dword [ebp - 0x10]
push 0x504118
call fcn.0040882e
mov eax, dword [esi + 0x5c]
pop ecx
pop ecx
push dword [eax + 0xc]
push dword [ebp - 0x10]
push 0xb91
push esi
call fcn.0046f0bf
push 0x484
call sub.MFC42.DLL_operatornew
add esp, 0x14
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x46d580
push ebx
push 1
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp - 0x1c]
push 0xb53
push dword [esi + 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CAsyncGetHostByName::constructor_struct_HWND_____unsigned_int__class_CString__int__int_]
mov byte [ebp - 4], bl
jmp 0x46d5bd
mov eax, dword [esi + 0x5c]
push dword [eax + 0xc]
push dword [ebp - 0x10]
push 0xb92
push esi
call fcn.0046f0bf
mov eax, dword [esi + 0x5c]
add esp, 0x10
push dword [eax + 0xc]
lea eax, [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push 1
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0046dac0
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4890a0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call sub.MSVCRT.dll_memset
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
and dword [esi + 0x58], 0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
ret