Function at 0x1400011c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r8d, 0x104
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r13d, r13d
lea rax, [rbp + 0x90]
xorps xmm0, xmm0
mov qword [rsp + 0x78], r13
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], r13
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140001230
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x3e0], r15
lea rcx, [rsp + 0x68]
call fcn.1400016a0
mov r14, qword [rbp - 0x80]
lea rbx, [rsp + 0x68]
mov rsi, qword [rsp + 0x68]
cmp r14, 7
mov rdi, qword [rsp + 0x78]
mov r12d, 1
cmova rbx, rsi
test rdi, rdi
je 0x140001331
mov r15d, 0x100
lea rcx, [rbp - 0x70]
mov r8d, r15d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140003390]
lea rdx, [0x140003392]
nop
movzx eax, word [rcx]
cmp ax, r15w
jae 0x1400012ec
movzx eax, al
add rcx, 2
mov byte [rbp + rax - 0x70], r12b
cmp rcx, rdx
jne 0x1400012a0
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx eax, word [r8]
cmp ax, r15w
jae 0x1400012e1
cmp byte [rbp + rax - 0x70], r13b
jne 0x140001329
cmp r8, rbx
je 0x140001331
sub r8, 2
jmp 0x1400012d0
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea r8, [rbx + rax*2]
movzx edx, word [r8]
lea rax, [0x140003390]
mov rcx, r12
cmp word [rax], dx
je 0x140001329
add rax, 2
sub rcx, r12
jne 0x140001310
cmp r8, rbx
je 0x140001331
sub r8, 2
jmp 0x140001302
sub r8, rbx
sar r8, 1
jmp 0x140001338
mov r8, 0xffffffffffffffff
inc r8
lea rdx, [rsp + 0x68]
cmp rdi, r8
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
xorps xmm1, xmm1
cmovb r8, rdi
cmp r14, 7
movups xmmword [rsp + 0x20], xmm0
cmova rdx, rsi
movdqu xmmword [rsp + 0x30], xmm1
call fcn.1400016a0
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400013ab
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013a6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001647
call fcn.14000183c
movups xmm0, xmmword [rsp + 0x30]
movabs rdx, 0x7ffffffffffffffe
movups xmm1, xmmword [rsp + 0x20]
mov rax, rdx
movq rsi, xmm0
sub rax, rsi
movups xmmword [rsp + 0x68], xmm1
movups xmmword [rsp + 0x78], xmm0
cmp rax, 0xc
jb 0x14000168f
psrldq xmm0, 8
lea r15, [rsp + 0x68]
movq rax, xmm0
lea r14, [rsi + 0xc]
cmp rax, 7
lea rdi, [rsp + 0x48]
movq rcx, xmm1
mov ebx, 7
cmova r15, rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
cmp r14, rbx
jbe 0x1400014ae
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x140001474
movabs rax, 0x7fffffffffffffff
mov rbx, rdx
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400014a1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001689
mov rcx, rax
call fcn.140001800
test rax, rax
je 0x140001647
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400014a9
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x140001689
add rcx, rcx
jne 0x14000143f
mov rdi, r13
jmp 0x1400014a9
call fcn.140001800
mov rdi, rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x60], rbx
mov rdx, r15
lea rbx, [rsi + rsi]
mov qword [rsp + 0x58], r14
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Internal.dll]
lea rcx, [rsp + 0x48]
movups xmmword [rdi + rbx], xmm0
movsd xmm0, qword [0x1400033a8]
movsd qword [rdi + rbx + 0x10], xmm0
mov word [rdi + r14*2], r13w
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400015bd
xor edx, edx
lea rcx, str.TankWindowClass
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400015bd
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r13d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test eax, eax
je 0x1400015bd
cmp qword [rsp + 0x60], 7
lea rcx, [rsp + 0x48]
mov r8d, r12d
cmova rcx, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400015bd
lea rdx, str.NextHook
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400015bd
mov r9d, ebx
mov r8, rdi
mov rdx, rax
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rdi, rax
test rax, rax
je 0x1400015bd
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x1400015bd
mov r12d, r13d
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1400015fb
mov rcx, qword [rsp + 0x48]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015f6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001647
call fcn.14000183c
mov rdx, qword [rbp - 0x80]
movdqa xmm0, xmmword [0x1400033f0]
mov word [rsp + 0x48], r13w
movdqu xmmword [rsp + 0x58], xmm0
cmp rdx, 7
jbe 0x140001653
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000164e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000164e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000183c
mov r15, qword [rsp + 0x3e0]
mov eax, r12d
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400017e0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.140001100
int3
call fcn.1400011a0
int3