Function at 0x140101120
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, 0x6c8
movaps xmmword [rsp + 0x6b0], xmm6
mov qword [rsp + 0x78], r9
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0xa0], rcx
mov al, byte [rdx + 0x7b]
xor ecx, ecx
test al, al
setne cl
cmp al, 2
mov edx, 2
cmove ecx, edx
mov dword [rsp + 0x38], ecx
mov al, byte [rdi + 0x7c]
xor ecx, ecx
test al, al
setne cl
cmp al, 2
cmove ecx, edx
mov dword [rsp + 0x30], ecx
mov al, byte [rdi + 0x7d]
xor r14d, r14d
test al, al
setne r14b
cmp al, 2
cmove r14d, edx
mov ebx, 2
lea rdx, [rdi + 0x60]
lea r12, [rsp + 0x248]
mov rcx, r12
call fcn.1400fb5f1
mov al, byte [rdi + 0x7a]
mov byte [rsp + 0x60], al
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
call fcn.1400f9118
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rdx
mov rcx, qword [rdi + 0x20]
mov rdx, qword [rdi + 0x28]
call fcn.1400f9118
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rdx
mov rcx, qword [rdi + 0x50]
mov rdx, qword [rdi + 0x58]
call fcn.140134865
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x40], rdx
mov al, byte [rdi + 0x7e]
xor r13d, r13d
test al, al
setne r13b
cmp al, 2
cmove r13d, ebx
mov al, byte [rdi + 0x7f]
xor r15d, r15d
test al, al
setne r15b
cmp al, 2
cmove r15d, ebx
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x38]
call fcn.1400f9118
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x48]
call fcn.1400f9118
mov bl, byte [rdi + 0x80]
xor r8d, r8d
test bl, bl
setne r8b
cmp bl, 2
mov ecx, 2
cmove r8d, ecx
mov bl, byte [rdi + 0x81]
xor ebp, ebp
test bl, bl
setne bpl
cmp bl, 2
cmove ebp, ecx
mov r9d, 2
mov bl, byte [rdi + 0x82]
xor ecx, ecx
test bl, bl
setne cl
cmp bl, 2
cmove ecx, r9d
mov ebx, dword [rsp + 0x38]
mov byte [r12 + 0x1b], bl
mov ebx, dword [rsp + 0x30]
mov byte [r12 + 0x1c], bl
mov byte [r12 + 0x1d], r14b
mov bl, byte [rsp + 0x60]
mov byte [r12 + 0x1a], bl
mov rbx, qword [rsp + 0x58]
mov qword [r12 - 0x50], rbx
mov rbx, qword [rsp + 0x50]
mov qword [r12 - 0x48], rbx
mov rbx, qword [rsp + 0x48]
mov qword [r12 - 0x40], rbx
mov rbx, qword [rsp + 0x20]
mov qword [r12 - 0x38], rbx
mov rbx, qword [rsp + 0x28]
mov qword [r12 - 0x10], rbx
mov rbx, qword [rsp + 0x40]
mov qword [r12 - 8], rbx
mov byte [r12 + 0x1e], r13b
mov byte [r12 + 0x1f], r15b
mov rbx, qword [rsp + 0x68]
mov qword [r12 - 0x30], rbx
mov rbx, qword [rsp + 0x70]
mov qword [r12 - 0x28], rbx
mov qword [r12 - 0x20], rax
mov qword [r12 - 0x18], rdx
mov byte [r12 + 0x20], r8b
mov byte [r12 + 0x21], bpl
mov byte [r12 + 0x22], cl
mov rcx, qword [rsp + 0x78]
movzx eax, word [rdi + 0x78]
mov word [r12 + 0x18], ax
test rcx, rcx
je 0x14010135a
lea rdi, [rcx*8]
mov edx, 8
mov rbx, rcx
mov rcx, rdi
call fcn.1400e23b7
mov rcx, rbx
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140101364
mov edx, 8
mov rcx, rdi
jmp 0x140101a3b
mov eax, 8
mov qword [rsp + 0x40], rax
imul rax, rcx, 0x30
xor ebp, ebp
xor ebx, ebx
mov rdx, qword [rsp + 0x40]
test rax, rax
je 0x14010138b
mov qword [rdx + rbx], rsi
add rsi, 0x30
add rbx, 8
dec rbp
add rax, 0xffffffffffffffd0
jmp 0x140101371
lea rdi, [rsp + 0x270]
lea rsi, [rsp + 0x1f8]
mov ecx, reloc.WS2_32.dll_ntohs
rep movsq qword [rdi], qword [rsi]
lea rax, [rsp + 0x80]
and qword [rax], 0
mov qword [rax + 8], 8
and qword [rax + 0x10], 0
neg rbp
mov qword [rsp + 0x70], rbp
mov eax, 8
xor edi, edi
test rbx, rbx
je 0x1401014da
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdx
mov rsi, qword [rdx]
call fcn.140123a36
mov rbp, rax
mov r14, qword [rsi]
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
call fcn.140134865
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdx
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
call fcn.140134865
mov r15, rax
mov r12, rdx
movzx eax, word [r14 + 0x40]
mov word [rsp + 0x50], ax
mov r13b, byte [r14 + 0x42]
movups xmm6, xmmword [r14 + 0x30]
mov rcx, qword [r14 + 0x20]
mov rdx, qword [r14 + 0x28]
call fcn.140134865
mov cl, byte [r14 + 0x43]
mov bl, byte [r14 + 0x44]
mov rsi, qword [rsp + 0x60]
mov qword [rbp], rsi
mov rsi, qword [rsp + 0x58]
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rdx
movups xmmword [rbp + 0x30], xmm6
movzx eax, word [rsp + 0x50]
mov word [rbp + 0x40], ax
mov byte [rbp + 0x42], r13b
mov byte [rbp + 0x43], cl
mov byte [rbp + 0x44], bl
cmp rdi, qword [rsp + 0x80]
jne 0x1401014a7
lea rcx, [rsp + 0x80]
mov rdx, rdi
call fcn.1401ab169
mov rax, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
jmp 0x1401014ac
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
add rdx, 8
mov qword [rax + rdi*8], rbp
mov rdi, qword [rsp + 0x90]
inc rdi
mov qword [rsp + 0x90], rdi
mov rbx, qword [rsp + 0x38]
add rbx, 0xfffffffffffffff8
jmp 0x1401013cb
mov rax, qword [rsp + 0x88]
lea rcx, [rax + rdi*8]
lea rsi, [rsp + 0xb0]
mov qword [rsi], rcx
mov qword [rsi + 8], rax
and qword [rsi + 0x10], 0
mov rcx, rsi
call fcn.1400ec5c2
neg rax
mov edi, 0
sbb edi, edi
mov rcx, rsi
call fcn.1400ec5c2
test rax, rax
je 0x140101533
mov rax, qword [rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x20], rcx
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x50], rax
jmp 0x14010153a
xor eax, eax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0xc0], 0
sete dl
mov al, 1
mov dword [rsp + 0x28], eax
xor ebx, ebx
mov r13, 0xffffffffffffffff
mov r10b, 1
xor ebp, ebp
mov r15d, edi
xor r12d, r12d
xor r14d, r14d
xor r9d, r9d
xor esi, esi
mov qword [rsp + 0x30], rsi
xor r11d, r11d
xor eax, eax
mov qword [rsp + 0x68], r9
mov rsi, qword [rsp + 0x20]
mov r9d, dword [rsp + 0x28]
mov qword [rsp + 0x38], rax
test dl, 1
je 0x1401015c1
cmp rcx, qword [rsp + 0x60]
je 0x140101733
mov rdx, rcx
add rcx, 8
jmp 0x1401015d7
mov rax, qword [rsp + 0x58]
mov rdx, rax
test rax, rax
mov rax, qword [rsp + 0x38]
je 0x140101733
mov r8, qword [rdx]
test r10b, 1
je 0x1401015eb
cmp byte [r8 + 0x42], 0
setne r10b
jmp 0x1401015ee
xor r10d, r10d
add r14, qword [r8 + 0x30]
cmovb r14, r13
mov rdx, qword [r8 + 0x20]
test rsi, rsi
je 0x140101616
test rdx, rdx
je 0x140101619
mov esi, 1
mov rdx, qword [rsp + 0x50]
cmp rdx, qword [r8 + 0x28]
je 0x14010161b
jmp 0x140101619
test rdx, rdx
xor esi, esi
test r9b, 1
je 0x14010162c
cmp byte [r8 + 0x43], 0
setne r9b
jmp 0x14010162f
xor r9d, r9d
test r11b, 1
je 0x14010165a
or r12w, word [r8 + 0x38]
and r15w, word [r8 + 0x3a]
and di, word [r8 + 0x3c]
or bp, word [r8 + 0x3e]
or bx, word [r8 + 0x40]
mov dl, 1
test al, al
jne 0x1401015a8
jmp 0x1401016d2
cmp dword [r8], 1
jne 0x1401016c3
mov rdx, qword [r8 + 8]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], r11
mov r11, rax
test rax, rax
mov qword [rsp + 0x20], rcx
mov ecx, r10d
sete r10b
mov r13, qword [rsp + 0x48]
cmp rdx, r13
setb al
or al, r10b
mov rax, qword [rsp + 0x38]
mov r10d, ecx
mov rcx, qword [rsp + 0x20]
cmovne r13, rdx
mov qword [rsp + 0x48], r13
mov r13, 0xffffffffffffffff
mov edx, 1
cmovne r11, rdx
mov qword [rsp + 0x30], r11
mov r11, qword [rsp + 0x28]
jmp 0x140101635
mov r11b, 1
xor edx, edx
mov qword [rsp + 0x30], rdx
jmp 0x140101635
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rsi
mov dl, 1
cmp dword [r8 + 0x10], 1
mov r9d, 0
mov al, 1
jne 0x140101594
mov rax, qword [r8 + 0x18]
mov r9, qword [rsp + 0x68]
test r9, r9
sete r8b
mov rsi, qword [rsp + 0x98]
cmp rax, rsi
seta dl
or dl, r8b
cmovne rsi, rax
mov qword [rsp + 0x98], rsi
mov eax, 1
cmovne r9, rax
mov dl, 1
mov rax, qword [rsp + 0x38]
jmp 0x140101594
mov r13d, r10d
and r13b, 1
and r9b, 1
mov dword [rsp + 0x28], r9d
mov ecx, 0x48
mov edx, 8
mov qword [rsp + 0x20], rsi
call fcn.1400eb291
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov rax, qword [rsp + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
mov rax, qword [rsp + 0x98]
mov qword [rsi + 0x18], rax
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x30], r14
mov word [rsi + 0x38], r12w
mov word [rsi + 0x3a], r15w
mov word [rsi + 0x3c], di
mov word [rsi + 0x3e], bp
mov word [rsi + 0x40], bx
mov byte [rsi + 0x42], r13b
mov byte [rsi + 0x43], 0
mov eax, dword [rsp + 0x28]
mov byte [rsi + 0x44], al
mov ecx, 0xa8
mov edx, 8
call fcn.1400eb291
mov r13, rax
mov eax, 1
mov qword [r13], rax
mov qword [r13 + 8], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [r13 + 0x10], xmm0
mov rax, qword [rsp + 0x90]
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], rsi
lea rdi, [r13 + 0x30]
lea rsi, [rsp + 0x270]
mov ecx, reloc.WS2_32.dll_ntohs
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0xa8], r13
lea rsi, [rsp + 0x270]
mov rcx, rsi
mov rdx, r13
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov r9, qword [rsp + 0x70]
call fcn.140101a44
mov rax, qword [rsi]
cmp rax, 3
jne 0x140101909
mov r14, qword [rsp + 0x278]
mov r15, qword [rsp + 0x280]
lock inc qword [r14]
jle 0x140101a2d
mov ebx, 8
mov ecx, reloc.WS2_32.dll_recv
mov edx, 8
call fcn.1400eb291
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], r15
mov ecx, 0x200
mov edx, 0x40
call fcn.1400e23b7
test rax, rax
je 0x140101a31
lea rdi, [rsp + 0xb0]
mov qword [rdi], 8
mov qword [rdi + 8], rax
xor edx, edx
mov qword [rsp + 0xc0], rdx
sub rbx, 1
jb 0x14010194a
cmp rdx, qword [rsp + 0xb0]
jne 0x1401018d9
mov rcx, rdi
call fcn.1400f7c26
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
shl rdx, 6
and qword [rax + rdx], 0
mov byte [rax + rdx + 8], 0
and qword [rax + rdx + 0x10], 0
mov qword [rax + rdx + 0x18], 8
and qword [rax + rdx + 0x20], 0
mov rdx, qword [rsp + 0xc0]
inc rdx
jmp 0x1401018a5
lea rsi, [rsp + 0x288]
movups xmm0, xmmword [rsi - 0x10]
mov rdx, qword [rsp + 0xa0]
lea rdi, [rdx + 0x18]
mov ecx, reloc.WS2_32.dll_ntohs
rep movsq qword [rdi], qword [rsi]
mov qword [rdx], rax
movups xmmword [rdx + 8], xmm0
lea rcx, [rsp + 0xa8]
call fcn.14010c018
mov rcx, qword [rsp + 0x78]
mov rdx, rbx
jmp 0x140101a0c
lea rbp, [rsp + 0xb0]
mov rax, qword [rbp + 0x10]
lea rbx, [rsp + 0x270]
mov qword [rbx + 0x438], rax
movups xmm0, xmmword [rbp]
movups xmmword [rbx + 0x428], xmm0
mov ecx, 0x5a8
mov edx, 8
call fcn.1400eb291
mov rdi, rax
mov qword [rax], rsi
lea rax, [0x1403a47e0]
mov qword [rdi + 8], rax
and qword [rdi + 0x10], 0
lea rcx, [rdi + 0x18]
mov r8d, 0x148
mov rdx, rbp
call fcn.1403318a0
mov esi, 3
mov qword [rdi + 0x160], rsi
lea rcx, [rdi + 0x168]
mov r8d, 0x440
mov rdx, rbx
call fcn.1403318a0
mov ecx, 0x28
mov edx, 8
call fcn.1400eb291
mov ecx, 1
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r13
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdi
mov qword [rcx], rsi
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
call fcn.14005a3ff
movaps xmm6, xmmword [rsp + 0x6b0]
add rsp, 0x6c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
mov ecx, 0x200
mov edx, 0x40
call fcn.140332820
ud2