Function at 0x10c5723
Capabilities:
Check http status code

Disassembly:
mov eax, 0x10ca51a
call fcn.010c6ea8
sub esp, 0x1c8
mov eax, dword [0x10cf230]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
lea esi, [ebp - 0x90]
mov dword [ebp - 0x1c4], edx
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], 0x80
mov dword [ebp - 0x9c], edi
cmp edx, edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [ebx], edi
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ebp - 0x1c8], edi
je 0x10c5a42
mov esi, 0x100
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1bc], edi
call fcn.010c4c4c
test eax, eax
je 0x10c5a24
push esi
lea ecx, [ebp - 0xa0]
call fcn.010c49c5
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax]
push edi
lea ecx, [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1b8], eax
call fcn.010c4bb1
push eax
mov eax, dword [ebp - 0x1b8]
push 0x20000013
push dword [ebp - 0x1c4]
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x10c5829
lea ecx, [ebp - 0xa0]
call fcn.010c4bb1
mov ecx, dword [eax]
jmp 0x10c5852
cmp edi, 1
jne 0x10c5a35
cmp dword [ebp - 0x1b4], 4
jne 0x10c5a42
lea ecx, [ebp - 0xa0]
call fcn.010c4bb1
mov edi, dword [eax]
mov ecx, dword [ebp - 0x1bc]
cmp ecx, 0x191
mov eax, 0x197
je 0x10c5867
cmp ecx, eax
jne 0x10c5a35
cmp ecx, eax
mov dword [ebp - 0x1b8], 0x28
jne 0x10c5885
mov dword [ebx], 1
mov dword [ebp - 0x1b8], 0x29
call fcn.010c4828
and dword [ebp - 0x1c0], 0
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x1bc], eax
call fcn.010c4c4c
test eax, eax
je 0x10c5a24
mov ebx, dword [ebp - 0x1d4]
push ebx
lea ecx, [ebp - 0xa0]
call fcn.010c49c5
mov esi, dword [ebp - 0x1c4]
mov edi, dword [esi]
push 0
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x1b4], ebx
call fcn.010c4bb1
push eax
push dword [ebp - 0x1b8]
push esi
call dword [edi + 0x10]
test eax, eax
jne 0x10c59ec
lea ecx, [ebp - 0xa0]
call fcn.010c4bb1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10c5907
sub eax, edx
push eax
lea ecx, [ebp - 0xa0]
call fcn.010c49c5
push 6
push 0x103f394
lea ecx, [ebp - 0xa0]
call fcn.010c4bb1
push eax
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10c5948
mov eax, dword [ebp - 0x1d0]
mov dword [eax], 1
cmp dword [ebp - 0x1bc], 0
jne 0x10c5972
push 0x103f388
lea ecx, [ebp - 0xa0]
call fcn.010c4bb1
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x10c5a10
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c8], 1
call fcn.010c497e
test eax, eax
je 0x10c5a10
push 0x20
lea ecx, [ebp - 0xa0]
call fcn.010c4bb1
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x10c5a10
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [ebp - 0x1b0]
call fcn.010c514f
mov edi, dword [ebp - 0x1b0]
test edi, edi
lea ecx, [ebp - 0x1b0]
jl 0x10c5a2c
push dword [ebp - 0x1cc]
call fcn.010c1995
push eax
call fcn.010c4f68
lea ecx, [ebp - 0x1b0]
mov edi, eax
call fcn.010c4997
test edi, edi
jl 0x10c5a47
jmp 0x10c5a10
cmp eax, 1
jne 0x10c5a07
cmp dword [ebp - 0x1b4], 4
jne 0x10c5a33
lea ecx, [ebp - 0xa0]
call fcn.010c4bb1
mov eax, dword [eax]
cmp eax, 0x8007007a
jne 0x10c5a33
shl ebx, 1
push ebx
lea ecx, [ebp - 0xa0]
call fcn.010c4c4c
test eax, eax
jne 0x10c58b1
mov edi, dword [ebp - 0xa0]
jmp 0x10c5a35
call fcn.010c4997
jmp 0x10c5a35
xor edi, edi
test edi, edi
jl 0x10c5a47
cmp dword [ebp - 0x1c8], 0
jne 0x10c5a47
mov edi, 0x80070005
lea ecx, [ebp - 0xa0]
call fcn.010c4997
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01041c5f
leave
ret 0x10