Function at 0x42a410
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 0x4b4453
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 0x42a4b7
lea eax, [esp + 0x28]
lea ecx, [ebp + 0x36a4]
push eax
call fcn.004688c0
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.004688c0
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 0x42a579
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 0x42a52d
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], edi
jne 0x42a554
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, 0x4dc314
call fcn.00440720
test eax, eax
je 0x42b73e
push 0x4db920
mov ecx, 0x4dbfe8
mov dword [ebp + 0x68dc], edi
call sub.MFC42.DLL_CString::operator_1
cmp dword [ebp + 0x68d8], edi
je 0x42a5ce
lea edx, [esp + 0x28]
lea ecx, [ebp + 0xf8]
push edx
call fcn.0040a050
mov ebx, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x344], 4
jmp 0x42a5d3
mov eax, 0x4dbfc8
lea esi, [ebp + 0x68a4]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator
test bl, 1
mov dword [esp + 0x344], 0xffffffff
je 0x42a5fa
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 0x68d0], edi
jne 0x42a66f
mov eax, dword [ebp + 0x68c4]
push 1
push eax
mov ecx, 0x4dba10
call fcn.00414760
test eax, eax
jne 0x42a629
lea ecx, [ebp + 0x36a4]
call sub.MFC42.DLL_CWnd::SetFocus
jmp 0x42b73e
mov eax, dword [0x4dbfdc]
cmp dword [eax - 8], edi
jne 0x42a66f
mov eax, dword [esi]
push 1
push eax
mov ecx, 0x4dba10
call fcn.00414860
test eax, eax
jne 0x42a656
lea ecx, [ebp + 0xf8]
call sub.MFC42.DLL_CWnd::SetFocus
jmp 0x42b73e
mov esi, dword [esi]
mov eax, dword [ebp + 0x68c4]
push esi
push eax
mov ecx, ebp
call fcn.00429760
test eax, eax
je 0x42b73e
mov ecx, dword [ebp + 0x68bc]
push ecx
push str.ProxyEnable
push str.Proxy
mov ecx, 0x4dba10
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov eax, dword [ebp + 0x68b0]
mov ecx, 0x4dba10
push eax
push str.SocksServer
push str.Proxy
call sub.MFC42.DLL_CWinApp::WriteProfileStringA
mov edx, dword [ebp + 0x68ac]
mov ecx, 0x4dba10
push edx
push str.SocksPort
push str.Proxy
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov eax, dword [ebp + 0x68c8]
mov ecx, 0x4dba10
add eax, 4
push eax
push str.SocksVersion
push str.Proxy
call sub.MFC42.DLL_CWinApp::WriteProfileInt
cmp dword [ebp + 0x6ef0], edi
je 0x42a6e9
push edi
jmp 0x42a6f0
mov ecx, dword [ebp + 0x68c0]
push ecx
push str.Use80PortSvr
push 0x4db920
mov ecx, 0x4dba10
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 0x42a75c
push str.NewRegister80Server
lea edx, [esp + 0x2c]
push 0x4db920
push edx
mov ecx, 0x4dba10
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 0x42a793
push str.NewRegisterServer
lea eax, [esp + 0x2c]
push 0x4db920
push eax
mov ecx, 0x4dba10
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.00414f00
add esp, 8
mov eax, dword [ebp + 0x68bc]
mov byte [esp + 0x344], 8
cmp eax, edi
je 0x42a7e9
cmp dword [ebp + 0x68c8], edi
jne 0x42a7e9
mov eax, dword [ebp + 0x68b0]
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x42a7e9
push eax
push 0x30
push 0xe006
call sub.MFC42.DLL_AfxMessageBox
jmp 0x42b719
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.00407400
push 1
push 0x74d4
lea ecx, [esp + 0x134]
mov byte [esp + 0x34c], 9
call fcn.00407820
lea ebx, [ebp + 0x6f4c]
lea edx, [esp + 0x254]
push edx
mov ecx, ebx
call fcn.004595c0
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 0x4db920
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push 0x4d6d10
lea ecx, [esp + 0x30]
mov byte [esp + 0x348], 0xb
call fcn.004550cc
mov ecx, 0x4dbf98
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 [0x4dbca0]
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 0x42a9a3
mov ecx, dword [0x4dbf60]
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 0x42ae57
lea eax, [esp + 0x14]
mov ecx, 0x4dbf98
push eax
call sub.MFC42.DLL_CString::operator
jmp 0x42ab1d
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.00429730
cmp eax, edi
je 0x42a9f3
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.00429730
cmp eax, edi
jne 0x42a9d4
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 0x42b65a
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x58]
push edx
push eax
mov ecx, ebp
call fcn.0042c460
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
cmp eax, ecx
mov edi, eax
jge 0x42aa92
mov ecx, dword [esp + 0x5c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x42aa6d
mov eax, dword [0x4dbf60]
mov edx, dword [ebx]
push 0
push eax
push esi
mov ecx, ebx
call dword [edx + 0x50]
test eax, eax
push esi
jne 0x42aa78
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.0042c660
mov ecx, ebx
call fcn.004595e0
test eax, eax
jne 0x42aed5
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x42aa32
jmp 0x42aa92
mov ecx, 0x4dbf98
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 0x42aafd
mov eax, dword [esp + 0x4c]
xor edi, edi
test eax, eax
jle 0x42b02b
mov edx, dword [esp + 0x5c]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x42aacf
mov ecx, dword [0x4dbf60]
mov eax, dword [ebx]
push 0
push ecx
push esi
mov ecx, ebx
call dword [eax + 0x50]
test eax, eax
jne 0x42aade
mov ecx, ebx
call fcn.004595e0
test eax, eax
jne 0x42af80
mov eax, dword [esp + 0x4c]
inc edi
cmp edi, eax
jge 0x42b02b
jmp 0x42aaa0
push esi
mov ecx, 0x4dbf98
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 0x42b02b
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.00455300
xor edi, edi
mov edx, dword [esp + 0x14]
push edx
call sub.WSOCK32.dll_inet_addr
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ab43
mov eax, dword [esp + 0x14]
push eax
call sub.WSOCK32.dll_gethostbyname
cmp eax, edi
je 0x42ab43
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov esi, dword [edx]
mov dword [0x4dbf94], esi
xor esi, esi
push esi
mov ecx, ebp
call fcn.0042c820
mov ecx, 0x1e
xor eax, eax
lea edi, [esp + 0xb4]
mov edx, dword [0x4dbc98]
rep stosd dword es:[edi], eax
mov eax, dword [0x4dc068]
mov ecx, dword [0x4dbc88]
add eax, 0x31
mov dword [esp + 0xb8], 0x70
mov dword [esp + 0xb4], eax
mov eax, dword [0x4dbfd4]
cmp eax, esi
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
je 0x42abae
mov eax, edx
or eax, 0x4000000
mov dword [esp + 0xc0], eax
mov eax, dword [0x4dbcb0]
mov ecx, 0x4dc098
push eax
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
call fcn.00443c90
test eax, eax
je 0x42abeb
mov ecx, 0x4dc098
call fcn.00443d10
mov ecx, 0x4dc098
mov dword [esp + 0xcc], eax
call fcn.00443d00
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 0x42ac3f
push esi
push str.Date
push str.GameList
mov ecx, 0x4dbcb4
call fcn.004450e0
mov edx, dword [0x4dbca8]
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.00445650
mov edx, dword [esp + 0x7c]
add esp, 8
push 1
push esi
push esi
push edx
call fcn.00455800
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 0x42ac97
lea edx, [esp + 0xdc]
mov edi, str.Guest
jmp 0x42acd6
lea ecx, [ebp + 0x68c4]
lea edx, [esp + 0x24]
push ecx
push 0x4dbf6c
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, 0x4dbf64
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0xf0]
push 1
push edx
call fcn.00456240
add esp, 8
lea eax, [esp + 0x100]
mov ecx, ebp
push eax
push str.StyleList.dat
call fcn.0042ba20
lea ecx, [esp + 0x104]
push ecx
push str.ItemStyles.dat
mov ecx, ebp
call fcn.0042ba20
lea edx, [esp + 0x108]
mov ecx, ebp
push edx
push str.MarketStyleList.dat
call fcn.0042ba20
push 1
push 0xe009
lea ecx, [esp + 0x134]
call fcn.00407820
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 [0x4dbfdc]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42adb1
mov edx, dword [ebx]
lea eax, [esp + 0x54]
push 0x34
push eax
lea ecx, [esp + 0xbc]
jmp 0x42adda
lea edx, [esp + 0x274]
push edx
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0042b810
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 0x42b0e4
mov eax, dword [esp + 0x54]
cmp dword [eax + 4], 8
jne 0x42b0e4
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 [0x4dbf60], 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 0x42a944
mov ecx, ebx
call fcn.004595e0
test eax, eax
jne 0x42ae70
mov eax, dword [ebp + 0x68b8]
mov ecx, ebp
push eax
call fcn.00429650
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 0x42b6e2
jmp 0x42b6d5
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.00455300
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 0x42af60
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 0x42b6fc
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.00455300
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 0x42b00b
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 0x42b6fc
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.00429650
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.00455300
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 0x42b0c4
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 0x42b6fc
mov eax, dword [ebp + 0x68dc]
test eax, eax
je 0x42b0f5
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.004595c0
test esi, esi
jne 0x42b1cc
mov esi, dword [esp + 0x18]
push 0
mov ecx, 0x4dbf98
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
mov ecx, ebp
call fcn.0042c660
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 0x42b1ac
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 0x42b6fc
mov eax, dword [ebp + 0x68b4]
mov ecx, 0x4dba10
push eax
push str.SavePassword
push 0x4bf4f8
call sub.MFC42.DLL_CWinApp::WriteProfileInt
mov dword [0x4dc4b8], 1
call sub.MFC42.DLL_AfxGetThread
xor edi, edi
cmp eax, edi
je 0x42b218
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, edi
je 0x42b218
mov eax, dword [eax + 0x1dc]
cmp eax, edi
je 0x42b218
mov ecx, eax
call fcn.0044f940
mov ecx, ebp
call fcn.0042d570
mov ecx, ebp
call fcn.00429360
test eax, eax
jne 0x42b2dc
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 0x42b276
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.004595c0
lea ecx, [esp + 0x12c]
mov byte [esp + 0x344], 8
call fcn.004074d0
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 0x42b740
cmp dword [ebp + 0x68d0], edi
jne 0x42b341
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 0x4dbf6c
push eax
mov byte [esp + 0x350], bl
call sub.MFC42.DLL_operator_2
push eax
mov ecx, 0x4dbf64
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 [0x4dc058]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x14
push eax
push ecx
call esi
mov edx, dword [0x4dc058]
mov eax, dword [ebp + 0x68a4]
push 0x10
add edx, 0x295c
push eax
push edx
call esi
mov ecx, ebp
call fcn.004294a0
lea eax, [esp + 0x50]
push eax
push str.SoftwareGlobalLinkGameShareLobbyData
push bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, edi
jne 0x42b588
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 0x42b56d
mov eax, dword [esp + 0x4c]
mov byte [esp + eax + 0x80], 0
mov al, byte [esp + 0x70]
test al, 4
je 0x42b39e
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [0x4dc338]
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 0x42b4d7
mov edx, dword [0x4dc33c]
cmp eax, ecx
jl 0x42b4c2
xor esi, esi
jmp 0x42b4c4
mov esi, dword [edx]
cmp dword [esi + 4], edi
je 0x42b4d3
inc eax
add edx, 4
cmp eax, ecx
jl 0x42b4c2
jmp 0x42b4d7
test esi, esi
jne 0x42b554
push 0x14
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x42b39e
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 [0x4dc334]
mov ecx, dword [0x4dc338]
cmp eax, ecx
jg 0x42b53b
mov edx, dword [0x4dc330]
add edx, eax
mov eax, dword [0x4dc33c]
shl edx, 2
push edx
push eax
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
cmp eax, ebx
je 0x42b554
mov ecx, dword [0x4dc330]
mov dword [0x4dc33c], eax
add dword [0x4dc334], ecx
mov edx, dword [0x4dc33c]
mov eax, dword [0x4dc338]
mov dword [edx + eax*4], esi
mov eax, dword [0x4dc338]
inc eax
mov dword [0x4dc338], 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 0x42b399
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, 0x4dc314
call fcn.00440a00
mov eax, dword [0x4dba30]
cmp eax, edi
je 0x42b5ac
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 0x42b5f4
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.004595c0
lea ecx, [esp + 0x12c]
mov byte [esp + 0x344], 8
call fcn.004074d0
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 0x42b740
mov eax, dword [ebp + 0x68b8]
mov ecx, ebp
push eax
call fcn.00429650
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.00455300
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 0x42b6e2
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.004595c0
lea ecx, [esp + 0x12c]
mov byte [esp + 0x344], 8
call fcn.004074d0
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