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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov rdi, rcx
mov qword [rsp + 0x70], r12
mov ecx, dword [rdx + 0x30]
mov rsi, rdx
mov qword [rsp + 0x30], r13
xor ebx, ebx
mov r14d, 0x8000
mov dword [rsp + 0x28], select
movabs rbp, 0x7fffffffffff
mov r15d, 0x4380
and ecx, 0x1f000000
cmp ecx, 0xb000000
je 0x14007f691
cmp dword [rsi + 0x38], 0
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
setne r8b
call fcn.140081ae0
test eax, eax
je 0x14007ffc5
jmp 0x14007f9dc
mov rax, qword [rsi + 8]
cmp rax, 0xffffffffffffffff
je 0x14007f6af
sar rax, 0x2f
cmp eax, 0xfffffff2
jae 0x14007f6e6
movsd xmm0, qword [rsi + 8]
ucomisd xmm0, xmm0
jnp 0x14007f6e6
cmp dword [rsi + 0x38], 0
jne 0x14007ffb7
cmp word [rsi + 0x34], r14w
jae 0x14007f6e6
cmp dword [rsi + 0x44], 0
je 0x14007f6dc
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140081ae0
test eax, eax
jne 0x14007f9dc
mov eax, 0x7fff
jmp 0x14007fbbe
lea r9, [rsp + 0x80]
mov rdx, rsi
lea r8, [rsp + 0x24]
mov rcx, rdi
call fcn.140097f20
mov rcx, qword [rdi + 0x20]
movzx r13d, ax
mov ebp, eax
mov dword [rsp + 0x20], ebp
movzx r14d, byte [rcx + r13*8 + 5]
mov byte [rsp + 0x78], r14b
cmp r14b, 0x1a
jne 0x14007f724
mov r12, qword [rcx + r13*8 + 8]
jmp 0x14007f728
mov r12, qword [rsi + 0x28]
mov ecx, dword [rsi + 0x38]
test ecx, ecx
jne 0x14007f853
mov rbx, qword [r12]
sar rbx, 0x2f
cmp ebx, 0xfffffff2
jae 0x14007f745
lea ebx, [rcx + 0xe]
jmp 0x14007f747
not ebx
lea r8, [rdi - 0x1e0]
cmp r12, r8
jne 0x14007f78b
mov edx, 0x1a
mov rcx, rdi
call fcn.14007ad00
mov ecx, 0x889
mov word [rdi + 0xb8], r13w
mov word [rdi + 0xbc], cx
mov rcx, rdi
mov word [rdi + 0xba], ax
call fcn.14007e000
mov r10d, 0x7fff
jmp 0x14007f7c1
cmp r14b, 0x38
mov word [rdi + 0xb8], r13w
mov eax, r15d
mov ecx, 0x4280
cmove ax, cx
xor ecx, ecx
mov word [rdi + 0xba], cx
or ax, bx
mov rcx, rdi
mov word [rdi + 0xbc], ax
call fcn.14007e000
mov r10d, eax
mov r9d, dword [rsp + 0x24]
movzx ecx, r10w
cmp ecx, r9d
jae 0x14007f825
mov r8d, dword [rdi + 0xc]
cmp r8d, r9d
jbe 0x14007f813
mov edx, r8d
mov eax, r8d
shl rdx, 3
sub eax, r9d
mov r9d, eax
nop dword [rax + rax]
mov rax, qword [rdi + 0x20]
lea rdx, [rdx - 8]
dec r8d
movzx ecx, byte [rdx + rax + 5]
movzx eax, word [rdx + rax + 6]
mov word [rdi + rcx*2 + 0x192], ax
sub r9, 1
jne 0x14007f7f0
movzx eax, byte [rsp + 0x80]
mov byte [rdi + 0xb6], al
mov dword [rdi + 0xc], r8d
test ebx, ebx
jne 0x14007fb05
cmp dword [rsi + 0x44], ebx
je 0x14007fb0a
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140081ae0
test eax, eax
je 0x14007fb0a
xor ebx, ebx
jmp 0x14007f9cc
mov rax, qword [rsi]
movabs r10, 0x7fffffffffff
and rax, r10
mov r15, qword [rax + 0x20]
movzx eax, byte [rsi + 0x37]
and eax, 0x1f
sub eax, 4
cmp eax, 8
ja 0x14007f889
mov dword [rsp + 0x88], 1
test ecx, 0x1f000000
jne 0x14007f890
mov dword [rsp + 0x88], ebx
mov ecx, dword [rsp + 0x24]
mov rbx, r13
cmp r13d, ecx
jae 0x14007f8f5
mov r8d, dword [rdi + 0xc]
cmp r8d, ecx
jbe 0x14007f8e3
mov edx, r8d
mov r9d, r8d
shl rdx, 3
sub r9d, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x20]
lea rdx, [rdx - 8]
dec r8d
movzx ecx, byte [rdx + rax + 5]
movzx eax, word [rdx + rax + 6]
mov word [rdi + rcx*2 + 0x192], ax
sub r9, 1
jne 0x14007f8c0
movzx eax, byte [rsp + 0x80]
mov byte [rdi + 0xb6], al
mov dword [rdi + 0xc], r8d
cmp qword [r12], 0xffffffffffffffff
jne 0x14007fc7b
cmp dword [rsi + 0x44], 0
je 0x14007f955
test r15, r15
je 0x14007f955
mov eax, dword [r15 + 0x34]
mov r8, qword [rdi - 0x128]
mov ecx, dword [r8 + 0xc]
and rcx, rax
mov rax, qword [r15 + 0x28]
lea rcx, [rcx + rcx*2]
lea rdx, [rax + rcx*8]
nop dword [rax]
mov rcx, qword [rdx + 8]
mov rax, rcx
sar rax, 0x2f
cmp eax, 0xfffffffb
jne 0x14007f94c
and rcx, r10
cmp rcx, r8
je 0x14007fac0
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14007f930
cmp r14b, 0x3a
jne 0x14007f9a1
lea rbx, [rdi - 0x1e0]
mov edx, 0x1a
mov r8, rbx
mov rcx, rdi
call fcn.14007ad00
cmp r12, rbx
mov word [rdi + 0xb8], r13w
mov ecx, 0x989
mov word [rdi + 0xba], ax
mov edx, 0x889
cmove cx, dx
mov word [rdi + 0xbc], cx
mov rcx, rdi
call fcn.14007e000
mov r15d, 0x4380
xor ebx, ebx
cmp dword [rsi + 0x44], 0
je 0x14007fbdd
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call fcn.140081ae0
test eax, eax
je 0x14007fbdd
mov r14d, 0x8000
movabs rbp, 0x7fffffffffff
mov ecx, dword [rsi + 0x40]
and ecx, 0x1f000000
cmp ecx, 0x8000000
je 0x14007fb23
cmp dword [rsi + 0x3c], 0x7fff
jne 0x14007faa4
cmp dword [rsi + 0x38], 0
jne 0x14007faa4
mov eax, dword [rsi + 0x30]
and eax, 0x1f000000
cmp eax, 0xc000000
jne 0x14007faa4
mov rax, qword [rsi]
and rax, rbp
cmp byte [rax + 0xa], 3
jne 0x14007faa4
cmp ecx, 0xb000000
jne 0x14007faa4
mov ecx, dword [rsi + 0x34]
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x14007faa4
cmp cx, r14w
jae 0x14007faa4
mov r8, qword [rsi + 8]
mov rdx, qword [rsi + 0x18]
and r8, rbp
and rdx, rbp
mov eax, dword [r8 + 0xc]
mov ecx, dword [rdx + 0x34]
and rcx, rax
mov rax, qword [rdx + 0x28]
lea rcx, [rcx + rcx*2]
lea rdx, [rax + rcx*8]
nop word [rax + rax]
mov rcx, qword [rdx + 8]
mov rax, rcx
sar rax, 0x2f
cmp eax, 0xfffffffb
jne 0x14007fa88
and rcx, rbp
cmp rcx, r8
je 0x14007fa94
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x14007fa70
mov rdx, rbx
mov rcx, rdi
call fcn.14007f5b0
test eax, eax
jne 0x14007fbbe
sub dword [rsi + 0x44], 1
mov rax, qword [rsi + 0x18]
mov ecx, dword [rsi + 0x40]
mov qword [rsi], rax
mov dword [rsi + 0x30], ecx
je 0x14007ffd3
jmp 0x14007f660
cmp qword [rdx], 0xffffffffffffffff
je 0x14007f955
cmp r14b, 0x38
mov word [rdi + 0xb8], r13w
mov ecx, 0x4280
mov r15d, 0x4380
mov eax, r15d
cmove ax, cx
xor ebx, ebx
mov rcx, rdi
mov word [rdi + 0xba], bx
mov word [rdi + 0xbc], ax
call fcn.14007e000
jmp 0x14007f9a9
cmp ebx, 2
ja 0x14007fb1b
mov r10d, ebx
shl r10d, 0x18
sub r10d, ebx
add r10d, 0x7fff
mov eax, r10d
jmp 0x14007fbbe
cmp dword [rsi + 0x38], 0
lea rax, [0x1400032ac]
lea rdx, [0x1400031b5]
mov rcx, rdi
cmovne rdx, rax
call fcn.1400989e0
mov rcx, qword [rdi + 0x80]
mov r8, qword [rdi + 0xa0]
mov r9d, eax
mov edx, r9d
mov r10, qword [rcx + 0x20]
mov ecx, dword [rsi + 0x40]
mov dword [r8 + r9*4], ecx
mov ecx, dword [rsi + 0x30]
mov dword [r8 + r9*4 + 8], ecx
movabs rcx, 0xfffb800000000000
mov eax, dword [rsi + 0x34]
mov dword [r8 + r9*4 + 0xc], eax
mov rax, qword [rsi + 0x18]
and rax, rbp
or rax, rcx
mov rcx, rdi
mov qword [r10 + r9*8], rax
mov rax, qword [rsi]
mov qword [r10 + r9*8 + 0x10], rax
mov rax, qword [rsi + 8]
mov qword [r10 + r9*8 + 0x18], rax
mov eax, dword [rsi + 0x38]
test eax, eax
je 0x14007fbd5
mov dword [r8 + r9*4 + 0x10], eax
mov r8d, 3
mov rax, qword [rsi + 0x10]
mov qword [r10 + r9*8 + 0x20], rax
call fcn.14007f550
xor eax, eax
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x70]
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r8d, 2
jmp 0x14007fbb7
lea rax, [rdi - 0x1e0]
cmp r12, rax
jne 0x14007fdc4
mov edx, dword [rsi + 0x34]
mov ecx, edx
shr ecx, 0x18
and ecx, 0x1f
lea eax, [rcx - 0xf]
cmp eax, 4
ja 0x14007fc1b
mov rcx, rdi
mov dword [rdi + 0xba], 0x5b0e01d3
mov word [rdi + 0xb8], dx
call fcn.14007e000
jmp 0x14007fc4c
lea eax, [rcx - 0xe]
cmp eax, 5
ja 0x14007fc4e
mov eax, 0x8000
cmp dx, ax
jae 0x14007fc4e
movabs rax, 0x8000000000000000
cmp qword [rsi + 8], rax
jne 0x14007fc4e
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x1c]
call fcn.14007aa10
mov edx, eax
movzx eax, word [rsi + 0x30]
mov ecx, 0x3b09
mov word [rdi + 0xbc], cx
mov rcx, rdi
mov word [rdi + 0xb8], ax
mov word [rdi + 0xba], dx
call fcn.14007e000
mov ebp, eax
jmp 0x14007fdcb
xor ebp, ebp
cmp r14b, 0x38
setne bpl
movzx eax, word [rdi + rbp*2 + 0x226]
cmp eax, ebx
jbe 0x14007fcfc
mov r8, qword [rdi + 0x20]
nop word [rax + rax]
movzx ecx, word [r8 + rax*8]
mov r11d, eax
movzx eax, byte [r8 + rax*8 + 4]
and al, 0x1f
cmp ecx, ebx
je 0x14007fed2
test al, al
jne 0x14007fcf2
movzx r9d, word [r8 + rcx*8 + 2]
movzx r10d, word [r8 + r13*8 + 2]
cmp r14b, 0x38
je 0x14007fcde
movzx edx, byte [r8 + r10*8 + 4]
xor dl, byte [r8 + r9*8 + 4]
test dl, 0x1f
jne 0x14007fcf2
cmp r9d, r10d
je 0x14007fd27
mov eax, 0x8000
cmp r9d, eax
jae 0x14007fd27
cmp r10d, eax
jae 0x14007fd27
movzx eax, word [r8 + r11*8 + 6]
cmp eax, ebx
ja 0x14007fca0
movzx eax, word [rdi + rbp*2 + 0x216]
cmp eax, ebx
jbe 0x14007fd27
mov rdx, qword [rdi + 0x20]
nop dword [rax]
mov ecx, eax
movzx eax, word [rdx + rax*8]
cmp eax, ebx
je 0x14007fed8
movzx eax, word [rdx + rcx*8 + 6]
cmp eax, ebx
ja 0x14007fd10
cmp r14b, 0x3a
jne 0x14007fd64
lea r8, [rdi - 0x1e0]
mov edx, 0x1a
mov rcx, rdi
call fcn.14007ad00
mov ecx, 0x989
mov word [rdi + 0xb8], r13w
mov word [rdi + 0xbc], cx
mov rcx, rdi
mov word [rdi + 0xba], ax
call fcn.14007e000
cmp dword [rsi + 0x44], 0
je 0x14007fdc0
test r15, r15
jne 0x14007ff02
movzx eax, word [rsi + 0x30]
mov rcx, rdi
mov word [rdi + 0xb8], ax
mov dword [rdi + 0xba], 0x450b0005
call fcn.14007e000
lea edx, [r15 + 0xb]
mov rcx, rdi
mov ebx, eax
call fcn.14007ac20
mov ecx, 0x88b
mov word [rdi + 0xb8], bx
mov word [rdi + 0xbc], cx
mov rcx, rdi
mov word [rdi + 0xba], ax
call fcn.14007e000
mov ebp, dword [rsp + 0x20]
mov ebx, dword [rsp + 0x88]
xor r15d, r15d
mov r8d, dword [rsi + 0x38]
mov eax, r8d
shr eax, 0x18
mov edx, r8d
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
ja 0x14007fe09
mov rcx, rdi
mov dword [rdi + 0xba], 0x5b0e01d3
mov word [rdi + 0xb8], r8w
call fcn.14007e000
mov edx, eax
mov dword [rsi + 0x38], eax
movzx r8d, ax
shr edx, 0x18
mov ecx, 0x4b00
and dx, 0x1f
mov word [rdi + 0xb8], bp
mov eax, 0x4a00
mov word [rdi + 0xba], r8w
cmp r14b, 0x38
cmove cx, ax
or dx, cx
mov rcx, rdi
mov word [rdi + 0xbc], dx
call fcn.14007e000
test ebx, ebx
jne 0x14007fe56
movzx eax, byte [rsi + 0x3b]
and eax, 0x1f
sub eax, 4
cmp eax, 8
ja 0x14007fe73
movzx eax, word [rsi + 0x30]
mov rcx, rdi
mov word [rdi + 0xb8], ax
mov dword [rdi + 0xba], 0x58000000
call fcn.14007e000
mov ecx, dword [rsi + 0x34]
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x14007ffab
mov eax, 0x8000
cmp cx, ax
jae 0x14007ff60
mov rax, qword [rdi + 0x20]
movzx ecx, cx
mov rdx, qword [rax + rcx*8 + 8]
lea rax, [rdi - 0x130]
nop dword [rax]
cmp qword [rax], rdx
je 0x14007ff60
inc r15d
add rax, 8
cmp r15d, 5
jbe 0x14007feb0
mov byte [rdi + 0xb5], 1
jmp 0x14007fbbc
xor ecx, ecx
test al, al
jmp 0x14007fee2
test byte [rdx + rcx*8 + 4], 0x1f
mov ecx, 0
movzx r14d, byte [rsp + 0x78]
setne cl
test ecx, ecx
je 0x14007fd27
mov ebp, dword [rsp + 0x20]
xor r15d, r15d
mov ebx, r15d
jmp 0x14007fdce
mov rax, qword [r12]
sar rax, 0x2f
cmp eax, 0xfffffff2
jb 0x14007ff17
not ax
mov word [rsp + 0x28], ax
cmp r14b, 0x38
mov word [rdi + 0xb8], r13w
mov eax, 0x4380
mov ecx, 0x4280
cmove ax, cx
xor r15d, r15d
or ax, word [rsp + 0x28]
mov rcx, rdi
mov word [rdi + 0xbc], ax
mov word [rdi + 0xba], r15w
call fcn.14007e000
mov ebx, dword [rsp + 0x88]
mov ebp, dword [rsp + 0x20]
jmp 0x14007fdce
movzx eax, word [rsi + 0x30]
mov rcx, rdi
mov word [rdi + 0xb8], ax
mov dword [rdi + 0xba], 0x3e09000a
call fcn.14007e000
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.14007ab80
mov ecx, 0x4d10
mov word [rdi + 0xb8], bx
mov word [rdi + 0xbc], cx
mov rcx, rdi
mov word [rdi + 0xba], ax
call fcn.14007e000
mov byte [rdi + 0xb5], 1
jmp 0x14007fbbc
mov edx, select
mov rcx, rdi
call fcn.1400877d0
int3
mov edx, reloc.WS2_32.dll_select
mov rcx, rdi
call fcn.1400877d0
int3
mov edx, shutdown
mov rcx, rdi
call fcn.1400877d0
int3