Function at 0x1801a9980
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14d, edx
mov dword [rsp + 0x30], ecx
mov edi, edx
mov qword [rsp + 0x38], r8
mov r15d, ecx
mov r12d, r9d
xor ebx, ebx
lea rcx, [rbp - 0x70]
xor edx, edx
mov dword [0x18029ccf4], ebx
mov r8d, 0xc8
and r14d, 0xf0
mov r13b, 1
xor esi, esi
call fcn.18020bef0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
test r15d, r15d
jne 0x1801a9a72
test dil, 0x30
je 0x1801a9a63
test dil, 2
jne 0x1801a9a63
mov dword [rsp + 0x68], 0x3e0006
mov dword [rsp + 0x6c], 0x1f4160d
mov qword [rsp + 0x70], 0x100107e8
test dil, 0x20
je 0x1801a9a54
lea r9, [rbp - 0x70]
mov dword [rsp + 0x20], 0xc7
lea r8, [rsp + 0x68]
mov edx, edi
lea ecx, [rbx + 1]
call fcn.1801a8500
mov ebx, eax
cmp rbx, 0xc8
jae 0x1801a9d2c
mov byte [rbp + rbx - 0x70], sil
jmp 0x1801a9c8f
mov ebx, reloc.WS2_32.dll_recv
lea rsi, [rsp + 0x68]
jmp 0x1801a9c93
mov dword [0x18029ccf4], 4
jmp 0x1801a9cfe
mov edx, edi
mov ecx, r15d
call fcn.1801b5110
test eax, eax
je 0x1801a9cfe
test r12d, r12d
je 0x1801a9a9b
lea rcx, [rsp + 0x38]
call fcn.1801ad2e0
test eax, eax
je 0x1801a9cfe
mov eax, edi
shr eax, 0x10
and eax, 1
test byte [0x18029ccf0], 4
mov dword [0x18029cd24], eax
je 0x1801a9ac1
mov dword [0x18029ccf4], 0x26
jmp 0x1801a9cfe
test dil, 0x30
je 0x1801a9bf0
mov r15d, dword [0x18029ccf8]
mov edx, reloc.WS2_32.dll_sendto
mov dword [0x18029ccf8], 0x13
lea ecx, [rdx + 0x18]
lea r8d, [rdx + 0x1c]
call fcn.1801aefd0
mov rdx, rax
test rax, rax
je 0x1801a9cfe
movzx ecx, byte [0x18029cd10]
lea r8, [rsp + 0x40]
mov byte [rax + 8], cl
movzx ecx, byte [0x18029cd11]
mov byte [rax + 9], cl
movzx ecx, byte [0x18029cd12]
mov byte [rax + 0xa], cl
movzx ecx, byte [0x18029cd13]
mov byte [rax + 0xb], cl
movzx ecx, byte [0x18029ccf8]
mov byte [rax + 0xc], cl
movzx ecx, byte [0x18029ccf9]
mov byte [rax + 0xd], cl
movzx eax, byte [0x18029ccfa]
mov byte [rdx + 0xe], al
movzx eax, byte [0x18029ccfb]
mov byte [rdx + 0xf], al
mov dword [rdx + 0x10], 0x20
mov eax, dword [0x18029ccf8]
mov rcx, qword [0x18029cd58]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x4c], 0x20
call fcn.1801b5a00
cmp dword [0x18029ccf4], esi
movsxd rbx, eax
jne 0x1801a9cfe
cmp rbx, 0x20
ja 0x1801a9cfe
mov dword [0x18029ccf8], r15d
lea rsi, [rsp + 0x68]
test r15b, 2
je 0x1801a9be6
test r13b, r15b
je 0x1801a9bbf
cmp word [rsp + 0x78], 0
mov r15d, dword [rsp + 0x30]
jne 0x1801a9bf0
and edi, 0xfffffffd
jmp 0x1801a9beb
cmp word [rsp + 0x78], 0
jne 0x1801a9bcd
and edi, 0xfffffffd
xor r13b, r13b
mov r15d, dword [rsp + 0x30]
lea rsi, [rsp + 0x78]
mov ebx, edi
and ebx, 2
lea rbx, [rbx*8]
jmp 0x1801a9bf0
mov r15d, dword [rsp + 0x30]
mov ebx, reloc.WS2_32.dll_recv
test r14d, r14d
jne 0x1801a9c52
call fcn.1801af4f0
cmp eax, 0x81
ja 0x1801a9a63
cdqe
lea rdx, [0x18029c730]
mov rbx, 0xffffffffffffffff
mov rdx, qword [rdx + rax*8]
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1801a9c20
test rbx, rbx
je 0x1801a9a63
mov r8, rbx
lea rcx, [rbp - 0x70]
call fcn.18020b840
cmp rbx, 0xc8
jae 0x1801a9d2c
mov byte [rbp + rbx - 0x70], 0
jmp 0x1801a9c8f
test r14b, 0x20
jne 0x1801a9c64
test dil, 8
je 0x1801a9c93
test r14b, 0x10
je 0x1801a9c93
test r13b, r13b
je 0x1801a9c86
lea r9, [rbp - 0x70]
mov dword [rsp + 0x20], 0xc8
lea r8, [rsp + 0x68]
mov edx, edi
mov ecx, r15d
call fcn.1801a8500
mov ebx, eax
test rbx, rbx
je 0x1801a9a63
lea rsi, [rbp - 0x70]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1801a9cdd
cmp r12, rbx
jb 0x1801a9cdd
test r14d, r14d
je 0x1801a9cc4
test r14b, 0x20
jne 0x1801a9cc4
mov r8, rbx
mov dword [0x18029ccf4], 0
mov rdx, rsi
call fcn.18020b840
jmp 0x1801a9cfe
mov r9d, dword [0x18029cd24]
mov r8d, ebx
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.1801b5580
jmp 0x1801a9cfe
test r12d, r12d
jne 0x1801a9cf4
mov dword [0x18029ccf4], r12d
test dil, 0x20
je 0x1801a9cfe
inc rbx
jmp 0x1801a9cfe
mov dword [0x18029ccf4], 5
mov ecx, ebx
call fcn.1801b5560
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1801e68c0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1801e6d50
int3