joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461d80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b473b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
call fcn.004a6948
lea eax, [esp + 0x74]
push 0xff
push eax
push 0
mov dword [esp + 0x188], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x74]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
lea edx, [esp + 0x74]
mov byte [eax], 0
lea eax, [esp + 0x10]
push edx
push str._spubsrv.cfg
push eax
call sub.MFC42.DLL_CString::Format
mov edi, str.MemberDot
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x54]
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
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
rep movsb byte es:[edi], byte [esi]
mov edi, str.General
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
push 0x18
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call ebp
test eax, eax
jne 0x461e78
push eax
push eax
lea ecx, [ebx + 0xc]
mov dword [ebx + 4], eax
call sub.MFC42.DLL_COleCurrency::SetCurrency
mov word [ebx + 8], 2
jmp 0x461e9a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [ebx + 0xc]
mov dword [ebx + 4], edx
call sub.MFC42.DLL_COleCurrency::operator_1
mov dx, word [esp + 0x24]
mov word [ebx + 8], dx
mov edi, str.RateCount
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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
lea eax, [esp + 0x54]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
jle 0x461f38
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push edi
lea ecx, [esp + 0x38]
push str.Rate_d
push ecx
call ebx
push 0x50
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
add esp, 0x10
mov esi, eax
lea eax, [esp + 0x34]
push edx
push 0x50
push esi
lea ecx, [esp + 0x60]
push eax
push ecx
call ebp
test eax, eax
push esi
je 0x461f27
mov edx, dword [esp + 0x18]
lea ecx, [edx + 0x18]
call sub.MFC42.DLL_CPtrList::AddTail
jmp 0x461f2f
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x461ee7
lea ecx, [esp + 0x10]
mov dword [esp + 0x17c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x170
ret
Function at 0x462650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call sub.MFC42.DLL_COleCurrency::SetCurrency
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x28]
add esi, 0xc
cmp eax, ecx
jne 0x4626bd
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jne 0x4626bd
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
cmp edx, eax
jne 0x4626bd
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
lea ecx, [esp + 0xc]
call fcn.004a6948
lea ecx, [esp + 8]
mov dword [esp + 0x34], edi
call fcn.004a6948
mov ecx, dword [esp + 0x3c]
push 0x400
lea eax, [esp + 0x40]
push edi
push eax
mov byte [esp + 0x40], 1
call sub.MFC42.DLL_COleCurrency::Format
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.004a6a50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
push 0x400
lea ecx, [esp + 0x40]
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_COleCurrency::Format
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 3
call fcn.004a6a50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
mov eax, dword [esp + 0xc]
fstp qword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fld qword [esp + 0x18]
fdiv st(1)
lea ecx, [esp + 0x20]
push ecx
fstp qword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
fstp st(0)
call dword [sym.imp.MSVCRT.dll_modf]
fstp st(0)
fld qword [esp + 0x2c]
add esp, 0x14
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x46b8e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b5d76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x11c
mov dword [esp + 0x18], esi
call fcn.004a694e
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esi + 0x60], ebp
lea ecx, [esi + 0x64]
mov byte [esp + 0x28], 1
call fcn.004a6948
lea ecx, [esi + 0x1d8]
mov byte [esp + 0x28], 2
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x70], ebp
call fcn.004a6948
lea edi, [esi + 0x1dc]
mov byte [esp + 0x28], 3
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdca0
lea edi, [esi + 0x21c]
mov byte [esp + 0x28], 4
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bef88
lea edi, [esi + 0x25c]
mov byte [esp + 0x28], 5
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdfc0
lea edi, [esi + 0x29c]
mov byte [esp + 0x28], 6
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdfc0
lea edi, [esi + 0x2dc]
mov byte [esp + 0x28], 7
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4be6d8
lea edi, [esi + 0x31c]
mov byte [esp + 0x28], 8
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdca0
lea edi, [esi + 0x35c]
mov byte [esp + 0x28], 9
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdfc0
lea edi, [esi + 0x39c]
mov byte [esp + 0x28], 0xa
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdef0
lea edi, [esi + 0x3dc]
lea ebx, [esi + 0x3e8]
mov byte [esp + 0x28], 0xb
mov dword [edi + 4], ebp
mov dword [edi], ebp
mov dword [edi + 8], ebp
mov dword [ebx + 4], ebp
lea ecx, [esi + 0x3f8]
mov dword [ebx], ebp
mov dword [ebx + 8], ebp
call fcn.004a6948
lea ecx, [esi + 0x3fc]
mov byte [esp + 0x28], 0xc
call fcn.004430a0
lea ecx, [esi + 0x4a4]
mov byte [esp + 0x28], 0xd
call fcn.004430a0
push ebp
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xe
mov dword [esi], 0x4c1b08
call sub.MFC42.DLL_COleCurrency::COleCurrency
push eax
mov ecx, edi
call fcn.004a6a8c
push ebp
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_COleCurrency::COleCurrency
push eax
mov ecx, ebx
call fcn.004a6a8c
push 0x4de730
lea ecx, [esi + 0x3f8]
mov dword [esi + 0x3f4], ebp
call fcn.004a6942
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x471e00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b6b92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0xde
mov dword [esp + 0x18], esi
call fcn.004a694e
xor ebp, ebp
lea ecx, [esi + 0x60]
mov dword [esp + 0x28], ebp
call fcn.004a6948
lea edi, [esi + 0x64]
mov byte [esp + 0x28], 1
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4be140
lea edi, [esi + 0xa4]
mov byte [esp + 0x28], 2
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4be140
lea edi, [esi + 0xe4]
mov byte [esp + 0x28], 3
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdfc0
lea edi, [esi + 0x124]
mov byte [esp + 0x28], 4
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdfc0
lea edi, [esi + 0x164]
mov byte [esp + 0x28], 5
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4bdfc0
lea edi, [esi + 0x1a4]
mov byte [esp + 0x28], 6
mov ecx, edi
call fcn.004a69a2
mov dword [edi], 0x4be6d8
lea edi, [esi + 0x1e4]
lea ebx, [esi + 0x1f0]
lea ecx, [esi + 0x200]
mov byte [esp + 0x28], 7
mov dword [edi + 4], ebp
mov dword [edi], ebp
mov dword [edi + 8], ebp
mov dword [ebx + 4], ebp
mov dword [ebx], ebp
mov dword [ebx + 8], ebp
call fcn.004430a0
push ebp
push ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 8
mov dword [esi], 0x4c2228
call sub.MFC42.DLL_COleCurrency::COleCurrency
push eax
mov ecx, edi
call fcn.004a6a8c
push ebp
push ebp
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_COleCurrency::COleCurrency
push eax
mov ecx, ebx
call fcn.004a6a8c
mov dword [esi + 0x1fc], ebp
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x4806e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b8f41
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4c30d8
mov eax, dword [esi + 0x38]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], 2
jle 0x48072c
mov eax, dword [esi + 0x34]
mov eax, dword [eax + edi*4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x38]
add esp, 4
inc edi
cmp edi, eax
jl 0x480715
mov eax, dword [esi + 0x24]
xor edi, edi
test eax, eax
jle 0x48074c
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + edi*4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x24]
add esp, 4
inc edi
cmp edi, eax
jl 0x480735
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
jle 0x48076c
mov edx, dword [esi + 0xc]
mov eax, dword [edx + edi*4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x10]
add esp, 4
inc edi
cmp edi, eax
jl 0x480755
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004a708c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 0
call fcn.004a708c
lea ecx, [esi + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a708c
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x482030
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b91c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x30], 2
jne 0x48225a
lea ecx, [esp + 0xb4]
push 0xff
push ecx
push 0
mov dword [esp + 0x28], 4
mov dword [esp + 0x20], 4
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xb4]
push 0x5c
push edx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
mov byte [eax], 0
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SoftwareHintsoftpubwin
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x482184
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push str.NoFirstRun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 8]
test eax, eax
jne 0x482174
push 0x40
push 0x4da738
push 0x4dd118
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc]
call fcn.004a6948
lea edx, [esp + 0xb4]
lea eax, [esp + 0xc]
push edx
push str._sInstDog.exe
push eax
mov dword [esp + 0x1c8], 0
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
add esp, 0xc
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1bc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 4]
push edx
call esi
jmp 0x4821f2
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48225a
push 0x40
push 0x4da738
push 0x4dd118
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.004a6948
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x10]
push ecx
push str._sInstDog.exe
push edx
mov dword [esp + 0x1c8], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1bc], 0xffffffff
call sub.MFC42.DLL_CString::CString
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
lea edx, [esp + 4]
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 + 0x2c], 1
mov dword [esp + 0x3c], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48225a
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push 4
push eax
push 4
push 0
push str.NoFirstRun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call esi
mov ecx, dword [esp + 0x1b4]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x1bc
ret
Function at 0x482410
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b9200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea ecx, [esp + 4]
call fcn.004a6948
push 0xefa7
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp]
call fcn.004a6948
push 0xef14
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
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 + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4824ef
mov edx, dword [esp + 4]
push esi
lea ecx, [esp + 8]
mov eax, dword [edx - 8]
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
mov eax, dword [esp + 0x14]
push 1
push 0
push str.Version
push eax
call esi
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
lea ecx, [esp + 4]
push eax
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esp + 0x10]
push eax
push 1
push 0
push str.ServerTitle
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
lea ecx, [esp]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x48c9f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ba97b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov dword [esp + 8], ecx
push esi
push edi
lea ecx, [esp + 8]
call fcn.004a6948
lea eax, [esp + 0x54]
push 0xff
push eax
push 0
mov dword [esp + 0x168], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x54]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
lea edx, [esp + 0x54]
mov byte [eax], 0
lea eax, [esp + 8]
push edx
push str._spubsrv.cfg
push eax
call sub.MFC42.DLL_CString::Format
mov edi, str.RsvLargress
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x34]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
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
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 8]
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edi, edi
mov dword [esp + 0xc], eax
test eax, eax
jle 0x48cb2f
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push edi
lea ecx, [esp + 0x20]
push str.Item_d
push ecx
call ebx
push 0x18
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
add esp, 0x10
mov esi, eax
lea eax, [esp + 0x1c]
push edx
push 0x18
push esi
lea ecx, [esp + 0x48]
push eax
push ecx
call ebp
test eax, eax
push esi
je 0x48cb1c
mov edx, dword [esp + 0x1c]
lea ecx, [edx + 4]
call sub.MFC42.DLL_CPtrList::AddTail
jmp 0x48cb24
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x48cadc
pop ebp
pop ebx
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x154]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x494130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bb681
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 edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CImageList::CImageList
lea ebp, [esi + 0xc]
mov dword [esp + 0x1c], 0
mov ecx, ebp
call sub.MFC42.DLL_CImageList::CImageList
push 0xa
lea ecx, [esi + 0x1c]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CPtrList::CPtrList
push 0
push 3
push 1
push 0x10
push 0x10
mov ecx, edi
mov byte [esp + 0x30], 2
mov dword [esi], 0x4c48d0
call sub.MFC42.DLL_CImageList::Create
call sub.MFC42.DLL_AfxGetModuleState
push 0xc2
push 0xe
push 0xc2
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 + 8]
push 0xffffffffffffffff
push eax
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xc3
push 0xe
push 0xc3
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [esi + 8]
push eax
push 0xffffffffffffffff
push ecx
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xc4
push 0xe
push 0xc4
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov edx, dword [esi + 8]
push eax
push 0xffffffffffffffff
push edx
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
push eax
mov eax, dword [esi + 0x10]
push 0xffffffffffffffff
push eax
call ebx
call sub.MFC42.DLL_AfxGetModuleState
push 0xc6
push 0xe
push 0xc6
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call edi
mov ecx, dword [esi + 0x10]
push eax
push 0xffffffffffffffff
push ecx
call ebx
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 0x4a4db6
Capabilities:
Get socket status

