Function at 0x140073de0
Capabilities:
Connect socket
Encode data using xor
Hash data using fnv
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x320
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
xor r15d, r15d
mov r14, qword [0x1402b7510]
mov qword [rbp + 0x268], r14
lea edx, [r15 + 1]
lea ecx, [rdx + 1]
lea r8d, [r15 + 6]
call qword [sym.imp.WS2_32.dll_socket]
mov r12, rax
lea r8d, [r15 + 0x10]
lea rdx, [0x1402b7188]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
mov dword [0x1402b6748], eax
cmp eax, 0xffffffff
jne 0x140073e80
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
xor al, al
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov ebx, recvfrom
mov qword [rbp - 0x28], rbx
mov byte [rbp - 0x40], r15b
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], rbx
mov byte [rbp - 0x20], 0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], rbx
mov byte [rbp], 0
mov dword [rbp + 0x260], 0
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x20]
call fcn.1400ae9b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], rbx
mov byte [rbp + 0x60], 0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], rbx
mov byte [rbp + 0x80], 0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], rbx
mov byte [rbp + 0xa0], 0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], rbx
mov byte [rbp + 0xc0], 0
mov dword [rbp + 0x260], 0
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0xe0]
call fcn.1400ae9b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], r15
mov qword [rbp + 0x138], rbx
mov byte [rbp + 0x120], 0
movabs rsi, 0x7fffffffffffffff
movabs rdx, 0x8000000000000000
mov r13d, 0x1000
mov rdi, qword [rbp + 0x98]
cmp rdi, 4
jb 0x140073fca
lea rcx, [rbp + 0x80]
cmp rdi, rbx
cmova rcx, qword [rbp + 0x80]
mov qword [rbp + 0x90], 4
mov eax, dword [str.None]
mov dword [rcx], eax
mov byte [rcx + 4], 0
jmp 0x1400740a1
mov rcx, rdi
shr rcx, 1
mov rax, rsi
sub rax, rcx
cmp rdi, rax
jbe 0x140073fe1
lea rax, [rdx + 0x27]
jmp 0x140074005
lea rax, [rcx + rdi]
mov rsi, rbx
cmp rax, rbx
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r13
jb 0x140074024
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400749c9
mov rcx, rax
call fcn.14015e4a8
test rax, rax
je 0x1400749cf
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140074036
test rcx, rcx
je 0x140074033
call fcn.14015e4a8
mov rbx, rax
jmp 0x140074036
mov rbx, r15
mov qword [rbp + 0x90], 4
mov qword [rbp + 0x98], rsi
mov eax, dword [str.None]
mov dword [rbx], eax
mov byte [rbx + 4], 0
cmp rdi, 0xf
jbe 0x14007408b
lea rdx, [rdi + 1]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, r13
jb 0x140074086
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400749cf
call fcn.14015e7f4
mov qword [rbp + 0x80], rbx
movabs rsi, 0x7fffffffffffffff
mov ebx, recvfrom
mov rdi, qword [rbp - 0x28]
cmp rdi, 3
jb 0x1400740de
lea rbx, [rbp - 0x40]
cmp rdi, 0xf
cmova rbx, qword [rbp - 0x40]
mov qword [rbp - 0x30], 3
mov r8d, 3
lea rdx, [0x1401e73e4]
mov rcx, rbx
call fcn.140196d40
mov byte [rbx + 3], 0
jmp 0x1400741b0
mov rcx, rdi
shr rcx, 1
mov rax, rsi
sub rax, rcx
cmp rdi, rax
jbe 0x1400740ff
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140074124
lea rax, [rdi + rcx]
mov rsi, rbx
cmp rax, 0xf
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r13
jb 0x140074143
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400749c9
mov rcx, rax
call fcn.14015e4a8
test rax, rax
je 0x1400749cf
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140074155
test rcx, rcx
je 0x140074152
call fcn.14015e4a8
mov rbx, rax
jmp 0x140074155
mov rbx, r15
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rsi
mov eax, dword [0x1401e73e4]
mov word [rbx], ax
movzx eax, byte [reloc.WS2_32.dll_WSACleanup]
mov byte [rbx + 2], al
mov byte [rbx + 3], 0
cmp rdi, 0xf
jbe 0x1400741ac
lea rdx, [rdi + 1]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x1400741a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400749cf
call fcn.14015e7f4
mov qword [rbp - 0x40], rbx
lea rcx, [r14 + 0x40]
mov rdx, qword [rcx + 0x10]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rdx
cmp rax, 0x12
jb 0x1400749d5
cmp qword [rcx + 0x18], 0xf
jbe 0x1400741dc
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], socket
lea r9, str._events_SessionId
lea rcx, [rsp + 0x40]
call fcn.14005f040
nop
mov r8d, 0x1f
lea rdx, str.ConnectionTypeClientAppEvents
lea rcx, [rsp + 0x40]
call fcn.14005a990
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r15
mov esi, recvfrom
mov qword [rax + 0x18], rsi
mov byte [rax], 0
mov rdx, qword [rbp - 8]
cmp rdx, rsi
jbe 0x140074265
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, r13
jb 0x140074260
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400749db
call fcn.14015e7f4
movaps xmmword [rbp - 0x20], xmm6
movaps xmmword [rbp - 0x10], xmm7
lea rcx, [rsp + 0x40]
call fcn.14005a930
mov rdi, qword [rbp + 0x18]
cmp rdi, 8
jb 0x1400742a9
lea rcx, [rbp]
cmp rdi, 0xf
cmova rcx, qword [rbp]
mov qword [rbp + 0x10], 8
mov rax, qword [str.HTTP_1.1]
mov qword [rcx], rax
mov byte [rcx + 8], 0
jmp 0x140074377
mov rcx, rdi
shr rcx, 1
mov rax, rbx
sub rax, rcx
cmp rdi, rax
jbe 0x1400742ea
mov rsi, rbx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14015e4a8
test rax, rax
je 0x1400749cf
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140074320
lea rax, [rdi + rcx]
cmp rax, 0xf
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r13
jb 0x14007430e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400749c9
jmp 0x1400742cb
test rcx, rcx
je 0x14007431d
call fcn.14015e4a8
mov rbx, rax
jmp 0x140074320
mov rbx, r15
mov qword [rbp + 0x10], 8
mov qword [rbp + 0x18], rsi
mov rax, qword [str.HTTP_1.1]
mov qword [rbx], rax
mov byte [rbx + 8], 0
cmp rdi, 0xf
jbe 0x14007436e
lea rdx, [rdi + 1]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, r13
jb 0x140074369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400749cf
call fcn.14015e7f4
mov esi, recvfrom
mov qword [rbp], rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140070a80
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14007438f
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400743b0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14005ed90
mov ebx, r15d
cmp qword [rsp + 0x50], rbx
jbe 0x14007441f
mov rcx, r15
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rsp + 0x50]
sub r8d, ebx
cmp r8d, r13d
cmovg r8d, r13d
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
add rdx, rcx
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140074486
add ebx, eax
movsxd rcx, ebx
cmp rcx, qword [rsp + 0x50]
jb 0x1400743e0
xor bl, bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14007445a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r13
jb 0x140074455
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400749e1
call fcn.14015e7f4
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x80]
call fcn.14005a930
test bl, bl
je 0x14007448a
mov rcx, r12
call qword [sym.imp.WS2_32.dll_closesocket]
xor bl, bl
jmp 0x140074951
mov bl, 1
jmp 0x140074421
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov ecx, 0x1027
call fcn.14015e4a8
test rax, rax
je 0x1400749cf
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov qword [rsp + 0x40], r15
lea r13, [r15 + 0x1000]
mov qword [rsp + 0x50], r13
xor edx, edx
mov r8d, 0x1000
mov rcx, r15
call fcn.1401973e0
mov qword [rsp + 0x48], r13
xor r9d, r9d
mov r8d, 0x1000
mov rdx, r15
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor esi, esi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8d, 0x1000
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.14005ed90
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x140]
call fcn.140070f60
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.140071fd0
lea rcx, [rbp + 0x1e0]
call fcn.14005a930
lea rcx, [rbp + 0x1a0]
call fcn.140071890
lea rcx, [rbp + 0x180]
call fcn.14005a930
lea rcx, [rbp + 0x160]
call fcn.14005a930
lea rcx, [rbp + 0x140]
call fcn.14005a930
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400745ad
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400745a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400749e7
call fcn.14015e7f4
mov word [rsp + 0x6e], si
mov r8d, recvfrom
mov qword [rsp + 0x70], r8
mov ecx, recvfrom
mov qword [rsp + 0x78], rcx
movsd xmm0, qword [str.Content_Length]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1401e7288]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1401e728c]
mov word [rsp + 0x6c], ax
mov byte [rsp + 0x6e], 0
lea rdx, [rsp + 0x60]
movabs r9, 0xcbf29ce484222325
mov rcx, rsi
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140074610
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xe0]
call fcn.1400c13f0
mov rcx, qword [rax + 8]
mov rdx, qword [rbp + 0xe8]
test rcx, rcx
cmovne rdx, rcx
cmp rdx, qword [rbp + 0xe8]
je 0x140074662
add rdx, 0x30
lea rcx, [rbp - 0x60]
call fcn.1400ac7e0
jmp 0x14007467a
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov eax, recvfrom
mov qword [rbp - 0x48], rax
mov byte [rbp - 0x60], 0
cmp qword [rbp + 0x130], 0
ja 0x14007481e
cmp qword [rbp - 0x50], 0
je 0x14007481e
call fcn.1401773d8
mov rdi, rax
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rbx, qword [rbp - 0x60]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rbp + 0x260]
mov rcx, rbx
call fcn.1401760ec
movsxd rsi, eax
cmp rbx, qword [rbp + 0x260]
je 0x1400749ed
cmp dword [rdi], 0x22
je 0x1400749fa
mov rbx, rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor r14d, r14d
mov qword [rbp - 0x70], r14
test eax, eax
je 0x14007472f
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x140074a07
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400bd880
mov rdi, qword [rbp - 0x80]
add rbx, rdi
mov r8, rbx
sub r8, rdi
xor edx, edx
mov rcx, rdi
call fcn.1401973e0
mov qword [rbp - 0x78], rbx
mov r14, qword [rbp - 0x70]
jmp 0x140074733
mov rdi, qword [rbp - 0x80]
xor ebx, ebx
test esi, esi
jle 0x140074762
nop dword [rax]
movsxd rdx, ebx
add rdx, rdi
mov r8d, esi
sub r8d, ebx
xor r9d, r9d
mov rcx, r12
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140074762
add ebx, eax
cmp ebx, esi
jl 0x140074740
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor esi, esi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
movsxd r8, ebx
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14005ed90
mov rdx, qword [rbp + 0x138]
cmp rdx, 0xf
jbe 0x1400747c7
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400747c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074a0d
call fcn.14015e7f4
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x130], xmm1
test rdi, rdi
je 0x140074817
sub r14, rdi
mov rax, rdi
cmp r14, 0x1000
jb 0x14007480c
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140074a13
mov rdx, r14
mov rcx, rdi
call fcn.14015e7f4
mov r14, qword [rbp + 0x268]
lea rcx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rcx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
cmp r8, 2
jne 0x1400748d0
lea rdx, [0x1401e742c]
call fcn.140197820
test eax, eax
jne 0x1400748d0
lea ecx, [rax + 0x18]
call fcn.14015e4a8
lea rcx, [0x140073c00]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rax + 0x10], r14
mov qword [rbp + 0x260], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400cde60]
xor edx, edx
xor ecx, ecx
call fcn.140176004
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140074a24
cmp dword [rsp + 0x68], 0
je 0x140074a19
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.14013e414
test eax, eax
jne 0x140074a19
mov bl, 1
jmp 0x1400748d2
xor bl, bl
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14007490d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074908
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400749c3
call fcn.14015e7f4
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], recvfrom
mov byte [rbp - 0x60], 0
sub r13, r15
cmp r13, 0x1000
jb 0x140074945
add r13, 0x27
mov rcx, qword [r15 - 8]
sub r15, rcx
lea rax, [r15 - 8]
cmp rax, 0x1f
ja 0x1400749cf
mov r15, rcx
mov rdx, r13
mov rcx, r15
call fcn.14015e7f4
nop
lea rcx, [rbp + 0x120]
call fcn.14005a930
lea rcx, [rbp + 0xe0]
call fcn.140071890
lea rcx, [rbp + 0xc0]
call fcn.14005a930
lea rcx, [rbp + 0xa0]
call fcn.14005a930
lea rcx, [rbp + 0x80]
call fcn.14005a930
nop
lea rcx, [rbp + 0x60]
call fcn.14005a930
lea rcx, [rbp + 0x20]
call fcn.140071890
lea rcx, [rbp]
call fcn.14005a930
lea rcx, [rbp - 0x20]
call fcn.14005a930
lea rcx, [rbp - 0x40]
call fcn.14005a930
movzx eax, bl
jmp 0x140073e5b
call fcn.140173834
nop
call fcn.14000d3d0
int3
call fcn.140173834
int3
call fcn.140043600
nop
call fcn.140173834
nop
call fcn.140173834
nop
call fcn.140173834
nop
lea rcx, [0x1401e63f8]
call fcn.14013bcd8
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.14013bd20
int3
call fcn.1400b2510
nop
call fcn.140173834
nop
call fcn.140173834
nop
mov ecx, 1
call fcn.14013cec0
nop
mov dword [rsp + 0x68], esi
mov ecx, 6
call fcn.14013cec0
int3