Function at 0x41fc00
Capabilities:
Connect to http server

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42ea60
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x78], ebx
je 0x41fdef
cmp dword [esi + 0x7c], ebx
jne 0x41fdef
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0xb0]
lea ecx, [esp + 0x10]
push 0x20000000
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_AfxParseURLEx
test eax, eax
je 0x41fdb5
cmp dword [esp + 0x18], 3
jne 0x41fdb5
lea eax, [esp + 0xc]
lea ecx, [esi + 0x58]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0x5c]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push esi
push ebx
mov eax, dword [ecx - 8]
push 3
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [edx - 8]
neg ecx
sbb ecx, ecx
push eax
mov eax, dword [esp + 0x18]
and ecx, edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 0x7c], eax
jne 0x41fd97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x41fd16
push eax
push ebx
call sub.MFC42.DLL_AfxThrowInternetException
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, esi
call fcn.00421830
test eax, eax
je 0x41fd78
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x11c]
cmp eax, ecx
jne 0x41fda9
mov eax, dword [esi + 0x114]
cmp eax, ebx
je 0x41fd97
push eax
push ebx
call sub.MFC42.DLL_AfxThrowInternetException
mov ecx, dword [esi + 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [esi + 0x7c], ebx
jne 0x41fe05
push 0x440080
mov ecx, esi
call fcn.0040b830
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop esi
mov eax, 2
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret