Function at 0x5be7b4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x5be7bc
xor eax, eax
push ebp
push 0x5becbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
call fcn.00650b04
cmp al, 1
je 0x5be7f2
call fcn.0064aed4
jmp 0x5beca2
mov byte [0xacd48c], 0x5e
mov byte [0xacd48d], 0xa
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
call fcn.0064fee4
mov byte [ebp - 2], 1
xor eax, eax
mov dword [ebp - 8], eax
cmp byte [ebp - 2], 0
je 0x5be82c
mov eax, dword [ebp - 8]
cmp byte [eax + 0xacd4bd], 0
jne 0x5be830
xor eax, eax
jmp 0x5be832
mov al, 1
mov byte [ebp - 2], al
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x10
jne 0x5be81a
cmp byte [ebp - 2], 0
jne 0x5be85a
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5becd4
call fcn.0052fa8c
jmp 0x5beca2
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea ecx, [ebp - 0x2c]
mov eax, 0xacd506
mov edx, 8
call fcn.0049b85c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x5bed10
call fcn.00404e00
mov edx, dword [ebp - 0x28]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
lea ecx, [ebp - 0x34]
mov eax, 0xacd4f2
mov edx, 0x14
call fcn.0049b85c
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x5bed28
call fcn.00404e00
mov edx, dword [ebp - 0x30]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
lea ecx, [ebp - 0x3c]
mov eax, 0xacd4bd
mov edx, 0x10
call fcn.0049b85c
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x5bed40
call fcn.00404e00
mov edx, dword [ebp - 0x38]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
lea ecx, [ebp - 0x44]
mov eax, 0xacd50e
mov edx, 0x14
call fcn.0049b85c
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x5bed58
call fcn.00404e00
mov edx, dword [ebp - 0x40]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x6694f4]
cmp byte [eax], 0
jne 0x5bea9a
mov eax, dword [0x669d70]
cmp dword [eax], 0
je 0x5bea9a
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x464]
mov edx, dword [eax]
call dword [edx + 0xc8]
cmp al, 1
jne 0x5bea9a
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5bed70
call fcn.0052fa8c
mov eax, dword [0x66a180]
mov eax, dword [eax]
add eax, 0x14
mov ax, word [eax]
xchg al, ah
movzx eax, ax
mov dword [ebp - 0x18], eax
shl dword [ebp - 0x18], 0x10
mov eax, dword [0x66a180]
mov eax, dword [eax]
add eax, 0x12
mov ax, word [eax]
xchg al, ah
movzx eax, ax
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.0058a0bc
mov dword [ebp - 0xc], eax
push 0x5bed94
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.0040a40c
push dword [ebp - 0x4c]
push 0x5bedb0
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00404e74
mov edx, dword [ebp - 0x48]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
cmp dword [ebp - 0xc], 0x40
jne 0x5bea04
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
jmp 0x5bea9a
mov byte [ebp - 0x19], 0
mov eax, dword [0x669d70]
mov eax, dword [eax]
call fcn.00599820
test al, al
jne 0x5bea43
mov eax, dword [0x669d70]
mov eax, dword [eax]
call fcn.006439c8
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 1
jne 0x5bea9a
mov eax, dword [0x669d70]
mov edx, 0x5bedbc
call fcn.00404dbc
mov eax, dword [0x669d70]
jmp 0x5bea9a
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
lea edx, [ebp - 0x54]
mov eax, dword [0x669d70]
mov eax, dword [eax]
call fcn.0040af40
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 0x5bedcc
call fcn.00404e00
mov edx, dword [ebp - 0x50]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5bedf0
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x440]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
jne 0x5beb14
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44c]
mov edx, dword [eax]
call dword [edx + 0xc8]
cmp al, 1
jne 0x5beb14
call fcn.0058a2d4
test al, al
jne 0x5beb14
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5bee2c
call fcn.0052fa8c
lea edx, [ebp - 0x58]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0053255c
mov eax, dword [0x66a00c]
mov eax, dword [eax]
xor edx, edx
call fcn.0052fa8c
jmp 0x5beca2
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
call fcn.006427cc
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
mov dl, 1
mov eax, dword [0x41ab08]
call fcn.00403c64
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 2]
push eax
push 0
mov eax, dword [0x66a098]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, 0x5bee6c
call fcn.005bc998
cmp byte [ebp - 2], 0
jne 0x5beb8d
mov eax, dword [ebp - 0x14]
call fcn.00403c94
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5bee7c
call fcn.0052fa8c
lea edx, [ebp - 0x5c]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0053255c
jmp 0x5beca2
mov eax, dword [ebp - 0x14]
call fcn.005be264
test al, al
jne 0x5bebda
mov eax, dword [ebp - 0x14]
call fcn.00403c94
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004d0ab8
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5beeac
call fcn.0052fa8c
lea edx, [ebp - 0x60]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0053255c
jmp 0x5beca2
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5beed0
call fcn.0052fa8c
mov eax, dword [ebp - 0x14]
call fcn.00403c94
xor eax, eax
mov dword [ebp - 8], eax
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
inc dword [ebp - 8]
call fcn.00650ae4
test al, al
je 0x5bec29
cmp dword [ebp - 8], 0xc8
je 0x5bec29
call fcn.00650b04
cmp al, 2
jne 0x5bebf8
cmp dword [ebp - 8], 0xc8
jne 0x5bec49
mov byte [ebp - 2], 0
mov eax, dword [0x66a00c]
mov eax, dword [eax]
mov edx, 0x5bef08
call fcn.0052fa8c
jmp 0x5beca2
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
call fcn.006427e0
lea edx, [ebp - 0x68]
mov eax, dword [0x669958]
mov eax, dword [eax]
call fcn.00642808
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x5bef4c
call fcn.00404e00
mov edx, dword [ebp - 0x64]
mov eax, dword [0x66a00c]
mov eax, dword [eax]
call fcn.0052fa8c
mov eax, dword [0x669b48]
mov eax, dword [eax]
call fcn.00498e74
call fcn.005bf410
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5becc4
lea eax, [ebp - 0x68]
mov edx, 0x13
call fcn.00404b08
ret