Function at 0x14004f040
Capabilities:
Hide graphical window

Disassembly:
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rbp], rax
mov rcx, qword [0x140093db0]
mov edx, 1
mov dword [rbp - 0x40], 0
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140093db0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140093db0]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
cmp dword [rbp - 0x40], 0x12
je 0x14004f399
mov rdx, qword [0x140093db0]
lea rcx, [rbp - 0x48]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14004f0db
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov rcx, qword [0x140093db0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140093dc0]
lea rdx, [rsp + 0x78]
xorps xmm0, xmm0
mov qword [rbp - 0x54], 0
xorps xmm1, xmm1
mov dword [rsp + 0x78], 0x3c
movdqu xmmword [rsp + 0x7c], xmm0
movdqu xmmword [rbp - 0x74], xmm1
movdqu xmmword [rbp - 0x64], xmm0
call qword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [rbp - 0x68]
sub eax, dword [rbp - 0x70]
mov rcx, qword [0x140093db0]
mov dword [rsp + 0x74], eax
mov eax, dword [rbp - 0x6c]
sub eax, dword [rbp - 0x74]
mov dword [rsp + 0x70], eax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x14004f189
mov eax, dword [rsp + 0x74]
xor edx, edx
mov r9d, dword [rbp - 0x70]
mov r8d, dword [rbp - 0x74]
mov rcx, qword [0x140093db0]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140093d88]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x1d0]
mov rcx, qword [0x140093d88]
mov rax, qword [rcx]
call qword [rax + 0x180]
mov rcx, qword [0x140093d88]
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov rax, qword [rcx]
call qword [rax + 0x178]
cmp qword [0x140093dd8], 0
je 0x14004f379
cmp byte [0x140093dd4], 0
je 0x14004f1e0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140093dc0]
jne 0x14004f379
mov qword [rsp + 0x120], rbx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movsxd rcx, eax
mov rbx, rcx
sub rbx, qword [0x140093de8]
cmp byte [0x140093dd5], 0
mov qword [0x140093de8], rcx
je 0x14004f342
mov rax, rcx
sub rax, qword [0x140093de0]
cmp rax, 0x64
jle 0x14004f248
movss xmm1, dword [0x140078324]
xorps xmm0, xmm0
cvtsi2ss xmm0, rbx
mov qword [0x140093de0], rcx
divss xmm1, xmm0
cvttss2si r8d, xmm1
mov dword [0x140093dd0], r8d
jmp 0x14004f24f
mov r8d, dword [0x140093dd0]
lea r9, [rbp - 3]
test r8d, r8d
jns 0x14004f2a0
neg r8d
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14004f260
dec r9
mov byte [r9], 0x2d
jmp 0x14004f2ca
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14004f2a0
lea rax, [rbp - 3]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp r9, rax
je 0x14004f2fe
lea r8, [rbp - 3]
mov rdx, r9
sub r8, r9
lea rcx, [rsp + 0x50]
call fcn.14004eb40
mov ecx, dword [rsp + 0x70]
xorps xmm3, xmm3
movss xmm0, dword [0x140078194]
add ecx, 0xffffffce
movss xmm1, dword [0x14006e9d0]
xorps xmm2, xmm2
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x30], xmm3
cvtsi2ss xmm2, rcx
lea rcx, [rsp + 0x50]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm3
call fcn.14004e520
cmp byte [0x140093dd6], 0
je 0x14004f363
mov ecx, 0x11
sub ecx, ebx
lea eax, [rcx - 1]
cmp eax, 0x1c
ja 0x14004f363
lfence
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x70]
call qword [0x140093dd8]
mov rbx, qword [rsp + 0x120]
mov rcx, qword [0x140093d88]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x188]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14004d0c0
add rsp, 0x110
pop rbp
ret