Function at 0x140022c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x170
mov dword [0x1401bd808], 1
mov ecx, 0x2710
call fcn.14001a790
call fcn.14001cd60
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x30], 0
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x30], WSAStartup
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x30], WSAGetLastError
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x30], WSAGetLastError
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x30], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x30], 0x64
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x30], 0x33
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x30], WSAGetLastError
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x30], WSAGetLastError
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x30], reloc.WLDAP32.dll_Ordinal_50
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x30], WSAGetLastError
call fcn.140007e10
call fcn.1400120f0
lea rcx, [0x1401bd8b0]
call fcn.140034c90
mov rcx, rax
call fcn.140010cd0
mov edx, 0xffffffff
lea rcx, [0x1401bd8b0]
call fcn.1400365a0
mov dword [rsp + 0x54], 0
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call fcn.140013230
test eax, eax
je 0x140022dd6
mov dword [rsp + 0x20], 0
mov r9d, reloc.WLDAP32.dll_Ordinal_32
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x54]
call fcn.14008c52c
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x40], 0x61
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x40], 0x54
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x40], 0x65
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x40], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x40], WSAStartup
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x40], 0x61
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x40], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x40], 0x64
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x40], 0x68
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x40], 0x43
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x40], WSAStartup
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x40], 0x65
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x40], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401bd828], rax
cmp qword [0x1401bd828], 0
jne 0x140022eca
xor eax, eax
jmp 0x140022f2f
cmp dword [rsp + 0x50], 3
jge 0x140022f2a
cmp qword [0x1401bd810], 0
jne 0x140022f2a
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400095f0]
xor edx, edx
xor ecx, ecx
call qword [0x1401bd828]
mov qword [0x1401bd810], rax
cmp qword [0x1401bd810], 0
je 0x140022f14
jmp 0x140022f2a
mov ecx, 0xbb8
call fcn.14001a790
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x140022eca
mov eax, 1
add rsp, 0x170
pop rdi
ret