Function at 0x4351b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x44300c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
cmp byte [ebx + 0x30], 0
jne 0x435477
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x435226
lea eax, [esp + 0x40]
push eax
call edi
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esp + 0x44], 0x12
je 0x435477
push 1
push 0
push 0
push 0
lea eax, [esp + 0x50]
push eax
call esi
test eax, eax
jne 0x4351f6
cmp dword [ebx + 0x148], 1
jne 0x43523e
mov ecx, ebx
call fcn.00435780
test al, al
je 0x435477
mov ebx, dword [0x443af8]
test ebx, ebx
je 0x43524d
mov eax, dword [ebx + 0x7c]
jmp 0x43524f
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x435260
call fcn.0042e410
mov ebx, dword [0x443af8]
test ebx, ebx
je 0x435269
mov esi, dword [ebx + 0x78]
jmp 0x43526b
xor esi, esi
lea eax, [esp + 0x18]
mov dword [esp + 0xc], esi
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x1c], xmm0
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
movd xmm1, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x30]
mov ecx, edi
sub ecx, dword [esi + 0x10]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x34]
mov edx, esi
sbb edx, dword [eax + 0x14]
call fcn.00437690
mov eax, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
movss dword [esp + 0x10], xmm0
call fcn.00437690
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0xc]
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [eax + 0x14], esi
mov esi, dword [0x443af8]
mov dword [eax + 0x10], edi
test esi, esi
je 0x435320
mov edi, dword [esi + 0x78]
jmp 0x435322
xor edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x4353ba
cmp byte [esi + 0x9b], 0
je 0x43537a
cvttss2si eax, dword [esi + 0xdc0]
mov dword [esp + 0x28], eax
cvttss2si eax, dword [esi + 0xdc4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x435371
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x9b], 0
jne 0x4353ba
cmp dword [edi + 8], 0
jne 0x4353ba
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4353ba
lea eax, [esp + 0x38]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4353ba
movd xmm2, dword [esp + 0x3c]
lea ecx, [esi + 8]
movd xmm1, dword [esp + 0x38]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.00407bd0
call fcn.0042ecb0
cmp byte [ebx + 0x60], 0
je 0x4353ca
or eax, 0xffffffff
jmp 0x4353d5
mov eax, dword [0x443af8]
mov eax, dword [eax + 0x4988]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x20], eax
je 0x4353e6
mov dword [ecx + 0x20], eax
call fcn.0042eb80
call fcn.0042ee60
call fcn.0040b760
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x435471
mov eax, dword [ecx]
call dword [eax + 8]
call fcn.0040d900
mov eax, dword [0x443d30]
movups xmm0, xmmword [ebx + 0xac]
push 0
push 0x443d38
movups xmmword [esp + 0x64], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [0x443d30]
lea edx, [esp + 0x5c]
push edx
push dword [0x443d38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x443af8]
xor ecx, ecx
mov eax, dword [eax + 0x47ec]
mov eax, dword [eax]
add eax, 0x38
cmp byte [eax], cl
cmovne ecx, eax
call fcn.0042db80
mov eax, dword [0x443d34]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
jmp 0x4351cd
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov ecx, ebx
call fcn.00433b00
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004362ef
mov esp, ebp
pop ebp
ret