Function at 0x430170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x43e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.0042f770
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
cmp esi, 0xfff0bdbf
jne 0x4301a1
cmp ebx, 0x7fffffff
je 0x4301be
cmp ebx, 0x7fffffff
jg 0x4301be
jl 0x4301b3
cmp esi, 0xfff0bdbf
jae 0x4301be
add esi, 0xf4240
adc ebx, 0
jmp 0x4301c6
or esi, 0xffffffff
mov ebx, 0x7fffffff
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], esi
nop dword [eax]
lea ecx, [ebp - 0x10]
call fcn.0042f770
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp esi, ecx
jne 0x4301ea
cmp ebx, eax
je 0x43028b
cmp ebx, eax
jl 0x43028b
jg 0x4301fc
cmp esi, ecx
jb 0x43028b
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x64
push edx
push eax
call fcn.00433db0
mov edi, esi
mov dword [ebp - 0x14], edx
sub edi, dword [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 0x4c], eax
sbb ebx, dword [ebp - 0xc]
mov edx, ebx
call fcn.00433e60
comisd xmm0, xmmword [0x43b3d8]
mov ecx, dword [ebp - 0x14]
mov eax, ecx
mov esi, dword [ebp - 0x4c]
jbe 0x430246
mov edi, 0xad160000
mov ebx, 0x311cd
add esi, edi
adc eax, ebx
jmp 0x43024a
add esi, edi
adc eax, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
add eax, edi
push 0
push 0x3b9aca00
adc ecx, ebx
push ecx
push eax
call fcn.00433c20
mov dword [ebp - 0x28], eax
imul eax, eax, 0x3b9aca00
mov dword [ebp - 0x24], edx
sub esi, eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCP140.dll__Thrd_sleep]
mov ebx, dword [ebp - 0x50]
add esp, 4
mov esi, dword [ebp - 0x48]
jmp 0x4301d0
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x44]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x4302e5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop
lea eax, [ebp - 0x44]
push eax
call edi
lea eax, [ebp - 0x44]
push eax
call ebx
movzx eax, byte [0x48639d]
mov ecx, 1
cmp dword [ebp - 0x40], 0x12
push ecx
push 0
cmove eax, ecx
push 0
mov byte [0x48639d], al
lea eax, [ebp - 0x44]
push 0
push eax
call esi
test eax, eax
jne 0x4302b0
cmp byte [0x48639d], 0
je 0x4302f6
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, dword [0x486400]
test edx, edx
je 0x430393
mov esi, dword [0x4863c4]
test esi, esi
je 0x430393
mov ecx, dword [0x4863fc]
test ecx, ecx
je 0x430338
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [0x486400]
mov esi, dword [0x4863c4]
mov dword [0x4863fc], 0
mov eax, dword [0x4863c8]
push 0
push 0
push esi
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x34]
mov eax, dword [0x4863c8]
lea edx, [ebp - 0x48]
push edx
push 0x43b2bc
push 0
mov ecx, dword [eax]
push eax
mov dword [0x4863c4], 0
mov dword [0x486400], 0
call dword [ecx + 0x24]
mov eax, dword [0x4863c0]
push 0x4863fc
push 0
push dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ebx, dword [0x4863a0]
test ebx, ebx
je 0x4303a2
mov eax, dword [ebx + 0x74]
jmp 0x4303a4
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x4303b5
call fcn.00428010
mov ebx, dword [0x4863a0]
test ebx, ebx
je 0x4303be
mov esi, dword [ebx + 0x70]
jmp 0x4303c0
xor esi, esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], esi
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x28], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
movd xmm1, eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [eax + 0x14]
call fcn.00433e60
mov eax, dword [ebp - 0x4c]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
movss dword [ebp - 0x50], xmm0
call fcn.00433e60
movss xmm1, dword [ebp - 0x50]
cvtsd2ss xmm0, xmm0
mov eax, dword [ebp - 0x4c]
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [eax + 0x10], edi
mov edi, eax
mov dword [edi + 0x14], esi
mov esi, dword [0x4863a0]
test esi, esi
je 0x43046a
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x4c], eax
jmp 0x430471
mov dword [ebp - 0x4c], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
cmp eax, edx
jne 0x430509
cmp byte [esi + 0x95], 0
je 0x4304ca
cvttss2si eax, dword [esi + 0xdbc]
mov dword [ebp - 0x10], eax
cvttss2si eax, dword [esi + 0xdc0]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x4304be
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x95], 0
mov ecx, dword [ebp - 0x4c]
jne 0x430509
cmp dword [ecx + 8], 0
jne 0x430509
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x430509
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x4c]
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x430509
movd xmm2, dword [ebp - 0xc]
lea ecx, [esi + 8]
movd xmm1, dword [ebp - 0x10]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.00403330
call fcn.004288b0
cmp byte [ebx + 0x44], 0
je 0x430519
or eax, 0xffffffff
jmp 0x430524
mov eax, dword [0x4863a0]
mov eax, dword [eax + 0x4ac8]
cmp dword [edi + 0x20], eax
je 0x430531
mov dword [edi + 0x20], eax
call fcn.00428780
call fcn.00428a60
call fcn.00406540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432bdd
mov esp, ebp
pop ebp
ret