Function at 0x42a460
Capabilities:
Check for time delay via gettickcount
Delete registry key
Query or enumerate registry value
Read .ini file
Resolve dns
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x4b4643
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ebp, ecx
push 1
xor edi, edi
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [ebp + 0x68d8]
or esi, 0xffffffff
cmp eax, edi
je 0x42a507
lea eax, [esp + 0x28]
lea ecx, [ebp + 0x36a4]
push eax
call fcn.00468ea0
push eax
lea ecx, [ebp + 0x68c4]
mov dword [esp + 0x348], edi
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov dword [esp + 0x344], esi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x7ec]
call fcn.00468ea0
push eax
lea ecx, [ebp + 0x68b8]
mov dword [esp + 0x348], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x28]
mov dword [esp + 0x344], esi
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x38c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0xf0
push edx
call esi
cmp eax, 1
jne 0x42a5c9
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_5
lea eax, [esp + 0x38]
lea ecx, [ebp + 0x52c]
push eax
mov dword [esp + 0x348], 2
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 3
push ecx
lea ecx, [ebp + 0x56c]
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
mov edx, dword [esp + 0x38]
cmp dword [edx - 8], edi
je 0x42a57d
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], edi
jne 0x42a5a4
mov ecx, dword [ebp + 0x38c]
push edi
push edi
push 0xf1
push ecx
call esi
lea ecx, [ebp + 0x68b0]
mov dword [ebp + 0x68bc], edi
mov dword [ebp + 0x68ac], edi
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x1c]
mov byte [esp + 0x344], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov dword [esp + 0x344], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, 0x4dc33c
call fcn.004408e0
test eax, eax
je 0x42b78e
push 0x4db948
mov ecx, 0x4dc010
mov dword [ebp + 0x68dc], edi
call sub.MFC42.DLL_CString::operator_1
cmp dword [ebp + 0x68d8], edi
je 0x42a61e
lea edx, [esp + 0x28]
lea ecx, [ebp + 0xf8]
push edx
call fcn.00409fa0
mov ebx, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x344], 4
jmp 0x42a623
mov eax, 0x4dbff0
lea esi, [ebp + 0x68a4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator
test bl, 1
mov dword [esp + 0x344], 0xffffffff
je 0x42a64a
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 0x68d0], edi
jne 0x42a6bf
mov eax, dword [ebp + 0x68c4]
push 1
push eax
mov ecx, 0x4dba38
call fcn.00414770
test eax, eax
jne 0x42a679
lea ecx, [ebp + 0x36a4]
call sub.MFC42.DLL_CWnd::SetFocus
jmp 0x42b78e
mov eax, dword [0x4dc004]
cmp dword [eax - 8], edi
jne 0x42a6bf
mov eax, dword [esi]
push 1
push eax
mov ecx, 0x4dba38
call fcn.00414870
test eax, eax
jne 0x42a6a6
lea ecx, [ebp + 0xf8]
call sub.MFC42.DLL_CWnd::SetFocus
jmp 0x42b78e
mov esi, dword [esi]
mov eax, dword [ebp + 0x68c4]
push esi
push eax
mov ecx, ebp
call fcn.004297b0
test eax, eax
je 0x42b78e
mov ecx, dword [ebp + 0x68bc]
push ecx
push str.ProxyEnable
push str.Proxy
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov eax, dword [ebp + 0x68b0]
mov ecx, 0x4dba38
push eax
push str.SocksServer
push str.Proxy
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov edx, dword [ebp + 0x68ac]
mov ecx, 0x4dba38
push edx
push str.SocksPort
push str.Proxy
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov eax, dword [ebp + 0x68c8]
mov ecx, 0x4dba38
add eax, 4
push eax
push str.SocksVersion
push str.Proxy
call sub.MFC42.DLL_CWinApp::WriteProfileInt
cmp dword [ebp + 0x6ef0], edi
je 0x42a739
push edi
jmp 0x42a740
mov ecx, dword [ebp + 0x68c0]
push ecx
push str.Use80PortSvr
push 0x4db948
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::WriteProfileInt
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [ebp + 0x68c0]
mov dword [esp + 0x344], 5
cmp eax, edi
push edi
je 0x42a7ac
push str.NewRegister80Server
lea edx, [esp + 0x2c]
push 0x4db948
push edx
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x348], 6
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x344], 5
lea ecx, [esp + 0x24]
jmp 0x42a7e3
push str.NewRegisterServer
lea eax, [esp + 0x2c]
push 0x4db948
push eax
mov ecx, 0x4dba38
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x348], 7
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x344], 5
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x68b8]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00414f10
add esp, 8
mov eax, dword [ebp + 0x68bc]
mov byte [esp + 0x344], 8
cmp eax, edi
je 0x42a839
cmp dword [ebp + 0x68c8], edi
jne 0x42a839
mov eax, dword [ebp + 0x68b0]
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x42a839
push eax
push 0x30
push 0xe006
call sub.MFC42.DLL_AfxMessageBox
jmp 0x42b769
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov ecx, edx
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x44]
mov ebx, esi
sub eax, edx
sub ebx, ecx
sub ecx, esi
shl eax, 1
push ebx
push eax
shl ecx, 1
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MoveWindow
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
push 1
push edi
lea ecx, [esp + 0x138]
call fcn.00407350
push 1
push 0x74d4
lea ecx, [esp + 0x134]
mov byte [esp + 0x34c], 9
call fcn.00407770
lea ebx, [ebp + 0x6f4c]
lea edx, [esp + 0x254]
push edx
mov ecx, ebx
call fcn.00459770
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push edi
push str.Path
lea ecx, [esp + 0x34]
push 0x4db948
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push 0x4d6d10
lea ecx, [esp + 0x30]
mov byte [esp + 0x348], 0xb
call fcn.0045526c
mov ecx, 0x4dbfc0
mov dword [esp + 0x7c], edi
call sub.MFC42.DLL_CString::Empty
push 0x4000
call sub.MFC42.DLL_operatornew
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xb0], edx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x7c]
push ecx
push 0x4000
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
push str.RegisterIP
mov byte [esp + 0x35c], 0xc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x30]
mov esi, eax
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString_5
push 0xe167
lea ecx, [esp + 0x34]
mov byte [esp + 0x348], 0xe
call sub.MFC42.DLL_CString::LoadStringA
push 0xe166
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [0x4dbcc8]
lea edx, [esp + 0x18]
push ecx
push str._s_netspeed1.dat
push edx
mov byte [esp + 0x350], 0xf
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
cmp esi, 2
jge 0x42a9f3
mov ecx, dword [0x4dbf88]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx]
push edi
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x50]
test eax, eax
je 0x42aea7
lea eax, [esp + 0x14]
mov ecx, 0x4dbfc0
push eax
call sub.MFC42.DLL_CString::operator
jmp 0x42ab6d
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov dword [esp + 0x58], 0x4c047c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ecx
push edx
mov ecx, ebp
mov byte [esp + 0x348], 0x10
call fcn.00429780
cmp eax, edi
je 0x42aa43
push eax
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CPtrArray::SetAtGrow
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00429780
cmp eax, edi
jne 0x42aa24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, edi
mov dword [esp + 0x38], eax
je 0x42b6aa
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x58]
push edx
push eax
mov ecx, ebp
call fcn.0042c4b0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
cmp eax, ecx
mov edi, eax
jge 0x42aae2
mov ecx, dword [esp + 0x5c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x42aabd
mov eax, dword [0x4dbf88]
mov edx, dword [ebx]
push 0
push eax
push esi
mov ecx, ebx
call dword [edx + 0x50]
test eax, eax
push esi
jne 0x42aac8
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.0042c6b0
mov ecx, ebx
call fcn.00459790
test eax, eax
jne 0x42af25
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x42aa82
jmp 0x42aae2
mov ecx, 0x4dbfc0
call sub.MFC42.DLL_CString::operator_1
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
cmp edi, dword [esp + 0x38]
jl 0x42ab4d
mov eax, dword [esp + 0x4c]
xor edi, edi
test eax, eax
jle 0x42b07b
mov edx, dword [esp + 0x5c]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x42ab1f
mov ecx, dword [0x4dbf88]
mov eax, dword [ebx]
push 0
push ecx
push esi
mov ecx, ebx
call dword [eax + 0x50]
test eax, eax
jne 0x42ab2e
mov ecx, ebx
call fcn.00459790
test eax, eax
jne 0x42afd0
mov eax, dword [esp + 0x4c]
inc edi
cmp edi, eax
jge 0x42b07b
jmp 0x42aaf0
push esi
mov ecx, 0x4dbfc0
call sub.MFC42.DLL_CString::operator_1
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
cmp edi, dword [esp + 0x4c]
jge 0x42b07b
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CPtrArray::SetSize
lea ecx, [esp + 0x58]
mov byte [esp + 0x344], 0xf
call fcn.004554a0
xor edi, edi
mov edx, dword [esp + 0x14]
push edx
call sub.WSOCK32.dll_inet_addr
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ab93
mov eax, dword [esp + 0x14]
push eax
call sub.WSOCK32.dll_gethostbyname
cmp eax, edi
je 0x42ab93
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov esi, dword [edx]
mov dword [0x4dbfbc], esi
xor esi, esi
push esi
mov ecx, ebp
call fcn.0042c870
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0xb4]
mov edx, dword [0x4dbcc0]
rep stosd dword es:[edi], eax
mov eax, dword [0x4dc090]
mov ecx, dword [0x4dbcb0]
add eax, 0x31
mov dword [esp + 0xb8], 0x70
mov dword [esp + 0xb4], eax
mov eax, dword [0x4dbffc]
cmp eax, esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
je 0x42abfe
mov eax, edx
or eax, 0x4000000
mov dword [esp + 0xc0], eax
mov eax, dword [0x4dbcd8]
mov ecx, 0x4dc0c0
push eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
call fcn.00443df0
test eax, eax
je 0x42ac3b
mov ecx, 0x4dc0c0
call fcn.00443e70
mov ecx, 0x4dc0c0
mov dword [esp + 0xcc], eax
call fcn.00443e60
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x68b8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42ac8f
push esi
push str.Date
push str.GameList
mov ecx, 0x4dbcdc
call fcn.00445240
mov edx, dword [0x4dbcd0]
mov dword [esp + 0xc4], eax
push edx
push esi
push str.Date
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], esi
call fcn.004457b0
mov edx, dword [esp + 0x7c]
add esp, 8
push 1
push esi
push esi
push edx
call fcn.004559a0
mov ecx, dword [esp + 0x6c]
xor edi, edi
add eax, ecx
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0x68d0]
adc edx, edi
cmp eax, esi
mov dword [esp + 0xd8], edx
je 0x42ace7
lea edx, [esp + 0xdc]
mov edi, str.Guest
jmp 0x42ad26
lea ecx, [ebp + 0x68c4]
lea edx, [esp + 0x24]
push ecx
push 0x4dbf94
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0x14
push eax
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov edi, dword [ebp + 0x68a4]
lea edx, [esp + 0xf0]
or ecx, 0xffffffff
xor eax, eax
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 + 0xdc]
push ecx
mov ecx, 0x4dbf8c
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0xf0]
push 1
push edx
call fcn.00456420
add esp, 8
lea eax, [esp + 0x100]
mov ecx, ebp
push eax
push str.StyleList.dat
call fcn.0042ba70
lea ecx, [esp + 0x104]
push ecx
push str.ItemStyles.dat
mov ecx, ebp
call fcn.0042ba70
lea edx, [esp + 0x108]
mov ecx, ebp
push edx
push str.MarketStyleList.dat
call fcn.0042ba70
push 1
push 0xe009
lea ecx, [esp + 0x134]
call fcn.00407770
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp + 0x68e0], eax
mov dword [ebp + 0x68e4], eax
mov dword [ebp + 0x68e8], eax
mov eax, dword [ebp + 0x20]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x4dc004]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42ae01
mov edx, dword [ebx]
lea eax, [esp + 0x54]
push 0x34
push eax
lea ecx, [esp + 0xbc]
jmp 0x42ae2a
lea edx, [esp + 0x274]
push edx
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0042b860
mov edx, dword [ebx]
add esp, 0xc
lea eax, [esp + 0x54]
lea ecx, [esp + 0x274]
push 0x34
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x54]
mov esi, eax
test esi, esi
je 0x42b134
mov eax, dword [esp + 0x54]
cmp dword [eax + 4], 8
jne 0x42b134
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x50], eax
mov cl, byte [esp + 0x52]
shr edx, 0x18
push edx
xor edx, edx
mov dl, ah
push ecx
and eax, 0xff
push edx
push eax
lea eax, [esp + 0x24]
push str._d._d._d._d
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x6c]
add esp, 0x18
mov edx, dword [ecx + 0xc]
mov ecx, ebx
mov dword [0x4dbf88], edx
mov eax, dword [ebx]
call dword [eax + 0x18]
lea ecx, [esp + 0x18]
xor esi, esi
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
xor edi, edi
jmp 0x42a994
mov ecx, ebx
call fcn.00459790
test eax, eax
jne 0x42aec0
mov eax, dword [ebp + 0x68b8]
mov ecx, ebp
push eax
call fcn.004296a0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42b732
jmp 0x42b725
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CPtrArray::SetSize
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x58]
mov byte [esp + 0x344], 0xf
call fcn.004554a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42afb0
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x344], 9
push 0
jmp 0x42b74c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CPtrArray::SetSize
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x58]
mov byte [esp + 0x344], 0xf
call fcn.004554a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42b05b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x344], 9
push 0
jmp 0x42b74c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CPtrArray::SetSize
mov eax, dword [ebp + 0x68b8]
mov ecx, ebp
push eax
call fcn.004296a0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x58]
mov byte [esp + 0x344], 0xf
call fcn.004554a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42b114
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x344], 9
push 0
jmp 0x42b74c
mov eax, dword [ebp + 0x68dc]
test eax, eax
je 0x42b145
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov dword [ebp + 0x68dc], 1
call edi
mov edi, dword [ebp + 0x68e0]
lea ecx, [esp + 0x250]
sub eax, edi
push ecx
mov ecx, ebx
mov dword [ebp + 0x68e0], eax
call fcn.00459770
test esi, esi
jne 0x42b21c
mov esi, dword [esp + 0x18]
push 0
mov ecx, 0x4dbfc0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
mov ecx, ebp
call fcn.0042c6b0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub edx, eax
push 1
push edx
mov edx, dword [esp + 0x4c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42b1fc
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x344], 9
push 0
jmp 0x42b74c
mov eax, dword [ebp + 0x68b4]
mov ecx, 0x4dba38
push eax
push str.SavePassword
push 0x4bf4f8
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov dword [0x4dc4e0], 1
call sub.MFC42.DLL_AfxGetThread
xor edi, edi
cmp eax, edi
je 0x42b268
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, edi
je 0x42b268
mov eax, dword [eax + 0x1dc]
cmp eax, edi
je 0x42b268
mov ecx, eax
call fcn.0044f6f0
mov ecx, ebp
call fcn.0042d5c0
mov ecx, ebp
call fcn.004293b0
test eax, eax
jne 0x42b32c
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42b2c6
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push edi
mov byte [esp + 0x348], 9
call fcn.00459770
lea ecx, [esp + 0x12c]
mov byte [esp + 0x344], 8
call fcn.00407420
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x344], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 2
jmp 0x42b790
cmp dword [ebp + 0x68d0], edi
jne 0x42b391
lea esi, [ebp + 0x68c4]
lea ecx, [esp + 0x50]
push esi
call sub.MFC42.DLL_CString::CString_3
push esi
lea eax, [esp + 0x28]
mov bl, 0x11
push 0x4dbf94
push eax
mov byte [esp + 0x350], bl
call sub.MFC42.DLL_operator_2
push eax
mov ecx, 0x4dbf8c
mov byte [esp + 0x348], 0x12
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x344], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x344], 0xf
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x68c4]
mov ecx, dword [0x4dc080]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x14
push eax
push ecx
call esi
mov edx, dword [0x4dc080]
mov eax, dword [ebp + 0x68a4]
push 0x10
add edx, 0x295c
push eax
push edx
call esi
mov ecx, ebp
call fcn.004294f0
lea eax, [esp + 0x50]
push eax
push str.SoftwareGlobalLinkGameShareLobbyData
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, edi
jne 0x42b5d8
mov dword [esp + 0x28], edi
mov ebx, 0x18
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x81], ecx
mov dword [esp + 0x99], edx
mov dword [esp + 0x85], ecx
mov dword [esp + 0x9d], edx
mov dword [esp + 0x89], ecx
mov dword [esp + 0xa1], edx
mov dword [esp + 0x8d], ecx
mov dword [esp + 0xa5], edx
mov dword [esp + 0x91], ecx
xor edi, edi
mov word [esp + 0x95], cx
mov dword [esp + 0xa9], edx
mov byte [esp + 0x97], cl
mov byte [esp + 0x98], cl
mov ecx, dword [esp + 0x28]
mov word [esp + 0xad], dx
mov eax, ecx
inc ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xaf], dl
push ecx
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x74]
push edx
push ecx
lea edx, [esp + 0x58]
push edi
lea ecx, [esp + 0x90]
push edx
mov edx, dword [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0xa0], 0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x42b5bd
mov eax, dword [esp + 0x4c]
mov byte [esp + eax + 0x80], 0
mov al, byte [esp + 0x70]
test al, 4
je 0x42b3ee
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [0x4dc360]
mov edi, eax
mov eax, dword [esp + 0x9c]
add esp, 4
mov ebp, eax
and eax, 0xffff
mov dword [esp + 0x24], eax
xor eax, eax
shr ebp, 0x10
test ecx, ecx
jle 0x42b527
mov edx, dword [0x4dc364]
cmp eax, ecx
jl 0x42b512
xor esi, esi
jmp 0x42b514
mov esi, dword [edx]
cmp dword [esi + 4], edi
je 0x42b523
inc eax
add edx, 4
cmp eax, ecx
jl 0x42b512
jmp 0x42b527
test esi, esi
jne 0x42b5a4
push 0x14
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x42b3ee
xor ebx, ebx
mov dword [esi + 4], edi
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], 0xa
mov eax, dword [0x4dc35c]
mov ecx, dword [0x4dc360]
cmp eax, ecx
jg 0x42b58b
mov edx, dword [0x4dc358]
add edx, eax
mov eax, dword [0x4dc364]
shl edx, 2
push edx
push eax
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
cmp eax, ebx
je 0x42b5a4
mov ecx, dword [0x4dc358]
mov dword [0x4dc364], eax
add dword [0x4dc35c], ecx
mov edx, dword [0x4dc364]
mov eax, dword [0x4dc360]
mov dword [edx + eax*4], esi
mov eax, dword [0x4dc360]
inc eax
mov dword [0x4dc360], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add edx, ecx
add eax, ebp
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
jmp 0x42b3e9
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareGlobalLinkGameShareLobbyData
push bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, 0x4dc33c
call fcn.00440bc0
mov eax, dword [0x4dba58]
cmp eax, edi
je 0x42b5fc
mov eax, dword [eax + 0x20]
push edi
push edi
push 0x573
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42b644
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push edi
mov byte [esp + 0x348], 9
call fcn.00459770
lea ecx, [esp + 0x12c]
mov byte [esp + 0x344], 8
call fcn.00407420
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x344], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x42b790
mov eax, dword [ebp + 0x68b8]
mov ecx, ebp
push eax
call fcn.004296a0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub ecx, eax
push 1
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MoveWindow
lea ecx, [esp + 0x58]
mov byte [esp + 0x344], 0xf
call fcn.004554a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x344], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x344], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42b732
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x344], 0xa
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x344], 9
push edi
mov ecx, dword [esp + 0x20]
call fcn.00459770
lea ecx, [esp + 0x12c]
mov byte [esp + 0x344], 8
call fcn.00407420
lea ecx, [esp + 0x14]
mov byte [esp + 0x344], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x344], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x33c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x338
ret