joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ae60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aee7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push esi
push edi
push eax
mov dword [esp + 0xc], 0
call sub.WSOCK32.dll_inet_ntoa
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004a6948
lea ecx, [esp + 0xc]
mov edi, 1
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], edi
call fcn.004a6942
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x43b110
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4aeedf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.004a6948
mov edi, str.MachineType
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x7c], 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Count
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0043aa10
mov eax, dword [eax]
lea edx, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CString::CString
xor edi, edi
test esi, esi
jle 0x43b22c
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push edi
lea ecx, [esp + 0x38]
push str.MachineType_d
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call fcn.0043aa10
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
push 0x14
push eax
lea edx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x43b223
mov ax, word [esp + 0x88]
cmp word [esp + 0x32], ax
je 0x43b26c
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x43b1cf
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x74]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret 8
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.004a6942
mov esi, dword [esp + 0x84]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x14], 1
jmp 0x43b247
Function at 0x43b2a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov edi, str.MachineType
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x4c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Count
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.0043aa10
mov eax, dword [eax]
lea edx, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x54]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString
xor edi, edi
test esi, esi
jle 0x43b398
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push edi
lea ecx, [esp + 0x30]
push str.MachineType_d
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
call fcn.0043aa10
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push 0x14
push eax
lea edx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x43b38f
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x18]
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x43b3a5
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x43b331
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x5c
ret 4
mov ax, word [esp + 0x2a]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4
Function at 0x440070
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.004a6948
add esi, 8
lea eax, [esp + 8]
push esi
push str._sRecBmp.exe
push eax
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push 0
push 0
push ecx
push str.open
push 0
call edi
push esi
lea edx, [esp + 0xc]
push str._sLockClient.exe
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
add esp, 0xc
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x440120
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4af5b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push str.LockClient
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x440157
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 4]
call fcn.004a6948
lea eax, [esi + 8]
lea ecx, [esp + 4]
push eax
push str._sSndBmp.exe
push ecx
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x10]
add esp, 0xc
add esi, 0x151
push 1
push 0
push esi
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x441390
Capabilities:
Get common file path
Move file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x200
test eax, eax
push ebx
push esi
push edi
push 0x104
je 0x441419
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10c]
push ecx
push str._s_tmdate
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, str._timedate.cpl
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
pop ebx
add esp, 0x200
ret 4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10c]
push eax
push str._s_tmdate
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, str._timedate.cpl
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
pop ebx
add esp, 0x200
ret 4

Function at 0x441690
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHintsoftpubwin
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4416eb
lea edx, [esp + 0xc]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.MifareOPFlag
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret 4
Function at 0x4417b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov ebx, ecx
push edi
mov edi, str.ServerSetting
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Holiday
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.004a6948
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0xc]
push ecx
push 0x4db914
push edx
mov dword [esp + 0x64], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x60]
mov ecx, ebx
push eax
call fcn.0043aa10
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4

