Function at 0x140259f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14040b018]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edi, dword [rcx + 0x30]
test edi, edi
jne 0x14025a8d9
mov rsi, rcx
mov eax, dword [rcx + 0x80]
xor edi, edi
cmp eax, r8d
jle 0x14025a8d9
mov ebx, edx
xor ebp, ebp
cmp edx, 1
setne bpl
add ebp, r8d
cmp ebp, eax
jge 0x140259fe8
xor r14d, r14d
cmp ebx, 1
setne r14b
movsxd rax, r8d
add r14, rax
imul r15, r14, 0x38
add r15, 0x10
mov rax, qword [rsi + 0x78]
mov rcx, qword [rax + r15]
call fcn.14025b130
inc r14
movsxd rax, dword [rsi + 0x80]
add r15, 0x38
cmp r14, rax
jl 0x140259fc8
mov dword [rsi + 0x80], ebp
cmp ebx, 1
je 0x14025a0e1
mov rbx, qword [rsi + 0x128]
test rbx, rbx
jne 0x14025a011
mov rax, qword [rsi + 0x50]
cmp qword [rax], 0
je 0x14025a8d9
test ebp, ebp
je 0x14025a143
mov rdi, qword [rsi + 0x78]
dec ebp
movsxd rax, ebp
imul r12, rax, 0x38
mov rax, rdi
add rax, r12
mov qword [rsp + 0x30], rax
je 0x14025a143
mov ebp, dword [rdi + r12 + 0x18]
mov ecx, 0x200
call fcn.140247f50
test rax, rax
je 0x14025a52d
mov rbx, rax
lea r14, [rdi + r12]
add r14, 0x18
mov rcx, rax
add rcx, 4
mov dword [rsp + 0x2c], 0
mov r8d, 0x1fc
xor edx, edx
call fcn.1403369a0
mov dword [rbx], ebp
mov eax, dword [r14]
mov dword [rsi + 0x20], eax
mov al, byte [rsi + 0x10]
mov byte [rsi + 0x17], al
lea r14, [rsi + 0x60]
mov r15, qword [rsi + 0x60]
cmp qword [rsi + 0x128], 0
jne 0x14025a421
mov r12, qword [rdi + r12 + 8]
test r12, r12
cmove r12, r15
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [r14], rax
cmp qword [r14], r12
jge 0x14025a7b2
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, 1
call fcn.14025b1f0
test eax, eax
je 0x14025a0b1
mov edi, eax
jmp 0x14025a4e7
mov rbx, qword [rsi + 0x78]
movsxd rax, ebp
imul r14, rax, 0x38
cmp dword [rbx + r14 + 0x20], 0
je 0x14025a8d9
mov rcx, qword [rsi + 0x58]
mov rax, qword [rcx]
mov edi, 0
test rax, rax
je 0x14025a8d9
xor edi, edi
lea rdx, reloc.WS2_32.dll_accept
cmp rax, rdx
jne 0x14025a136
mov rax, qword [rsi + 0xc8]
add rax, 4
mov edx, dword [rbx + r14 + 0x1c]
imul rdx, rax
call fcn.140256230
mov edi, eax
mov eax, dword [rbx + r14 + 0x1c]
mov dword [rsi + 0x3c], eax
jmp 0x14025a8d9
mov eax, dword [rsi + 0x24]
mov dword [rsi + 0x20], eax
mov al, byte [rsi + 0x10]
mov byte [rsi + 0x17], al
test rbx, rbx
je 0x14025a40a
cmp byte [rbx + 0x40], 0
je 0x14025a537
mov r15d, dword [rbx + 0x58]
mov rax, qword [rbx + 0x30]
mov rax, qword [rax]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rbx + 0x58], xmm1
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x68], xmm2
mov eax, dword [rbx + 0x58]
lea ecx, [rax + 1]
xor edi, edi
cmp ecx, r15d
ja 0x14025a36a
movabs rdx, 0xffffffff021
lea r13, [rdx - 0x21]
mov r12d, ecx
lea edx, [rax + 0x1001]
movabs rcx, 0xffffffff021
add rdx, rcx
mov rcx, qword [rbx + 0x30]
test rdx, r13
je 0x14025a1db
shr rdx, 0xc
movsxd rdx, edx
add eax, 0x22
and eax, 0xfff
shl rax, 2
add rax, qword [rcx + rdx*8]
jmp 0x14025a1eb
mov rax, qword [rcx]
mov ecx, r12d
lea rax, [rax + rcx*4]
add rax, 0x84
mov ebp, dword [rax]
mov rcx, qword [rsi + 0x120]
mov rax, qword [0x14041b058]
mov rcx, qword [rcx + 0x48]
xor edi, edi
mov edx, ebp
xor r8d, r8d
call qword [case.0x1403339d6.0]
test rax, rax
je 0x14025a33c
mov rcx, qword [rsi + 0x120]
mov r14, qword [rax + 8]
cmp qword [r14], 0
je 0x14025a230
inc qword [rcx + 0x18]
inc qword [r14 + 0x38]
jmp 0x14025a23d
mov edx, ebp
mov r8, rax
call fcn.1402592d0
mov r14, rax
test r14, r14
je 0x14025a33c
cmp qword [r14 + 0x38], 1
jne 0x14025a297
test byte [r14 + 0x34], 2
je 0x14025a316
mov rax, qword [r14 + 0x18]
cmp qword [rax + 0x10], r14
jne 0x14025a26a
mov rcx, qword [r14 + 0x48]
mov qword [rax + 0x10], rcx
mov rcx, qword [r14 + 0x40]
mov rdx, qword [r14 + 0x48]
lea r8, [rax + 8]
lea r9, [rcx + 0x48]
test rcx, rcx
cmove r9, r8
mov qword [r9], rdx
mov rcx, qword [r14 + 0x40]
mov rdx, qword [r14 + 0x48]
test rdx, rdx
je 0x14025a30a
mov qword [rdx + 0x40], rcx
jmp 0x14025a316
mov rcx, r14
call fcn.140259320
mov edi, eax
test eax, eax
jne 0x14025a2b5
mov rax, qword [rsi + 0x108]
mov rcx, r14
call qword [case.0x1403339d6.0]
test byte [r14 + 0x34], 0x20
jne 0x14025a2c6
mov rcx, r14
call fcn.140252fb0
jmp 0x14025a33c
mov rax, qword [r14 + 0x28]
dec dword [rax + 0x98]
mov rcx, qword [rax + 0xa8]
mov qword [r14 + 0x20], rcx
mov qword [rax + 0xa8], r14
mov edx, dword [r14 + 0x30]
dec edx
imul rdx, qword [rax + 0xc8]
mov r8, qword [r14 + 8]
mov rcx, qword [rax + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
call qword [case.0x1403339d6.0]
jmp 0x14025a33c
mov qword [rax], rcx
test rcx, rcx
jne 0x14025a316
mov byte [rax + 0x31], 2
mov rax, qword [r14 + 0x18]
dec qword [rax + 0x18]
mov rax, qword [0x14041b060]
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x18]
mov rcx, qword [rcx + 0x48]
mov r8d, 1
call qword [case.0x1403339d6.0]
mov rax, qword [rsi + 0x70]
test rax, rax
je 0x14025a352
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
jmp 0x14025a340
test edi, edi
jne 0x14025a367
lea ecx, [r12 + 1]
mov eax, r12d
cmp ecx, r15d
jbe 0x14025a1a3
mov eax, dword [rbx + 0x58]
cmp r15d, eax
je 0x14025a539
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rcx
movaps xmm0, xmmword [0x1403df810]
movaps xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x14025a539
add eax, 0x1000
movabs r14, 0xffffffff021
add r14, rax
shr r14, 0xc
cmp dword [rbx + 0x28], r14d
jle 0x14025a3c9
mov rax, qword [rbx + 0x30]
movsxd rcx, r14d
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x48], rcx
xor eax, eax
test rcx, rcx
jne 0x14025a3e8
lea r15, [rsp + 0x48]
mov rcx, rbx
mov edx, r14d
mov r8, r15
call fcn.1402587f0
mov rcx, qword [r15]
test rcx, rcx
je 0x14025a539
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x40], rdx
test r14d, r14d
je 0x14025a7bf
shl r14d, 0xc
add r14d, 0xffffffde
jmp 0x14025a7ce
lea r14, [rsi + 0x60]
mov r15, qword [rsi + 0x60]
mov al, 1
mov dword [rsp + 0x2c], eax
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [r14], 0
lea r12, [rsp + 0x40]
cmp qword [r14], r15
jge 0x14025a4da
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, rsi
xor edx, edx
mov r8, r15
mov r9, r12
call fcn.14025b6a0
mov edi, eax
mov r13d, dword [rsp + 0x40]
test r13d, r13d
jne 0x14025a48d
mov ecx, dword [rsi + 0xb8]
add rcx, qword [rsi + 0x68]
cmp rcx, qword [rsi + 0x60]
jne 0x14025a4d0
mov rax, r15
sub rax, rcx
mov rcx, qword [rsi + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r13, rax
test edi, edi
jne 0x14025a4d0
test r13d, r13d
je 0x14025a4d0
mov ebp, 1
cmp qword [r14], r15
jge 0x14025a4ce
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, 1
call fcn.14025b1f0
mov edi, eax
test eax, eax
jne 0x14025a4d0
lea eax, [rbp + 1]
cmp ebp, r13d
mov ebp, eax
jb 0x14025a49b
jmp 0x14025a4d0
xor edi, edi
test edi, edi
je 0x14025a42d
jmp 0x14025a4dc
xor edi, edi
cmp byte [rsp + 0x2c], 0
jne 0x14025a8c8
mov rdx, qword [rsp + 0x30]
mov r13d, dword [rdx + 0x1c]
mov rax, qword [rsi + 0xc8]
add rax, 4
imul rax, r13
mov qword [rsp + 0x38], rax
mov r12, qword [rsi + 0x128]
test r12, r12
je 0x14025a6db
mov eax, dword [rdx + 0x30]
cmp eax, dword [r12 + 0x88]
jne 0x14025a6e8
mov eax, dword [rdx + 0x24]
jmp 0x14025a6fc
mov edi, 7
jmp 0x14025a8d9
xor edi, edi
mov rcx, qword [rsi + 0x120]
call fcn.14025b990
test rax, rax
je 0x14025a8d9
test edi, edi
jne 0x14025a8d9
mov rbx, rax
mov ebp, dword [rbx + 0x30]
mov rbx, qword [rbx + 0x20]
mov rcx, qword [rsi + 0x120]
mov rax, qword [0x14041b058]
mov rcx, qword [rcx + 0x48]
xor edi, edi
mov edx, ebp
xor r8d, r8d
call qword [case.0x1403339d6.0]
test rax, rax
je 0x14025a6af
mov rcx, qword [rsi + 0x120]
mov r14, qword [rax + 8]
cmp qword [r14], 0
je 0x14025a5a3
inc qword [rcx + 0x18]
inc qword [r14 + 0x38]
jmp 0x14025a5b0
mov edx, ebp
mov r8, rax
call fcn.1402592d0
mov r14, rax
test r14, r14
je 0x14025a6af
cmp qword [r14 + 0x38], 1
jne 0x14025a60a
test byte [r14 + 0x34], 2
je 0x14025a689
mov rax, qword [r14 + 0x18]
cmp qword [rax + 0x10], r14
jne 0x14025a5dd
mov rcx, qword [r14 + 0x48]
mov qword [rax + 0x10], rcx
mov rcx, qword [r14 + 0x40]
mov rdx, qword [r14 + 0x48]
lea r8, [rax + 8]
lea r9, [rcx + 0x48]
test rcx, rcx
cmove r9, r8
mov qword [r9], rdx
mov rcx, qword [r14 + 0x40]
mov rdx, qword [r14 + 0x48]
test rdx, rdx
je 0x14025a67d
mov qword [rdx + 0x40], rcx
jmp 0x14025a689
mov rcx, r14
call fcn.140259320
mov edi, eax
test eax, eax
jne 0x14025a628
mov rax, qword [rsi + 0x108]
mov rcx, r14
call qword [case.0x1403339d6.0]
test byte [r14 + 0x34], 0x20
jne 0x14025a639
mov rcx, r14
call fcn.140252fb0
jmp 0x14025a6af
mov rax, qword [r14 + 0x28]
dec dword [rax + 0x98]
mov rcx, qword [rax + 0xa8]
mov qword [r14 + 0x20], rcx
mov qword [rax + 0xa8], r14
mov edx, dword [r14 + 0x30]
dec edx
imul rdx, qword [rax + 0xc8]
mov r8, qword [r14 + 8]
mov rcx, qword [rax + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
call qword [case.0x1403339d6.0]
jmp 0x14025a6af
mov qword [rax], rcx
test rcx, rcx
jne 0x14025a689
mov byte [rax + 0x31], 2
mov rax, qword [r14 + 0x18]
dec qword [rax + 0x18]
mov rax, qword [0x14041b060]
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x18]
mov rcx, qword [rcx + 0x48]
mov r8d, 1
call qword [case.0x1403339d6.0]
mov rax, qword [rsi + 0x70]
test rax, rax
je 0x14025a6c5
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
jmp 0x14025a6b3
test rbx, rbx
je 0x14025a8d9
test edi, edi
je 0x14025a559
jmp 0x14025a8d9
test edi, edi
jne 0x14025a8c8
jmp 0x14025a896
mov dword [rdx + 0x24], 0
mov eax, dword [r12 + 0x88]
mov dword [rdx + 0x30], eax
xor eax, eax
cmp eax, dword [r12 + 0x58]
jae 0x14025a896
mov dword [r12 + 0x58], eax
mov ecx, dword [rdx + 0x28]
mov dword [r12 + 0x60], ecx
mov ecx, dword [rdx + 0x2c]
mov dword [r12 + 0x64], ecx
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rcx
movaps xmm0, xmmword [0x1403df810]
movaps xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x14025a88d
add eax, 0x1000
movabs rdi, 0xffffffff021
add rdi, rax
shr rdi, 0xc
cmp dword [r12 + 0x28], edi
jle 0x14025a774
mov rax, qword [r12 + 0x30]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x48], rcx
xor eax, eax
test rcx, rcx
jne 0x14025a793
lea r13, [rsp + 0x48]
mov rcx, r12
mov edx, edi
mov r8, r13
call fcn.1402587f0
mov rcx, qword [r13]
test rcx, rcx
je 0x14025a88d
lea rdx, [rcx + 0x4000]
mov qword [rsp + 0x40], rdx
test edi, edi
je 0x14025a82b
shl edi, 0xc
add edi, 0xffffffde
jmp 0x14025a839
mov dword [rsp + 0x2c], 0
jmp 0x14025a428
add rcx, 0x88
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov dword [rsp + 0x50], r14d
test eax, eax
jne 0x14025a539
mov eax, dword [rbx + 0x58]
sub eax, r14d
xor ecx, ecx
mov rdx, qword [rsp + 0x40]
movzx edx, word [rdx + rcx*2]
movzx edx, dx
cmp eax, edx
jge 0x14025a7fe
mov rdx, qword [rsp + 0x40]
mov word [rdx + rcx*2], 0
inc rcx
cmp rcx, 0x2000
jne 0x14025a7e3
mov edx, dword [rsp + 0x40]
movsxd rcx, eax
shl rcx, 2
add rcx, qword [rsp + 0x48]
sub edx, ecx
movsxd r8, edx
xor edx, edx
call fcn.1403369a0
jmp 0x14025a539
add rcx, 0x88
mov qword [rsp + 0x48], rcx
xor edi, edi
mov dword [rsp + 0x50], edi
test eax, eax
jne 0x14025a88d
mov eax, dword [r12 + 0x58]
sub eax, edi
xor ecx, ecx
mov rdx, qword [rsp + 0x40]
movzx edx, word [rdx + rcx*2]
movzx edx, dx
cmp eax, edx
jge 0x14025a865
mov rdx, qword [rsp + 0x40]
mov word [rdx + rcx*2], 0
inc rcx
cmp rcx, 0x2000
jne 0x14025a84a
mov edx, dword [rsp + 0x40]
movsxd rcx, eax
shl rcx, 2
add rcx, qword [rsp + 0x48]
sub edx, ecx
movsxd r8, edx
xor edx, edx
call fcn.1403369a0
mov rax, qword [rsp + 0x30]
mov r13d, dword [rax + 0x1c]
dec r13d
lea r12, [rsp + 0x38]
xor edi, edi
inc r13d
cmp r13d, dword [rsi + 0x3c]
jae 0x14025a8c8
mov dword [rsp + 0x20], 1
mov rcx, rsi
mov rdx, r12
mov r8, rbx
xor r9d, r9d
call fcn.14025b1f0
test eax, eax
je 0x14025a8a0
mov edi, eax
mov rcx, rbx
call fcn.14025b130
test edi, edi
jne 0x14025a8d9
mov qword [r14], r15
xor edi, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140334bf0
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret