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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1d0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov r14, rcx
lea rdx, str.League_of_Legends__TM__Client
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x180076a08], rax
lea r8, [0x1800207d0]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x180076a10], rax
mov rax, qword [0x1800760a8]
cmp byte [rax], 0
jne 0x18002125d
mov qword [0x180076a18], r14
mov rcx, qword [0x1800760b0]
call fcn.18004ef10
mov rbx, qword [0x1800769e8]
test rbx, rbx
je 0x180020e77
inc dword [rbx + 0xf4]
mov ecx, 0x5e28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x118]
mov qword [rbp + 0x128], rcx
mov qword [rbp + 0x80], rax
xor r15d, r15d
test rax, rax
je 0x180020eb2
xor edx, edx
mov rcx, rax
call fcn.180021770
jmp 0x180020eb5
mov rax, r15
mov qword [0x1800769e8], rax
call fcn.180024ce0
test rbx, rbx
je 0x180020ecf
mov qword [0x1800769e8], rbx
jmp 0x180020ed6
mov rbx, qword [0x1800769e8]
mov byte [rbx + 0x38a2], 1
mov byte [rbx + 0x38a0], 1
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], r15
or dword [rbx + 8], 0x20
mov rsi, qword [rbx + 0x58]
mov qword [rbp + 0x118], r15
lea r8, [rbp + 0x118]
lea r12, str.c:windows_fonts_simhei.ttf
mov rcx, r12
call fcn.180023040
mov rdi, rax
test rax, rax
je 0x18002108d
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x30], xmm2
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rbp - 0x80], xmm2
mov qword [rbp - 0x50], rax
mov byte [rsp + 0x3c], 1
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x74], 0x7f7fffff
mov dword [rbp - 0x80], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x7c], ax
movups xmm3, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x10], xmm3
movups xmm4, xmmword [rsp + 0x40]
movaps xmmword [rbp], xmm4
movaps xmmword [rbp + 0x10], xmm2
xorps xmm5, xmm5
movaps xmmword [rbp + 0x20], xmm5
movups xmm6, xmmword [rsp + 0x70]
movaps xmmword [rbp + 0x30], xmm6
movups xmm1, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x40], xmm1
xorps xmm7, xmm7
movaps xmmword [rbp + 0x50], xmm7
xorps xmm8, xmm8
movaps xmmword [rbp + 0x60], xmm8
movsd xmm9, qword [rbp - 0x50]
movsd qword [rbp + 0x70], xmm9
movdqa xmm0, xmm1
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x180021031
lea r9, [0x180069d53]
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x180020fe7
cmp al, 0x5c
je 0x180020fe7
mov r9, rcx
cmp rcx, r12
ja 0x180020fd0
movsd xmm0, qword [0x18006b340]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x46]
call fcn.180022de0
movsd xmm9, qword [rbp + 0x70]
movaps xmm8, xmmword [rbp + 0x60]
movaps xmm7, xmmword [rbp + 0x50]
movaps xmm1, xmmword [rbp + 0x40]
movaps xmm6, xmmword [rbp + 0x30]
movaps xmm5, xmmword [rbp + 0x20]
movaps xmm2, xmmword [rbp + 0x10]
movaps xmm4, xmmword [rbp]
movaps xmm3, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x30], xmm3
movaps xmmword [rsp + 0x40], xmm4
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm5
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rbp - 0x80], xmm1
movaps xmmword [rbp - 0x70], xmm7
movaps xmmword [rbp - 0x60], xmm8
movsd qword [rbp - 0x50], xmm9
mov qword [rsp + 0x30], rdi
mov eax, dword [rbp + 0x118]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x44], 0x41700000
lea rax, [0x18006acc0]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800443d0
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
mov qword [0x180076a00], rax
mov rsi, qword [0x180076a08]
mov rbx, qword [0x1800769e8]
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800211ef
lea rcx, [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800211ef
mov rax, qword [0x1800769e8]
test rax, rax
je 0x1800210e9
inc dword [rax + 0xf4]
mov ecx, 0x48
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180021116
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x180021119
mov rdi, r15
mov qword [rbx + 0x98], rdi
lea rax, str.imgui_impl_win32
mov qword [rbx + 0x88], rax
or dword [rbx + 0xc], 6
mov qword [rdi], rsi
mov rax, qword [rbp + 0x120]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x128]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x1800769e8]
mov rcx, qword [rax + 0x48a8]
mov rax, qword [rcx]
mov qword [rax + 0x28], rsi
mov byte [rdi + 0x2d], 1
lea rax, str.xinput1_4.dll
mov qword [rbp - 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rbp - 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp - 0x30], rax
lea rax, str.xinput1_2.dll
mov qword [rbp - 0x28], rax
lea rax, str.xinput1_1.dll
mov qword [rbp - 0x20], rax
mov rbx, r15
mov rcx, qword [rbp + rbx*8 - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1800211c3
inc rbx
cmp rbx, 5
jl 0x1800211a5
jmp 0x1800211ef
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rbx, qword [0x1800769e8]
test rbx, rbx
je 0x180021201
inc dword [rbx + 0xf4]
mov ecx, 0x28
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x180021230
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x180021233
mov rax, r15
mov qword [rbx + 0xa0], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x90], rcx
or dword [rbx + 0xc], 8
mov qword [rax], r14
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
call fcn.180051810
lea r11, [rsp + 0x1d0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret