Function at 0x52f08c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x4c
call fcn.0059e722
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 4]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0xc8
jg 0x52f43f
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x52f0fb
push 0x35
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f118
push 0x35
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x48]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x52f149
push 0x35
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f166
push 0x35
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
push 0x6f5d0e
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.004040a7
add esp, 8
cmp eax, 0
je 0x52f438
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x52f1b8
push 0x7f
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f1d5
push 0x7f
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x48]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x52f206
push 0x7f
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f223
push 0x7f
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc], ebx
push dword [ebp - 0xc]
call fcn.00494537
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x52f25d
push 0xb8
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f27a
push 0xb8
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x48]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x52f2ab
push 0xb8
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f2c8
push 0xb8
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 0
je 0x52f438
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x52f30b
push 0xfc
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f328
push 0xfc
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x48]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x52f359
push 0xfc
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f376
push 0xfc
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x52f3ad
push 0xfc
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f3ca
push 0xfc
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x48]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x52f3fb
push 0xfc
push 0x405495b
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x52f418
push 0xfc
push 0x405495b
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
lea eax, [ebp - 8]
push eax
call fcn.00494833
pop ebx
pop ecx
jmp 0x52f0c0
add esp, 8
mov eax, dword [ebp - 8]
push eax
push 0x4c
call fcn.0059e722
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x52f45b
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.0059e734
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4