Function at 0x41d4d0
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x428
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [esp + 0x42c]
push ebx
mov ebx, dword [esp + 0x434]
push ebp
push esi
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
push edi
mov edi, dword [esp + 0x444]
mov esi, edx
mov edx, dword [eax]
push edx
add eax, 4
push 0
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1f], 0
call fcn.004498f0
mov eax, dword [ebx]
add esp, 0xc
push 4
push eax
call fcn.00446944
mov dword [ebx], eax
add esp, 8
test edi, edi
mov dword [eax], 0
mov dword [esi], 0
jne 0x41d54d
call fcn.0041d2a0
mov dword [esp + 0x20], eax
mov edi, eax
push 0
push 0
push 0
push 0
push str.SOGOU_UPDATER
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
test ebp, ebp
jne 0x41d5b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x4839b4
call fcn.0041d190
mov ecx, dword [esp + 0x1c]
push esi
push str.InetOpen
call fcn.0046c2f0
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.0046c380
xor al, al
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044610a
add esp, 0x428
ret
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 5
push ebp
mov dword [esp + 0x28], 0x4e20
call edi
push 4
lea edx, [esp + 0x1c]
push edx
push 7
push ebp
call edi
push 4
lea eax, [esp + 0x1c]
push eax
push 2
push ebp
call edi
push 4
lea ecx, [esp + 0x1c]
push ecx
push 6
push ebp
call edi
push 4
lea edx, [esp + 0x1c]
push edx
push 8
push ebp
call edi
mov eax, dword [esp + 0x14]
push 0
push 0x84000000
push 0
push 0
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
jne 0x41d644
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
push eax
push str.InternetOpenUrl
call fcn.0046c2f0
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.0046c380
jmp 0x41d750
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
push 0x20000013
push edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41d718
cmp dword [esp + 0x28], 0xc8
jne 0x41d718
mov dword [esp + 0x24], 0
lea ebx, [ebx]
push 0x3ff
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.004498f0
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push 0x400
lea edx, [esp + 0x38]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41d6f9
mov eax, dword [esp + 0x24]
test eax, eax
jbe 0x41d6f2
mov ecx, dword [esi]
push ecx
mov edi, eax
call fcn.00413d90
push edi
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.00449580
mov eax, dword [esp + 0x30]
add dword [esi], eax
mov edi, dword [esp + 0x20]
add esp, 0xc
test eax, eax
ja 0x41d690
mov byte [esp + 0x13], 1
jmp 0x41d750
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x20]
mov esi, eax
push esi
push str.InetRFile
call fcn.0041d190
push esi
push 0x483b64
jmp 0x41d735
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x20]
mov esi, eax
push esi
push str.HttpQInfoUnkn
call fcn.0041d190
push esi
push str.HttpQInfoFail
mov ecx, dword [esp + 0x24]
call fcn.0046c2f0
mov ecx, eax
call fcn.0046c360
mov ecx, eax
call fcn.0046c380
mov edi, dword [esp + 0x14]
test edi, edi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x41d75d
push edi
call esi
push ebp
call esi
cmp byte [esp + 0x13], 0
je 0x41d596
mov al, 1
jmp 0x41d598