Disassembly:
sub esp, 0x110
push esi
mov esi, ecx
lea eax, [esp + 4]
push edi
mov ecx, dword [esi + 4]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x14], 1
call sub.WSOCK32.dll_ioctlsocket
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov eax, edx
test eax, eax
jne 0x4a4dee
pop edi
pop esi
add esp, 0x110
ret 0xc
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::Connect
mov edi, eax
test edi, edi
jne 0x4a4eb8
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4a4eb8
mov edx, dword [esi + 4]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x124]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0xc], edx
mov ecx, 0x3e8
cdq
idiv ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc]
push edx
push 0
push eax
push 0
push 2
call sub.WSOCK32.dll_select
mov edi, eax
test edi, edi
jle 0x4a4eb8
push 0
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov edx, dword [esi + 4]
lea ecx, [esp + 8]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0x14], 0
call sub.WSOCK32.dll_ioctlsocket
push 0x3f
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
pop edi
pop esi
add esp, 0x110
ret 0xc
mov eax, edi
pop edi
pop esi
add esp, 0x110
ret 0xc

Function at 0x4a5350
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
xor ebp, ebp
push edi
cmp ebx, 0xffffffff
mov edi, ecx
jne 0x4a5364
mov ebx, dword [edi + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
mov ecx, edi
call dword [edx + 0x64]
test eax, eax
jle 0x4a53f7
mov ecx, dword [esp + 0x20]
add ebp, eax
add ecx, eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esi, eax
mov eax, dword [esp + 0x18]
add ebx, esi
cmp ebp, eax
jge 0x4a53f5
test ebx, ebx
jle 0x4a53dd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov eax, dword [esp + 0x28]
sub ecx, ebp
push ecx
push eax
mov ecx, edi
call dword [edx + 0x64]
test eax, eax
jg 0x4a538f
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp ebp, eax
jge 0x4a53f5
push 0x274c
call sub.WSOCK32.dll_WSASetLastError
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret 0x10