Function at 0x180011150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rdi, rcx
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x90], rbx
lea rdx, str.IEMainWindowAccessServer
test rdx, 0xffffffffffff0000
jne 0x1800111c0
movzx esi, dx
mov ecx, esi
call fcn.180002840
test rax, rax
je 0x1800111db
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1800023e0
jmp 0x1800111d3
mov r8d, 0x18
lea rcx, [rsp + 0x90]
call fcn.180002020
mov rbx, qword [rsp + 0x90]
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi + 8], rax
mov ecx, 0x18
call fcn.180029700
xor r12d, r12d
test rax, rax
je 0x180011210
mov rcx, rax
call fcn.180003a90
jmp 0x180011213
mov rax, r12
mov qword [rdi + 0x10], rax
lea r15, [rbx - 0x18]
mov r14, qword [rdi + 8]
sub r14, 0x18
cmp r15, r14
je 0x180011270
cmp dword [r14 + 0x10], r12d
jl 0x180011260
mov rax, qword [r14]
cmp qword [r15], rax
jne 0x180011260
mov rcx, r15
call fcn.180002110
mov rbx, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x180011256
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rVariantCopy + 8]
lea rax, [rbx + 0x18]
mov qword [rdi + 8], rax
jmp 0x180011270
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rdi + 8]
call fcn.180002020
mov ecx, 8
call fcn.180029700
mov rbx, rax
test rax, rax
je 0x18001129c
lea rcx, [0x180066048]
mov rdx, qword [0x180066048]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
jmp 0x18001129f
mov rbx, r12
mov qword [rdi], rbx
lock add dword [r15 + 0x10], 0xffffffff
jg 0x1800112b6
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + VariantCopy]
lea rcx, [rdi + 0x18]
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1800112f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1800112ef
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1800112f9
mov ecx, eax
call fcn.180002bd0
nop
mov qword [rdi + 0x40], r12
mov qword [rdi + 0x48], r12
mov qword [rdi + 0x50], r12
mov qword [rdi + 0x58], r12
mov qword [rdi + 0x60], r12
mov qword [rdi + 0x68], r12
mov qword [rdi + 0x70], r12
mov qword [rdi + 0x78], r12
mov ecx, 0xa0
call fcn.180029700
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x180011353
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor r9d, r9d
lea rdx, str.ProxyToServer
mov rcx, rbx
call fcn.1800167e0
mov rbp, rax
jmp 0x180011356
mov rbp, r12
mov rbx, qword [rdi + 0x40]
cmp rbp, rbx
je 0x180011374
test rbx, rbx
je 0x180011374
mov rcx, rbx
call fcn.180017240
mov rcx, rbx
call fcn.1800289b0
mov qword [rdi + 0x40], rbp
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
mov r9, rdi
lea r8, [0x1800115a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800113a9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180011461
lea rcx, [0x180066048]
mov rax, qword [0x180066048]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
lea rdx, str.button_server_create_thread
test rdx, 0xffffffffffff0000
jne 0x1800113fa
movzx ebx, dx
mov ecx, ebx
call fcn.180002840
test rax, rax
je 0x18001140e
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1800023e0
jmp 0x18001140e
mov r8d, 0x1b
lea rcx, [rsp + 0x98]
call fcn.180002020
nop
lea rcx, [rsp + 0x30]
call fcn.180008a80
nop
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.180004050
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180011444
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180011461
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret