Function at 0x4c93a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc4df
mov eax, dword fs:[0]
push eax
mov eax, 0x1140
call fcn.0042bac0
mov eax, dword [0x506380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
xor ecx, ecx
mov word [ebp - 0x1014], cx
push 0xffe
push 0
lea edx, [ebp - 0x1012]
push edx
call fcn.0041de10
add esp, 0xc
mov dword [ebp - 0x1140], 0x1000
push 0
lea eax, [ebp - 0x1140]
push eax
lea ecx, [ebp - 0x1014]
push ecx
push 0x21
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4c943a
mov eax, dword [ebp + 0x1c]
mov dword [eax], 5
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 1
xor al, al
jmp 0x4c962e
mov edx, dword [ebp - 0x1140]
shr edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x1014], ax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x113c]
call fcn.004d30f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.004d2d70
push eax
lea edx, [ebp - 0x1014]
push edx
lea eax, [ebp - 0x113c]
push eax
call fcn.004d0c80
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x4c94c4
mov edx, dword [ebp + 0x1c]
mov dword [edx], 7
mov eax, dword [ebp + 0x20]
mov dword [eax], 2
mov byte [ebp - 0x1145], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x113c]
call fcn.004d2f20
mov al, byte [ebp - 0x1145]
jmp 0x4c962e
lea ecx, [ebp - 0x113c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004d3690
push 0
mov edx, dword [ebp + 0x14]
or edx, 0x200000
push edx
push 0
push 0
lea ecx, [ebp - 0x113c]
call fcn.004d2d70
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x4c9538
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], 8
mov edx, dword [ebp + 0x20]
mov dword [edx], 3
mov byte [ebp - 0x1146], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x113c]
call fcn.004d2f20
mov al, byte [ebp - 0x1146]
jmp 0x4c962e
mov dword [ebp - 0x1144], 4
push 0
lea eax, [ebp - 0x1144]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0x20000013
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4c9598
mov eax, dword [ebp + 0x1c]
mov dword [eax], 6
mov ecx, dword [ebp + 0x20]
mov dword [ecx], 4
mov byte [ebp - 0x1147], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x113c]
call fcn.004d2f20
mov al, byte [ebp - 0x1147]
jmp 0x4c962e
mov edx, dword [ebp + 0x18]
cmp dword [edx], 0xc8
jne 0x4c95cf
mov eax, dword [ebp + 0x20]
mov dword [eax], 5
mov byte [ebp - 0x1148], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x113c]
call fcn.004d2f20
mov al, byte [ebp - 0x1148]
jmp 0x4c962e
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0x12c
jb 0x4c9606
mov edx, dword [ebp + 0x18]
cmp dword [edx], 0x190
jae 0x4c9606
mov byte [ebp - 0x1149], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x113c]
call fcn.004d2f20
mov al, byte [ebp - 0x1149]
jmp 0x4c962e
mov eax, dword [ebp + 0x20]
mov dword [eax], 6
mov byte [ebp - 0x114a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x113c]
call fcn.004d2f20
mov al, byte [ebp - 0x114a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a0cf
mov esp, ebp
pop ebp
ret