Function at 0x10a7b8a
Capabilities:
Check http status code

Disassembly:
mov eax, 0x10a9442
call fcn.010a9310
sub esp, 0x1c8
mov eax, dword [0x10ae1e0]
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 0x10a7ea9
mov esi, pe_nt_image_headers32
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x1d4], esi
mov dword [ebp - 0x1c0], edi
mov dword [ebp - 0x1bc], edi
call fcn.010a70ef
test eax, eax
je 0x10a7e8b
push esi
lea ecx, [ebp - 0xa0]
call fcn.010a6e78
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.010a7054
push eax
mov eax, dword [ebp - 0x1b8]
push 0x20000013
push dword [ebp - 0x1c4]
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jne 0x10a7c90
lea ecx, [ebp - 0xa0]
call fcn.010a7054
mov ecx, dword [eax]
jmp 0x10a7cb9
cmp edi, 1
jne 0x10a7e9c
cmp dword [ebp - 0x1b4], 4
jne 0x10a7ea9
lea ecx, [ebp - 0xa0]
call fcn.010a7054
mov edi, dword [eax]
mov ecx, dword [ebp - 0x1bc]
cmp ecx, 0x191
mov eax, 0x197
je 0x10a7cce
cmp ecx, eax
jne 0x10a7e9c
cmp ecx, eax
mov dword [ebp - 0x1b8], 0x28
jne 0x10a7cec
mov dword [ebx], 1
mov dword [ebp - 0x1b8], 0x29
call fcn.010a6cf7
and dword [ebp - 0x1c0], 0
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x1bc], eax
call fcn.010a70ef
test eax, eax
je 0x10a7e8b
mov ebx, dword [ebp - 0x1d4]
push ebx
lea ecx, [ebp - 0xa0]
call fcn.010a6e78
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.010a7054
push eax
push dword [ebp - 0x1b8]
push esi
call dword [edi + 0x10]
test eax, eax
jne 0x10a7e53
lea ecx, [ebp - 0xa0]
call fcn.010a7054
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10a7d6e
sub eax, edx
push eax
lea ecx, [ebp - 0xa0]
call fcn.010a6e78
push 6
push 0x102840c
lea ecx, [ebp - 0xa0]
call fcn.010a7054
push eax
call dword [sym.imp.msvcrt.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x10a7daf
mov eax, dword [ebp - 0x1d0]
mov dword [eax], 1
cmp dword [ebp - 0x1bc], 0
jne 0x10a7dd9
push 0x1028400
lea ecx, [ebp - 0xa0]
call fcn.010a7054
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x10a7e77
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c8], 1
call fcn.010a30d1
test eax, eax
je 0x10a7e77
push 0x20
lea ecx, [ebp - 0xa0]
call fcn.010a7054
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x10a7e77
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [ebp - 0x1b0]
call fcn.010a75b6
mov edi, dword [ebp - 0x1b0]
test edi, edi
lea ecx, [ebp - 0x1b0]
jl 0x10a7e93
push dword [ebp - 0x1cc]
call fcn.010a3e7c
push eax
call fcn.010a73cf
lea ecx, [ebp - 0x1b0]
mov edi, eax
call fcn.010a6e4a
test edi, edi
jl 0x10a7eae
jmp 0x10a7e77
cmp eax, 1
jne 0x10a7e6e
cmp dword [ebp - 0x1b4], 4
jne 0x10a7e9a
lea ecx, [ebp - 0xa0]
call fcn.010a7054
mov eax, dword [eax]
cmp eax, 0x8007007a
jne 0x10a7e9a
shl ebx, 1
push ebx
lea ecx, [ebp - 0xa0]
call fcn.010a70ef
test eax, eax
jne 0x10a7d18
mov edi, dword [ebp - 0xa0]
jmp 0x10a7e9c
call fcn.010a6e4a
jmp 0x10a7e9c
xor edi, edi
test edi, edi
jl 0x10a7eae
cmp dword [ebp - 0x1c8], 0
jne 0x10a7eae
mov edi, 0x80070005
lea ecx, [ebp - 0xa0]
call fcn.010a6e4a
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.01028eec
leave
ret 0x10