Function at 0x425c80
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a00b
mov eax, dword fs:[0]
push eax
mov eax, 0x1828
call fcn.00457a70
push ebx
push esi
push edi
mov eax, dword [0x4b4970]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov word [ebp - 0x1834], ax
lea eax, [ebp - 0x1834]
push eax
mov edi, str.CHttpTask::OpenInternetConnection
xor ebx, ebx
push edi
lea ecx, [ebp - 0x15]
mov dword [ebp - 0x834], ebx
call fcn.00422afc
push 0x624
mov dword [ebp - 4], ebx
call fcn.00440b62
pop ecx
cmp dword [esi + 0x2510], ebx
jne 0x425d4c
push str.m_hInetSession
push 0x626
push edi
lea eax, [ebp - 0x830]
push str.ASSERT_FAILED____s__d_:__s
push eax
call fcn.0041e3bc
mov byte [ebp - 4], 1
push dword [eax]
call fcn.00448434
lea eax, [ebp - 0x828]
add esp, 0x18
cmp dword [ebp - 0x830], eax
je 0x425d31
push dword [ebp - 0x830]
call fcn.0045471c
pop ecx
push 0xfffffffffffffffc
call fcn.0041e0d6
pop ecx
push 4
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
cmp dword [esi + 0x2514], ebx
je 0x425d76
push str.m_hHttpConnect__0
push 0x627
push edi
lea eax, [ebp - 0x830]
push str.ASSERT_FAILED____s__d_:__s
push eax
call fcn.0041e3bc
mov byte [ebp - 4], 2
jmp 0x425d0d
mov edi, 0x4b6d04
push edi
lea ecx, [ebp - 0x14]
call fcn.0041acdf
push edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0041acdf
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0041acdf
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0041acdf
lea eax, [esi + 0x290]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0041c293
lea eax, [esi + 0x392]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041c293
movzx edi, word [esi + 0x2498]
lea eax, [esi + 0x494]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041c293
lea eax, [esi + 0x1496]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421f76
lea eax, [esi + 0x8e]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041c293
push 0x637
call fcn.00440b62
mov ebx, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
movzx eax, di
push dword [esi + 0x2510]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x830]
push 0x495d00
push eax
call fcn.0041e3bc
push dword [eax]
mov byte [ebp - 4], 7
call fcn.0044841f
lea eax, [ebp - 0x828]
add esp, 0x24
mov byte [ebp - 4], 6
cmp dword [ebp - 0x830], eax
je 0x425e5c
push dword [ebp - 0x830]
call fcn.0045471c
pop ecx
mov eax, dword [ebx - 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 0xc]
push esi
neg eax
sbb eax, eax
push SysReAllocString
and eax, ebx
push 3
neg ecx
push eax
sbb ecx, ecx
and ecx, edx
push ecx
push edi
push dword [ebp - 0x10]
push dword [esi + 0x2510]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x2514], eax
test eax, eax
jne 0x426007
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x425f28
push 0x648
call fcn.00440b62
push edi
lea eax, [ebp - 0x830]
push str.InternetConnect
push eax
call fcn.0041e3bc
push dword [eax]
mov byte [ebp - 4], 8
call fcn.0044841f
add esp, 0x14
lea eax, [ebp - 0x828]
cmp dword [ebp - 0x830], eax
je 0x425eed
push dword [ebp - 0x830]
call fcn.0045471c
pop ecx
push 4
mov ecx, dword [ebp - 0x10]
pop esi
add ecx, 0xfffffff0
call fcn.0041a963
lea ecx, [ebx - 0x10]
call fcn.0041a963
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0041a963
push 0xfffffffffffffffc
call fcn.0041e0d6
pop ecx
mov eax, esi
jmp 0x425d3c
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0042b8ff
xor edi, edi
cmp dword [ebp - 0x28], edi
je 0x425f8c
push 0x654
call fcn.00440b62
lea eax, [ebp - 0x830]
mov dword [esp], 0x495cb0
push eax
call fcn.0041e3bc
push dword [eax]
mov byte [ebp - 4], 9
call fcn.0044841f
lea eax, [ebp - 0x828]
add esp, 0xc
cmp dword [ebp - 0x830], eax
je 0x425f85
push dword [ebp - 0x830]
call fcn.0045471c
pop ecx
push 7
jmp 0x425eef
mov eax, dword [esi + 0x2524]
cmp dword [ebp - 0x24], eax
jne 0x425f9f
cmp dword [esi + 0x2530], edi
je 0x425fd2
push str.hEvt__m_hEvtHandleCreated__m_dwError__0L
push 0x659
push str.CHttpTask::OpenInternetConnection
lea eax, [ebp - 0x830]
push str.ASSERT_FAILED____s__d_:__s
push eax
call fcn.0041e3bc
mov byte [ebp - 4], 0xa
push dword [eax]
call fcn.00448434
add esp, 0x18
jmp 0x425ed3
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [esi + 0x2514], edi
jne 0x426007
push str.m_hHttpConnect
push 0x65d
push str.CHttpTask::OpenInternetConnection
lea eax, [ebp - 0x830]
push str.ASSERT_FAILED____s__d_:__s
push eax
call fcn.0041e3bc
mov byte [ebp - 4], 0xb
jmp 0x425fc3
push 3
jmp 0x425eef