Function at 0x403d50
Capabilities:
Contain obfuscated stackstrings
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x423b19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
mov eax, dword [esp + 0x394]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x83
mov dword [esp + 0x50], esi
call fcn.004232b4
lea ecx, [esi + 0x60]
mov dword [esp + 0x39c], 0
call fcn.0041ed80
lea ecx, [esi + 0x53c]
mov byte [esp + 0x39c], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x54c]
mov byte [esp + 0x39c], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x550]
mov byte [esp + 0x39c], 3
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x554]
mov byte [esp + 0x39c], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x564]
mov byte [esp + 0x39c], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x5ac]
mov byte [esp + 0x39c], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1ef8]
mov byte [esp + 0x39c], 7
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1efc]
mov byte [esp + 0x39c], 8
call sub.MFC42.DLL_CString::CString_1
lea ebx, [esi + 0x1f04]
mov byte [esp + 0x39c], 9
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1f08]
mov byte [esp + 0x39c], 0xa
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x39c], 0xb
mov dword [esi], 0x4268a8
mov dword [esi + 0x574], 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 + 0x18], 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 + 0x1ef0], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x42d1a8
push str.OpenExename
lea ecx, [esp + 0x1c]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, ebx
mov byte [esp + 0x3a0], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x39c], 0xb
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 + 0x1eec], 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 + 0x1f00], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x42d1a8
push str.DestUrl
lea edx, [esp + 0x1c]
push str.Settings
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x53c]
mov byte [esp + 0x3a0], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x39c], 0xb
call sub.MFC42.DLL_CString::CString
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 + 0x540], 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 + 0x544], 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 + 0x548], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x42d1a8
push str.Username
lea ecx, [esp + 0x1c]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
mov byte [esp + 0x39c], 0xe
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x39c], 0xb
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x42d1a8
push str.Password
lea edx, [esp + 0x1c]
push str.Settings
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
mov ecx, ebp
mov byte [esp + 0x3a0], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x39c], 0xb
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x42d1a8
push str.ProxyAddress
lea ecx, [esp + 0x1c]
push str.Settings
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x554]
mov byte [esp + 0x3a0], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x39c], 0xb
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 + 0x558], 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 + 0x55c], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
xor ebp, ebp
push ebp
push str.TopMost
push str.Settings
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov dword [esi + 0x560], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x42d1a8
push str.CodeFileType
lea edx, [esp + 0x1c]
push str.Settings
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x564]
mov byte [esp + 0x3a0], 0x11
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x39c], 0xb
lea ecx, [esp + 0x14]
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 + 0x568], 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 + 0x56c], eax
mov eax, dword [esi + 0x540]
cmp eax, ebp
jne 0x4041bb
mov dword [esi + 0x540], 0x50
cmp dword [esi + 0x544], ebp
jne 0x4041cd
mov dword [esi + 0x544], 0x51
mov eax, dword [esi + 0x548]
cmp eax, 4
jle 0x4041ea
and eax, reloc.WS2_32.dll_closesocket
jns 0x4041e4
dec eax
or eax, 0xfffffffc
inc eax
mov dword [esi + 0x548], eax
lea edi, [esi + 0x53c]
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, ebx
call sub.MFC42.DLL_CString::TrimRight
push str.proxylocal
lea ecx, [esp + 0x20]
mov dword [esi + 0x1f0c], ebp
mov byte [esi + 0x1f10], 0
mov dword [esi + 0x580], ebp
mov dword [esi + 0x584], ebp
mov dword [esi + 0x588], ebp
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x18]
mov byte [esp + 0x39c], 0x12
cmp eax, ebp
mov ecx, 0x4b
jne 0x4044c3
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x68]
push 0x12c
mov edx, dword [eax + 0x6c]
push ecx
push 2
push edx
call ebp
lea eax, [esp + 0x68]
lea edi, [esi + 0x53c]
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 + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 3
push edx
call ebp
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x540], eax
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
add esp, 4
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 4
push edx
call ebp
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x544], eax
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x6c]
add esp, 4
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 6
push edx
call ebp
lea eax, [esp + 0x68]
push str.useproxy
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
mov ecx, 0x4b
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x1ef0], eax
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 5
push edx
call ebp
lea eax, [esp + 0x68]
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 + 0x68]
inc eax
mov dword [esi + 0x1eec], eax
xor eax, eax
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 7
push edx
call ebp
lea eax, [esp + 0x68]
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
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xc9
push edx
call ebp
lea eax, [esp + 0x68]
lea edi, [esi + 0x564]
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 + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xe00f
push edx
call ebp
lea eax, [esp + 0x68]
lea ecx, [esp + 0x1c]
push eax
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 + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xe010
push edx
call ebp
lea eax, [esp + 0x68]
push str.orgurl
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x40455b
mov dword [esi + 0x1f14], 1
jmp 0x404565
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x68]
push 0x12c
mov edx, dword [eax + 0x6c]
push ecx
push 0xe00f
push edx
call ebp
lea eax, [esp + 0x68]
lea ecx, [esp + 0x1c]
push eax
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 + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 0xe010
push edx
call ebp
lea eax, [esp + 0x68]
push str.orgurl
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x40455b
mov dword [esi + 0x1f14], 1
jmp 0x404565
mov dword [esi + 0x1f14], 0
mov eax, dword [ebx]
push 0x42d1a8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x404582
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4045c3
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x68]
push 0x12c
push ecx
mov edx, dword [eax + 0x6c]
push 7
push edx
call ebp
lea eax, [esp + 0x68]
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
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x24]
push 0x1e
push ecx
mov edx, dword [eax + 0x6c]
push 0xe00b
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x570], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x28]
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 + 0x24]
push 0x1e
push ecx
mov edx, dword [eax + 0x6c]
push 0xe00e
push edx
call ebp
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esi + 0x1f0c], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x28]
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 + 0x24]
push 0x1e
push ecx
mov edx, dword [eax + 0x6c]
push 0xe012
push edx
call ebp
lea eax, [esp + 0x24]
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 + 0x584]
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esi + 0x588], edx
mov ecx, 0x64
cdq
idiv ecx
add esp, 4
test edx, edx
mov dword [edi], edx
je 0x40470a
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 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 0x40470a
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ebp, [esi + 0x580]
push eax
lea ecx, [esp + 0x1c]
push ebp
push ecx
push 0
push str.SyncMode5
push edx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4046ff
mov eax, dword [edi]
mov dword [ebp], eax
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
test eax, eax
je 0x404763
cmp eax, dword [esi + 0x580]
je 0x404763
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 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 0x404769
push 4
push edi
push 4
push eax
mov eax, dword [esp + 0x20]
push str.SyncMode5
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404769
mov dword [esi + 0x580], eax
mov edi, 0x42d40c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40479a
lea edi, [esi + 0x53c]
push 0x42d40c
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 0x25
push 0x25
lea edx, [esp + 0x29c]
push str._cProgramFiles_c
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0x194]
lea ecx, [esp + 0x294]
push 0x100
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edx, [esp + 0x194]
push edx
call dword [sym.imp.MSVCRT.dll__strlwr]
lea eax, [esp + 0x198]
lea edi, [esi + 0x1f08]
push eax
push str._sinternet_exploreriexplore.exe
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x4c]
call fcn.00423170
mov eax, dword [edi]
push 0
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x3a4], 0x13
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x40482d
push str.iexplore.exe
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
jmp 0x4048b8
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
mov ecx, edi
mov byte [esp + 0x3a0], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x39c], 0x13
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x39c], 0x15
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 0x10]
push str.iexplore.exe
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4048a7
push edi
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x39c], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CFileFind::Close
lea edx, [esi + 0x1ec4]
lea ebp, [esi + 0xaba]
lea ebx, [esi + 0x5b0]
mov dword [esp + 0x18], 0xa
mov ecx, 0x20
xor eax, eax
mov edi, ebx
add edx, 4
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x80
xor eax, eax
mov edi, ebp
add ebx, 0x81
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov dword [edx - 4], 0
add ebp, 0x201
dec eax
mov dword [esp + 0x18], eax
jne 0x4048db
lea ecx, [esi + 0x1f08]
call sub.MFC42.DLL_CString::MakeLower
xor ebp, ebp
push 0x42d1a8
lea ecx, [esi + 0x1ef8]
mov dword [esi + 0x1ef4], ebp
call sub.MFC42.DLL_CString::operator_2
push 0x42d1a8
lea ecx, [esi + 0x1efc]
call sub.MFC42.DLL_CString::operator_2
push 0x42d1a8
lea ecx, [esi + 0x5ac]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x1c]
push str.proxylocal
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
neg eax
sbb eax, eax
push 0x30
neg eax
mov dword [esi + 0x1f00], eax
mov dword [esi + 0x578], ebp
mov dword [esi + 0x57c], ebp
xor edi, edi
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 0xc
cmp ebx, ebp
je 0x4049df
mov ecx, 0xc
xor eax, eax
mov edi, ebx
push str.B9C7C70F70390AE3A6D85623F88920FC
rep stosd dword es:[edi], eax
lea ecx, [ebx + 8]
push 0x42b080
push ecx
mov dword [ebx], 0x262
mov dword [ebx + 4], 0x94000
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x578]
add esp, 0xc
cmp eax, ebp
jne 0x4049d0
mov dword [esi + 0x578], ebx
mov eax, dword [esi + 0x57c]
mov edi, ebx
inc eax
mov dword [esi + 0x57c], eax
push 0x30
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x404a3b
cmp edi, ebp
je 0x4049f6
mov dword [edi + 0x2c], ebx
mov ecx, 0xc
xor eax, eax
mov edi, ebx
push str.FAD727645C6286CDE0B5F43E579143E1
lea edx, [ebx + 8]
push 0x42b080
rep stosd dword es:[edi], eax
push edx
mov dword [ebx], 0x262
mov dword [ebx + 4], 0x94000
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esi + 0x578]
add esp, 0xc
cmp eax, ebp
jne 0x404a35
mov dword [esi + 0x578], ebx
inc dword [esi + 0x57c]
push 0x42d1a8
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov byte [esp + 0x3a0], 0x16
call fcn.004036e0
cmp dword [0x42d60c], ebp
je 0x404c9e
lea ecx, [esp + 0x24]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0040d430
mov ebp, dword [esi + 0x578]
add esp, 0xc
test ebp, ebp
je 0x404ae3
mov edx, dword [esp + 0x14]
cmp dword [ebp], edx
jne 0x404ad2
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jne 0x404ad2
lea edi, [esp + 0x24]
lea eax, [ebp + 8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x404ac9
test cl, cl
je 0x404ac5
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x404ac9
add eax, 2
add edi, 2
test cl, cl
jne 0x404aa5
xor eax, eax
jmp 0x404ace
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404adb
mov ebp, dword [ebp + 0x2c]
test ebp, ebp
jne 0x404a8e
jmp 0x404ae3
test ebp, ebp
jne 0x404bed
push 0x42d1a8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov bl, 0x17
push 0x42b844
lea ecx, [esp + 0x14]
mov byte [esp + 0x3a0], bl
call sub.MFC42.DLL_CString::operator_2
push 0
lea ecx, [esp + 0x6c]
call fcn.0040fb30
lea edx, [esp + 0x10]
lea ecx, [esp + 0x11c]
push edx
mov byte [esp + 0x3a0], 0x18
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x578]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x124]
push 0x42b814
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CDialog::DoModal
lea ecx, [esp + 0x11c]
mov byte [esp + 0x39c], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x118]
mov byte [esp + 0x39c], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10c]
mov byte [esp + 0x39c], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x108]
mov byte [esp + 0x39c], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc8]
mov byte [esp + 0x39c], 0x19
call sub.MFC42.DLL_CListBox::CListBox
lea ecx, [esp + 0x68]
mov byte [esp + 0x39c], bl
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x10]
mov byte [esp + 0x39c], 0x16
call sub.MFC42.DLL_CString::CString
jmp 0x404c49
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x404c9e
mov ebp, eax
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x404bf8
cmp dword [ebp], edx
jne 0x404c49
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 4]
cmp eax, edx
jne 0x404c49
lea edi, [esp + 0x24]
lea eax, [ebp + 8]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x404c40
test cl, cl
je 0x404c3c
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x404c40
add eax, 2
add edi, 2
test cl, cl
jne 0x404c18
xor eax, eax
jmp 0x404c45
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404c9e
mov eax, dword [esp + 0x20]
push 0x42d1a8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x404c9e
lea ecx, [esp + 0x20]
push str.replace.opt
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [esp + 0x10]
push 0x42b7cc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
test eax, eax
je 0x404c95
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
call fcn.00402790
lea ecx, [esp + 0x20]
mov byte [esp + 0x39c], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x39c], 0x12
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x1c]
mov byte [esp + 0x39c], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x394]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x390
ret 4