Function at 0x18001e2f0
Capabilities:
Check http status code
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1f8], rbx
mov rax, qword [0x180067008]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r12, r8
mov r14, rdx
mov r15, rcx
lea rax, [0x180069238]
mov qword [rbp - 0x70], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r15]
mov rsi, qword [rdi + 8]
mov rbx, rdi
cmp byte [rsi + 0x19], 0
jne 0x18001e382
nop dword [rax + rax]
lea rdx, [rsi + 0x20]
mov r8, r14
call fcn.18000c790
test al, al
je 0x18001e376
mov rsi, qword [rsi + 0x10]
jmp 0x18001e37c
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x18001e360
cmp rbx, rdi
je 0x18001e397
lea r8, [rbx + 0x20]
mov rdx, r14
call fcn.18000c790
test al, al
je 0x18001e39a
mov rbx, rdi
cmp rdi, rbx
jne 0x18001e3a9
mov ebx, 5
jmp 0x18001ecee
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
xor r13d, r13d
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], r13b
movsd xmm0, qword [0x180059018]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x180059020]
mov word [rbp - 0x20], ax
movzx eax, byte [0x180059022]
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x20]
xor byte [rbp - 0x1f], al
movzx ecx, byte [rbp - 0x21]
xor al, cl
mov byte [rbp - 0x20], al
movzx eax, byte [rbp - 0x22]
xor cl, al
mov byte [rbp - 0x21], cl
movzx ecx, byte [rbp - 0x23]
xor al, cl
mov byte [rbp - 0x22], al
movzx eax, byte [rbp - 0x24]
xor cl, al
mov byte [rbp - 0x23], cl
movzx ecx, byte [rbp - 0x25]
xor al, cl
mov byte [rbp - 0x24], al
movzx eax, byte [rbp - 0x26]
xor cl, al
mov byte [rbp - 0x25], cl
movzx ecx, byte [rbp - 0x27]
xor al, cl
mov byte [rbp - 0x26], al
movzx eax, byte [rbp - 0x28]
xor cl, al
mov byte [rbp - 0x27], cl
not al
mov byte [rbp - 0x28], al
test al, al
jne 0x18001e43e
mov r8d, r13d
jmp 0x18001e450
lea rax, [rbp - 0x28]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001e446
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.180006140
lea rdx, [rbx + 0x40]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.180006290
movups xmm0, xmmword [0x180059028]
movups xmmword [rbp - 0x28], xmm0
lea rdx, [rbp - 0x1b]
mov edi, 7
mov r8d, edi
nop word [rax + rax]
movzx ecx, byte [rdx]
xor byte [rdx + 1], cl
movzx eax, byte [rdx - 1]
xor al, cl
mov byte [rdx], al
lea rdx, [rdx - 2]
sub r8, 1
jne 0x18001e490
xor byte [rbp - 0x28], 0x8e
jne 0x18001e4b3
mov r8, r13
jmp 0x18001e4ca
lea rax, [rbp - 0x28]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001e4c0
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.180006140
lea rdx, [rbx + 0x60]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.180006290
movups xmm0, xmmword [0x180059038]
movups xmmword [rbp - 0x28], xmm0
lea rdx, [rbp - 0x1b]
nop dword [rax]
movzx ecx, byte [rdx]
xor byte [rdx + 1], cl
movzx eax, byte [rdx - 1]
xor al, cl
mov byte [rdx], al
lea rdx, [rdx - 2]
sub rdi, 1
jne 0x18001e500
xor byte [rbp - 0x28], 0x4a
jne 0x18001e523
mov r8, r13
jmp 0x18001e53a
lea rax, [rbp - 0x28]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001e530
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x60]
call fcn.180006140
lea rdx, [rbx + 0x80]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.180006290
movups xmm0, xmmword [0x180059048]
movups xmmword [rbp - 0x18], xmm0
movsd xmm1, qword [0x180059058]
movsd qword [rbp - 8], xmm1
movzx eax, word [0x180059060]
mov word [rbp], ax
lea r8, [rbp - 1]
mov r9d, 4
nop dword [rax]
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
movzx eax, byte [r8 - 4]
xor byte [r8 - 3], al
movzx eax, byte [r8 - 5]
xor byte [r8 - 4], al
lea r8, [r8 - 6]
sub r9, 1
jne 0x18001e590
xor byte [rbp - 0x18], 0xcd
jne 0x18001e5db
mov r8, r13
jmp 0x18001e5ed
lea rax, [rbp - 0x18]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001e5e3
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.180006140
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x48], 0
movups xmm0, xmmword [str.8L8H_]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [0x180059078]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [str.xW4_6_4Zu]
movups xmmword [rbp + 0x30], xmm0
movsd xmm1, qword [str.yKeUz]
movsd qword [rbp + 0x40], xmm1
movzx eax, word [0x1800590a0]
mov word [rbp + 0x48], ax
movzx eax, byte [0x1800590a2]
mov byte [rbp + 0x4a], al
lea r8, [rbp + 0x48]
mov ebx, socket
mov r9d, ebx
nop word [rax + rax]
movzx edx, byte [r8]
xor byte [r8 + 1], dl
movzx eax, byte [r8 - 1]
xor al, dl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
lea r8, [r8 - 3]
sub r9, 1
jne 0x18001e660
xor byte [rbp + 0x10], 0x50
jne 0x18001e690
mov r8, r13
jmp 0x18001e6aa
lea rax, [rbp + 0x10]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001e6a0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x48]
call fcn.1800020b0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
call fcn.18000f420
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [str.U:__E_HgRLlD]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [0x1800590c0]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm0, xmmword [0x1800590d0]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm1, xmmword [0x1800590e0]
movaps xmmword [rbp + 0x40], xmm1
movaps xmm0, xmmword [0x1800590f0]
movaps xmmword [rbp + 0x50], xmm0
movaps xmm1, xmmword [0x180059100]
movaps xmmword [rbp + 0x60], xmm1
movaps xmm0, xmmword [0x180059110]
movaps xmmword [rbp + 0x70], xmm0
mov eax, dword [0x180059120]
mov dword [rbp + 0x80], eax
lea r8, [rbp + 0x81]
nop dword [rax + rax]
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
movzx eax, byte [r8 - 4]
xor byte [r8 - 3], al
movzx eax, byte [r8 - 5]
xor byte [r8 - 4], al
lea r8, [r8 - 6]
sub rbx, 1
jne 0x18001e730
xor byte [rbp + 0x10], 0x18
mov dword [rbp - 0x21], 0x746e65
mov dword [rbp - 0x25], 0x67412d72
mov word [rbp - 0x27], 0x6573
mov byte [rbp - 0x28], 0x55
lea rax, [rbp - 0x28]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.1800150c0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.18000c550
mov dword [rbp - 0x28], 0xdda9c7a8
mov dword [rbp - 0x24], 0x8fa2d6b8
mov dword [rbp - 0x20], 0xb7d2a2db
mov byte [rbp - 0x1c], 0xb7
lea r8, [rbp - 0x1d]
mov ebx, 2
mov r9d, ebx
nop word [rax + rax]
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
movzx eax, byte [r8 - 4]
xor byte [r8 - 3], al
movzx eax, byte [r8 - 5]
xor byte [r8 - 4], al
lea r8, [r8 - 6]
sub r9, 1
jne 0x18001e7f0
xor byte [rbp - 0x28], 0xeb
movups xmm0, xmmword [0x180059128]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [0x180059138]
movups xmmword [rbp + 0x20], xmm1
movzx eax, word [0x180059148]
mov word [rbp + 0x30], ax
lea r8, [rbp + 0x2f]
mov r9d, 8
nop
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
lea r8, [r8 - 4]
sub r9, 1
jne 0x18001e860
xor byte [rbp + 0x10], 0x79
lea rax, [rbp - 0x28]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x10]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.1800150c0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.18000c550
mov dword [rsp + 0x40], r13d
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
call fcn.18000f420
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x20], r13d
mov dword [rbp - 0x1c], 0x400
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x28], rax
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov qword [rbp - 8], r13
mov byte [rbp - 0x18], 0
mov r8d, 4
lea rdx, str.POST
lea rcx, [rbp - 0x18]
call fcn.1800020b0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x18]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.180027a30
test eax, eax
sete dil
mov rax, qword [rbp]
cmp rax, 0x10
jb 0x18001e9d5
inc rax
mov rcx, qword [rbp - 0x18]
cmp rax, 0x1000
jb 0x18001e9d0
test cl, 0x1f
je 0x18001e9a3
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001e9b2
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001e9c1
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001e9cd
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov rsi, qword [rbp - 0x28]
test dil, dil
jne 0x18001ebbe
mov ecx, dword [rsp + 0x40]
lea eax, [rcx - 0x190]
cmp eax, 3
ja 0x18001ea24
lea rcx, [r15 + 0x10]
mov r8, r14
lea rdx, [rbp - 0x18]
call fcn.180014e40
mov rax, qword [rbp - 0x18]
add rax, 0x40
mov qword [rax + 0x10], r13
cmp qword [rax + 0x18], 0x10
jb 0x18001ea17
mov rax, qword [rax]
mov byte [rax], 0
mov ebx, 3
jmp 0x18001ebbe
cmp ecx, 0xc8
je 0x18001ea5f
lea rcx, [r15 + 0x10]
mov r8, r14
lea rdx, [rbp - 0x18]
call fcn.180014e40
mov rax, qword [rbp - 0x18]
add rax, 0x40
mov qword [rax + 0x10], r13
cmp qword [rax + 0x18], 0x10
jb 0x18001ea52
mov rax, qword [rax]
mov byte [rax], 0
mov ebx, 4
jmp 0x18001ebbe
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], r13
mov byte [rbp - 0x68], 0
mov r8d, dword [rbp - 0x20]
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.1800020b0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x10]
call fcn.18001c520
mov rbx, rax
mov r8, r14
lea rdx, [rbp - 0x18]
lea rcx, [r15 + 0x10]
call fcn.180014e40
mov rcx, qword [rbp - 0x18]
add rcx, 0x40
mov rdx, rbx
call fcn.1800091e0
nop
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x18001eb07
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x18001eb02
test cl, 0x1f
je 0x18001ead5
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001eae4
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001eaf3
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001eaff
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov r8, r14
lea rdx, [rbp - 0x18]
lea rcx, [r15 + 0x10]
call fcn.180014e40
mov rax, qword [rbp - 0x18]
cmp qword [rax + 0x50], 0
jne 0x18001eb29
mov ebx, 4
jmp 0x18001eb58
mov r8, r14
lea rdx, [rbp - 0x18]
lea rcx, [r15 + 0x10]
call fcn.180014e40
mov rdx, qword [rbp - 0x18]
add rdx, 0x40
cmp r12, rdx
je 0x18001eb55
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, r12
call fcn.1800021e0
mov ebx, r13d
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x18001ebae
inc rax
mov rcx, qword [rbp - 0x68]
cmp rax, 0x1000
jb 0x18001eba9
test cl, 0x1f
je 0x18001eb7c
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001eb8b
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001eb9a
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001eba6
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x58], r13
mov byte [rbp - 0x68], 0
test rsi, rsi
je 0x18001ebd8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov r8, qword [rbp - 0x80]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.18000e170
mov rcx, qword [rbp - 0x80]
call fcn.180033ed0
nop
mov r8, qword [rsp + 0x50]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.18000e170
mov rcx, qword [rsp + 0x50]
call fcn.180033ed0
nop
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x18001ec73
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x18001ec6e
test cl, 0x1f
je 0x18001ec41
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001ec50
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001ec5f
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001ec6b
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x48], 0
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x18001ecdb
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x18001ecd6
test cl, 0x1f
je 0x18001eca9
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001ecb8
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001ecc7
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001ecd3
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], 0
lea rcx, [0x180069238]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.180033e70
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret