Function at 0x1800157e0
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 + 0x2b8]
nop dword [rax]
mov rdi, qword [rbx + 0x10]
mov rcx, rbx
mov r15, qword [rbx + 0x18]
cmp r15, 0x10
jb 0x180015844
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 0x18001586b
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 0x180015ccd
cmp rsi, 0xffffffffffffffff
je 0x180015ccd
cmp rsi, rax
ja 0x180015d32
mov qword [rbp - 0x78], 0
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
cmp rdi, rsi
jb 0x180015e91
lea r14, [rax + 4]
sub rdi, rsi
mov r8, r14
cmp rdi, r14
cmovb r8, rdi
mov rax, rbx
cmp r15, 0x10
jb 0x1800158db
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 0x180015e8b
sub rax, r14
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18001592a
mov rax, qword [rbx]
lea rdx, [rax + r14]
lea rcx, [rsp + 0x30]
call fcn.180001520
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x18001595d
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 0x18001599a
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18001599a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015995
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015e97
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 0x180015abf
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015aba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015e9d
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 0x180015b55
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015b50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ea3
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 0x180015b7a
cmp qword [rbp + 0x30], 2
ja 0x180015d55
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180015bb6
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015bb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ec1
call fcn.18002aef0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x180015bf2
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015bec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ec7
call fcn.18002aef0
nop
lea rcx, [rbp - 0x20]
call fcn.18001b8f0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180015c36
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015c31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ecd
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 0x180015c81
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015c7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ed3
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 0x180015ccd
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015cc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ed9
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 0x180015d32
xor r9d, r9d
mov r8d, 0x1000
lea rdx, [rbp + 0x70]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test eax, eax
jle 0x180015d29
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180015d13
lea rdx, [rbp + 0x70]
mov rcx, rbx
call fcn.180026f90
cmp edi, 0xffffffff
jne 0x180015830
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
lea r8, [rbp + 0x20]
lea rdx, [rsp + 0x50]
call fcn.18001e6c0
nop
lea rax, [rsp + 0x58]
cmp r12, rax
je 0x180015d8d
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 0x180015dcb
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015dc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ea9
call fcn.18002aef0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180015e07
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015e01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015eaf
call fcn.18002aef0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x180015e3f
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015eb5
call fcn.18002aef0
nop
lea rcx, [rbp - 0x60]
call fcn.18001b9c0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180015e81
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180015e7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015ebb
call fcn.18002aef0
movzx eax, byte [rsp + 0x50]
jmp 0x180015d34
call fcn.18001efd0
nop
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
int3