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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x19e8
call fcn.14001d32f
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4ee
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a08]
mov rax, qword [0x14006d158]
xor rax, rbp
mov qword [rbp + 0x19a8], rax
lea rcx, [0x140077119]
call fcn.14001e13a
xor r9d, r9d
mov r8d, 0xfff
lea rdx, [rbp + 0x10]
mov rax, qword [rbp + 0x19d0]
mov rcx, qword [rax + 0x60]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x1064], eax
cmp dword [rbp + 0x1064], 0
jg 0x14003b205
cmp dword [rbp + 0x1064], 0
je 0x14003b1f2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14003b1fe
mov rcx, qword [rbp + 0x19d0]
call fcn.14003acc0
xor eax, eax
jmp 0x14003b4c8
mov rax, qword [rbp + 0x19d0]
mov rax, qword [rax + 8]
mov rcx, qword [rbp + 0x19d0]
mov rax, qword [rax + 0x20]
mov qword [rcx + 0x48], rax
mov dword [rbp + 0x1044], 0
jmp 0x14003b239
mov eax, dword [rbp + 0x1044]
inc eax
mov dword [rbp + 0x1044], eax
mov eax, dword [rbp + 0x1064]
cmp dword [rbp + 0x1044], eax
jge 0x14003b4c1
movsxd rax, dword [rbp + 0x1044]
mov rcx, qword [rbp + 0x19d0]
add rcx, 0x68
movzx edx, byte [rbp + rax + 0x10]
call fcn.1400388e0
mov dword [rbp + 0x1024], eax
cmp dword [rbp + 0x1024], 0
je 0x14003b281
mov eax, dword [rbp + 0x1024]
jmp 0x14003b4c8
mov rax, qword [rbp + 0x19d0]
cmp dword [rax], 0
jne 0x14003b37b
mov rax, qword [rbp + 0x19d0]
cmp qword [rax + 0x70], 4
jb 0x14003b37b
mov rax, qword [rbp + 0x19d0]
mov rax, qword [rax + 0x68]
mov rcx, qword [rbp + 0x19d0]
mov rcx, qword [rcx + 0x70]
lea rax, [rax + rcx - 4]
mov r8d, 4
lea rdx, str._r_n_r_n
mov rcx, rax
call fcn.140038700
test eax, eax
je 0x14003b37b
mov rax, qword [rbp + 0x19d0]
mov dword [rax], 1
mov rax, qword [rbp + 0x19d0]
add rax, 0x68
mov rcx, rax
call fcn.140038860
mov dword [rbp + 0x1024], eax
cmp dword [rbp + 0x1024], 0
je 0x14003b315
mov eax, dword [rbp + 0x1024]
jmp 0x14003b4c8
lea rdx, str.Content_Length
mov rax, qword [rbp + 0x19d0]
mov rcx, qword [rax + 0x68]
call fcn.140038030
mov qword [rbp + 0x1088], rax
cmp qword [rbp + 0x1088], 0
je 0x14003b379
mov rcx, qword [rbp + 0x1088]
call fcn.14003bd00
mov eax, eax
mov rcx, qword [rbp + 0x19d0]
add rax, qword [rcx + 0x70]
mov rcx, qword [rbp + 0x19d0]
mov qword [rcx + 0x50], rax
mov rax, qword [rbp + 0x19d0]
mov rcx, qword [rbp + 0x19d0]
mov rcx, qword [rcx + 0x70]
mov qword [rax + 0x58], rcx
jmp 0x14003b37b
jmp 0x14003b397
mov rax, qword [rbp + 0x19d0]
mov rcx, qword [rbp + 0x19d0]
mov rcx, qword [rcx + 0x70]
cmp qword [rax + 0x50], rcx
jne 0x14003b4bc
mov rax, qword [rbp + 0x19d0]
mov dword [rax], 2
mov rax, qword [rbp + 0x19d0]
add rax, 0x68
mov rcx, rax
call fcn.140038860
mov dword [rbp + 0x1024], eax
cmp dword [rbp + 0x1024], 0
je 0x14003b3d1
mov eax, dword [rbp + 0x1024]
jmp 0x14003b4c8
lea rax, [rbp + 0x1388]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1114]
lea r8, [rbp + 0x1138]
lea rdx, str._15s__n_s__15s
mov rax, qword [rbp + 0x19d0]
mov rcx, qword [rax + 0x68]
call fcn.14001dbc2
mov dword [rbp + 0x10f4], eax
cmp dword [rbp + 0x10f4], 2
jne 0x14003b42e
mov r8d, 4
lea rdx, str.HTTP
lea rcx, [rbp + 0x1388]
call fcn.140038700
test eax, eax
jne 0x14003b441
mov rcx, qword [rbp + 0x19d0]
call fcn.14003acc0
xor eax, eax
jmp 0x14003b4c8
movsxd rax, dword [rbp + 0x1114]
mov rcx, qword [rbp + 0x19d0]
add rax, qword [rcx + 0x68]
mov r8d, 0x200
mov rdx, rax
lea rcx, [rbp + 0x1170]
call fcn.14003be20
mov dword [rbp + 0x10a8], 2
lea rax, [rbp + 0x1138]
mov qword [rbp + 0x10d0], rax
lea rax, [rbp + 0x1170]
mov qword [rbp + 0x10d8], rax
lea rdx, [rbp + 0x10a8]
mov rcx, qword [rbp + 0x19d0]
call fcn.14003ae50
mov dword [rbp + 0x1024], eax
cmp dword [rbp + 0x1024], 0
je 0x14003b4b8
mov eax, dword [rbp + 0x1024]
jmp 0x14003b4c8
xor eax, eax
jmp 0x14003b4c8
jmp 0x14003b22b
jmp 0x14003b1af
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_getsockname
call fcn.14001de01
mov rax, rdi
mov rcx, qword [rbp + 0x19a8]
xor rcx, rbp
call fcn.14001d857
lea rsp, [rbp + 0x19b8]
pop rdi
pop rbp
ret