Function at 0x441a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov ebx, ecx
push edi
mov edi, str.ServerSetting
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.AllowLimitTm
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.004a6948
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0xc]
push ecx
push 0x4db914
push edx
mov dword [esp + 0x64], 0
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x60]
mov ecx, ebx
push eax
call fcn.0043aa10
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x443dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4afb83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
mov dword [esp + 4], esi
call sub.MFC42.DLL_CAsyncSocket::CAsyncSocket
push 0xa
lea ecx, [esi + 0xc]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CPtrList::CPtrList
mov eax, dword [esp + 0x40]
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
mov dword [esi], 0x4c08ec
mov dword [esi + 8], eax
call fcn.00443cd0
lea ecx, [esp + 8]
call fcn.00443d40
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x443de8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4afb83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
mov dword [esp + 4], esi
call sub.MFC42.DLL_CAsyncSocket::CAsyncSocket
push 0xa
lea ecx, [esi + 0xc]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CPtrList::CPtrList
mov eax, dword [esp + 0x40]
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
mov dword [esi], 0x4c08ec
mov dword [esi + 8], eax
call fcn.00443cd0
lea ecx, [esp + 8]
call fcn.00443d40
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4450f0
Capabilities:
Access peb ldr_data
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4afddc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 4]
mov ecx, ebp
call sub.MFC42.DLL_CImageList::CImageList
lea edi, [esi + 0xc]
mov dword [esp + 0x1c], 0
mov ecx, edi
call sub.MFC42.DLL_CImageList::CImageList
push 0xa
lea ecx, [esi + 0x1c]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CPtrList::CPtrList
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.004a4c20
push 0
push 2
push 1
push 0x10
push 0x10
mov ecx, edi
mov byte [esp + 0x30], 3
mov dword [esi], 0x4c099c
call sub.MFC42.DLL_CImageList::Create
call sub.MFC42.DLL_AfxGetModuleState
push 0xc7
push 0xe
push 0xc7
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
mov eax, dword [esi + 0x10]
push 0xffffffffffffffff
push eax
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xc9
push 0xe
push 0xc9
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [esi + 0x10]
push eax
push 0xffffffffffffffff
push ecx
call ebx
push 0
push 2
push 1
push 0x10
push 0x10
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Create
call sub.MFC42.DLL_AfxGetModuleState
push 0xc5
push 0xe
push 0xc5
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [esi + 8]
push eax
push 0xffffffffffffffff
push edx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xc6
push 0xe
push 0xc6
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call ebx
push 0
push 2
push 2
push 0
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x445229
push eax
push eax
push str.Socket
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x445108
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4afddc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 4]
mov ecx, ebp
call sub.MFC42.DLL_CImageList::CImageList
lea edi, [esi + 0xc]
mov dword [esp + 0x1c], 0
mov ecx, edi
call sub.MFC42.DLL_CImageList::CImageList
push 0xa
lea ecx, [esi + 0x1c]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CPtrList::CPtrList
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.004a4c20
push 0
push 2
push 1
push 0x10
push 0x10
mov ecx, edi
mov byte [esp + 0x30], 3
mov dword [esi], 0x4c099c
call sub.MFC42.DLL_CImageList::Create
call sub.MFC42.DLL_AfxGetModuleState
push 0xc7
push 0xe
push 0xc7
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push eax
call edi
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push eax
mov eax, dword [esi + 0x10]
push 0xffffffffffffffff
push eax
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xc9
push 0xe
push 0xc9
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [esi + 0x10]
push eax
push 0xffffffffffffffff
push ecx
call ebx
push 0
push 2
push 1
push 0x10
push 0x10
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Create
call sub.MFC42.DLL_AfxGetModuleState
push 0xc5
push 0xe
push 0xc5
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [esi + 8]
push eax
push 0xffffffffffffffff
push edx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xc6
push 0xe
push 0xc6
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
push eax
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call ebx
push 0
push 2
push 2
push 0
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x445229
push eax
push eax
push str.Socket
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44ad20
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xbc
push ebx
push ebp
mov ebx, ecx
push 0x4665
mov ebp, 0xffffefff
mov dword [esp + 0xc], 1
mov word [esp + 0x10], 2
call sub.WSOCK32.dll_htons
mov word [esp + 0xe], ax
mov eax, dword [esp + 0xcc]
test eax, eax
jne 0x44ad92
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 8]
push 4
push eax
push 0x20
push 0xffff
push ecx
mov dword [esp + 0x24], 0xffffffff
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x44ad9c
mov edx, dword [ebx + 0x3c]
lea ecx, [ebx + 0x3c]
call dword [edx + 0x18]
mov eax, ebp
pop ebp
pop ebx
add esp, 0xbc
ret 0x18
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 8]
push 4
push eax
push 4
push 0xffff
push ecx
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x44add1
mov edx, dword [ebx + 0x3c]
lea ecx, [ebx + 0x3c]
call dword [edx + 0x18]
pop ebp
mov eax, 0xffffefff
pop ebx
add esp, 0xbc
ret 0x18
push esi
mov esi, dword [esp + 0xd4]
push edi
mov ecx, 0x2a
xor eax, eax
lea edi, [esp + 0x24]
test esi, esi
rep stosd dword es:[edi], eax
je 0x44ae04
mov ecx, dword [esp + 0xdc]
lea edi, [esp + 0x28]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xd0]
push ecx
call sub.WSOCK32.dll_htonl
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x24], eax
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x1c]
lea ecx, [ebx + 0x3c]
push 0x10
push eax
lea eax, [esp + 0x34]
push 0xa8
push eax
call dword [edx + 0x4c]
pop edi
pop esi
test eax, eax
jle 0x44ae3b
xor ebp, ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 0xbc
ret 0x18
Function at 0x451698
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1b2a
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x738], edi
jne 0x451768
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x4516ce
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.00443dd0
jmp 0x4516d0
xor eax, eax
push edi
push 0x3f
push 1
push 0x4664
mov ecx, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esi + 0x738], eax
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x451706
mov ecx, dword [esi + 0x738]
cmp ecx, edi
je 0x451762
mov edx, dword [ecx]
push 1
call dword [edx + 4]
jmp 0x451762
mov eax, dword [esi + 0x738]
lea ecx, [esp + 8]
push 4
mov dword [esp + 0xc], 1
mov edx, dword [eax + 4]
push ecx
push 4
push 0xffff
push edx
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
je 0x451751
mov eax, dword [esi + 0x738]
push 5
mov ecx, dword [eax + 4]
push ecx
call sub.WSOCK32.dll_listen
cmp eax, 0xffffffff
jne 0x45177d
mov ecx, dword [esi + 0x738]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x738]
cmp ecx, edi
je 0x451762
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x738], edi
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4517b8
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1b4a
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x73c]
test eax, eax
jne 0x45182e
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4517ed
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00444e80
jmp 0x4517ef
xor eax, eax
push 0
push 0x3f
push 2
push 0x4666
mov ecx, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esi + 0x73c], eax
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x451842
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x451824
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x73c], 0
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov eax, dword [esi + 0x73c]
lea ecx, [esp + 4]
push 4
mov dword [esp + 8], 1
mov edx, dword [eax + 4]
push ecx
push 4
push 0xffff
push edx
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x45187f
mov ecx, dword [esi + 0x73c]
test ecx, ecx
je 0x451824
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x451824
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x460df0
Capabilities:
Set registry value

Disassembly:
mov ax, word [esp + 4]
sub esp, 8
test ax, ax
jne 0x460e06
mov eax, dword [ecx + 0x20]
mov dword [esp + 0xc], eax
jmp 0x460e14
cmp ax, 1
jne 0x460e14
mov dword [esp + 0xc], 0
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareHintsoftpubwin
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x460e6d
mov ecx, dword [esp]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push str.MainWnd
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret 4