Function at 0x45b510
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64947a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x400
mov dword [eax], esi
call fcn.00643b70
add esp, 4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push 0x400
push 0x400
push eax
call fcn.00644644
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 1
call fcn.00643d62
mov bl, 2
push 0x14
mov byte [ebp - 4], bl
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x28], 4
call fcn.00643b70
add esp, 4
mov dword [ebp - 0x2c], eax
cmp eax, esi
mov byte [ebp - 4], 3
je 0x45b5ad
push esi
push esi
push esi
push esi
push 1
push 0x69cc68
mov ecx, eax
call fcn.0064463e
mov ecx, eax
jmp 0x45b5af
xor ecx, ecx
mov edi, dword [ebp + 8]
push esi
push esi
push 0x84000001
push 1
push edi
mov byte [ebp - 4], bl
mov dword [ebp - 0x20], ecx
call fcn.00644638
xor ebx, ebx
lea ecx, [ebp - 0x28]
push ebx
lea edx, [ebp - 0x18]
mov esi, eax
push ecx
push edx
push 0x20000013
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.00644632
mov eax, dword [ebp - 0x18]
cmp eax, 0x197
je 0x45b5f4
cmp eax, 0x191
jne 0x45b60e
push ebx
push 6
push 0x2eee
push ebx
mov ecx, esi
call fcn.0064462c
cmp eax, 0x2f00
je 0x45b682
mov eax, dword [ebp - 0x18]
cmp eax, 0xc8
jb 0x45b67d
cmp eax, 0x12c
jae 0x45b67d
lea eax, [ebp - 0x24]
push ebx
push eax
push 5
mov ecx, esi
call fcn.00644626
mov ecx, dword [ebp - 0x24]
push ecx
call dword [fcn.0065f1e0]
mov edx, dword [ebp + 0x10]
add esp, 4
mov ecx, esi
mov dword [edx], eax
lea eax, [ebp + 8]
push eax
call fcn.00644620
cmp dword [ebp + 8], 0xc8
jne 0x45b6d8
mov edx, dword [esi]
lea eax, [ebp - 0x458]
push 0x400
push eax
mov ecx, esi
call dword [edx + 0x3c]
cmp eax, ebx
jbe 0x45b6d8
lea ecx, [ebp - 0x458]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0064461a
jmp 0x45b654
mov dword [ebp - 0x14], ebx
jmp 0x45b6d8
mov ecx, dword [ebp - 0x20]
push ebx
push ebx
push 0x84000001
push 1
push edi
call fcn.00644638
lea ecx, [ebp - 0x18]
mov esi, eax
push ecx
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.00644620
jmp 0x45b5e3
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.00644584
lea ecx, [ebp - 0x58]
mov edi, eax
call fcn.0064460e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x45b717
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
cmp edi, ecx
jne 0x45b710
test edi, edi
je 0x45b710
test ecx, ecx
je 0x45b710
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
jmp 0x45b717
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
jne 0x45b72c
test eax, eax
je 0x45b72c
push eax
call fcn.00643cfc
add esp, 4
test esi, esi
je 0x45b740
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x45b757
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00643d26
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00644608
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret