Function at 0x10007a20
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100292e9
mov eax, dword fs:[0]
push eax
sub esp, 0xa74
mov eax, dword [0x1003867c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 4], 0
xor esi, esi
mov eax, 0x1002eca4
test ecx, ecx
mov edx, 0x1002ec98
mov byte [ebp - 4], 3
cmove edx, eax
xor eax, eax
mov dword [ebp - 0xa48], esi
mov dword [ebp - 0xa30], 7
mov dword [ebp - 0xa34], esi
mov word [ebp - 0xa44], ax
cmp word [edx], ax
jne 0x10007a97
xor ecx, ecx
jmp 0x10007aaf
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007aa0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa44]
call fcn.100097f0
xor eax, eax
push 0x206
mov byte [ebp - 4], 4
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.10019070
add esp, 0xc
xor eax, eax
push 0x106
push str.2b7dcafe7429c8e406af3ae2789180026674c4534b0ea76c5fded416468069054a58e5683c5bc70334abbf6d2e9f4823662dd3164213ed3d129de6747c8164317f60e17676708d5a6beae3376fd61d5728189e4c185dfc73109fe2657e846b404b75d75b4004a96253c8dc0e58fa4d7d6f3cc70f424bd05535fbb3386fcb784d4806fa
lea ecx, [ebp - 0xa68]
mov dword [ebp - 0xa54], 7
mov dword [ebp - 0xa58], 0
mov word [ebp - 0xa68], ax
call fcn.100097f0
lea eax, [ebp - 0xa80]
push eax
lea ecx, [ebp - 0xa68]
mov byte [ebp - 4], 5
call fcn.10009140
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x10007b32
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [0x1003a77c]
cmp dword [ebp - 0xa6c], 8
mov edi, eax
mov dword [ebp - 0xa4c], edi
jb 0x10007b60
push dword [ebp - 0xa80]
call fcn.1001534f
add esp, 4
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa54], 8
mov dword [ebp - 0xa6c], 7
mov dword [ebp - 0xa70], 0
mov word [ebp - 0xa80], ax
jb 0x10007b98
push dword [ebp - 0xa68]
call fcn.1001534f
add esp, 4
xor eax, eax
mov dword [ebp - 0xa54], 7
mov dword [ebp - 0xa58], 0
mov word [ebp - 0xa68], ax
test edi, edi
je 0x10007d82
cmp dword [ebp + 0x1c], 8
push 0
push 0
push 3
push 0
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ebx
push eax
push edi
call dword [0x1003a778]
mov edx, eax
mov dword [ebp - 0xa50], edx
test edx, edx
je 0x10007d7b
cmp dword [ebp + 0x34], 8
push 0
push 0x8404f700
push 0
push 0
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp - 0xa30], 8
push str.HTTP_1.1
lea eax, [ebp - 0xa44]
cmovae eax, dword [ebp - 0xa44]
push ecx
push eax
push edx
call dword [0x1003a774]
mov ebx, eax
test ebx, ebx
je 0x10007d6f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007c36
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push ebx
call dword [0x1003a770]
test eax, eax
je 0x10007d9b
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa20], ax
lea eax, [ebp - 0xa1e]
push eax
call fcn.10019070
add esp, 0xc
lea eax, [ebp - 0xa28]
push 0
push eax
lea eax, [ebp - 0xa20]
push eax
push 0x13
push ebx
mov dword [ebp - 0xa28], 0x400
call dword [0x1003a768]
test eax, eax
je 0x10007d9b
lea eax, [ebp - 0xa20]
push eax
call fcn.100164fb
add esp, 4
cmp eax, 0xc8
jne 0x10007d68
cmp dword [ebp + 0x4c], 8
push 0
push 0x80
push 2
push 0
push 0
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push 0x40000000
push eax
call dword [0x1003a6fc]
mov edi, eax
cmp edi, 0xffffffff
je 0x10007d62
push 0x1000
mov dword [ebp - 0xa2c], 0
mov dword [ebp - 0xa24], 0
call fcn.100150d0
add esp, 4
mov esi, eax
lea eax, [ebp - 0xa24]
push eax
push 0x1000
push esi
push ebx
call dword [0x1003a764]
test eax, eax
je 0x10007d47
mov eax, dword [ebp - 0xa24]
test eax, eax
je 0x10007d47
push 0
lea ecx, [ebp - 0xa2c]
push ecx
push eax
push esi
push edi
call dword [0x1003a6f8]
jmp 0x10007d11
push esi
call fcn.10015a24
add esp, 4
push edi
call dword [0x1003a6f4]
mov esi, 1
mov dword [ebp - 0xa48], esi
mov edi, dword [ebp - 0xa4c]
push ebx
call dword [0x1003a76c]
push dword [ebp - 0xa50]
call dword [0x1003a76c]
push edi
call dword [0x1003a76c]
cmp dword [ebp - 0xa30], 8
jb 0x10007daf
push dword [ebp - 0xa44]
call fcn.1001534f
add esp, 4
jmp 0x10007daf
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10007d68
cmp dword [ebp + 0x1c], 8
jb 0x10007dc0
push dword [ebp + 8]
call fcn.1001534f
add esp, 4
xor eax, eax
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x10007de5
push dword [ebp + 0x20]
call fcn.1001534f
add esp, 4
xor eax, eax
cmp dword [ebp + 0x4c], 8
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
jb 0x10007e0a
push dword [ebp + 0x38]
call fcn.1001534f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001520a
mov esp, ebp
pop ebp
ret