Function at 0x1400242a0
Capabilities:
Access peb ldr_data
Encode data using xor
Get process filename
Hash data using fnv
Initialize winsock library
Resolve dns
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x1401798e0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbp, rdx
mov r14, rcx
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], al
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [r8 + rdx], al
jne 0x1400242f0
lea rcx, [rsp + 0x20]
call fcn.140020970
nop
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword gs:[0x60]
test eax, eax
mov rax, qword [rcx + 0x18]
mov rax, qword [rax + 0x10]
je 0x1400243c0
nop dword [rax]
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov edi, dword [rcx + r11 + 0x88]
add rdi, r11
cmp rdi, r11
je 0x1400243a6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400243a6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r11]
add rdx, r11
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400243a1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140024380
cmp r8d, 0x23a979e4
je 0x1400243ab
test r9d, r9d
jne 0x140024360
mov rax, qword [rax]
jmp 0x140024330
lea rdx, str.Connection_Error_1
jmp 0x140024a72
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140024436
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024436
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140024431
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140024410
cmp r8d, 0x9012766c
je 0x14002443b
test r9d, r9d
jne 0x1400243f0
mov rax, qword [rax]
jmp 0x1400243c0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
xor r8d, r8d
lea edx, [r8 + 1]
mov r15d, 2
mov ecx, r15d
call r9
mov qword [r14 + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400245eb
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov edi, dword [rcx + r11 + 0x88]
add rdi, r11
cmp rdi, r11
je 0x140024506
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024506
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r11 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r11
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140024501
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400244e0
cmp r8d, 0x23a979e4
je 0x14002450b
test r9d, r9d
jne 0x1400244c0
mov rax, qword [rax]
jmp 0x140024490
mov ecx, dword [rdi + 0x1c]
add rcx, r11
mov eax, dword [rdi + 0x24]
add rax, r11
movzx eax, word [rax + r9*2]
mov r10d, dword [rcx + rax*4]
add r10, r11
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Connection_Error_2
xor ecx, ecx
call r10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400245c6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400245c6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400245c1
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400245a0
cmp r8d, 0x8bd299c2
je 0x1400245cb
test r9d, r9d
jne 0x140024580
mov rax, qword [rax]
jmp 0x140024550
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov ecx, dword [rcx + rax*4]
add rcx, r10
call rcx
xor bl, bl
jmp 0x140024ab7
mov word [rsp + 0x40], r15w
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140024686
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024686
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140024681
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140024660
cmp r8d, 0xb1fdcf15
je 0x14002468b
test r9d, r9d
jne 0x140024640
mov rax, qword [rax]
jmp 0x140024610
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
add rdx, r10
mov ecx, 0x63dd
call rdx
mov word [rsp + 0x42], ax
lea rsi, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rsi, qword [rsp + 0x20]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140024746
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024746
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r10 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140024741
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140024720
cmp r8d, 0xc5c336e5
je 0x14002474b
test r9d, r9d
jne 0x140024700
mov rax, qword [rax]
jmp 0x1400246d0
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
lea r8, [rsp + 0x44]
mov rdx, rsi
mov ecx, r15d
call r9
cmp eax, 1
je 0x140024917
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rdx, rsi
lea rcx, [0x1400b08fc]
call fcn.140023ae0
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x140024846
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024846
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rax, [r10 + r9*4]
mov edx, dword [rax + rbx]
add rdx, r10
mov r8d, 0x811c9dc5
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140024841
nop dword [rax]
movsx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140024820
cmp r8d, 0xc5c336e5
je 0x14002484b
test r9d, r9d
jne 0x140024800
mov rcx, qword [rcx]
jmp 0x1400247d0
mov edx, dword [rdi + 0x1c]
add rdx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r9d, dword [rdx + rax*4]
add r9, r10
lea r8, [rsp + 0x44]
mov rdx, rsi
mov ecx, r15d
call r9
cmp eax, 1
je 0x140024917
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov edi, dword [rcx + r11 + 0x88]
add rdi, r11
cmp rdi, r11
je 0x140024906
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024906
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [r11 + r9*4]
mov edx, dword [rcx + rbx]
add rdx, r11
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140024901
nop dword [rax]
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400248e0
cmp r8d, 0x23a979e4
je 0x14002490b
test r9d, r9d
jne 0x1400248c0
mov rax, qword [rax]
jmp 0x140024890
lea rdx, str.Couldnt_resolve_URL
jmp 0x140024a72
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov edi, dword [rcx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x1400249a6
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x1400249a6
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x811c9dc5
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400249a1
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140024980
cmp r8d, 0xaae0ccf9
je 0x1400249ab
test r9d, r9d
jne 0x140024960
mov rax, qword [rax]
jmp 0x140024930
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rdi + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r9d, dword [rcx + rax*4]
add r9, r10
mov r8d, 0x10
lea rdx, [rsp + 0x40]
mov rcx, qword [r14 + 0x10]
call r9
test eax, eax
je 0x140024a9d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r11, qword [rax + 0x30]
movsxd rcx, dword [r11 + 0x3c]
mov edi, dword [rcx + r11 + 0x88]
add rdi, r11
cmp rdi, r11
je 0x140024a66
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x140024a66
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r11]
add rcx, r11
mov r8d, 0x811c9dc5
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140024a61
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140024a40
cmp r8d, 0x23a979e4
je 0x140024a6b
test r9d, r9d
jne 0x140024a20
mov rax, qword [rax]
jmp 0x1400249f0
lea rdx, str.Connection_Error_3
mov eax, dword [rdi + 0x24]
add rax, r11
mov ecx, dword [rdi + 0x1c]
movzx eax, word [rax + r9*2]
add rcx, r11
mov r10d, dword [rcx + rax*4]
xor r9d, r9d
lea r8, str.Error
xor ecx, ecx
add r10, r11
call r10
xor bl, bl
jmp 0x140024ab7
mov qword [r14], rbp
mov dword [r14 + 8], 0x63dd
mov dword [r14 + 0x1c], 0xaf5bc6
mov byte [r14 + 0x18], 1
mov bl, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140024af7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024af2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024af2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400825b4
movzx eax, bl
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140082c20
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret