Function at 0x49d290
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f030e
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov dword [esp + 0x40], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc8]
mov eax, dword [eax + 0xc]
movsd xmm1, qword [ebx + 0x40]
movsd xmm0, qword [ebx + 0x48]
subsd xmm0, xmm1
movsd qword [esp + 0x44], xmm0
cmp eax, 0xc
jne 0x49d2f0
lea esi, [eax - 0xa]
jmp 0x49d303
mov eax, dword [ebx + 0x14]
lea esi, [eax + 1]
cmp esi, 0x96
jle 0x49d303
mov esi, 0x96
xor edi, edi
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
call fcn.004587b0
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0xac], edi
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], edi
call fcn.00412880
movsd xmm0, qword [ebx + 0x30]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [ebx + 0x38]
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [esp + 0x44]
lea eax, [esi - 1]
cvtsi2sd xmm1, eax
divsd xmm0, xmm1
xor eax, eax
cmp esi, eax
movsd qword [esp + 0x94], xmm0
movsd xmm0, qword [ebx + 0x40]
movsd qword [esp + 0x4c], xmm0
xorps xmm0, xmm0
mov byte [esp + 0xa8], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
movsd qword [esp + 0x74], xmm0
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0x64], xmm0
movsd qword [esp + 0x8c], xmm0
movsd qword [esp + 0x84], xmm0
movsd qword [esp + 0x7c], xmm0
mov dword [esp + 0x24], eax
jle 0x49d4f9
mov edx, dword [ebx]
mov edx, dword [edx + 0x90]
push 0
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
mov esi, eax
xor ecx, ecx
cmp esi, ecx
je 0x49d4b6
mov eax, dword [esi + 0xc]
cmp eax, 0x13
jne 0x49d401
mov eax, dword [esp + 0x28]
mov dword [eax + edi*4], esi
mov dword [esp + 0x18], ecx
jmp 0x49d4a6
cmp eax, 0xe
jne 0x49d460
movq xmm0, qword [esi + 0x100]
movsd qword [esp + 0x7c], xmm0
movq xmm1, qword [esi + 0x108]
movsd qword [esp + 0x84], xmm1
movq xmm2, qword [esi + 0x110]
movsd qword [esp + 0x8c], xmm2
cmp edi, ecx
jne 0x49d456
lea ecx, [esp + 0x64]
movq qword [esp + 0x64], xmm0
movq qword [esp + 0x6c], xmm1
movq qword [esp + 0x74], xmm2
mov dword [esp + 0x20], ecx
jmp 0x49d464
lea edx, [esp + 0x7c]
mov dword [esp + 0x18], edx
jmp 0x49d464
mov dword [esp + 0x18], ecx
push 0xe0
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov byte [esp + 0xa8], 2
test eax, eax
je 0x49d48b
push esi
mov ecx, eax
call fcn.005162a0
jmp 0x49d48d
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword [ecx + edi*4], eax
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
mov byte [esp + 0xac], 1
call eax
mov ecx, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x4c]
movsd qword [ecx + edi*8], xmm0
inc edi
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x4c]
mov eax, dword [esp + 0x24]
addsd xmm0, qword [esp + 0x94]
add ecx, 0xfffffffe
movsd qword [esp + 0x4c], xmm0
cmp eax, ecx
jne 0x49d4e5
movsd xmm0, qword [ebx + 0x48]
movsd qword [esp + 0x4c], xmm0
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jl 0x49d3ca
cmp edi, 2
jge 0x49d555
xor esi, esi
test edi, edi
jle 0x49d519
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + esi*4]
test ecx, ecx
je 0x49d512
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, edi
jl 0x49d4ff
jmp 0x49d51d
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.MSVCR90.dll_free]
test eax, eax
je 0x49d531
push eax
call esi
add esp, 4
test ebx, ebx
je 0x49d53b
push ebx
call esi
add esp, 4
xor al, al
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp edi, 3
jl 0x49d562
cmp edi, 0x190
jl 0x49d568
xor eax, eax
xor ecx, ecx
jmp 0x49d570
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
push 0
push 0
push edx
push eax
xor eax, eax
cmp edi, 2
setg al
push ecx
mov ecx, dword [esp + 0x54]
push ebx
add eax, 2
push eax
push edi
call fcn.004960a0
xor esi, esi
mov byte [esp + 0x17], al
test edi, edi
jle 0x49d5b4
mov ecx, dword [ebx + esi*4]
test ecx, ecx
je 0x49d5af
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, edi
jl 0x49d5a0
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.MSVCR90.dll_free]
test eax, eax
je 0x49d5c8
push eax
call esi
add esp, 4
test ebx, ebx
je 0x49d5d2
push ebx
call esi
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4