Function at 0x18001cdb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1080]
mov eax, 0x1180
call fcn.18002b8b0
sub rsp, rax
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x11b8], rbx
mov qword [rsp + 0x11c0], rsi
mov qword [rsp + 0x11c8], rdi
mov r12, rdx
mov r13, rcx
lea rbx, [rcx + 0x2a0]
nop dword [rax]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
mov r15, qword [rbx + 0x18]
cmp r15, 0x10
jb 0x18001ce14
mov rcx, qword [rbx]
mov qword [rsp + 0x20], reloc.WS2_32.dll_ntohs
lea r9, str.HTTP_1.1_200_OK
mov rdx, rdi
call fcn.1800256e0
mov rsi, rax
mov rcx, rbx
cmp r15, 0x10
jb 0x18001ce3b
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 4
lea r9, str._r_n_r_n
mov rdx, rdi
call fcn.1800256e0
cmp rax, 0xffffffffffffffff
je 0x18001d29d
cmp rsi, 0xffffffffffffffff
je 0x18001d29d
cmp rsi, rax
ja 0x18001d442
mov qword [rbp - 0x78], 0
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
cmp rdi, rsi
jb 0x18001d465
lea r14, [rax + 4]
sub rdi, rsi
mov r8, r14
cmp rdi, r14
cmovb r8, rdi
mov rax, rbx
cmp r15, 0x10
jb 0x18001ceab
mov rax, qword [rbx]
lea rdx, [rax + rsi]
lea rcx, [rsp + 0x78]
call fcn.180001520
nop
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], sil
mov rax, qword [rbx + 0x10]
cmp rax, r14
jb 0x18001d4b3
sub rax, r14
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18001cefa
mov rax, qword [rbx]
lea rdx, [rax + r14]
lea rcx, [rsp + 0x30]
call fcn.180001520
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x18001cf2d
mov rcx, rbx
call fcn.1800014a0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18001cf6a
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18001cf6a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001cf65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d46b
call fcn.18002aef0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], sil
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
lea rax, [rbp - 0x20]
mov qword [rbp + 0x10b0], rax
mov dword [rbp - 0x20], 0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
xor r8d, r8d
xor edx, edx
call fcn.18001c060
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov dword [rbp - 0x20], 0x3f800000
mov edx, 8
lea rcx, [rbp - 0x20]
call fcn.18001c4c0
nop
xor r8d, r8d
lea rdx, [0x18008323b]
lea rcx, [rbp - 0x60]
call fcn.180001520
mov r8d, 4
lea rdx, str.NONE
lea rcx, [rbp - 0x40]
call fcn.180001520
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.18001bc50
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.set_magic_code
lea rcx, [rsp + 0x50]
call fcn.180001520
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.18001cb80
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1800279f0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18001d08f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d08a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d471
call fcn.18002aef0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
mov r8d, 0xa
lea rdx, str.set_cookie
lea rcx, [rsp + 0x30]
call fcn.180001520
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.18001cb80
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1800279f0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18001d125
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d120
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d477
call fcn.18002aef0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
cmp qword [rbp + 0x50], 2
jbe 0x18001d14a
cmp qword [rbp + 0x30], 2
ja 0x18001d30b
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x18001d186
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d180
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d495
call fcn.18002aef0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x18001d1c2
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d1bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d49b
call fcn.18002aef0
nop
lea rcx, [rbp - 0x20]
call fcn.18001b8f0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18001d206
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d4a1
call fcn.18002aef0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18001d251
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d24c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d4a7
call fcn.18002aef0
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18001d29d
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d298
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d4ad
call fcn.18002aef0
xor edx, edx
mov r8d, 0x1001
lea rcx, [rbp + 0x70]
call fcn.18004b570
mov rcx, qword [r13 + 0x28]
call fcn.18001cd20
test al, al
je 0x18001d442
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x18001d442
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001d2f0
lea rdx, [rbp + 0x70]
mov rcx, rbx
call fcn.180026f90
jmp 0x18001ce00
lea r8, [rbp + 0x20]
lea rdx, [rsp + 0x50]
call fcn.18001e6c0
nop
lea rax, [rsp + 0x58]
cmp r12, rax
je 0x18001d343
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
mov rcx, r12
call fcn.180001520
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18001d381
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d37b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d47d
call fcn.18002aef0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x18001d3bd
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d3b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d483
call fcn.18002aef0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x18001d3f9
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d3f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d489
call fcn.18002aef0
nop
lea rcx, [rbp - 0x60]
call fcn.18001b9c0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x18001d43b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001d436
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001d48f
call fcn.18002aef0
movzx eax, byte [rsp + 0x50]
jmp 0x18001d444
xor al, al
lea r11, [rsp + 0x1180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18001efd0
nop
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18004df84
int3
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18004df84
int3
call fcn.18004df84
nop
call fcn.18004df84
nop
call fcn.18001efd0
int3