Function at 0x5c8988
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002bdc4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push esi
push edi
lea edi, [ebp - 0x25c]
mov ecx, 0x94
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.005b2e48
mov dword [ebp - 4], 0
push 0x1002dc40
lea ecx, [ebp - 0x50]
call fcn.005b2e48
mov byte [ebp - 4], 1
mov esi, esp
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.005b1948
push eax
call dword [0x1002d1cc]
cmp esi, esp
call fcn.005d05ab
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x5c8a48
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.005b1c08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.005b1c08
mov eax, dword [ebp - 0x250]
mov edx, dword [ebp - 0x24c]
jmp 0x5c8daa
lea ecx, [ebp - 0x80]
call fcn.005b5f78
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.005b5f78
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.005c8658
add esp, 0x10
mov word [ebp - 0xbc], 0x50
cmp dword [ebp - 0xb0], 4
jne 0x5c8a9c
mov word [ebp - 0xbc], 0x1bb
mov esi, esp
push 0
push 0
push 3
push 0
push 0
mov ax, word [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x80]
call fcn.005b1948
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [0x1002d1d0]
cmp esi, esp
call fcn.005d05ab
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x5c8b34
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.005b1c08
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.005b1c08
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.005b1c08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.005b1c08
mov eax, dword [ebp - 0x240]
mov edx, dword [ebp - 0x23c]
jmp 0x5c8daa
mov esi, esp
push 0
push 0x84200000
push 0
push 0
push 0
lea ecx, [ebp - 0xa4]
call fcn.005b1948
push eax
push 0x1002dc38
mov eax, dword [ebp - 0xc8]
push eax
call dword [0x1002d1d4]
cmp esi, esp
call fcn.005d05ab
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x5c8bd2
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.005b1c08
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.005b1c08
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.005b1c08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.005b1c08
mov eax, dword [ebp - 0x230]
mov edx, dword [ebp - 0x22c]
jmp 0x5c8daa
mov esi, esp
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.005cef05
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
call dword [0x1002d1d8]
cmp esi, esp
call fcn.005d05ab
push 0x16
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.005c8808
add esp, 0xc
mov byte [ebp - 4], 4
push 0x13
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.005c8808
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11c]
call fcn.005b18a8
test eax, eax
je 0x5c8c5d
lea ecx, [ebp - 0x11c]
call fcn.005b1948
push eax
call fcn.005d0687
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0xc8
jne 0x5c8cfa
push 5
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.005c8808
add esp, 0xc
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.005bb5e8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x220]
call fcn.005b1c08
lea ecx, [ebp - 0x11c]
call fcn.005b18a8
test eax, eax
je 0x5c8cfa
lea ecx, [ebp - 0x11c]
call fcn.005b1948
push eax
call fcn.005d068c
add esp, 4
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
cmp dword [ebp - 0xc8], 0
je 0x5c8d19
mov esi, esp
mov eax, dword [ebp - 0xc8]
push eax
call dword [0x1002d1dc]
cmp esi, esp
call fcn.005d05ab
cmp dword [ebp - 0x5c], 0
je 0x5c8d32
mov esi, esp
mov eax, dword [ebp - 0x5c]
push eax
call dword [0x1002d1dc]
cmp esi, esp
call fcn.005d05ab
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.005b1c08
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
call fcn.005b1c08
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.005b1c08
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.005b1c08
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.005b1c08
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.005b1c08
mov eax, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x1f8]
push edx
mov ecx, ebp
push eax
lea edx, [0x10018924]
call fcn.005d05ce
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x25c
cmp ebp, esp
call fcn.005d05ab
mov esp, ebp
pop ebp
ret