Function at 0x140092010
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 0x140092674
mov ebx, reloc.WS2_32.dll_sendto
mov dword [rsp + 0xb8], ebx
test r9, r9
je 0x140092092
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 0x140092099
mov eax, ecx
mov dword [rsp + 0x50], ecx
jmp 0x140092099
mov ax, si
mov dword [rsp + 0x50], eax
cmp di, 1
je 0x1400920c0
cmp di, 3
je 0x1400920c0
cmp di, 2
je 0x1400920b1
cmp di, 5
jne 0x1400920cc
movzx ebx, ax
add ebx, 0x14
mov dword [rsp + 0xb8], ebx
jmp 0x1400920cc
mov ebx, 0x1a
mov dword [rsp + 0xb8], ebx
mov ebp, ebx
mov r15, rsi
mov r13, rsi
mov r14d, esi
test ebx, ebx
jle 0x140092270
nop
cmp ebp, 0xb0
jle 0x140092197
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x14009213f
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 [0x1402e8790]
mov qword [rdi + 0x50], rsi
call fcn.1401e6440
mov rcx, qword [0x1402e8798]
mov rbx, rax
call fcn.1401e6440
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 0x140092238
test r14b, 2
je 0x1400921fc
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400921f0
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 0x140092238
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x14009222e
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 0x14009235f
cmp eax, ebx
jl 0x140092352
sub ebp, eax
test r13, r13
je 0x140092256
mov qword [r13], rdi
jmp 0x140092259
mov r15, rdi
and r14d, 0xfffffffd
mov r13, rdi
test ebp, ebp
jg 0x1400920e0
mov di, word [rsp + 0xb0]
test r14b, 4
je 0x140092280
or dword [r13 + 0x1c], 4
nop dword [rax + rax]
test r15, r15
jne 0x140092461
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 0x140092375
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x140092301
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 [0x1402e8790]
mov qword [rdi + 0x50], rsi
call fcn.1401e6440
mov rcx, qword [0x1402e8798]
mov rbx, rax
call fcn.1401e6440
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 0x140092416
mov rcx, rdi
call fcn.1400795b0
jmp 0x140092289
test r15, r15
je 0x140092289
mov rcx, r15
call fcn.1400795b0
jmp 0x140092289
test r13b, 2
je 0x1400923da
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x1400923ce
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 0x140092416
mov rcx, qword [0x1402e8788]
call fcn.1401e6440
mov rdi, rax
test rax, rax
je 0x14009240c
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 0x14009263a
cmp eax, 0x14
jl 0x140092623
sub ebp, eax
test r14, r14
je 0x140092434
mov qword [r14], rdi
jmp 0x140092437
mov r15, rdi
and r13d, 0xfffffffd
mov r14, rdi
test ebp, ebp
jg 0x1400922a2
test r13b, 4
je 0x140092450
or dword [rdi + 0x1c], 4
test r15, r15
je 0x140092656
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.1401e6750
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 0x1400924b1
mov word [rbx + 0xc], si
mov word [rbx + 0xe], si
jmp 0x1400924cb
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 0x140092587
cmp di, r13w
je 0x14009251e
cmp di, 3
je 0x14009251e
cmp di, 2
je 0x1400924fb
cmp di, 5
jne 0x140092587
mov ebp, dword [rsp + 0x50]
mov rdx, qword [rsp + 0xc8]
lea rcx, [rbx + 0x14]
movzx r8d, bp
call fcn.1401e75a0
movzx r11d, bp
add dword [rbx + 4], r11d
jmp 0x140092587
mov ecx, esi
cmp byte [r12 + 0x71c], r13b
jne 0x140092531
mov byte [rbx + 0x14], r13b
mov ecx, r13d
cmp byte [r12 + 0x71d], r13b
jne 0x140092544
mov eax, ecx
inc ecx
mov byte [rax + rbx + 0x14], 2
cmp byte [r12 + 0x71e], r13b
jne 0x140092557
mov eax, ecx
inc ecx
mov byte [rax + rbx + 0x14], 3
cmp byte [r12 + 0x722], r13b
jne 0x14009256a
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 0x140092584
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.1400c9eb0
test rax, rax
je 0x140092614
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.140097760
jmp 0x140092679
mov rcx, r15
call fcn.1400795b0
mov rbx, qword [rsp + 0x58]
jmp 0x140092679
mov rcx, rdi
call fcn.1400795b0
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x140092679
test r15, r15
je 0x140092665
mov rcx, r15
call fcn.1400795b0
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x140092679
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x140092679
mov di, word [rsp + 0xb0]
mov rbx, qword [rsp + 0x58]
jmp 0x140092679
mov rbx, qword [rsp + 0x58]
mov eax, dword [rbx + 0x158]
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
test al, 2
jne 0x140092697
bt eax, 0x16
jae 0x14009272c
cmp di, 2
je 0x1400926a7
cmp di, 5
jne 0x14009272c
mov rcx, qword [r12]
add rcx, 0x108
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rsp + 0xd0], esi
je 0x1400926f0
mov eax, dword [r12 + 0x58]
and al, 0x7f
cmp al, 2
jne 0x1400926de
mov rax, qword [r12]
mov ecx, 0x274d
mov word [rax + 0xa0], cx
jmp 0x14009271b
mov rax, qword [r12]
mov ecx, 0x2746
mov word [rax + 0xa0], cx
jmp 0x14009271b
cmp dword [rsp + 0xd8], esi
je 0x14009270b
mov rax, qword [r12]
mov ecx, 0x274c
mov word [rax + 0xa0], cx
jmp 0x14009271b
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 0x14009273c
bt eax, 0x16
jae 0x140092761
cmp di, 2
je 0x140092748
cmp di, 5
jne 0x140092761
mov rbx, qword [r12]
lea rcx, [rbx + 0x108]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
call fcn.140073ff0
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 0x1400927e9
and word [rbp + 0x178], 0xfff7
movzx eax, word [rbp + 0x178]
test al, 4
je 0x1400927da
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 0x1400927da
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400927f6
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 0x14009287d
and word [rdi + 0x230], 0xfff7
movzx eax, word [rdi + 0x230]
test al, 4
je 0x14009287d
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 0x14009287d
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]