Function at 0x404880
Capabilities:
Check mutex on windows
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4be14d
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
mov eax, dword [esp + 0x654]
mov ebp, dword [esp + 0x650]
mov ebx, ecx
mov dword [esp + 0x14], eax
xor ecx, ecx
xor edi, edi
push 0x16
mov eax, str.______Init_Begin______
lea esi, [esp + 0x3c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], cx
call fcn.00405e30
mov dword [esp + 0x648], edi
call fcn.00410c20
lea edx, [esp + 0x2a4]
push edx
push 0x202
call sub.WS2_32.dll_WSAStartup
mov byte [esp + 0x28], 0
mov dword [esp + 0x24], edi
push 0xffffffffffffffff
mov byte [esp + 0x64c], 1
call sub.IMM32.dll_ImmDisableIME
call fcn.004039c0
test al, al
je 0x404976
mov eax, dword [esp + 0x14]
mov dword [eax], 0xc
push 0x19
mov eax, str._CurrentUserIsSystem_True
call fcn.00405e30
call fcn.00410c20
lea ecx, [esp + 0x24]
call fcn.004476c0
cmp dword [esp + 0x50], 8
jb 0x40496f
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00498355
add esp, 4
xor al, al
jmp 0x4050de
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4049c5
mov edx, dword [esp + 0x14]
push 0xc
mov eax, str.IsInSafeMode
lea esi, [esp + 0x3c]
mov dword [edx], 0xb
call fcn.00405e30
call fcn.00410c20
lea ecx, [esp + 0x24]
call fcn.004476c0
cmp dword [esp + 0x50], 8
jb 0x40496f
mov eax, dword [esp + 0x3c]
push eax
call fcn.00498355
add esp, 4
xor al, al
jmp 0x4050de
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], edi
mov byte [esp + 0x648], 2
lea ecx, [esp + 0x1c]
mov dword [ebp], edi
push ecx
mov edi, ebp
call fcn.00403fd0
add esp, 4
test al, al
jne 0x404a16
mov edx, dword [esp + 0x14]
push 0x15
mov eax, str.ParseStartFlag_Failed
lea esi, [esp + 0x3c]
mov dword [edx], 0xa
call fcn.00405e30
call fcn.00410c20
lea ecx, [esp + 0x1c]
call fcn.004476c0
jmp 0x4049a1
mov eax, dword [ebp]
test eax, eax
jne 0x404a63
call fcn.00447a00
mov ecx, dword [esp + 0x14]
push 0x30
mov eax, str.p_startUpInfo.m_dwStartupFlag__START_FLAG_NULL
lea esi, [esp + 0x3c]
mov dword [ecx], 0xd
call fcn.00405e30
call fcn.00410c20
lea ecx, [esp + 0x1c]
call fcn.004476c0
lea ecx, [esp + 0x24]
call fcn.004476c0
lea esi, [esp + 0x38]
call fcn.00403250
xor al, al
jmp 0x4050de
cmp eax, 0x201
jne 0x404ae4
push ebx
lea ecx, [esp + 0x438]
call fcn.00448a70
lea edx, [ebp + 0x414]
push edx
lea eax, [esp + 0x438]
lea esi, [ebp + 0x424]
push eax
mov ecx, esi
lea edx, [esp + 0x2c]
mov byte [esp + 0x650], 4
call fcn.004041c0
add esp, 8
test al, al
lea ecx, [esp + 0x434]
sete bl
mov byte [esp + 0x648], 2
call fcn.004444f0
test bl, bl
je 0x404add
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
mov eax, str.ParseCmdPara_Failed
mov dword [ecx], 9
call fcn.00405560
jmp 0x404a3c
mov eax, dword [esi]
mov dword [0x4fd600], eax
call fcn.0040a050
mov byte [esp + 0x1b], 1
call fcn.0044c840
lea ecx, [esp + 0x1b]
push ecx
lea esi, [esp + 0x20]
call fcn.0044a340
test al, al
jne 0x404b0c
mov ecx, esi
call fcn.00447770
cmp byte [esp + 0x1b], 0
jne 0x404b78
lea edx, [esp + 0x38]
push edx
mov eax, str.bImeVersionSameToReg_false
call fcn.00405560
call fcn.00410c20
mov eax, dword [ebp]
test al, 4
jne 0x404b69
test eax, 0x100
jne 0x404b69
test eax, 0x201
je 0x404b55
mov ecx, 3
call fcn.0040e620
mov eax, dword [esp + 0x14]
mov dword [eax], 7
jmp 0x404a41
push 0
push 0x4d5940
push 0x4d5d68
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x14]
mov dword [eax], 7
jmp 0x404a41
test byte [ebp], 0x80
je 0x404ba1
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
push edx
mov eax, str.p_startUpInfo.m_dwStartupFlag__START_FLAG_FIREWALL
mov dword [ecx], 8
call fcn.00405560
call fcn.00410c20
jmp 0x4050c1
push ebp
lea esi, [esp + 0x38]
mov dword [esp + 0x38], 0
call fcn.00403b10
add esp, 4
test al, al
jne 0x404bd8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
mov dword [eax], 6
push ecx
mov eax, str.InitPyCore_failed
call fcn.00405560
jmp 0x404a3c
mov ecx, 0x12
mov esi, str.5E7CCEC5_2A10_4717_A11E_97E922791046
lea edi, [esp + 0x434]
rep movsd dword es:[edi], dword [esi]
push 0x1be
lea edx, [esp + 0x482]
push 0
push edx
movsw word es:[edi], word [esi]
call fcn.0049ca10
add esp, 0xc
test byte [0x504584], 1
jne 0x404c2d
or dword [0x504584], 1
lea eax, [esp + 0x434]
call fcn.0044eab0
push 0x4c5250
call fcn.00498d7a
add esp, 4
mov eax, dword [ebp]
cmp eax, 4
je 0x404cca
cmp eax, 0x100
je 0x404cca
cmp byte [0x503be4], 0
je 0x404d03
cmp eax, 0x201
jne 0x404c64
mov ecx, 1
call fcn.0040e620
jmp 0x404cac
test al, 4
je 0x404c98
push 0x4d5e8c
mov edi, 0x4fe140
call fcn.00401000
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x38]
mov dword [eax], 5
push ecx
mov eax, str.pChecker__AnotherAppIsRunning__
call fcn.00405560
jmp 0x404a3c
push 0
push 0x4d5ef8
push 0x4d5e8c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov eax, str.pChecker__AnotherAppIsRunning__
mov dword [edx], 4
call fcn.00405560
jmp 0x404a3c
cmp byte [0x503be4], 0
je 0x404d03
push 0x4d5e8c
mov edi, 0x4fe140
call fcn.00401000
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x38]
push edx
mov eax, str.pChecker__AnotherAppIsRunning__
mov dword [ecx], 5
call fcn.00405560
jmp 0x404a3c
push str.IME_INSTALLING_MUTEX
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
test esi, esi
je 0x404d29
call edi
cmp eax, 0xb7
je 0x404d2e
call fcn.00409020
test esi, esi
je 0x404d39
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp], 4
jne 0x404d66
call fcn.00403e40
test al, al
je 0x404d66
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
mov dword [eax], 3
push ecx
mov eax, str.p_startUpInfo.m_dwStartupFlag__START_FLAG_SILENT__needReboot__
call fcn.00405560
jmp 0x404a3c
cmp dword [ebp], 1
mov ebx, 6
jne 0x404e26
call fcn.00403e40
test al, al
je 0x404db0
push 0
push 0x4d5fc0
push 0x4d5fd8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov eax, str.needReboot__
mov dword [edx], 2
call fcn.00405560
jmp 0x404a3c
push 0x110
lea ecx, [esp + 0x43c]
push 0
push ecx
mov dword [esp + 0x440], 0x114
call fcn.0049ca10
add esp, 0xc
call fcn.00403e80
test al, al
jne 0x404e26
lea esi, [esp + 0x434]
call fcn.0044d370
test al, al
je 0x404e26
cmp dword [esp + 0x438], ebx
jae 0x404e26
push 0
push 0x4d5fc0
push 0x4d6014
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov eax, str.CurrentUserIsAdmin_failed
mov dword [edx], 1
call fcn.00405560
jmp 0x404a3c
lea ecx, [esp + 0x54]
call fcn.00448930
mov ebp, str.YYID
xor ecx, ecx
mov byte [esp + 0x648], 5
cmp ecx, ebp
jne 0x404e47
mov ebp, 0x4d6464
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404e50
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x5c]
mov dword [esp + 0x58], eax
call fcn.004495a0
cmp byte [esp + 0x170], 0
lea eax, [esp + 0x60]
jne 0x404e83
mov eax, dword [esp + 0x5c]
lea edx, [edi + edi]
push edx
add eax, 4
push ebp
push eax
call fcn.0049c670
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00407d30
mov byte [esp + 0x648], bl
mov eax, dword [esp + 0x2c]
push eax
push 0x4d65ac
lea edx, [esp + 0x5c]
call fcn.00448ff0
push str._path___expiresThu__07_Mar_43_09:14:07_GMT__domain.sogou.com
push 0x4d65ac
lea edx, [esp + 0x64]
call fcn.00448ff0
add esp, 0x10
lea ecx, [esp + 0x54]
call fcn.004445b0
mov esi, eax
mov edi, str.http:__sogou.com
call fcn.00404800
mov ebp, str.YYID
xor ecx, ecx
cmp ecx, ebp
jne 0x404ef2
mov ebp, 0x4d6464
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404ef7
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x5c]
mov dword [esp + 0x58], eax
call fcn.004495a0
cmp byte [esp + 0x170], 0
lea eax, [esp + 0x60]
jne 0x404f2a
mov eax, dword [esp + 0x5c]
lea edx, [edi + edi]
push edx
add eax, 4
push ebp
push eax
call fcn.0049c670
mov eax, dword [esp + 0x38]
add esp, 0xc
push eax
push 0x4d65ac
lea edx, [esp + 0x5c]
call fcn.00448ff0
push str._path___expiresThu__07_Mar_43_09:14:07_GMT__domain.sohu.com
push 0x4d65ac
lea edx, [esp + 0x64]
call fcn.00448ff0
add esp, 0x10
lea ecx, [esp + 0x54]
call fcn.004445b0
mov esi, eax
mov edi, str.http:__sohu.com
call fcn.00404800
mov ebp, str.YYID
xor ecx, ecx
cmp ecx, ebp
jne 0x404f89
mov ebp, 0x4d6464
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404f90
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x5c]
mov dword [esp + 0x58], eax
call fcn.004495a0
cmp byte [esp + 0x170], 0
lea eax, [esp + 0x60]
jne 0x404fc3
mov eax, dword [esp + 0x5c]
lea edx, [edi + edi]
push edx
add eax, 4
push ebp
push eax
call fcn.0049c670
mov eax, dword [esp + 0x38]
add esp, 0xc
push eax
push 0x4d65ac
lea edx, [esp + 0x5c]
call fcn.00448ff0
push str._path___expiresThu__07_Mar_43_09:14:07_GMT__domain.soso.com
push 0x4d65ac
lea edx, [esp + 0x64]
call fcn.00448ff0
add esp, 0x10
lea ecx, [esp + 0x54]
call fcn.004445b0
mov esi, eax
mov edi, str.http:__soso.com
call fcn.00404800
push str.IMEVER
lea ecx, [esp + 0x180]
call fcn.00448a70
push 0x4e392c
push 0x4d65ac
lea edx, [esp + 0x184]
mov byte [esp + 0x650], 7
call fcn.00448ff0
push str._path___expiresThu__07_Mar_43_09:14:07_GMT__domain.sogou.com
push 0x4d65ac
lea edx, [esp + 0x18c]
call fcn.00448ff0
add esp, 0x10
lea ecx, [esp + 0x17c]
call fcn.004445b0
mov esi, eax
mov edi, str.http:__sogou.com
call fcn.00404800
mov ecx, dword [esp + 0x30]
cmp dword [ecx], 4
jne 0x405085
push str.www.sogou.com
call sub.WS2_32.dll_gethostbyname
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
mov eax, str.______Init_End______
mov dword [edx], 0
call fcn.00405560
call fcn.00410c20
lea ecx, [esp + 0x17c]
call fcn.004444f0
lea esi, [esp + 0x2c]
call fcn.004035c0
lea ecx, [esp + 0x54]
call fcn.004444f0
lea ecx, [esp + 0x1c]
call fcn.004476c0
lea ecx, [esp + 0x24]
call fcn.004476c0
lea esi, [esp + 0x38]
call fcn.00403250
mov al, 1
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.00497c58
add esp, 0x638
ret