Function at 0x48ec8358
Capabilities:
Check http status code

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x1c]
movzx eax, word [ecx]
dec eax
dec eax
push ebx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 3
mov ebx, 0x80070057
je 0x48ec8386
dec eax
je 0x48ec8381
push ebx
call fcn.48ec7cfd
jmp 0x48ec838d
mov eax, dword [ecx + 8]
jmp 0x48ec838a
movsx eax, word [ecx + 8]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x14]
cmp word [eax], 8
push esi
mov esi, dword [ebp + 0x18]
push edi
jne 0x48ec83b3
mov ax, word [esi]
cmp ax, 2
je 0x48ec83aa
cmp ax, 3
jne 0x48ec83b3
mov eax, dword [ebp + 0x20]
cmp word [eax], 0xb
je 0x48ec83b9
push ebx
call fcn.48ec7cfd
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x48ec83fd
mov ax, word [edi]
cmp ax, 2
jne 0x48ec83e9
mov ax, word [edi + 8]
test ax, ax
jl 0x48ec83d8
cmp ax, 0xfe
jle 0x48ec83de
push ebx
call fcn.48ec7cfd
mov al, byte [edi + 8]
mov byte [ebp - 2], al
mov byte [ebp - 1], al
jmp 0x48ec83fd
cmp ax, 0x11
jne 0x48ec83f7
cmp byte [edi + 8], 0xff
jne 0x48ec83de
jmp 0x48ec83d8
push ebx
call fcn.48ec7cfd
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [eax + eax*2]
shl ecx, 4
lea ebx, [ecx + edx]
and dword [ebx + 4], 0
inc eax
push 2
pop edi
mov dword [ebx + 8], eax
cmp word [esi], di
je 0x48ec8437
mov eax, dword [esi + 8]
cmp eax, 0x7fff
jg 0x48ec842d
cmp eax, 0xffff8000
jge 0x48ec8437
push 0x80070057
call fcn.48ec7cfd
mov ax, word [esi + 8]
mov dword [ebx + 0x28], edi
mov edi, dword [ebp + 0x10]
mov word [ebx + 0x14], ax
mov eax, dword [edi]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov esi, eax
test esi, esi
pop ecx
je 0x48ec846d
cmp esi, 0xff
jbe 0x48ec8477
push 0x80070057
call fcn.48ec7cfd
mov edi, dword [edi]
lea eax, [esi + esi]
mov esi, dword [ebp + 0x14]
lea ecx, [eax + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x18]
lea ecx, [eax + 2]
mov eax, dword [ebp + 0x10]
add dword [eax], ecx
mov byte [ebx + 0x16], 0xff
mov byte [ebx + 0x17], 0xff
movsx eax, word [esi + 8]
cmp eax, 0x48
mov dword [ebp + 0x14], 0x14
jg 0x48ec8542
je 0x48ec8536
push 2
pop ecx
sub eax, ecx
cmp eax, 0x13
ja case.0x48ec84c7.7
jmp dword [eax*4 + 0x48ec868f]
mov byte [ebx + 0x16], 3
mov dword [ebx + 0x10], 1
jmp 0x48ec8674
mov byte [ebx + 0x16], 5
mov dword [ebx + 0x10], ecx
jmp 0x48ec8674
mov byte [ebx + 0x16], 0xa
mov dword [ebx + 0x10], 4
jmp 0x48ec8674
mov byte [ebx + 0x16], 0x13
mov dword [ebx + 0x10], 8
jmp 0x48ec8674
mov byte [ebx + 0x16], 0x14
jmp case.0x48ec84c7.4
mov byte [ebx + 0x16], 7
jmp case.0x48ec84c7.8
mov byte [ebx + 0x16], 0x10
jmp case.0x48ec84c7.4
cmp byte [ebp - 1], 0x1d
mov byte [ebx + 0x16], 0x1d
jbe 0x48ec8530
push 0x80070057
call fcn.48ec7cfd
mov al, byte [ebp - 1]
mov byte [ebx + 0x17], al
mov dword [ebx + 0x10], 0x10
jmp 0x48ec8674
mov ecx, 0x86
cmp eax, ecx
mov edi, 0x80
jg 0x48ec85a5
je 0x48ec8573
sub eax, edi
je 0x48ec8640
dec eax
je 0x48ec8606
dec eax
je case.0x48ec84c7.6
dec eax
je 0x48ec857f
dec eax
dec eax
jne case.0x48ec84c7.7
mov dword [ebx + 0x10], 6
jmp 0x48ec8674
cmp byte [ebp - 1], 0x26
mov byte [ebx + 0x16], 0x26
jbe 0x48ec8593
push 0x80070057
call fcn.48ec7cfd
mov al, byte [ebp - 1]
mov byte [ebx + 0x17], al
mov dword [ebx + 0x10], 0x13
jmp 0x48ec8674
cmp eax, 0xc9
jg 0x48ec862b
cmp eax, 0xc8
jge 0x48ec8606
sub eax, 0x87
je 0x48ec8536
sub eax, 4
jne case.0x48ec84c7.7
cmp dword [ebp + 0x1c], 0
jle 0x48ec85d6
cmp dword [ebp + 0x1c], 0xfc
jle 0x48ec85e0
push 0x80070057
call fcn.48ec7cfd
mov al, byte [ebp + 0x1c]
cmp byte [ebp - 2], al
mov byte [ebx + 0x16], al
jbe 0x48ec85f5
push 0x80070057
call fcn.48ec7cfd
mov al, byte [ebp - 2]
mov byte [ebx + 0x17], al
mov eax, dword [ebp + 0x1c]
add eax, 3
mov dword [ebx + 0x10], eax
jmp 0x48ec8674
mov word [ebx + 0x14], 0x81
cmp dword [ebp + 0x1c], 0
jg 0x48ec861c
push 0x80070057
call fcn.48ec7cfd
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x10], eax
mov dword [ebp + 0x14], 4
jmp 0x48ec8674
cmp eax, 0xca
jl case.0x48ec84c7.7
cmp eax, 0xcb
jle case.0x48ec84c7.6
cmp eax, 0xcd
jg case.0x48ec84c7.7
cmp dword [ebp + 0x1c], 0
mov word [ebx + 0x14], di
jg 0x48ec8654
push 0x80070057
call fcn.48ec7cfd
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x10], eax
cmp word [esi + 8], di
je 0x48ec8674
jmp 0x48ec8622
mov word [ebx + 0x14], 0x82
jmp 0x48ec860c
push 0x80070057
call fcn.48ec7cfd
mov eax, dword [ebp + 0x20]
cmp word [eax + 8], 0
pop edi
pop esi
je 0x48ec8684
or dword [ebp + 0x14], 0x60
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xc], eax
pop ebx
leave
ret 0x20