Function at 0x403d60
Capabilities:
Get number of processors
Inspect load icon resource
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42828b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b8
mov eax, dword [esp + 0x4c8]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x83
mov dword [esp + 0x58], esi
call fcn.00427992
lea ecx, [esi + 0x60]
mov dword [esp + 0x4d0], 0
call fcn.004232c0
lea ecx, [esi + 0x940]
mov byte [esp + 0x4d0], 1
call sub.MFC42.DLL_CString::CString_1
lea ebx, [esi + 0x948]
mov byte [esp + 0x4d0], 2
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x42b9c8
lea edi, [esi + 0x994]
mov byte [esp + 0x4d0], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x998]
mov byte [esp + 0x4d0], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x99c]
mov byte [esp + 0x4d0], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x9ac]
mov byte [esp + 0x4d0], 6
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x9c8]
mov byte [esp + 0x4d0], 7
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x9cc]
mov byte [esp + 0x4d0], 8
call sub.MFC42.DLL_CString::CString_1
lea ebx, [esi + 0x9d0]
mov byte [esp + 0x4d0], 9
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xa00]
mov byte [esp + 0x4d0], 0xa
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x234c]
mov byte [esp + 0x4d0], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2350]
mov byte [esp + 0x4d0], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2358]
mov byte [esp + 0x4d0], 0xd
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x235c]
mov byte [esp + 0x4d0], 0xe
call sub.MFC42.DLL_CString::CString_1
push 0x431b00
mov ecx, ebx
mov byte [esp + 0x4d4], 0xf
mov dword [esi], 0x42b8f0
call sub.MFC42.DLL_CString::operator_2
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.DestUrlList
lea ecx, [esp + 0x18]
push 0x431ae8
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, ebp
mov byte [esp + 0x4d4], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0xf
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.DestUrl
lea edx, [esp + 0x18]
push 0x431ae8
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x9cc]
mov byte [esp + 0x4d4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0xf
call sub.MFC42.DLL_CString::CString
mov dword [esi + 0x9bc], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
push str.HasWriteIni
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.LastVersion
lea ecx, [esp + 0x30]
push 0x431ae8
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
push str.EnableProxy
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x2344], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.OpenExename
lea edx, [esp + 0x18]
push 0x431ae8
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x2358]
mov byte [esp + 0x4d4], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
push str.AutoOpen
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x2340], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
push str.CheckLocalProxy
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x2354], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x50
push str.DestPort
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x988], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x51
push str.LocalPort
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x98c], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
push str.ProxyType
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x990], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.Username
lea ecx, [esp + 0x18]
push 0x431ae8
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, edi
mov byte [esp + 0x4d4], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.Password
lea edx, [esp + 0x18]
push 0x431ae8
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x998]
mov byte [esp + 0x4d4], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.ProxyAddress
lea ecx, [esp + 0x18]
push 0x431ae8
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x99c]
mov byte [esp + 0x4d4], 0x16
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x50
push str.ProxyPort
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x9a0], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
push str.SaveToLocal
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x9a4], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
push str.TopMost
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x9a8], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.CodeFileType
lea edx, [esp + 0x18]
push 0x431ae8
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x9ac]
mov byte [esp + 0x4d4], 0x17
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
push str.UseIE
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x9b0], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x9b4], eax
mov eax, dword [esi + 0x988]
test eax, eax
jne 0x4042a1
mov dword [esi + 0x988], 0x50
mov eax, dword [esi + 0x98c]
test eax, eax
jne 0x4042b5
mov dword [esi + 0x98c], 0x51
mov eax, dword [esi + 0x990]
cmp eax, 4
jle 0x4042d2
and eax, reloc.WS2_32.dll_closesocket
jns 0x4042cc
dec eax
or eax, 0xfffffffc
inc eax
mov dword [esi + 0x990], eax
lea edi, [esi + 0x9cc]
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
lea edi, [esi + 0x2358]
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
xor eax, eax
mov ecx, 0x4b
lea edi, [esp + 0x29c]
mov dword [esi + 0x2360], eax
rep stosd dword es:[edi], eax
mov byte [esi + 0x2364], al
mov dword [esi + 0x9d4], eax
mov dword [esi + 0x9d8], eax
mov dword [esi + 0x9dc], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x29c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xe015
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x29c]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::TrimRight
push 0x2d
mov ecx, ebx
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jge 0x4043bd
push 0x20
mov ecx, ebx
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jge 0x4043bd
push 0x5f
mov ecx, ebx
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jge 0x4043bd
push 0x28
mov ecx, ebx
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x4043eb
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebx
mov byte [esp + 0x4d4], 0x18
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x28]
mov ebx, dword [ebx]
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x404408
mov dword [esp + 0x14], 0
push str.proxylocal
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4d0], 0x19
test eax, eax
mov ecx, 0x4b
jne 0x40478a
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x70]
push 0x12c
mov edx, dword [eax + 0x6c]
push ecx
push 2
push edx
call ebx
lea eax, [esp + 0x70]
lea edi, [esi + 0x9cc]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebp]
push 0x433b08
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4044eb
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.DestUrlList
lea edx, [esp + 0x18]
push 0x431ae8
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, ebp
mov byte [esp + 0x4d4], 0x1a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi]
push 0x433b08
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x404544
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433b08
push str.DestUrl
lea ecx, [esp + 0x18]
push 0x431ae8
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, edi
mov byte [esp + 0x4d4], 0x1b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x19
call sub.MFC42.DLL_CString::CString
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 3
push eax
call ebx
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x988], eax
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x74]
add esp, 4
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 4
push eax
call ebx
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x98c], eax
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x74]
add esp, 4
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 6
push eax
call ebx
lea ecx, [esp + 0x70]
push str.useproxy
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
mov ecx, 0x4b
neg eax
sbb eax, eax
lea edi, [esp + 0x70]
inc eax
mov dword [esi + 0x2344], eax
xor eax, eax
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 5
push eax
call ebx
lea ecx, [esp + 0x70]
push str.autoopen
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
mov ecx, 0x4b
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x2340], eax
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 7
push eax
call ebx
lea ecx, [esp + 0x70]
lea edi, [esi + 0x2358]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 0xc9
push eax
call ebx
lea ecx, [esp + 0x70]
lea edi, [esi + 0x9ac]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 0xe00f
push eax
call ebx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 0xe010
push eax
call ebx
lea ecx, [esp + 0x70]
push str.orgurl
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404775
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [esi + 0x2368], 1
jmp 0x40482c
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
mov dword [esi + 0x2368], 0
jmp 0x40482c
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x70]
push 0x12c
mov eax, dword [eax + 0x6c]
push edx
push 0xe00f
push eax
call ebx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 0xe010
push eax
call ebx
lea ecx, [esp + 0x70]
push str.orgurl
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404822
mov dword [esi + 0x2368], 1
jmp 0x40482c
mov dword [esi + 0x2368], 0
mov eax, dword [esi + 0x2358]
push 0x433b08
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40484d
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x404894
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x70]
push 0x12c
push edx
mov eax, dword [eax + 0x6c]
push 7
push eax
call ebx
lea ecx, [esp + 0x70]
lea edi, [esi + 0x2358]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x2c]
push 0x1e
push edx
mov eax, dword [eax + 0x6c]
push 0xe00b
push eax
call ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x9b8], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
add esp, 4
stosw word es:[edi], ax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x2c]
push 0x1e
push edx
mov eax, dword [eax + 0x6c]
push 0xe00e
push eax
call ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x2360], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
add esp, 4
stosw word es:[edi], ax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea edx, [esp + 0x2c]
push 0x1e
push edx
mov eax, dword [eax + 0x6c]
push 0xe012
push eax
call ebx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
lea edi, [esi + 0x9d8]
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esi + 0x9dc], edx
mov ecx, 0x64
cdq
idiv ecx
add esp, 4
test edx, edx
mov dword [edi], edx
je 0x4049da
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4049da
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ebx, [esi + 0x9d4]
push eax
lea ecx, [esp + 0x24]
push ebx
push ecx
push 0
push str.SyncMode5
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4049cf
mov eax, dword [edi]
mov dword [ebx], eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
test eax, eax
je 0x404a33
cmp eax, dword [esi + 0x9d4]
je 0x404a33
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404a39
push 4
push edi
push 4
push eax
mov eax, dword [esp + 0x24]
push str.SyncMode5
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404a39
mov dword [esi + 0x9d4], eax
mov edi, 0x433d6c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x404a84
lea edi, [esi + 0x9cc]
push 0x433d6c
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
push 0x433d6c
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebp
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esi + 0x9cc]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edi, [esi + 0x9cc]
push 0x433b08
push eax
call ebx
add esp, 8
test eax, eax
je 0x404b12
mov eax, dword [edi]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x404c51
push 0x431998
lea edx, [esp + 0x24]
push edi
push edx
call sub.MFC42.DLL_operator_2
push ebp
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x4d8], 0x1c
push eax
call sub.MFC42.DLL_operator_3
push eax
mov ecx, ebp
mov byte [esp + 0x4d4], 0x1d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x4d0], 0x19
call sub.MFC42.DLL_CString::CString
jmp 0x404c51
mov eax, dword [ebp]
push 0x433b08
push eax
call ebx
add esp, 8
test eax, eax
je 0x404b86
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x431998
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete byte [esp + 0x1b]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x1b]
test al, al
je 0x404b86
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, ebp
call sub.MFC42.DLL_CString::Mid_1
push eax
mov ecx, ebp
mov byte [esp + 0x4d4], 0x1e
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp]
push 0x433b08
push eax
call ebx
add esp, 8
test eax, eax
je 0x404bfa
lea eax, [esp + 0x10]
push 1
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x431998
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete byte [esp + 0x1b]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x1b]
test al, al
je 0x404bfa
lea ecx, [esp + 0x10]
push 1
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::Mid_1
push eax
mov ecx, ebp
mov byte [esp + 0x4d4], 0x1f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x19
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp]
push 0x433b08
push eax
call ebx
add esp, 8
test eax, eax
je 0x404c51
push 0x3b
mov ecx, ebp
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x404c49
lea edx, [esp + 0x10]
push eax
push edx
mov ecx, ebp
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, edi
mov byte [esp + 0x4d4], 0x20
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x19
call sub.MFC42.DLL_CString::CString
jmp 0x404c51
push ebp
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
push 0x25
push 0x25
lea eax, [esp + 0x3d0]
push 0x431094
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x19c]
lea edx, [esp + 0x3c8]
push pe_nt_image_headers32
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x19c]
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
lea ecx, [esp + 0x1a0]
lea edi, [esi + 0x235c]
push ecx
push str._sinternet_exploreriexplore.exe
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x54]
call fcn.00427800
mov eax, dword [edi]
push 0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4d8], 0x21
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x404ce4
push 0x431964
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
jmp 0x404d71
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::FindNextFileA
push eax
mov ecx, edi
call fcn.0042796e
lea edx, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
mov ecx, edi
mov byte [esp + 0x4d4], 0x22
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4d0], 0x21
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0x2358]
lea ecx, [esp + 0x14]
push ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d0], 0x23
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x14]
push 0x431964
push eax
call ebx
add esp, 8
test eax, eax
jne 0x404d60
push edi
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::Close
lea edx, [esi + 0x2318]
lea ebx, [esi + 0xf0e]
lea ebp, [esi + 0xa04]
mov dword [esp + 0x10], 0xa
mov ecx, 0x20
xor eax, eax
mov edi, ebp
add edx, 4
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x80
xor eax, eax
mov edi, ebx
add ebp, 0x81
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov dword [edx - 4], 0
add ebx, 0x201
dec eax
mov dword [esp + 0x10], eax
jne 0x404d94
lea ecx, [esi + 0x235c]
call sub.MFC42.DLL_CString::MakeLower
xor edi, edi
push 0x433b08
lea ecx, [esi + 0x234c]
mov dword [esi + 0x2348], edi
call sub.MFC42.DLL_CString::operator_2
push 0x433b08
lea ecx, [esi + 0x2350]
call sub.MFC42.DLL_CString::operator_2
push 0x433b08
lea ecx, [esi + 0xa00]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x1c]
push str.proxylocal
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
neg eax
sbb eax, eax
push 0x30
neg eax
mov dword [esi + 0x2354], eax
mov dword [esi + 0x9c0], edi
mov dword [esi + 0x9c4], edi
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov ebx, 0x94000
je 0x404e98
mov ecx, 0xc
xor eax, eax
mov edi, ebp
push 0x431940
lea edx, [ebp + 8]
push 0x431080
rep stosd dword es:[edi], eax
push edx
mov dword [ebp], 0x262
mov dword [ebp + 4], ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x9c0]
add esp, 0xc
test eax, eax
jne 0x404e89
mov dword [esi + 0x9c0], ebp
mov eax, dword [esi + 0x9c4]
mov edi, ebp
inc eax
mov dword [esi + 0x9c4], eax
push 0x30
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x404ef1
test edi, edi
je 0x404eaf
mov dword [edi + 0x2c], ebp
mov ecx, 0xc
xor eax, eax
mov edi, ebp
push str.FAD727645C6286CDE0B5F43E579143E1
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
push 0x431080
push eax
mov dword [ebp], 0x262
mov dword [ebp + 4], ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x9c0]
add esp, 0xc
test eax, eax
jne 0x404eeb
mov dword [esi + 0x9c0], ebp
inc dword [esi + 0x9c4]
push 0x433b08
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov bl, 0x24
push ecx
mov ecx, esi
mov byte [esp + 0x4d4], bl
call fcn.004036f0
mov eax, dword [0x433f9c]
test eax, eax
je 0x40515d
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040edd0
mov ebp, dword [esi + 0x9c0]
add esp, 0xc
test ebp, ebp
je 0x404f9d
mov edx, dword [ebp]
mov eax, dword [esp + 0x20]
cmp edx, eax
jne 0x404f8c
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x404f8c
lea edi, [esp + 0x2c]
lea eax, [ebp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x404f83
test cl, cl
je 0x404f7f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x404f83
add eax, 2
add edi, 2
test cl, cl
jne 0x404f5f
xor eax, eax
jmp 0x404f88
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404f95
mov ebp, dword [ebp + 0x2c]
test ebp, ebp
jne 0x404f42
jmp 0x404f9d
test ebp, ebp
jne 0x4050a6
push 0x433b08
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push 0x4318c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4d4], 0x25
call sub.MFC42.DLL_CString::operator_2
push 0
lea ecx, [esp + 0x74]
call fcn.004116a0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x124]
push eax
mov byte [esp + 0x4d4], 0x26
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x9c0]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esp + 0x12c]
push 0x431890
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x124]
mov byte [esp + 0x4d0], 0x2b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x120]
mov byte [esp + 0x4d0], 0x2a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x114]
mov byte [esp + 0x4d0], 0x29
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x110]
mov byte [esp + 0x4d0], 0x28
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd0]
mov byte [esp + 0x4d0], 0x27
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x70]
mov byte [esp + 0x4d0], 0x25
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d0], bl
call sub.MFC42.DLL_CString::CString
jmp 0x405108
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x40515d
mov ebp, eax
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x4050b1
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp]
cmp ecx, eax
jne 0x405108
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 4]
cmp eax, ecx
jne 0x405108
lea edi, [esp + 0x2c]
lea eax, [ebp + 8]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4050ff
test cl, cl
je 0x4050fb
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4050ff
add eax, 2
add edi, 2
test cl, cl
jne 0x4050d7
xor eax, eax
jmp 0x405104
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40515d
mov eax, dword [esp + 0x24]
push 0x433b08
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40515d
lea ecx, [esp + 0x24]
push str.replace.opt
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [esp + 0x14]
push 0x431848
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
test eax, eax
je 0x405154
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
call fcn.00402790
lea ecx, [esp + 0x24]
mov byte [esp + 0x4d0], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x4d0], 0x19
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4d0], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x4d0], 0xf
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c4
ret 4