Function at 0x461c70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x1c], 0
je 0x461cdd
cmp dword [ebp + 0x10], 0
je 0x461c92
mov dword [ebp - 0x34], 0x530630
jmp 0x461c99
mov dword [ebp - 0x34], 0x530638
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004bb673
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 0
je 0x461cc9
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c076d
add esp, 0xc
mov dword [ebp - 0x38], eax
jmp 0x461cd0
mov dword [ebp - 0x38], 1
cmp dword [ebp - 0xc], 0
jne 0x461cdd
xor eax, eax
jmp 0x461f11
mov dword [ebp - 8], 4
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push 0x530640
call dword [0x52d6d8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x461f0f
push 0
push 0x84000002
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [0x52d6d4]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x461d3e
mov eax, dword [ebp - 4]
push eax
call dword [0x52d6f4]
xor eax, eax
jmp 0x461f11
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x24]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x52d6ec]
test eax, eax
jne 0x461d64
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xc8
je 0x461d7e
mov edx, dword [ebp - 4]
push edx
call dword [0x52d6f4]
xor eax, eax
jmp 0x461f11
cmp dword [ebp + 0x14], 0
je 0x461d8c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x461db2
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x20000005
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x52d6ec]
test eax, eax
jne 0x461db2
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x461dcc
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [0x52d6d0]
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
call fcn.004828fb
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004ba280
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x461e07
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
cmp dword [ebp + 0x10], 0
je 0x461e1c
cmp dword [ebp + 0x14], 0
jne 0x461e1c
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
call dword [0x52d26c]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x18]
cmp edx, 0x400
jb 0x461e50
mov dword [ebp - 0x3c], 0x400
jmp 0x461e59
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x52d6f0]
cmp dword [ebp - 0xc], 0
je 0x461e9c
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004bb52b
add esp, 0x10
mov dword [ebp - 0x40], eax
jmp 0x461ea3
mov dword [ebp - 0x40], 1
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 0
ja 0x461e2a
cmp dword [ebp - 0xc], 0
je 0x461ed4
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c0f92
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call int.004bb34d
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [0x52d6f4]
mov eax, dword [ebp - 4]
push eax
call dword [0x52d6f4]
cmp dword [ebp + 0xc], 0
jne 0x461f00
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.004b9d83
add esp, 4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, 1
jmp 0x461f11
xor eax, eax
mov esp, ebp
pop ebp
ret