Function at 0x140024fa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x140158280]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov byte [rsp + 0x60], r8b
mov r13, rdx
mov r15, rcx
or rsi, 0xffffffffffffffff
mov r14d, esi
xor ebx, ebx
mov r12d, ebx
mov dword [rbp - 0x74], ebx
mov rax, rsi
inc rax
cmp byte [rcx + rax], bl
jne 0x140024ff3
test rax, rax
je 0x140025362
call fcn.140036140
test eax, eax
je 0x140025362
call fcn.140012f60
mov dword [rbp - 0x40], ebx
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140071640
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x68], rbx
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x78], esi
lea rcx, [rbp - 0x78]
call fcn.140014490
mov edi, eax
call fcn.140016610
mov rdx, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002506c
mov ecx, 0x80004005
call fcn.14000f440
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp - 0x70], rax
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
mov ecx, edi
call fcn.14001bdc0
test al, al
je 0x14002530c
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002530c
mov qword [rsp + 0x78], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
call fcn.140034de0
test eax, eax
je 0x1400252f7
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140034980
test eax, eax
je 0x140025262
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 0x101
mov word [rbp], bx
mov edi, ebx
nop word [rax + rax]
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.14000da00
nop
mov r8, qword [rsp + 0x68]
mov ecx, 1
sub ecx, dword [r8 - 8]
mov eax, dword [r8 - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14002514d
mov edx, 0x104
lea rcx, [rsp + 0x68]
call fcn.14001ba70
mov r8, qword [rsp + 0x68]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x480
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov rdx, r15
mov rcx, qword [rsp + 0x78]
call fcn.140034a60
mov r12d, eax
mov rcx, qword [rsp + 0x68]
movsxd rdx, dword [rcx - 0xc]
call fcn.140072b78
mov rcx, rax
test eax, eax
js 0x140025257
mov rax, qword [rsp + 0x68]
cmp ecx, dword [rax - 0xc]
jg 0x140025257
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x68]
mov byte [rcx + rax], 0
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call fcn.140037900
test r12d, r12d
jne 0x140025200
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400251ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
inc edi
cmp edi, 0x32
jl 0x140025110
mov r12d, dword [rbp - 0x74]
jmp 0x140025223
mov r14d, dword [rbp - 0x58]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002521d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r12d, 1
mov rcx, qword [rbp - 0x68]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140025237
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002524b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x7d0
call fcn.140037900
jmp 0x140025262
mov ecx, 0x80070057
call fcn.14000f440
nop
cmp qword [rbp - 0x80], 0
je 0x1400252e2
mov dword [rbp + 0x30], 0x72657355
mov dword [rbp + 0x34], 0x2e766e65
mov dword [rbp + 0x38], 0x6c6c64
mov word [rbp + 0x53], 0x6f6c
mov word [rbp + 0x45], 0x796f
mov word [rbp + 0x56], WSAGetLastError
mov dword [rbp + 0x4b], 0x6d6e6f72
mov dword [rbp + 0x40], 0x74736544
mov dword [rbp + 0x47], 0x69766e45
mov dword [rbp + 0x4f], 0x42746e65
mov byte [rbp + 0x55], 0x63
mov byte [rbp + 0x44], WSAStartup
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400252e2
lea rdx, [rbp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140166ef8], rax
test rax, rax
je 0x1400252e2
mov rcx, qword [rbp - 0x80]
call rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400252f7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002530c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rbx
cmp byte [rsp + 0x60], 0
je 0x140025344
test r14d, r14d
jle 0x140025344
mov ecx, r14d
call fcn.1400197f0
test eax, eax
je 0x140025344
inc ebx
mov ecx, 0x3e8
call fcn.140037900
cmp ebx, 0x258
jg 0x140025344
mov ecx, r14d
call fcn.1400197f0
test eax, eax
jne 0x140025324
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14002535d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, r12d
jmp 0x140025364
xor eax, eax
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.14006ed70
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret