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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x1e0]
xor eax, eax
mov qword [rbp - 0x1a8], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x1a0], xmm4
movabs rax, 0xfffffffffffffeb0
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x18009c118
mov qword [rbp - 0x40], rax
mov rdx, rcx
lea rcx, [rbp - 0xf8]
lea r9, [rbp - 0x138]
mov r8d, 1
call fcn.1802f6d30
lea rcx, [rbp - 0xf8]
call fcn.18009bb80
lea rcx, [rbp - 0xf8]
call fcn.18009bbc0
xor ebx, ebx
xor esi, esi
xor edi, edi
xor r14d, r14d
xor r15d, r15d
xor r13d, r13d
xor r12d, r12d
xor eax, eax
mov dword [rbp - 0xfc], eax
xor edx, edx
mov dword [rbp - 0x100], edx
jmp 0x18009c22d
movzx edx, byte [rbp - 0xd0]
cmp edx, 2
je 0x18009c241
cmp edx, 5
jne 0x18009c340
lea rdx, [0x1805b1648]
cmp qword [rdx - 8], 0
jne 0x18009c524
mov rax, qword [0x180a3ebe0]
mov qword [rbp - 0x1b8], rax
mov rdx, qword [rax + 0x28]
test rdx, rdx
jne 0x18009c52e
xor ecx, ecx
xor r8d, r8d
cmp byte [rbp - 0xcb], 0
je 0x18009c53b
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
test eax, eax
je 0x18009c58a
lea rcx, [rbp - 0xf8]
lea rdx, [0x180597f80]
call fcn.18009bd70
mov rdi, rax
mov edx, dword [rbp - 0x100]
test edx, edx
jne 0x18009c241
lea rcx, [rbp - 0xf8]
call fcn.18009bb80
test eax, eax
jne 0x18009c18c
mov rcx, rdi
or rcx, r13
jne 0x18009c269
test rbx, rbx
je 0x18009c2e1
test r12d, r12d
jle 0x18009c260
test rsi, rsi
je 0x18009c4d8
test r15, r15
je 0x18009c4fe
lea rcx, [0x1805c6950]
call fcn.18000b2f0
mov qword [rbp - 0x1b0], rax
lea rcx, [rax + 0x18]
mov rdx, rbx
call fcn.18000b500
mov rbx, qword [rbp - 0x1b0]
lea rcx, [rbx + 0x20]
mov rdx, rsi
call fcn.18000b500
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.18000b500
lea rcx, [rbx + 0x10]
mov rdx, r14
call fcn.18000b500
lea rcx, [rbx + 0x28]
mov rdx, r15
call fcn.18000b500
lea rcx, [rbx + 0x30]
mov rdx, r13
call fcn.18000b500
mov dword [rbx + 0x38], r12d
mov esi, dword [rbp - 0xfc]
mov byte [rbx + 0x3c], sil
mov rax, rbx
jmp 0x18009ccd8
lea rcx, [0x1805e7988]
call fcn.18000b2f0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x18055eda0]
call fcn.1801d2c60
mov rcx, rbx
call fcn.18000b8e0
lea rcx, [0x1805e02a8]
call fcn.18000b2f0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x18054de68]
call fcn.1801c8bc0
mov rcx, rbx
call fcn.18000b8e0
movzx ecx, byte [rbp - 0xd0]
call fcn.1802ec470
int3
call fcn.1802ec490
int3
xorps xmm0, xmm0
movups xmmword [rbp - 0x190], xmm0
movups xmmword [rbp - 0x180], xmm0
movups xmmword [rbp - 0x178], xmm0
lea rcx, [rbp - 0x190]
mov edx, 0x3b
mov r8d, 1
call fcn.180232420
movups xmm0, xmmword [rbp - 0x190]
movups xmmword [rbp - 0x168], xmm0
movups xmm0, xmmword [rbp - 0x180]
movups xmmword [rbp - 0x158], xmm0
mov rcx, qword [rbp - 0x170]
mov qword [rbp - 0x148], rcx
mov ecx, dword [rbp - 0x158]
cmp ecx, dword [rbp - 0x148]
ja 0x18009c436
mov rdx, qword [rbp - 0x150]
mov eax, ecx
lea rdx, [rdx + rax*2]
mov eax, dword [rbp - 0x148]
sub eax, ecx
xor ecx, ecx
cmp eax, 0x12
jb 0x18009c3ed
lea rcx, [0x1805890b8]
add rcx, 0xc
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x14]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x14], xmm2
mov ecx, 1
test ecx, ecx
je 0x18009c402
mov ecx, dword [rbp - 0x158]
add ecx, 0x12
mov dword [rbp - 0x158], ecx
jmp 0x18009c415
lea rcx, [rbp - 0x168]
lea rdx, [0x1805890b8]
call fcn.1802328b0
lea rcx, [rbp - 0x168]
movzx edx, byte [rbp - 0xd0]
call fcn.1804f1600
mov ebx, dword [rbp - 0x158]
cmp ebx, dword [rbp - 0x148]
jbe 0x18009c43c
call fcn.1801d2d10
int3
mov rcx, qword [rbp - 0x150]
mov edx, ebx
lea rcx, [rcx + rdx*2]
mov edx, dword [rbp - 0x148]
sub edx, ebx
xor ebx, ebx
cmp edx, 0x29
jb 0x18009c473
lea rdx, [0x1805366f0]
add rdx, 0xc
mov r8d, 0x52
call fcn.18019f940
mov ebx, 1
test ebx, ebx
je 0x18009c488
mov ecx, dword [rbp - 0x158]
add ecx, 0x29
mov dword [rbp - 0x158], ecx
jmp 0x18009c49b
lea rcx, [rbp - 0x168]
lea rdx, [0x1805366f0]
call fcn.1802328b0
lea rcx, [0x1805e7988]
call fcn.18000b2f0
mov rbx, rax
lea rcx, [rbp - 0x168]
call fcn.1802325e0
mov dword [rbx + 0x48], 0x80131500
lea rcx, [rbx + 8]
mov rdx, rax
call fcn.18000b500
mov dword [rbx + 0x48], 0x80131501
mov rcx, rbx
call fcn.18000b8e0
lea rcx, [0x1805e7988]
call fcn.18000b2f0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x18055ee08]
call fcn.1801d2c60
mov rcx, rbx
call fcn.18000b8e0
lea rcx, [0x1805e7988]
call fcn.18000b2f0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x18055ed28]
call fcn.1801d2c60
mov rcx, rbx
call fcn.18000b8e0
call fcn.180001cd4
jmp 0x18009c1b7
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
jmp 0x18009c1d7
cmp byte [rbp - 0xca], 0
je 0x18009c56a
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009c205
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x18009c581
mov r8d, r10d
call fcn.1801d15e0
jmp 0x18009c585
xor ecx, ecx
mov eax, ecx
jmp 0x18009c205
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x38]
test rdx, rdx
jne 0x18009c5a1
xor ecx, ecx
xor r8d, r8d
jmp 0x18009c5a9
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009c5be
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009c5ea
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
jmp 0x18009c631
cmp byte [rbp - 0xca], 0
je 0x18009c616
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009c631
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x18009c62d
mov r8d, r10d
call fcn.1801d15e0
jmp 0x18009c631
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x18009c650
lea rcx, [rbp - 0xf8]
lea rdx, [0x18058e018]
call fcn.18009bd70
mov r14, rax
jmp 0x18009c223
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x18009c667
xor ecx, ecx
xor r8d, r8d
jmp 0x18009c66f
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009c684
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009c6b0
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
jmp 0x18009c6f7
cmp byte [rbp - 0xca], 0
je 0x18009c6dc
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009c6f7
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x18009c6f3
mov r8d, r10d
call fcn.1801d15e0
jmp 0x18009c6f7
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x18009c716
lea rcx, [rbp - 0xf8]
lea rdx, [0x18058fe40]
call fcn.18009bd70
mov rbx, rax
jmp 0x18009c223
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x18]
test rdx, rdx
jne 0x18009c72d
xor ecx, ecx
xor r8d, r8d
jmp 0x18009c735
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009c74a
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009c776
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
jmp 0x18009c7bd
cmp byte [rbp - 0xca], 0
je 0x18009c7a2
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009c7bd
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x18009c7b9
mov r8d, r10d
call fcn.1801d15e0
jmp 0x18009c7bd
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x18009c7dc
lea rcx, [rbp - 0xf8]
lea rdx, [0x18058fe70]
call fcn.18009bd70
mov rsi, rax
jmp 0x18009c223
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x88]
test rdx, rdx
jne 0x18009c7f6
xor ecx, ecx
xor r8d, r8d
jmp 0x18009c7fe
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009c813
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009c83f
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
jmp 0x18009c886
cmp byte [rbp - 0xca], 0
je 0x18009c86b
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009c886
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x18009c882
mov r8d, r10d
call fcn.1801d15e0
jmp 0x18009c886
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x18009c8b0
lea rcx, [rbp - 0xf8]
lea rdx, [0x180594970]
call fcn.18009bf20
mov qword [rbp - 0x140], rax
mov r12d, dword [rbp - 0x13c]
jmp 0x18009c223
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x48]
test rdx, rdx
jne 0x18009c8c7
xor ecx, ecx
xor r8d, r8d
jmp 0x18009c8cf
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009c8e4
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009c910
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
jmp 0x18009c957
cmp byte [rbp - 0xca], 0
je 0x18009c93c
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009c957
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x18009c953
mov r8d, r10d
call fcn.1801d15e0
jmp 0x18009c957
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x18009ca1d
lea rcx, [rbp - 0xf8]
call fcn.18009bb80
lea rcx, [rbp - 0xf8]
call fcn.18009bca0
lea rcx, [0x18060b218]
call fcn.18000b2f0
mov r15, rax
mov rcx, qword [0x180a3fbb0]
mov rdx, qword [rcx + 8]
lea rcx, [r15 + 8]
call fcn.18000b500
lea rcx, [rbp - 0xf8]
call fcn.18009bb80
test eax, eax
je 0x18009c223
movzx eax, byte [rbp - 0xd0]
cmp eax, 1
jne 0x18009c9ff
lea rcx, [rbp - 0xf8]
call fcn.18009cd40
inc dword [r15 + 0x14]
mov rcx, qword [r15 + 8]
mov edx, dword [r15 + 0x10]
mov r8d, dword [rcx + 8]
cmp r8d, edx
jbe 0x18009c9f2
lea r8d, [rdx + 1]
mov dword [r15 + 0x10], r8d
lea rcx, [rcx + rdx*8 + 0x10]
mov rdx, rax
call fcn.18000b500
jmp 0x18009ca08
mov rcx, r15
mov rdx, rax
call fcn.18042f6a0
jmp 0x18009ca08
cmp eax, 4
je 0x18009c223
lea rcx, [rbp - 0xf8]
call fcn.18009bb80
test eax, eax
jne 0x18009c9ae
jmp 0x18009c223
mov rax, qword [rbp - 0x1b8]
mov rdx, qword [rax + 0x78]
test rdx, rdx
jne 0x18009ca34
xor ecx, ecx
xor r8d, r8d
jmp 0x18009ca3c
lea rcx, [rdx + 0x10]
mov r8d, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009ca51
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009ca7d
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
jmp 0x18009cac4
cmp byte [rbp - 0xca], 0
je 0x18009caa9
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], r8d
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009cac4
mov rdx, qword [rbp - 0x60]
mov r10d, dword [rbp - 0x58]
cmp r8d, r10d
jne 0x18009cac0
mov r8d, r10d
call fcn.1801d15e0
jmp 0x18009cac4
xor ecx, ecx
mov eax, ecx
test eax, eax
je 0x18009cae3
lea rcx, [rbp - 0xf8]
lea rdx, [0x180591410]
call fcn.18009bd70
mov r13, rax
jmp 0x18009c223
lea rax, str.ProtocolVersion
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009caff
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009cb2e
mov qword [rbp - 0x1a8], rax
mov dword [rbp - 0x1a0], shutdown
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
jmp 0x18009cb8a
cmp byte [rbp - 0xca], 0
je 0x18009cb5d
mov qword [rbp - 0x1a8], rax
mov dword [rbp - 0x1a0], shutdown
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009cb8a
mov rdx, qword [rbp - 0x60]
mov ecx, dword [rbp - 0x58]
cmp ecx, 0xf
jne 0x18009cb88
mov rcx, qword [rax]
mov r8, qword [rdx]
mov rax, qword [rax + 7]
mov rdx, qword [rdx + 7]
xor rcx, r8
xor rdx, rax
or rdx, rcx
sete al
movzx eax, al
jmp 0x18009cb8a
xor eax, eax
test eax, eax
jne 0x18009c307
mov rdx, qword [rbp - 0x1b8]
mov rdx, qword [rdx + 0x98]
test rdx, rdx
jne 0x18009cbab
xor ecx, ecx
xor eax, eax
jmp 0x18009cbb2
lea rcx, [rdx + 0x10]
mov eax, dword [rdx + 8]
movzx edx, byte [rbp - 0xd0]
cmp edx, 5
je 0x18009cbc7
cmp edx, 7
jne 0x18009c32d
cmp byte [rbp - 0xcb], 0
je 0x18009cc12
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], eax
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7040
test eax, eax
je 0x18009cc55
lea rcx, [rbp - 0xf8]
lea rdx, [0x180597fd0]
call fcn.18009bd00
mov dword [rbp - 0xfc], eax
jmp 0x18009c223
cmp byte [rbp - 0xca], 0
je 0x18009cc3d
mov qword [rbp - 0x1a8], rcx
mov dword [rbp - 0x1a0], eax
lea rdx, [rbp - 0x1a8]
lea rcx, [rbp - 0xf8]
call fcn.1802f7410
jmp 0x18009cbf0
mov rdx, qword [rbp - 0x60]
mov r8d, dword [rbp - 0x58]
cmp eax, r8d
jne 0x18009cc51
call fcn.1801d15e0
jmp 0x18009cc53
xor eax, eax
jmp 0x18009cbf0
cmp byte [rbp - 0xd4], 0
je 0x18009c33a
cmp byte [rbp - 0xd0], 5
jne 0x18009cc77
lea rcx, [rbp - 0xf8]
call fcn.1802f6e60
movzx ecx, byte [rbp - 0xd0]
cmp ecx, 1
je 0x18009cc8c
cmp ecx, 3
jne 0x18009c223
mov edx, dword [rbp - 0xa0]
cmp ecx, 3
je 0x18009cc9c
cmp ecx, 1
jne 0x18009cc9e
dec edx
mov dword [rbp - 0x194], edx
lea rcx, [rbp - 0xf8]
call fcn.1802f6e60
mov ecx, dword [rbp - 0xa0]
movzx eax, byte [rbp - 0xd0]
cmp eax, 3
je 0x18009ccc7
cmp eax, 1
jne 0x18009ccc9
dec ecx
mov edx, dword [rbp - 0x194]
cmp edx, ecx
jl 0x18009cca4
jmp 0x18009c223
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret