Function at 0x487b10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x504b88]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
push edi
push edi
push edi
push edi
push str.Mozilla_4.0_compatible_MSIE9.0_WindowsNT6.1_LinLauncher_
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x210], eax
call dword [0x4c0474]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x487dcc
push edi
push edi
push edi
push edi
push ebx
push eax
call dword [0x4c0470]
mov ebx, eax
test ebx, ebx
je 0x487dc0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x228], 4
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x224], edi
push eax
lea eax, [ebp - 0x218]
push eax
push 0x20000013
push ebx
call dword [0x4c046c]
test eax, eax
je 0x487db9
cmp dword [ebp - 0x218], 0xc8
jne 0x487db9
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x20000005
push ebx
call dword [0x4c046c]
test eax, eax
je 0x487db9
mov ecx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x218]
push edi
mov dword [ecx], eax
mov ecx, dword [esi + 0x504]
call fcn.0044f129
mov ecx, dword [esi + 0x504]
push 0x64
call fcn.0044f110
push dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push 0x4f9668
push eax
call fcn.0048d190
mov ecx, dword [esi + 0x504]
lea edx, [ebp - 0x20c]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
test eax, eax
je 0x487db9
push eax
call fcn.00498090
mov edi, eax
add esp, 4
test edi, edi
je 0x487db9
call dword [0x4c0294]
mov dword [ebp - 0x214], eax
xor esi, esi
nop
lea eax, [ebp - 0x22c]
push eax
push 0x800
lea ecx, [esi + edi]
push ecx
push ebx
call dword [0x4c04a0]
test eax, eax
je 0x487d63
add esi, dword [ebp - 0x22c]
call dword [0x4c0294]
sub eax, dword [ebp - 0x214]
cmp eax, 0x64
jbe 0x487d54
imul eax, esi, 0x64
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4fa9e0]
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4fa9e0]
lea eax, [ebp - 0x20c]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x214], xmm1
movsd qword [esp], xmm0
push dword [ebp - 0x21c]
push 0x4f9694
push eax
call fcn.0048d190
cvttss2si eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x220]
add esp, 0x14
mov ecx, dword [ecx + 0x504]
push eax
call fcn.0044f129
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [eax + 0x504]
mov eax, dword [ecx]
call dword [eax + 0x2c]
call dword [0x4c0294]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x22c], 0
jne 0x487c70
jmp 0x487d7a
mov eax, dword [ebp - 0x210]
push edi
mov dword [eax], 0
call fcn.00498099
add esp, 4
xor edi, edi
push dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push str.ck_W_vN_t
push eax
call fcn.0048d190
mov esi, dword [ebp - 0x220]
add esp, 0xc
mov ecx, dword [esi + 0x504]
push 0x64
call fcn.0044f129
mov ecx, dword [esi + 0x504]
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push ebx
call dword [0x4c0478]
push dword [ebp - 0x230]
call dword [0x4c0478]
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00498041
mov esp, ebp
pop ebp
ret 0xc