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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rbp, qword [rsp + 0xf8]
xor r12d, r12d
mov rbx, rcx
mov word [rsp + 0x30], r12w
mov r14, r9
mov word [rsp + 0x28], r12w
mov r9, qword [rsp + 0xf0]
mov esi, r8d
mov r13, qword [rbp + 0x2f8]
mov r15, rdx
mov edx, dword [rsp + 0xe8]
mov r8d, 0x201
mov qword [r11 + 8], r12
mov r9, qword [r9]
lea eax, [rdx - 0x3000]
test eax, 0xffffefff
mov eax, 0x60
sete cl
test cl, cl
mov byte [rsp + 0xe8], cl
lea rcx, [r11 - 0x78]
cmovne eax, r8d
mov r8, rbx
mov dword [rsp + 0x20], eax
call fcn.14011ce40
mov edi, eax
test eax, eax
jne 0x140120f34
xor edx, edx
mov r8d, 0xbc
mov rcx, rbx
call fcn.140277340
cmp byte [rsp + 0xe8], r12b
mov eax, 0x30
mov ecx, 0x201
mov dword [rbx + 0x20], 0xff9c0000
cmovne eax, ecx
mov dword [rbx + 0x24], 0x320000
mov dword [rbx + 0xb8], eax
mov dword [rbx + 0x2c], 2
mov dword [rbx + 0x30], 0x10000
mov dword [rbx + 0x3c], 0x10000
mov dword [rbx + 0x9c], 0x2210
mov dword [rbx], 0xffff
mov dword [rbx + 4], 0xffff
mov dword [rbx + 8], 0xffff
mov dword [rbx + 0xc], 0xffff
mov dword [rbx + 0x10], 0xffff
mov dword [rbx + 0x14], 0xffff
mov dword [rbx + 0x80], 0xffff
mov dword [rbx + 0x84], 0xffff
mov dword [rbx + 0x88], 0xffff
mov dword [rbx + 0xac], 0xffff
cmp dword [r15 + 0x10], r12d
je 0x140120d6f
lea r9, [rsp + 0xf8]
mov edx, esi
lea r8, [rsp + 0xc0]
mov rcx, r15
call fcn.14011e900
mov rsi, qword [rsp + 0xc0]
mov edi, eax
test eax, eax
jne 0x140120dc8
mov eax, dword [rsp + 0xf8]
jmp 0x140120dab
mov edx, dword [r15 + 0x18]
mov rcx, r14
call fcn.140107030
mov edi, eax
test eax, eax
jne 0x140120f34
mov edx, dword [r15 + 0x1c]
mov rcx, r14
call fcn.140107240
mov edi, eax
test eax, eax
jne 0x140120f34
mov rsi, qword [r14 + 0x38]
mov qword [r14 + 0x38], r12
mov qword [r14 + 0x40], r12
mov eax, dword [r15 + 0x1c]
test rsi, rsi
je 0x140120db6
mov r12d, eax
add r12, rsi
mov r8, r12
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14011ddb0
mov edi, eax
cmp dword [r15 + 0x10], 0
je 0x140120dfa
cmp qword [r15 + 0x28], 0
jne 0x140120e18
mov rax, qword [r15]
test rax, rax
je 0x140120e18
cmp qword [rax + 0x20], 0
je 0x140120e18
mov r8, qword [rax + 0x30]
test rsi, rsi
je 0x140120e18
mov rdx, rsi
mov rcx, r8
call qword [r8 + reloc.WS2_32.dll_recv]
jmp 0x140120e18
test r14, r14
je 0x140120e18
cmp qword [r14 + 0x20], 0
je 0x140120e18
mov rax, qword [r14 + 0x30]
test rsi, rsi
je 0x140120e18
mov rdx, rsi
mov rcx, rax
call qword [rax + reloc.WS2_32.dll_recv]
test edi, edi
jne 0x140120f34
cmp dword [rbx + 0x84], 0xffff
jne 0x140120f34
mov rcx, qword [rsp + 0xf0]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call fcn.1401209f0
mov edi, eax
test eax, eax
jne 0x140120f34
movzx r15d, byte [rsp + 0xe8]
test r15b, r15b
jne 0x140120ed9
mov rax, qword [rbp + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x140120e93
mov rsi, qword [rbp + 0x90]
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rsi + 0x60]
test eax, eax
je 0x140120ec4
mov ecx, eax
call qword [r13 + 0x28]
mov dword [rsi + 0x60], eax
test eax, eax
js 0x140120e84
jmp 0x140120ec4
mov dword [rbx + 0x2c8], ecx
mov rax, qword [rbp + 0xd0]
cmp dword [rax + 0x5c], 0
je 0x140120ec4
mov ecx, dword [rax + 0x5c]
call qword [r13 + 0x28]
mov rcx, qword [rbp + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [rbp + 0xd0]
cmp dword [rax + 0x5c], 0
jl 0x140120ea6
cmp dword [rbx + 0x2c8], 0
jne 0x140120ed9
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rbx + 0x21c]
test eax, eax
je 0x140120f34
mov edx, dword [rbx + 0x74]
mov rcx, r14
add edx, eax
add edx, dword [rsp + 0xe0]
call fcn.140107030
mov edi, eax
test eax, eax
jne 0x140120f34
movzx r9d, r15b
lea rcx, [rbx + 0x290]
mov r8b, 1
mov rdx, r14
call fcn.14011e260
mov edi, eax
test eax, eax
jne 0x140120f34
lea rdx, [rbx + 0x2c0]
xor r9d, r9d
xor r8d, r8d
lea rcx, [rbx + 0x290]
call fcn.14011e690
mov edi, eax
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rax]
test rdx, rdx
je 0x140120f4d
mov rcx, r8
call qword [r8 + reloc.WS2_32.dll_recv]
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret