joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c8d4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x42c92d
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
jne 0x42c92d
xor ax, ax
jmp 0x42c9d1
mov eax, dword [ebp - 0x8c]
sub eax, 0
je 0x42c9ce
dec eax
je 0x42c97b
dec eax
je 0x42c949
xor eax, eax
jmp 0x42c9d1
push 4
pop eax
cmp dword [ebp - 0x98], eax
ja 0x42c958
push 1
jmp 0x42c9d0
cmp dword [ebp - 0x98], 5
jne 0x42c9d1
cmp dword [ebp - 0x94], 0
jne 0x42c96e
push 2
jmp 0x42c9d0
cmp dword [ebp - 0x94], 1
jne 0x42c9d1
push 3
jmp 0x42c9d0
cmp dword [ebp - 0x98], 4
push 0xa
pop eax
jne 0x42c9d1
cmp dword [ebp - 0x94], 0
jne 0x42c9a9
cmp byte [ebp - 0x87], 0x43
push 5
pop eax
je 0x42c9a5
cmp byte [ebp - 0x87], 0x42
jne 0x42c9d1
push 6
jmp 0x42c9d0
cmp dword [ebp - 0x94], eax
jne 0x42c9c1
cmp byte [ebp - 0x87], 0x41
push 7
pop eax
jne 0x42c9d1
push 8
jmp 0x42c9d0
cmp dword [ebp - 0x94], 0x5a
jne 0x42c9d1
push 9
jmp 0x42c9d0
push 0xb
pop eax
pop esi
leave
ret
Function at 0x42d7a3
Capabilities:
Delete file

Disassembly:
mov eax, 0x4a8b60
call fcn.0044c320
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
push 1
pop ebx
mov byte [ebp - 4], bl
mov dword [esp], 0x4bdd04
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0042efe3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
call dword [sym.imp.BasicCtrlDll.dll_int___cdecl_CheckFileExist1_class_CString_]
test eax, eax
pop ecx
je 0x42d844
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esi + 0x24]
push 0
push dword [ebp - 0x10]
mov dword [esi + 0x2c], ebx
push dword [ebp - 0x14]
call dword [sym.imp.QQBaseClassInDll.dll_public:_unsigned_int___thiscall_CHttpDownload::Download_char_const___char_const___struct__SYSTEMTIME__]
test eax, eax
je 0x42d86a
mov ecx, dword [esi + 0x28]
push ebx
mov dword [esi + 0x78], ebx
call fcn.0042ee2c
jmp 0x42d873
mov ecx, esi
call fcn.0042d789
xor ebx, ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43426a
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x4a9c01
call fcn.0044c320
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4bef58
mov eax, dword [esi + 0x278]
lea edi, [esi + 0x278]
test eax, eax
mov dword [ebp - 4], 0xc
je 0x4342b1
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 + 0x274]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x26c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x14], edi
mov dword [edi], 0x4bf018
mov byte [ebp - 4], 0xa
mov dword [edi], 0x4bd6ec
mov ecx, edi
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, 0x4b9588
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 + 0x1f4]
mov byte [ebp - 4], 9
call edi
lea ecx, [esi + 0x17c]
mov byte [ebp - 4], 8
call edi
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 7
call edi
lea ecx, [esi + 0xf0]
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], 0x4bdabc
mov byte [ebp - 4], 2
mov dword [edi], 0x4bd6ec
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 0x434910
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 + 0xf4]
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 0x434982
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 0x434a01
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 [0x4bf02c]
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 0x434a01
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 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x434991
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x434a43
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 0x43f3b4
Capabilities:
Delete file

Disassembly:
mov eax, 0x4ab670
call fcn.0044c320
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, 0x4bf920
call sub.MFC42.DLL_CRuntimeClass::CreateObject
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x43f3de
call sub.MFC42.DLL_AfxThrowMemoryException
push 0x4bf910
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 sub.MFC42.DLL_CString::CString_5
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
push 0x4edad0
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 0x43f458
mov dword [ebp - 0x18], ebx
jmp 0x43f461
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0044c0dc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
jmp 0x43f48f
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 0x440a5e
Capabilities:
Delete file

Disassembly:
mov eax, 0x4abae0
call fcn.0044c320
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.0044bd0a
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 0x440acb
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.____Find_UDP_failed
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
call fcn.0043e218
add esp, 0xc
jmp 0x440be9
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 0x440ba2
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
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 0x440b3e
push ebx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
call fcn.0043e218
add esp, 0xc
jmp 0x440afc
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_3
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 4
call fcn.00441abb
cmp dword [ebp - 0x14], ebx
je 0x440bdd
mov esi, 0x440c11
add edi, 0x78
push esi
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0046978c
push esi
mov ecx, edi
push dword [ebp - 0x18]
call fcn.00442a62
push 1
mov ecx, edi
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CTimerEvent::SetEnabled_int_]
jmp 0x440bdd
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.____Open_UDP_index_failed
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.adlog
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
call fcn.0043e218
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.0044c1f0
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 0x442fa1
Capabilities:
Move file

Disassembly:
mov eax, 0x4ac000
call fcn.0044c320
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 0x442fe1
mov ecx, edi
call fcn.00442f31
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00442f80
push 0x4ed398
mov ecx, edi
call fcn.00442f80
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
cmp eax, 0x18000
jbe 0x4430cd
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_3
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 fcn.0044be12
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 fcn.0044be12
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_2
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_2
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 0x45fb12
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4af641
call fcn.0044c320
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x98], ebx
jne 0x45fb48
cmp dword [esi + 0x60], ebx
jne 0x45fb4f
push 0x4eebe4
call fcn.004087f9
pop ecx
mov dword [esi + 0x98], 1
xor eax, eax
jmp 0x45fc50
push 1
lea ecx, [ebp - 0x10]
pop edi
mov dword [esi + 0xa8], edi
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esi + 0x5c]
lea ecx, [ebp - 0x10]
add eax, 8
mov dword [ebp - 4], ebx
push eax
call sub.MFC42.DLL_CString::operator_2
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 0x45fc42
cmp dword [ebp - 0x14], edi
je 0x45fbb1
cmp dword [ebp - 0x14], 4
je 0x45fbb1
push dword [ebp - 0x10]
call sub.WSOCK32.dll_inet_addr
mov edi, eax
inc edi
neg edi
sbb edi, edi
inc edi
jmp 0x45fbb3
xor edi, edi
mov eax, dword [esi + 0x5c]
push dword [eax + 0xc]
push dword [ebp - 0x10]
push 0x4eeb98
call fcn.004087f9
add esp, 0xc
cmp edi, ebx
je 0x45fc1e
push dword [ebp - 0x10]
push 0x4eeb50
call fcn.004087f9
push 0x484
call sub.MFC42.DLL_operatornew
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x45fc19
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_3
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 0x45fc3f
mov eax, dword [esi + 0x5c]
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_3
push 1
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00460017
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 0x47b5f0
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
Function at 0x484769
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x4b3229
call fcn.0044c320
mov eax, 0x2008
call fcn.0044c4c0
push ebx
push edi
push dword [ebp + 0x14]
mov edi, ecx
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0xc]
xor ebx, ebx
add eax, 0xa
mov dword [ebp - 4], ebx
cmp eax, 0x2000
jle 0x4847d2
push 8
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov byte [ebp - 4], 1
je 0x4847bc
push 1
call sub.MFC42.DLL_CException::CException_1
jmp 0x4847be
xor eax, eax
mov byte [ebp - 4], bl
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push 0x4e1920
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
mov byte [ebp - 0x2014], bl
push dword [ebp + 0x14]
mov byte [ebp - 0x2013], bl
mov byte [ebp - 0x2012], bl
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x48481e
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x2011], 3
mov ebx, dword [eax - 8]
push ebx
push eax
lea eax, [ebp - 0x200f]
mov byte [ebp - 0x2010], bl
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea esi, [ebx + 5]
jmp 0x48483d
lea eax, [ebp - 0x14]
push 4
push eax
lea eax, [ebp - 0x2010]
push eax
mov byte [ebp - 0x2011], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
pop esi
push dword [ebp + 0x10]
call sub.WSOCK32.dll_htons
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 2
push eax
lea eax, [ebp + esi - 0x2014]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp + 0xc]
inc esi
inc esi
push dword [ebp + 8]
lea eax, [ebp + esi - 0x2014]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [edi + 0x54]
add esp, 0x18
add esi, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x2014]
push dword [edi + 0x58]
push esi
push eax
call sub.MFC42.DLL_CAsyncSocket::SendTo
cmp eax, esi
pop esi
je 0x4848a4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4848b3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x487a8f
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x40
lea edi, [esi + 0x1c]
push ebx
push edi
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x9c]
push 0x40
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [esi + 0x5c]
push 0x40
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0x24
cmp eax, ebx
mov word [esi + 0xdc], bx
mov dword [esi + 0xe0], ebx
je 0x487ae8
cmp byte [eax], bl
je 0x487ae8
push 0x3f
push eax
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x487b06
cmp byte [eax], bl
je 0x487b06
push 0x3f
push eax
lea eax, [esi + 0x9c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x487b21
cmp byte [eax], bl
je 0x487b21
push 0x3f
push eax
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x487b92
cmp byte [edi], bl
je 0x487b92
push edi
call sub.MSVCRT.dll_strlen
pop ecx
xor ecx, ecx
cmp eax, ebx
jle 0x487b50
mov dl, byte [ecx + edi]
cmp dl, 0x39
jg 0x487b46
cmp dl, 0x30
jge 0x487b4b
cmp dl, 0x2e
jne 0x487b5e
inc ecx
cmp ecx, eax
jl 0x487b39
push edi
call sub.WSOCK32.dll_inet_addr
mov dword [esi + 0xe0], eax
jmp 0x487b7e
push edi
call sub.WSOCK32.dll_gethostbyname
cmp eax, ebx
je 0x487b92
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [esi + 0xe0]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp + 0xc]
call sub.WSOCK32.dll_htons
push 1
mov word [esi + 0xdc], ax
pop eax
jmp 0x487b94
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x488b91
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x4b3b7b
call fcn.0044c320
sub esp, 0x9c
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
mov esi, ecx
push eax
call fcn.00488fbd
lea eax, [ebp - 0x24]
push 0x10
push eax
lea eax, [esi + 0x94]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0x160]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x164]
push 0x18
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCRT.dll_memcpy
push 0x36
call sub.MFC42.DLL_operatornew
add esp, 0x1c
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
push 0x400
call fcn.004a37dc
xor ebx, ebx
lea eax, [ebp - 0x4c]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.004a37d6
push 0x34
mov byte [ebp - 4], 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.00489d95
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.00489d95
push 1
call sub.WSOCK32.dll_htons
push eax
lea ecx, [ebp - 0x90]
call fcn.00489d95
push edi
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.00489e12
lea eax, [ebp - 0xa8]
push 0x18
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
push dword [ebp - 0x14]
call sub.WSOCK32.dll_htonl
push eax
lea ecx, [ebp - 0x90]
call fcn.00489e12
lea eax, [ebp - 0x24]
push 0x10
push eax
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Write
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::Close
push ebx
push ebx
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
call dword [eax + 0x30]
push 0x36
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x10]
call sub.MFC42.DLL_CMemFile::Read
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::Close
mov eax, dword [esi + 0xcc]
lea ecx, [esi + 0xcc]
push ebx
push 0x36
push dword [ebp - 0x10]
call dword [eax + 0x20]
push dword [ebp - 0x10]
call sub.MFC42.DLL_operatordelete
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CArchive::CArchive
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CMemFile::CMemFile
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret