Function at 0x10013bca
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push esi
push edi
lea eax, [ebp - 0x1ac]
push eax
push 0xe2
push 0xe
push 0x5e2
push 0x1001cf48
call fcn.10011fd8
add esp, 0x14
xor esi, esi
xor eax, eax
mov word [ebp - 0xca], ax
lea eax, [ebp - 0x1ac]
push esi
push esi
push esi
push esi
push eax
call dword [0x1001cc94]
mov edi, eax
xor eax, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x10013dea
mov word [ebp - 0x30], ax
xor ecx, ecx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x3c
push eax
push esi
push esi
push dword [ebp + 8]
inc ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [0x1001cdcc]
test eax, eax
jne 0x10013c76
push edi
call dword [0x1001cc9c]
xor eax, eax
jmp 0x10013dea
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 0x34]
push ebx
push esi
mov word [ecx + eax*2], dx
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push edi
call dword [0x1001ced8]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x10013c9d
push edi
jmp 0x10013cfe
mov eax, dword [ebp - 0x1c]
cmp word [eax], si
jne 0x10013cab
push 0x2f
pop ecx
mov word [eax], cx
lea eax, [ebp - 0x54]
push eax
push 8
push 0xd
push 0x236
push 0x1001cf48
call fcn.10011fd8
add esp, 0x14
xor eax, eax
cmp dword [ebp - 0x3c], 2
mov ecx, 0x800000
mov word [ebp - 0x4c], ax
cmove eax, ecx
or eax, 0x100
push eax
push esi
push esi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x54]
push eax
push ebx
call dword [0x1001ce7c]
mov ebx, eax
test ebx, ebx
jne 0x10013d0b
push edi
call dword [0x1001cc9c]
push dword [ebp - 0xc]
call dword [0x1001cc9c]
xor eax, eax
jmp 0x10013de9
lea eax, [ebp - 0xc8]
mov edi, esi
push eax
push 0x72
push 9
push 0x2cd
push 0x1001cf48
call fcn.10011fd8
add esp, 0x14
xor eax, eax
mov word [ebp - 0x56], ax
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0xc8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
push ebx
call dword [0x1001ce64]
test eax, eax
jne 0x10013d7c
call fcn.1001175d
cmp eax, 0x2f8f
jne 0x10013d78
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x13300
push eax
push 0x1f
push ebx
call dword [0x1001cd74]
test eax, eax
push 1
pop eax
cmovne edi, eax
test edi, edi
jne 0x10013d30
mov eax, dword [ebp + 0x18]
push esi
push ebx
mov dword [eax], esi
call dword [0x1001ccf0]
mov edi, dword [ebp - 8]
test eax, eax
je 0x10013dd0
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push esi
push 0x20000013
push ebx
call dword [0x1001ce5c]
mov ecx, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov dword [ecx], eax
cmp eax, 0xc8
jne 0x10013dd0
push dword [ebp + 0x14]
push ebx
call fcn.10013ae3
pop ecx
pop ecx
mov esi, eax
push edi
call dword [0x1001cc9c]
push dword [ebp - 0xc]
call dword [0x1001cc9c]
push ebx
call dword [0x1001cc9c]
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret