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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov r9, rcx
or eax, 0xffffffff
mov word [rbp + 0x60], ax
xor ecx, ecx
mov r15d, 1
mov edi, ecx
mov dword [rsp + 0x20], r15d
mov rsi, qword [r9 + 0x18]
mov rbx, qword [r9]
mov r10, qword [r9 + 8]
mov qword [rsp + 0x48], rsi
movzx eax, byte [rsi + 0x10]
imul r8, rax, 0x70
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r10
lea r14, [rax + 8]
add r14, r8
mov qword [rsp + 0x38], r14
mov r13, qword [r14 + 0x68]
mov r12, qword [r14 + 0x20]
mov qword [rsp + 0x40], r12
test r13, r13
jne 0x1800953aa
test byte [r12 + 0x40], 0x20
je 0x18009533e
mov r13, qword [r12 + 0x10]
jmp 0x1800953aa
xor edx, edx
lea rcx, [rbp - 0x70]
lea r8d, [rdx + 0x70]
call fcn.18010a4e0
mov dword [rbp - 0x12], 0x10001
lea rax, [rbp + 0x60]
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov byte [rbp - 0xe], 5
lea rax, [rsp + 0x24]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r12
movzx eax, word [r12 + 0x4a]
mov word [rbp - 0x14], ax
movzx eax, word [r12 + 0x48]
mov word [rsp + 0x24], ax
mov word [rsp + 0x26], cx
test byte [r14 + 0x40], r15b
jne 0x18009539d
mov rax, qword [r14 + 0x20]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x48], rcx
xor ecx, ecx
mov r9, qword [rbp + 0x50]
lea r13, [rbp - 0x70]
mov r10, qword [rsp + 0x30]
movzx eax, word [r12 + 0x48]
mov word [rbp + 0x68], ax
cmp ax, 0xa
jg 0x1800953c0
movzx r15d, cx
jmp 0x1800953cd
movsx rcx, ax
call fcn.180014780
lea r15d, [rax - 0x21]
cmp qword [r9 + 0x20], rdi
jne 0x180095580
test byte [rbx + 0x40], 0x20
jne 0x180095580
mov rax, qword [rbx]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x30]
bt rax, 0xf
jae 0x180095580
cmp qword [r14 + 0x68], rdi
jne 0x180095580
mov eax, dword [r14 + 0x40]
test al, 1
jne 0x180095580
test byte [r12 + 0x40], 0x20
jne 0x180095580
test al, 0x28
jne 0x180095580
movsxd r12, dword [r10 + 0x14]
mov rbx, qword [r10 + 0x20]
shl r12, 6
add r12, rbx
nop
cmp rbx, r12
jae 0x180095566
mov rax, qword [rsi + 8]
test qword [rbx + 0x30], rax
jne 0x180095555
mov eax, dword [r14 + 0x44]
cmp dword [rbx + 0x1c], eax
jne 0x180095555
movzx ecx, word [rbx + 0x14]
test cl, 0x82
je 0x180095555
test byte [r14 + 0x3c], 8
je 0x180095479
mov rax, qword [rbx]
test byte [rax + 4], 1
jne 0x180095479
test cl, cl
js 0x180095555
movsxd rax, dword [rbx + 0x28]
test eax, eax
js 0x180095555
mov rdx, rax
mov rax, qword [r14 + 0x20]
shl rdx, 5
mov rcx, qword [rax + 8]
movzx r14d, byte [rdx + rcx + 0x19]
mov rcx, qword [rbx]
call fcn.180049c20
movsx ecx, al
sub ecx, 0x41
je 0x1800954cb
sub ecx, 1
je 0x1800954ba
xor eax, eax
cmp r14b, 0x43
setge al
jmp 0x1800954c3
xor eax, eax
cmp r14b, 0x42
sete al
test eax, eax
je 0x180095550
mov rcx, qword [rsp + 0x40]
mov eax, 1
mov word [rsi + 0x18], ax
xor edx, edx
mov dword [rsi + 0x2c], eax
mov rax, qword [rsi + 0x38]
mov qword [rsi + 0x20], rdx
mov qword [rax], rbx
movzx eax, r15w
add ax, word [rbp + 0x68]
mov word [rsi + 0x12], ax
cmp qword [rcx + 0x18], rdx
jne 0x180095507
test byte [rcx + 0x40], 2
jne 0x180095507
add ax, 0x1c
jmp 0x18009550b
sub ax, 0xa
mov word [rsi + 0x12], ax
cmp ax, dx
jge 0x180095518
mov word [rsi + 0x12], dx
mov eax, Ordinal_46
movzx ecx, r15w
mov edx, eax
mov word [rsi + 0x16], ax
call fcn.180014710
mov rcx, qword [rbp + 0x50]
mov rdx, rsi
mov word [rsi + 0x14], ax
mov rax, qword [rbp + 0x58]
mov dword [rsi + 0x28], 0x4000
or rax, qword [rbx + 0x30]
mov qword [rsi], rax
call fcn.1800941e0
mov edi, eax
mov r14, qword [rsp + 0x38]
add rbx, 0x40
test edi, edi
je 0x180095430
jmp 0x180095884
test edi, edi
jne 0x180095884
mov r12, qword [rsp + 0x40]
mov r10, qword [rsp + 0x30]
nop dword [rax + rax]
test r13, r13
je 0x180095884
mov r8, qword [r13 + 0x48]
test r8, r8
je 0x1800955a6
mov ecx, dword [r14 + 0x44]
mov rdx, r10
call fcn.1800951c0
test eax, eax
je 0x180095866
xor ebx, ebx
test dword [r13 + 0x64], 0x100
jne 0x180095868
mov rax, qword [r13 + 0x10]
mov rdx, r13
mov r15, qword [rbp + 0x50]
mov rcx, r15
movzx edi, word [rax]
mov rax, qword [rbp + 0x58]
mov qword [rsi], rax
mov dword [rsi + 0x18], ebx
mov word [rsi + 0x1c], bx
mov dword [rsi + 0x2c], ebx
mov byte [rsi + 0x11], bl
mov word [rsi + 0x12], bx
mov word [rsi + 0x16], di
mov qword [rsi + 0x20], r13
mov r8d, dword [r14 + 0x44]
mov word [rbp + 0x68], di
call fcn.180094fe0
mov r9d, eax
cmp dword [r13 + 0x58], ebx
jg 0x18009561f
movzx ecx, byte [rsp + 0x20]
test eax, eax
mov edx, ebx
mov dword [rsi + 0x28], 0x100
cmovne edx, ecx
lea eax, [rdi + 0x10]
mov byte [rsi + 0x11], dl
mov word [rsi + 0x14], ax
jmp 0x180095819
test byte [r13 + 0x64], 0x20
je 0x180095630
mov eax, 0x240
mov r8, rbx
jmp 0x180095645
mov r8, qword [r13 + 0x68]
mov eax, 0x200
and r8, qword [r14 + 0x58]
mov ecx, 0x240
cmove eax, ecx
mov dword [rsi + 0x28], eax
test r9d, r9d
jne 0x1800956ae
test byte [r12 + 0x40], 0x20
jne 0x1800956ae
cmp qword [r13 + 0x48], rbx
jne 0x1800956ae
test r8, r8
jne 0x18009583d
test byte [r13 + 0x64], 4
jne 0x18009583d
movzx eax, word [r12 + 0x4a]
cmp word [r13 + 0x5c], ax
jge 0x18009583d
mov r10, qword [rsp + 0x28]
test byte [r10 + 0x40], 4
jne 0x18009583d
cmp dword [reloc.WS2_32.dll_accept], ebx
je 0x18009583d
mov rax, qword [r10]
mov rcx, qword [rax]
test byte [rcx + 0x5c], 0x20
jne 0x18009583d
jmp 0x1800956b3
mov r10, qword [rsp + 0x28]
movzx eax, byte [rsp + 0x20]
test r9d, r9d
mov ecx, ebx
cmovne ecx, eax
mov byte [rsi + 0x11], cl
movsx eax, word [r13 + 0x5c]
movsx ecx, word [r12 + 0x4a]
imul eax, eax, 0xf
cdq
idiv ecx
inc ax
add ax, di
mov word [rsi + 0x14], ax
test r8, r8
je 0x180095819
mov r12d, dword [r14 + 0x44]
lea ebx, [rdi + 0x10]
xor eax, eax
mov r14d, eax
cmp dword [r10 + 0x7c], eax
jle 0x180095799
mov r15d, eax
lea rsi, [0x1800522d0]
nop word [rax + rax]
mov rdi, qword [r10 + 0x88]
xor eax, eax
add rdi, r15
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x80]
mov rdx, qword [rdi]
mov dword [rbp - 0x78], r12d
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x78], rax
test rdx, rdx
je 0x18009575d
lea rcx, [rsp + 0x50]
call fcn.180046a40
mov r10, qword [rsp + 0x28]
cmp byte [rsp + 0x74], 0
jne 0x18009578c
movzx eax, word [rdi + 0x10]
test ax, ax
jg 0x180095772
add bx, ax
jmp 0x18009577f
dec bx
test byte [rdi + 0x14], 0x82
je 0x18009577f
add bx, 0xffed
inc r14d
add r15, 0x40
cmp r14d, dword [r10 + 0x7c]
jl 0x180095710
mov rsi, qword [rsp + 0x48]
movzx edi, word [rbp + 0x68]
mov r15, qword [rbp + 0x50]
movzx edx, word [rsi + 0x14]
cmp dx, bx
jl 0x1800957d4
movsx r8d, bx
movsx ecx, dx
lea eax, [r8 + 0x31]
cmp ecx, eax
jg 0x180095809
lea eax, [r8 + 0x1f]
cmp ecx, eax
jle 0x1800957be
inc dx
jmp 0x180095809
sub ecx, r8d
movsxd rax, ecx
lea rcx, str._n_n_t_t_b_b_a_a_a
movzx ecx, byte [rax + rcx]
add dx, cx
jmp 0x180095809
movsx r8d, dx
movsx ecx, bx
lea eax, [r8 + 0x31]
cmp ecx, eax
jle 0x1800957e8
movzx edx, bx
jmp 0x180095809
lea eax, [r8 + 0x1f]
cmp ecx, eax
jle 0x1800957f5
lea edx, [rbx + 1]
jmp 0x180095809
sub ecx, r8d
movsxd rax, ecx
lea rcx, str._n_n_t_t_b_b_a_a_a
movzx edx, byte [rax + rcx]
add dx, bx
mov r14, qword [rsp + 0x38]
xor ebx, ebx
mov r12, qword [rsp + 0x40]
mov word [rsi + 0x14], dx
mov rcx, qword [rsp + 0x30]
movzx r8d, di
mov rdx, rsi
call fcn.180094400
mov rdx, rsi
mov rcx, r15
call fcn.1800941e0
mov word [rsi + 0x16], di
test eax, eax
jne 0x180095886
xor r9d, r9d
mov dword [r15 + 0x28], ebx
mov r8, r13
mov rdx, r14
mov rcx, r15
call fcn.1800947e0
cmp dword [r15 + 0x28], 1
mov edi, eax
jne 0x180095868
or dword [r12 + 0x40], 0x100
jmp 0x180095868
xor ebx, ebx
cmp qword [r14 + 0x68], 0
je 0x180095874
mov r13, rbx
jmp 0x180095878
mov r13, qword [r13 + 0x28]
inc dword [rsp + 0x20]
test edi, edi
je 0x180095573
mov eax, edi
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret