Function at 0x407c50
Capabilities:
Create http request
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4742a2
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.0046bf10
xor ebp, ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x288], ebp
call fcn.0046da70
push 0x4a93d0
lea eax, [esp + 0x24]
push eax
push str.UserManager
mov byte [esp + 0x294], 1
call fcn.00402f70
add esp, 4
mov ecx, eax
call fcn.0043f9f0
test al, al
jne 0x407cfe
push 0x482cb4
lea ecx, [esp + 0x18]
call fcn.0046c2f0
mov ecx, eax
call fcn.0046c360
lea ecx, [esp + 0x20]
call fcn.0046d3c0
lea ecx, [esp + 0x14]
call fcn.0046beb0
xor al, al
jmp 0x40804a
push ebp
push ebp
push ebp
push ebp
push ebp
push str.ugpngbk_u.log
lea ecx, [esp + 0x48]
call fcn.0046d910
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call fcn.0046e5e0
lea ecx, [esp + 0x30]
call fcn.0046d3c0
lea ecx, [esp + 0x20]
call fcn.0046d2f0
test al, al
jne 0x407dff
lea ecx, [esp + 0x30]
call fcn.0046da70
push 0x4a93d0
lea edx, [esp + 0x34]
push edx
push str.UserManager
mov byte [esp + 0x294], 2
call fcn.00402f70
add esp, 4
mov ecx, eax
call fcn.0043f9f0
test al, al
jne 0x407d8f
push 0x482cd4
lea ecx, [esp + 0x18]
call fcn.0046c2f0
mov ecx, eax
call fcn.0046c360
lea ecx, [esp + 0x30]
call fcn.0046d3c0
jmp 0x407ce5
push ebp
push ebp
push ebp
push ebp
push ebp
push str.ugpngbk.log
lea ecx, [esp + 0x78]
call fcn.0046d910
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
call fcn.0046e5e0
lea ecx, [esp + 0x60]
call fcn.0046d3c0
lea ecx, [esp + 0x30]
call fcn.0046d2f0
test al, al
jne 0x407dd4
lea ecx, [esp + 0x30]
call fcn.0046d3c0
jmp 0x408036
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
call fcn.0046ec40
test al, al
jne 0x407df6
push str._nN_OQ
jmp 0x407d71
lea ecx, [esp + 0x30]
call fcn.0046d3c0
push 0x1fe
lea eax, [esp + 0x82]
push ebp
push eax
mov word [esp + 0x88], bp
call fcn.004498f0
add esp, 0xc
lea esi, [esp + 0x50]
call fcn.0041de50
mov ecx, esi
mov byte [esp + 0x288], 3
call fcn.00468ae0
mov esi, eax
call fcn.0041a5b0
push eax
push esi
push str.http:__ping.pinyin.sogou.com_urlguide.php_h_sr_su
lea ecx, [esp + 0x88]
push 0x100
push ecx
call fcn.00446633
add esp, 0x14
push ebp
push ebp
push ebp
push ebp
push str.SOGOU_UPDATER
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
cmp edi, ebp
je 0x407ec0
lea ecx, [esp + 0x40]
call fcn.0046aeb0
push 0x3a8
push ebp
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x298], 4
call fcn.0046b570
test al, al
jne 0x407ece
push 0x482d88
lea ecx, [esp + 0x18]
call fcn.0046c2f0
mov ecx, eax
call fcn.0046c360
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x40]
call fcn.0046ae60
lea ecx, [esp + 0x50]
call fcn.00468c30
jmp 0x407ce5
push ebp
lea ecx, [esp + 0x44]
call fcn.0046b060
mov ebx, eax
cmp ebx, ebp
je 0x407ffe
mov ebp, dword [sym.imp.WININET.dll_InternetSetOptionW]
jmp 0x407ef0
xor esi, esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], esi
mov word [esp + 0x64], si
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x407f10
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x80]
push ecx
lea esi, [esp + 0x68]
call fcn.00401fa0
mov eax, ebx
mov byte [esp + 0x288], 5
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407f40
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x68]
call fcn.00401ed0
push 4
lea edx, [esp + 0x20]
push edx
push 5
push edi
mov dword [esp + 0x2c], 0x4e20
call ebp
push 4
lea eax, [esp + 0x20]
push eax
push 7
push edi
call ebp
push 4
lea ecx, [esp + 0x20]
push ecx
push 2
push edi
call ebp
push 4
lea edx, [esp + 0x20]
push edx
push 6
push edi
call ebp
push 4
lea eax, [esp + 0x20]
push eax
mov esi, 8
push esi
push edi
call ebp
cmp dword [esp + 0x78], esi
mov eax, dword [esp + 0x64]
jae 0x407fb0
lea eax, [esp + 0x64]
push 0
push 0x84000000
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
test eax, eax
je 0x407fce
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + 0x288], 4
cmp dword [esp + 0x78], esi
jb 0x407fe9
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00445f7c
add esp, 4
push 0
lea ecx, [esp + 0x44]
call fcn.0046b060
mov ebx, eax
test ebx, ebx
jne 0x407ef0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c]
call fcn.0046e300
test al, al
jne 0x40801d
lea ecx, [esp + 0x14]
call fcn.0046c290
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x40]
call fcn.0046ae60
lea ecx, [esp + 0x50]
call fcn.00468c30
lea ecx, [esp + 0x20]
call fcn.0046d3c0
lea ecx, [esp + 0x14]
call fcn.0046beb0
mov al, 1
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0044610a
add esp, 0x278
ret