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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov word [rax + 0x18], r8w
mov word [rax + 8], cx
push rbx
push rsi
push rdi
sub rsp, 0x90
mov qword [rax - 0x20], rbp
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
mov rax, qword [rdx + 8]
mov qword [rsp + 0x58], rax
mov eax, dword [rdx + 0x750]
xor esi, esi
bt rax, 0xb
mov r12, rdx
movzx edi, cx
jae 0x1400901e4
mov ebx, reloc.WS2_32.dll_sendto
mov dword [rsp + 0xb8], ebx
test r9, r9
je 0x14008fc02
movzx ecx, word [r9 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x200
mov dword [rsp + 0x50], eax
cmp ax, cx
jbe 0x14008fc09
mov eax, ecx
mov dword [rsp + 0x50], ecx
jmp 0x14008fc09
mov ax, si
mov dword [rsp + 0x50], eax
cmp di, 1
je 0x14008fc30
cmp di, 3
je 0x14008fc30
cmp di, 2
je 0x14008fc21
cmp di, 5
jne 0x14008fc3c
movzx ebx, ax
add ebx, 0x14
mov dword [rsp + 0xb8], ebx
jmp 0x14008fc3c
mov ebx, 0x1a
mov dword [rsp + 0xb8], ebx
mov ebp, ebx
mov r15, rsi
mov r13, rsi
mov r14d, esi
test ebx, ebx
jle 0x14008fde0
nop
cmp ebp, 0xb0
jle 0x14008fd07
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x14008fcaf
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rsi
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], esi
mov qword [rdi + 0x30], rsi
mov dword [rdi + 0x3c], esi
mov dword [rdi + 0x40], esi
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], si
mov word [rdi + 0x46], si
mov qword [rdi + 0x48], rsi
mov rcx, qword [0x1402e6b50]
mov qword [rdi + 0x50], rsi
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
mov ecx, 1
mov dword [rax], ecx
or dword [rdi + 0x1c], ecx
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
mov ebx, dword [rsp + 0xb8]
mov qword [rdi + 0x70], rax
mov eax, 0x800
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], ecx
jmp 0x14008fda8
test r14b, 2
je 0x14008fd6c
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x14008fd60
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rsi
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], esi
mov qword [rdi + 0x30], rsi
mov dword [rdi + 0x3c], esi
mov dword [rdi + 0x40], esi
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], si
mov word [rdi + 0x46], si
mov qword [rdi + 0x48], rsi
mov eax, 0xb0
cmp ebp, eax
cmovl eax, ebp
jmp 0x14008fda8
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x14008fd9e
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], esi
mov eax, 1
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x28]
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp ebp, eax
cmovl eax, ebp
test rdi, rdi
je 0x14008fecf
cmp eax, ebx
jl 0x14008fec2
sub ebp, eax
test r13, r13
je 0x14008fdc6
mov qword [r13], rdi
jmp 0x14008fdc9
mov r15, rdi
and r14d, 0xfffffffd
mov r13, rdi
test ebp, ebp
jg 0x14008fc50
mov di, word [rsp + 0xb0]
test r14b, 4
je 0x14008fdf0
or dword [r13 + 0x1c], 4
nop dword [rax + rax]
test r15, r15
jne 0x14008ffd1
mov dword [rsp + 0xb8], reloc.WS2_32.dll_sendto
mov ebp, reloc.WS2_32.dll_sendto
mov r15, rsi
mov r14, rsi
mov r13d, esi
cmp ebp, 0xb0
jle 0x14008fee5
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x14008fe71
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rsi
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], esi
mov qword [rdi + 0x30], rsi
mov dword [rdi + 0x3c], esi
mov dword [rdi + 0x40], esi
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], si
mov word [rdi + 0x46], si
mov qword [rdi + 0x48], rsi
mov rcx, qword [0x1402e6b50]
mov qword [rdi + 0x50], rsi
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
mov ecx, 1
mov dword [rax], ecx
or dword [rdi + 0x1c], ecx
mov qword [rdi + 0x70], rax
mov eax, 0x800
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], rsi
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], ecx
jmp 0x14008ff86
mov rcx, rdi
call fcn.140077120
jmp 0x14008fdf9
test r15, r15
je 0x14008fdf9
mov rcx, r15
call fcn.140077120
jmp 0x14008fdf9
test r13b, 2
je 0x14008ff4a
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x14008ff3e
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], 2
mov eax, 1
mov qword [rdi + 0x28], rsi
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x50]
mov dword [rdi + 0x38], esi
mov qword [rdi + 0x30], rsi
mov dword [rdi + 0x3c], esi
mov dword [rdi + 0x40], esi
mov qword [rdi + 0x10], rax
mov word [rdi + 0x44], si
mov word [rdi + 0x46], si
mov qword [rdi + 0x48], rsi
mov eax, 0xb0
cmp ebp, eax
cmovl eax, ebp
jmp 0x14008ff86
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x14008ff7c
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov dword [rax + 0x18], esi
mov dword [rax + 0x1c], esi
mov eax, 1
mov word [rdi + 0x20], ax
lea rax, [rdi + 0x28]
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp ebp, eax
cmovl eax, ebp
test rdi, rdi
je 0x1400901aa
cmp eax, 0x14
jl 0x140090193
sub ebp, eax
test r14, r14
je 0x14008ffa4
mov qword [r14], rdi
jmp 0x14008ffa7
mov r15, rdi
and r13d, 0xfffffffd
mov r14, rdi
test ebp, ebp
jg 0x14008fe12
test r13b, 4
je 0x14008ffc0
or dword [rdi + 0x1c], 4
test r15, r15
je 0x1400901c6
mov di, word [rsp + 0xb0]
mov rbx, qword [r15 + 0x10]
mov ebp, dword [rsp + 0xb8]
xor edx, edx
mov r8, rbp
mov rcx, rbx
mov qword [r15], rsi
call fcn.1401e42d0
movzx eax, word [rsp + 0xc0]
mov r13d, 1
mov word [rbx], r13w
mov word [rbx + 2], si
mov dword [rbx + 4], reloc.WS2_32.dll_sendto
mov word [rbx + 0xa], ax
mov word [rbx + 8], di
cmp di, 5
jne 0x140090021
mov word [rbx + 0xc], si
mov word [rbx + 0xe], si
jmp 0x14009003b
movzx eax, word [r12 + 0x6e2]
mov word [rbx + 0xc], ax
movzx eax, word [r12 + 0x6e0]
mov word [rbx + 0xe], ax
mov eax, dword [r12 + 0x520]
mov dword [rbx + 0x10], eax
cmp ebp, 0x14
jbe 0x1400900f7
cmp di, r13w
je 0x14009008e
cmp di, 3
je 0x14009008e
cmp di, 2
je 0x14009006b
cmp di, 5
jne 0x1400900f7
mov ebp, dword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rbx + 0x14]
movzx r8d, bp
call fcn.1401e3ed0
movzx r11d, bp
add dword [rbx + 4], r11d
jmp 0x1400900f7
mov ecx, esi
cmp byte [r12 + 0x71c], r13b
jne 0x1400900a1
mov byte [rbx + 0x14], r13b
mov ecx, r13d
cmp byte [r12 + 0x71d], r13b
jne 0x1400900b4
mov eax, ecx
inc ecx
mov byte [rax + rbx + 0x14], 2
cmp byte [r12 + 0x71e], r13b
jne 0x1400900c7
mov eax, ecx
inc ecx
mov byte [rax + rbx + 0x14], 3
cmp byte [r12 + 0x722], r13b
jne 0x1400900da
mov eax, ecx
inc ecx
mov byte [rax + rbx + 0x14], 6
mov eax, ecx
inc ecx
mov byte [rax + rbx + 0x14], 4
cmp byte [r12 + 0x71f], r13b
jne 0x1400900f4
mov byte [rcx + rbx + 0x14], 5
inc ecx
add dword [rbx + 4], ecx
mov eax, dword [rbx + 4]
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x38], sil
mov dword [r15 + 0x18], eax
mov eax, dword [r12 + 0x568]
mov rdx, qword [r12 + 0x3d0]
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], eax
call fcn.1400c7a10
test rax, rax
je 0x140090184
mov ecx, dword [r15 + 0x18]
mov rbx, qword [rsp + 0x58]
mov qword [rax + 0x40], r15
mov dword [rax + 0x20], ecx
mov ecx, 0x100
mov r8, rax
mov word [rax + 0x8a], cx
mov ecx, dword [rsp + 0xe0]
mov r9, qword [r12]
mov dword [rsp + 0x30], ecx
add r9, 0xc8
mov rdx, r12
mov rcx, rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call fcn.1400952d0
jmp 0x1400901e9
mov rcx, r15
call fcn.140077120
mov rbx, qword [rsp + 0x58]
jmp 0x1400901e9
mov rcx, rdi
call fcn.140077120
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x1400901e9
test r15, r15
je 0x1400901d5
mov rcx, r15
call fcn.140077120
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x1400901e9
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x1400901e9
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x1400901e9
mov rbx, qword [rsp + 0x58]
mov eax, dword [rbx + 0x158]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
test al, 2
jne 0x140090207
bt eax, 0x16
jae 0x14009029c
cmp di, 2
je 0x140090217
cmp di, 5
jne 0x14009029c
mov rcx, qword [r12]
add rcx, 0x108
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rsp + 0xd0], esi
je 0x140090260
mov eax, dword [r12 + 0x58]
and al, 0x7f
cmp al, 2
jne 0x14009024e
mov rax, qword [r12]
mov ecx, 0x274d
mov word [rax + 0xa0], cx
jmp 0x14009028b
mov rax, qword [r12]
mov ecx, 0x2746
mov word [rax + 0xa0], cx
jmp 0x14009028b
cmp dword [rsp + 0xd8], esi
je 0x14009027b
mov rax, qword [r12]
mov ecx, 0x274c
mov word [rax + 0xa0], cx
jmp 0x14009028b
mov rax, qword [r12]
mov ecx, 0x2745
mov word [rax + 0xa0], cx
mov rcx, qword [r12]
add rcx, 0x108
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [rbx + 0x158]
test al, 2
jne 0x1400902ac
bt eax, 0x16
jae 0x1400902d1
cmp di, 2
je 0x1400902b8
cmp di, 5
jne 0x1400902d1
mov rbx, qword [r12]
lea rcx, [rbx + 0x108]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
call fcn.140071b60
mov rcx, qword [r12]
add rcx, 0x108
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [r12]
mov r13d, 0x1bc
test word [rbp + 0x178], r13w
je 0x140090359
and word [rbp + 0x178], 0xfff7
movzx eax, word [rbp + 0x178]
test al, 4
je 0x14009034a
and ax, 0xfffb
lea rcx, [rbp + 0xd0]
mov word [rbp + 0x178], ax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, esi
cmp dword [rbp + 0xc8], ebx
lea rcx, [rbp + 0xd0]
seta bl
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x14009034a
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140090366
lea rcx, [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r12]
add rcx, 0x1c0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [r12]
mov r12, qword [rsp + 0x80]
test word [rdi + 0x230], r13w
mov rbp, qword [rsp + 0x88]
mov r13, qword [rsp + 0x78]
je 0x1400903ed
and word [rdi + 0x230], 0xfff7
movzx eax, word [rdi + 0x230]
test al, 4
je 0x1400903ed
and ax, 0xfffb
lea rcx, [rdi + 0x188]
mov word [rdi + 0x230], ax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rdi + 0x180], esi
lea rcx, [rdi + 0x188]
seta sil
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1400903ed
mov rcx, qword [rdi + 0x1b8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rdi + 0x1c0]
add rsp, 0x90
pop rdi
pop rsi
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]