Function at 0x403d60
Capabilities:
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x427dfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x388
mov eax, dword [esp + 0x398]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x83
mov dword [esp + 0x54], esi
call fcn.00427542
lea ecx, [esi + 0x60]
mov dword [esp + 0x3a0], 0
call fcn.00422e70
lea ecx, [esi + 0x940]
mov byte [esp + 0x3a0], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x948]
mov byte [esp + 0x3a0], 2
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x42b9b0
lea edi, [esi + 0x994]
mov byte [esp + 0x3a0], 3
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ebx, [esi + 0x998]
mov byte [esp + 0x3a0], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x99c]
mov byte [esp + 0x3a0], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x9ac]
mov byte [esp + 0x3a0], 6
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x9c8]
mov byte [esp + 0x3a0], 7
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x9cc]
mov byte [esp + 0x3a0], 8
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x9fc]
mov byte [esp + 0x3a0], 9
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2348]
mov byte [esp + 0x3a0], 0xa
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x234c]
mov byte [esp + 0x3a0], 0xb
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2354]
mov byte [esp + 0x3a0], 0xc
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2358]
mov byte [esp + 0x3a0], 0xd
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x3a0], 0xe
mov dword [esi], 0x42b8d8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433ae8
push str.DestUrlList
lea ecx, [esp + 0x18]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, ebp
mov byte [esp + 0x3a4], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a0], 0xe
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433ae8
push str.DestUrl
lea edx, [esp + 0x18]
push str.Settings
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x9cc]
mov byte [esp + 0x3a4], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a0], 0xe
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 str.Settings
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
push str.EnableProxy
push str.Settings
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 0x433ae8
push str.OpenExename
lea ecx, [esp + 0x20]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x2354]
mov byte [esp + 0x3a4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a0], 0xe
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
push str.AutoOpen
push str.Settings
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x233c], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0
push str.CheckLocalProxy
push str.Settings
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x2350], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x50
push str.DestPort
push str.Settings
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 str.Settings
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 str.Settings
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 0x433ae8
push str.Username
lea edx, [esp + 0x20]
push str.Settings
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, edi
mov byte [esp + 0x3a4], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a0], 0xe
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433ae8
push str.Password
lea ecx, [esp + 0x20]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, ebx
mov byte [esp + 0x3a4], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a0], 0xe
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x433ae8
push str.ProxyAddress
lea edx, [esp + 0x20]
push str.Settings
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x99c]
mov byte [esp + 0x3a4], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a0], 0xe
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x50
push str.ProxyPort
push str.Settings
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 str.Settings
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x9a4], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
xor ebx, ebx
push ebx
push str.TopMost
push str.Settings
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 0x433ae8
push str.CodeFileType
lea ecx, [esp + 0x20]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x9ac]
mov byte [esp + 0x3a4], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a0], 0xe
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 1
push str.UseIE
push str.Settings
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]
cmp eax, ebx
jne 0x404254
mov dword [esi + 0x988], 0x50
cmp dword [esi + 0x98c], ebx
jne 0x404266
mov dword [esi + 0x98c], 0x51
mov eax, dword [esi + 0x990]
cmp eax, 4
jle 0x404283
and eax, reloc.WS2_32.dll_closesocket
jns 0x40427d
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 + 0x2354]
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
push str.proxylocal
lea ecx, [esp + 0x24]
mov dword [esi + 0x235c], ebx
mov byte [esi + 0x2360], 0
mov dword [esi + 0x9d0], ebx
mov dword [esi + 0x9d4], ebx
mov dword [esi + 0x9d8], ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
mov byte [esp + 0x3a0], 0x16
cmp eax, ebx
mov ecx, 0x4b
jne 0x404590
xor eax, eax
lea edi, [esp + 0x6c]
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 + 0x6c]
push 0x12c
mov eax, dword [eax + 0x6c]
push edx
push 2
push eax
call ebx
lea ecx, [esp + 0x6c]
lea edi, [esi + 0x9cc]
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
lea edx, [esp + 0x6c]
mov ecx, ebp
push edx
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 ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 3
push edx
call ebx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x988], eax
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
add esp, 4
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 4
push edx
call ebx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x98c], eax
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x70]
add esp, 4
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 6
push edx
call ebx
push str.useproxy
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
mov ecx, 0x4b
neg eax
sbb eax, eax
lea edi, [esp + 0x6c]
inc eax
mov dword [esi + 0x2340], eax
xor eax, eax
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 5
push edx
call ebx
lea eax, [esp + 0x6c]
push str.autoopen
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
mov ecx, 0x4b
neg eax
sbb eax, eax
lea edi, [esp + 0x6c]
inc eax
mov dword [esi + 0x233c], eax
xor eax, eax
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 7
push edx
call ebx
lea eax, [esp + 0x6c]
lea edi, [esi + 0x2354]
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
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xc9
push edx
call ebx
lea eax, [esp + 0x6c]
lea edi, [esi + 0x9ac]
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
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x12c
lea ecx, [esp + 0x70]
mov edx, dword [eax + 0x6c]
push ecx
push 0xe00f
push edx
call ebx
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xe010
push edx
call ebx
lea eax, [esp + 0x6c]
push str.orgurl
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404628
mov dword [esi + 0x2364], 1
jmp 0x404632
xor eax, eax
lea edi, [esp + 0x6c]
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 + 0x6c]
push 0x12c
mov edx, dword [eax + 0x6c]
push ecx
push 0xe00f
push edx
call ebx
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xe010
push edx
call ebx
lea eax, [esp + 0x6c]
push str.orgurl
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404628
mov dword [esi + 0x2364], 1
jmp 0x404632
mov dword [esi + 0x2364], 0
mov eax, dword [esi + 0x2354]
push 0x433ae8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x404653
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40469a
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x6c]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 7
push edx
call ebx
lea eax, [esp + 0x6c]
lea edi, [esi + 0x2354]
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
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x28]
push 0x1e
push ecx
mov edx, dword [eax + 0x6c]
push 0xe00b
push edx
call ebx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x9b8], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x2c]
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 ecx, [esp + 0x28]
push 0x1e
push ecx
mov edx, dword [eax + 0x6c]
push 0xe00e
push edx
call ebx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x235c], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x2c]
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 ecx, [esp + 0x28]
push 0x1e
push ecx
mov edx, dword [eax + 0x6c]
push 0xe012
push edx
call ebx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
lea edi, [esi + 0x9d4]
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esi + 0x9d8], edx
mov ecx, 0x64
cdq
idiv ecx
add esp, 4
test edx, edx
mov dword [edi], edx
je 0x4047e0
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 0x4047e0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ebx, [esi + 0x9d0]
push eax
lea ecx, [esp + 0x1c]
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 0x4047d5
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 0x404839
cmp eax, dword [esi + 0x9d0]
je 0x404839
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 0x40483f
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 0x40483f
mov dword [esi + 0x9d0], eax
mov edi, 0x433d4c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40488a
lea edi, [esi + 0x9cc]
push 0x433d4c
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 0x433d4c
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 0x433ae8
push eax
call ebx
add esp, 8
test eax, eax
je 0x404918
mov eax, dword [edi]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x404a57
push 0x431998
lea edx, [esp + 0x1c]
push edi
push edx
call sub.MFC42.DLL_operator_2
push ebp
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x3a8], 0x17
push eax
call sub.MFC42.DLL_operator_3
push eax
mov ecx, ebp
mov byte [esp + 0x3a4], 0x18
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a0], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a0], 0x16
call sub.MFC42.DLL_CString::CString
jmp 0x404a57
mov eax, dword [ebp]
push 0x433ae8
push eax
call ebx
add esp, 8
test eax, eax
je 0x40498c
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 + 0x1f]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x1f]
test al, al
je 0x40498c
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 + 0x3a4], 0x19
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a0], 0x16
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp]
push 0x433ae8
push eax
call ebx
add esp, 8
test eax, eax
je 0x404a00
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 + 0x1f]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x1f]
test al, al
je 0x404a00
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 + 0x3a4], 0x1a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a0], 0x16
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp]
push 0x433ae8
push eax
call ebx
add esp, 8
test eax, eax
je 0x404a57
push 0x3b
mov ecx, ebp
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x404a4f
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 + 0x3a4], 0x1b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a0], 0x16
call sub.MFC42.DLL_CString::CString
jmp 0x404a57
push ebp
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
push 0x25
push 0x25
lea eax, [esp + 0x2a0]
push str._cProgramFiles_c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x198]
lea edx, [esp + 0x298]
push pe_nt_image_headers32
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [esp + 0x198]
push eax
call dword [sym.imp.MSVCRT.dll__strlwr]
lea ecx, [esp + 0x19c]
lea edi, [esi + 0x2358]
push ecx
push str._sinternet_exploreriexplore.exe
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x50]
call fcn.004273b0
mov eax, dword [edi]
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x3a8], 0x1c
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x404aea
push str.iexplore.exe
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
jmp 0x404b77
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::FindNextFileA
push eax
mov ecx, edi
call fcn.0042751e
lea edx, [esp + 0x10]
lea ecx, [esp + 0x50]
push edx
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
mov ecx, edi
mov byte [esp + 0x3a4], 0x1d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x3a0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0x2354]
lea ecx, [esp + 0x14]
push ebp
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a0], 0x1e
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x14]
push str.iexplore.exe
push eax
call ebx
add esp, 8
test eax, eax
jne 0x404b66
push edi
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::Close
lea edx, [esi + 0x2314]
lea ebx, [esi + 0xf0a]
lea ebp, [esi + 0xa00]
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 0x404b9a
lea ecx, [esi + 0x2358]
call sub.MFC42.DLL_CString::MakeLower
xor edi, edi
push 0x433ae8
lea ecx, [esi + 0x2348]
mov dword [esi + 0x2344], edi
call sub.MFC42.DLL_CString::operator_2
push 0x433ae8
lea ecx, [esi + 0x234c]
call sub.MFC42.DLL_CString::operator_2
push 0x433ae8
lea ecx, [esi + 0x9fc]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x20]
push str.proxylocal
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
neg eax
sbb eax, eax
push 0x30
neg eax
mov dword [esi + 0x2350], 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 0x404c9e
mov ecx, 0xc
xor eax, eax
mov edi, ebp
push str.B9C7C70F70390AE3A6D85623F88920FC
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 0x404c8f
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 0x404cf7
test edi, edi
je 0x404cb5
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 0x404cf1
mov dword [esi + 0x9c0], ebp
inc dword [esi + 0x9c4]
push 0x433ae8
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
mov bl, 0x1f
push ecx
mov ecx, esi
mov byte [esp + 0x3a4], bl
call fcn.004036f0
mov eax, dword [0x433f7c]
test eax, eax
je 0x404f63
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0040eb10
mov ebp, dword [esi + 0x9c0]
add esp, 0xc
test ebp, ebp
je 0x404da3
mov edx, dword [ebp]
mov eax, dword [esp + 0x18]
cmp edx, eax
jne 0x404d92
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x404d92
lea edi, [esp + 0x28]
lea eax, [ebp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x404d89
test cl, cl
je 0x404d85
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x404d89
add eax, 2
add edi, 2
test cl, cl
jne 0x404d65
xor eax, eax
jmp 0x404d8e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404d9b
mov ebp, dword [ebp + 0x2c]
test ebp, ebp
jne 0x404d48
jmp 0x404da3
test ebp, ebp
jne 0x404eac
push 0x433ae8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push 0x4318c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3a4], 0x20
call sub.MFC42.DLL_CString::operator_2
push 0
lea ecx, [esp + 0x70]
call fcn.004113e0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x120]
push eax
mov byte [esp + 0x3a4], 0x21
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x9c0]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov dword [esp + 0x118], ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea edx, [esp + 0x128]
push 0x431890
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x120]
mov byte [esp + 0x3a0], 0x26
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x11c]
mov byte [esp + 0x3a0], 0x25
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x110]
mov byte [esp + 0x3a0], 0x24
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10c]
mov byte [esp + 0x3a0], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xcc]
mov byte [esp + 0x3a0], 0x22
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3a0], 0x20
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a0], bl
call sub.MFC42.DLL_CString::CString
jmp 0x404f0e
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x404f63
mov ebp, eax
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x404eb7
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
cmp ecx, eax
jne 0x404f0e
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 4]
cmp eax, ecx
jne 0x404f0e
lea edi, [esp + 0x28]
lea eax, [ebp + 8]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x404f05
test cl, cl
je 0x404f01
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x404f05
add eax, 2
add edi, 2
test cl, cl
jne 0x404edd
xor eax, eax
jmp 0x404f0a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404f63
mov eax, dword [esp + 0x24]
push 0x433ae8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x404f63
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 0x404f5a
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 + 0x3a0], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x3a0], 0x16
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x20]
mov byte [esp + 0x3a0], 0xe
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x398]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x394
ret 4