Function at 0x420020
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4af1c1
push eax
mov eax, 0x1478
mov dword fs:[0], esp
call fcn.00460380
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x1490], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x121c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x34]
push 0x400
push eax
push 0x539050
push str.MainWndTitle
push str.General
mov byte [esp + 0x14a8], 1
call esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045fa30
push 0x519838
lea ecx, [esp + 0x14]
call fcn.0045fa30
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
mov edx, dword [eax + 0x7c]
push edx
call fcn.0045fa30
mov eax, dword [ebp + 0x121c]
push eax
lea eax, [esp + 0x34]
push 0x400
push eax
push 0x539050
push str.MMID
push str.General
call esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.0045f6be
mov ebx, dword [ebp + 0x11f0]
xor esi, esi
test ebx, ebx
jbe 0x420166
cmp esi, dword [ebp + 0x11f0]
jge 0x420131
test esi, esi
jl 0x420131
mov eax, dword [ebp + 0x11e8]
je 0x420133
mov ecx, esi
mov eax, dword [eax]
dec ecx
jne 0x42012a
jmp 0x420133
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x20]
push 0x519838
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0045fa30
add edi, 0xc
lea ecx, [esp + 0x10]
push edi
call sub.MFC42.DLL_CString::operator_2
inc esi
cmp esi, ebx
jb 0x420114
lea eax, [esp + 0x14]
push eax
call fcn.00418000
add esp, 4
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1498], 2
call sub.MFC42.DLL_CString::Left
mov edx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov eax, dword [edx - 8]
lea ecx, [esp + 0x28]
push ecx
push eax
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x149c], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x43c]
call fcn.0046fc80
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x20]
mov eax, dword [edx - 8]
inc eax
push eax
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x440]
call fcn.00470cc0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1494], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push 4
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1494], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], 3
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x20]
push 4
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [esp + 0x10]
push edi
mov bl, 6
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
mov byte [esp + 0x1494], bl
inc eax
push eax
push edi
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x440]
call fcn.00470cc0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1494], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
push 4
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1494], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], bl
call sub.MFC42.DLL_CString::CString
push 4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x1490], 9
je 0x4202f5
mov ecx, eax
call sub.MFC42.DLL_CString::CString_3
mov esi, eax
jmp 0x4202f7
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push str.http:__hi.vrbrothers.com_xjl_mmcount.aspx
push str._s_mm_srandcode_s
push esi
mov byte [esp + 0x14a4], bl
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
push edi
push edi
push edi
push edi
push esi
push 0x4203a0
call sub.MFC42.DLL_AfxBeginThread_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1490], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1490], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1490], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1490], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1490], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1488]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1484
ret