Function at 0x18001c530
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
mov rax, qword [0x18006c0d8]
cmp byte [rax + 0x10], 0
mov byte [rbp + 0x118], 0x74
jne 0x18001c57b
mov byte [rbp + 0x118], 0x75
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rbp + 0x118]
movabs rdx, 0x14096255b
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, str.League_of_Legends__TM__Client
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x18006c988], rax
lea r8, [0x18001bf10]
mov edx, 0xfffffffc
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x18006c990], rax
mov rax, qword [0x18006c0d8]
cmp byte [rax], 0
jne 0x18001c9f8
mov qword [0x18006c998], r14
mov rcx, qword [0x18006c0e0]
call fcn.18004a680
mov rbx, qword [0x18006c968]
test rbx, rbx
je 0x18001c614
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 0x18001c64f
xor edx, edx
mov rcx, rax
call fcn.18001d070
jmp 0x18001c652
mov rax, r15
mov qword [0x18006c968], rax
call fcn.180020640
test rbx, rbx
je 0x18001c66c
mov qword [0x18006c968], rbx
jmp 0x18001c673
mov rbx, qword [0x18006c968]
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.18001ead0
mov rdi, rax
test rax, rax
je 0x18001c822
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 0x18001c7c6
lea r9, [0x180060c4b]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x18001c77c
cmp al, 0x5c
je 0x18001c77c
mov r9, rcx
cmp rcx, r12
ja 0x18001c765
movsd xmm0, qword [0x180062258]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x46]
call fcn.18001e870
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, [0x180061bb0]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18003fc60
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
mov qword [0x18006c980], rax
mov rsi, qword [0x18006c988]
mov rbx, qword [0x18006c968]
lea rcx, [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x18001c98a
lea rcx, [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x18001c98a
mov rax, qword [0x18006c968]
test rax, rax
je 0x18001c87e
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 0x18001c8ab
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 0x18001c8ae
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 [0x18006c968]
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
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x18001c95e
inc rbx
cmp rbx, 5
jl 0x18001c940
jmp 0x18001c98a
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 [0x18006c968]
test rbx, rbx
je 0x18001c99c
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 0x18001c9cb
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 0x18001c9ce
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.18004d0a0
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