Function at 0x140057e30
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140071010]
xor rax, rsp
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
lea r13, [rbp + 0x88]
movabs r14, 0xff00ff00ff00ff00
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r13
mov r15, qword [r13]
xor r15, r14
mov qword [rbp - 0x78], r15
xor r12d, r12d
mov qword [r13], r12
lea rdi, [0x140078e20]
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
cmp dword [0x140078e28], 0x12
je 0x140058628
movss xmm9, dword [0x140067a5c]
movss xmm8, dword [0x140067a10]
xorps xmm7, xmm7
movss xmm6, dword [0x140067aa8]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x140078dd0]
lea rcx, [0x140078e20]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140057f20
lea rcx, [0x140078e20]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140078e20]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rdi, [rsp + 0x60]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdi, [rsp + 0x50]
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x60]
mov rcx, qword [0x140078dd8]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140078dd8]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], eax
mov rbx, qword [0x140078130]
mov rax, qword [0x140078dd8]
mov qword [rbx + 0xd0], rax
cvttss2si eax, dword [rbx + 0x10]
mov dword [0x140079248], eax
cvttss2si eax, dword [rbx + 0x14]
mov dword [0x14007924c], eax
movss xmm0, dword [rbx + 0x10]
mulss xmm0, xmm9
cvttss2si eax, xmm0
mov dword [0x140079254], eax
movss xmm1, dword [rbx + 0x14]
mulss xmm1, xmm9
cvttss2si eax, xmm1
mov dword [0x140079250], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r13
mov rdi, qword [r13]
mov rax, rdi
xor rax, r14
mov qword [rbp - 0x60], rax
mov qword [r13], r12
lea rcx, [rsp + 0x78]
call qword [0x140078d60]
nop
mov qword [r13], rdi
mov rcx, qword [0x140078dd0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r13
mov rax, rdi
xor rax, r14
mov qword [rbp - 0x48], rax
mov qword [r13], r12
mov rax, qword [0x140078da8]
mov edx, 0xffffffec
call rax
mov r8d, eax
mov qword [r13], rdi
mov eax, dword [rsp + 0x78]
sub eax, dword [rsp + 0x50]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe08], xmm0
mov eax, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x54]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe0c], xmm0
mov rcx, qword [0x140078dd0]
cmp byte [0x1400790ef], 0
je 0x1400580ae
btr r8d, 0x13
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r13
mov rdi, qword [r13]
mov rax, rdi
xor rax, r14
mov qword [rbp - 0x30], rax
mov qword [r13], r12
mov edx, 0xffffffec
call qword [0x140078e78]
nop
mov qword [r13], rdi
mov rcx, qword [0x140078dd0]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1400580be
bts r8d, 0x13
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r13
mov rdi, qword [r13]
mov rax, rdi
xor rax, r14
mov qword [rbp - 0x18], rax
mov qword [r13], r12
mov rax, qword [0x140078d80]
mov ecx, 1
call rax
nop
mov qword [r13], rdi
test ax, ax
je 0x140058113
mov byte [rbx + 0xe10], 1
mov byte [rbx + 0x3748], 1
mov eax, dword [rbx + 0xe0c]
mov dword [rbx + 0x36f8], eax
jmp 0x14005811a
mov byte [rbx + 0xe10], 0
mov eax, dword [0x140079108]
cmp dword [rsp + 0x60], eax
jne 0x14005814a
mov eax, dword [0x140079110]
cmp dword [rsp + 0x68], eax
jne 0x14005814a
mov eax, dword [0x14007910c]
cmp dword [rsp + 0x64], eax
jne 0x14005814a
mov eax, dword [0x140079114]
cmp dword [rsp + 0x6c], eax
je 0x140058194
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [0x140079108], xmm0
mov eax, dword [0x140079248]
mov dword [0x140078de0], eax
mov eax, dword [0x14007924c]
mov dword [0x140078de4], eax
mov r9d, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x50]
call fcn.140047650
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
lea rdx, [0x140078de0]
call qword [rax + 0x80]
mov rdi, qword [0x140078130]
test rdi, rdi
je 0x1400581a9
mov rax, qword [rdi + 0xa0]
jmp 0x1400581ac
mov rax, r12
cmp qword [rax + 0x18], 0
jne 0x1400581d6
test rdi, rdi
je 0x1400581e4
mov rax, qword [rdi + 0xa0]
test rax, rax
je 0x1400581d6
cmp qword [rax], 0
je 0x1400581d6
call fcn.14002cad0
mov rdi, qword [0x140078130]
test rdi, rdi
je 0x1400581e4
mov rbx, qword [rdi + 0x98]
jmp 0x1400581e7
mov rbx, r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rsp + 0x48]
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
sub rax, qword [rbx + 0x18]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rbx + 0x20]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [rbx + 0x18], rcx
mov rsi, qword [0x140078130]
test rsi, rsi
je 0x140058272
mov r14, qword [rsi + 0x98]
jmp 0x140058275
mov r14, r12
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r14]
cmp rax, rcx
jne 0x140058311
cmp byte [rsi + 0xdb], 0
je 0x1400582ce
cvttss2si eax, dword [rsi + 0xe08]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rsi + 0xe0c]
mov dword [rsp + 0x5c], eax
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1400582c5
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rsi + 0xdb], 0
jne 0x140058311
cmp dword [r14 + 0x10], 0
jne 0x140058311
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140058311
lea rdx, [rsp + 0x70]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140058311
movd xmm2, dword [rsp + 0x74]
cvtdq2ps xmm2, xmm2
movd xmm1, dword [rsp + 0x70]
cvtdq2ps xmm1, xmm1
lea rcx, [rsi + 8]
call fcn.140002b60
call fcn.14002d020
cmp byte [rdi + 0x78], 0
je 0x140058323
mov eax, 0xffffffff
jmp 0x140058330
mov rax, qword [0x140078130]
mov eax, dword [rax + 0x4a70]
cmp dword [rbx + 0x28], eax
je 0x14005833d
mov dword [rbx + 0x28], eax
call fcn.14002ceb0
call fcn.14002d1f0
call fcn.1400079e0
lea rax, [0x140079280]
mov qword [rsp + 0x28], rax
lea rax, [0x14007927c]
mov qword [rsp + 0x20], rax
lea r9, [0x140079278]
movss xmm2, dword [0x140078e58]
movss xmm1, dword [0x140078d9c]
movss xmm0, dword [0x140071074]
call fcn.140003850
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1400790f4]
sub eax, ecx
cmp eax, 1
jb 0x1400583c5
cmp dword [0x1400790e4], ecx
je 0x1400583b9
movss xmm0, dword [0x140079278]
addss xmm0, xmm8
movss dword [0x140079278], xmm0
mov dword [0x1400790e4], ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1400790f4], eax
movss xmm0, dword [0x140079278]
comiss xmm7, xmm0
jbe 0x1400583de
addss xmm0, xmm6
movss dword [0x140079278], xmm0
lea rax, [0x140078e58]
mov qword [rsp + 0x28], rax
lea rax, [0x140078d9c]
mov qword [rsp + 0x20], rax
lea r9, [0x140071074]
movss xmm2, dword [0x140079280]
movss xmm1, dword [0x14007927c]
call fcn.140003900
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movabs r14, 0xff00ff00ff00ff00
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r13
mov rdi, qword [r13]
mov rax, rdi
xor rax, r14
mov qword [rbp], rax
mov qword [r13], r12
mov rax, qword [0x140078d80]
mov ecx, 0x2e
call rax
nop
mov qword [r13], rdi
test ax, ax
jne 0x14005861f
call fcn.14004c0c0
call fcn.140050c50
call fcn.1400096e0
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r12d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r12d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140058529
call fcn.140009bb0
mov rax, qword [0x140078130]
mov rax, qword [rax + 0x48a8]
mov rcx, qword [rax]
add rcx, 0x48
mov rax, r12
cmp byte [rcx], r12b
cmovne rax, rcx
mov rcx, rax
call fcn.14002c480
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140058609
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140058609
mov rdi, qword [0x140078130]
test rdi, rdi
je 0x1400585cf
mov rdi, qword [rdi + 0xa0]
test rdi, rdi
je 0x1400585cf
cmp qword [rdi], 0
je 0x1400585cf
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005859a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], r12
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400585ad
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], r12
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400585cf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x18], r12
mov rax, qword [0x140078130]
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], r12
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
lea rdx, [0x140078de0]
call qword [rax + 0x80]
mov rcx, qword [0x140078130]
test rcx, rcx
je 0x140058610
mov rax, qword [rcx + 0xa0]
test rax, rax
je 0x140058610
cmp qword [rax], 0
je 0x140058610
call fcn.14002cad0
mov rcx, qword [0x140078130]
cmp dword [0x140078e28], 0x12
jne 0x140057ee0
jmp 0x14005862f
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x140078130]
test rcx, rcx
je 0x14005863d
mov rsi, qword [rcx + 0xa0]
jmp 0x140058640
mov rsi, r12
lea rbx, [rcx + 8]
test rcx, rcx
je 0x1400586ba
mov rdi, qword [rcx + 0xa0]
test rdi, rdi
je 0x1400586ba
cmp qword [rdi], 0
je 0x1400586ba
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x140058678
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rdi + 8], r12
mov rcx, qword [0x140078130]
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x140058695
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rdi + 0x10], r12
mov rcx, qword [0x140078130]
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x1400586ba
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rdi + 0x18], r12
mov rcx, qword [0x140078130]
mov rax, qword [rcx + 0x58]
mov qword [rax + 8], r12
mov rdx, qword [rsi]
test rdx, rdx
je 0x1400586d2
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140078130]
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x98], r12
and dword [rbx + 4], 0xfffffff7
test rcx, rcx
je 0x1400586ef
dec dword [rcx + 0xf4]
mov rdx, qword [0x140078120]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rax, qword [0x140078130]
test rax, rax
je 0x140058713
mov rbx, qword [rax + 0x98]
jmp 0x140058716
mov rbx, r12
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140058730
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x140078130]
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x90], r12
and dword [rdi + 4], 0xfffffff8
test rax, rax
je 0x14005874d
dec dword [rax + 0xf4]
mov rdx, qword [0x140078120]
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rdi, qword [0x140078130]
call fcn.140005650
mov qword [0x140078130], r12
test rdi, rdi
je 0x14005879d
mov rcx, rdi
call fcn.14001b9d0
mov rax, qword [0x140078130]
test rax, rax
je 0x14005878e
dec dword [rax + 0xf4]
mov rdx, qword [0x140078120]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, qword [0x140078dc8]
test rcx, rcx
je 0x1400587bf
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140078dc8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140078e50]
test rcx, rcx
je 0x1400587d1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140078dd0]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop
xor r15, r14
mov qword [r13], r15
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.14005cef0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
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 r13
pop r12
pop rbp
ret