Function at 0x51cb20
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [0x5b9744]
push edi
cmp byte [esi + 0x98], 0
jne 0x51cdb8
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x51cdb8
mov eax, dword [esp + 0x34]
cmp eax, dword [esi + 0x9c]
jne 0x51cc60
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push ecx
call dword [eax + 0xac]
add dword [esp + 0x1c], 3
lea ebx, [esi + 8]
sub dword [esp + 0x24], 3
add dword [esp + 0x18], 3
sub dword [esp + 0x20], 3
cmp byte [esi + 0x88], 0
jne 0x51cdb8
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x51cbd0
movups xmm0, xmmword [esp + 0x18]
push eax
push dword [esi + 4]
movups xmmword [ebx], xmm0
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x88], 1
call fcn.0052e4c6
mov dword [esi + 0x90], eax
mov eax, 1
mov dword [esi + 0x94], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
cmp byte [esi + 0x88], 0
jne 0x51cdb8
push 0xffffffffffffffec
push dword [esi + 0x78]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, dword [esp + 0x30]
shr eax, 3
test al, 1
je 0x51cbf7
push 1
jmp 0x51cbf9
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 3
push dword [esi + 0x78]
mov dword [esp + 0x38], eax
call edi
test eax, eax
je 0x51cc33
nop dword [eax + eax]
cmp eax, dword [esp + 0x30]
je 0x51cdb8
push 3
push eax
call edi
test eax, eax
jne 0x51cc20
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov edx, dword [ebx]
sub eax, ecx
push 0
push eax
mov eax, dword [ebx + 8]
sub eax, edx
push eax
push ecx
push edx
push 0xffffffffffffffff
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
cmp eax, dword [esi + 0xa0]
jne 0x51cdb8
cmp byte [esi + 0x88], 0
je 0x51cd57
call fcn.0052e4c6
sub eax, dword [esi + 0x90]
push 0
sbb edx, dword [esi + 0x94]
push 0x2710
push edx
push eax
call fcn.0056ead0
mov edi, eax
mov ecx, edx
mov eax, dword [esi + 0x8c]
cdq
cmp ecx, edx
jl 0x51cd57
jg 0x51ccb5
cmp edi, eax
jbe 0x51cd57
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xac]
add dword [esp + 0x1c], 3
lea eax, [esp + 0x18]
sub dword [esp + 0x24], 3
lea edi, [esi + 8]
add dword [esp + 0x18], 3
sub dword [esp + 0x20], 3
push eax
push edi
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x51cd4f
call fcn.00449030
mov ecx, esi
movsd qword [esi + 0x80], xmm0
call fcn.0051c690
mov eax, dword [esi + 0x28]
mov byte [esi + 0x88], 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xac]
add dword [edi + 0xc], 0xfffffffd
add dword [edi + 4], 3
mov ecx, dword [edi + 0xc]
add dword [edi + 8], 0xfffffffd
add dword [edi], 3
mov edx, dword [edi]
mov eax, dword [edi + 8]
sub ecx, dword [edi + 4]
sub eax, edx
push 0
push ecx
push eax
push dword [esi + 0xc]
push edx
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
movups xmm0, xmmword [esp + 0x18]
movups xmmword [edi], xmm0
mov eax, dword [0x5b9744]
test byte [eax + 0xa8], 1
je 0x51cdb8
cmp byte [esi + 0x88], 0
jne 0x51cdb8
cmp byte [esi + 0x4c], 0
movss xmm1, dword [esi + 0x48]
movss xmm0, dword [esi + 0x44]
je 0x51cd93
addss xmm0, xmm1
comiss xmm0, dword [esi + 0x40]
movss dword [esi + 0x48], xmm0
jb 0x51cdaa
mov byte [esi + 0x4c], 0
jmp 0x51cdaa
subss xmm1, xmm0
movss xmm0, dword [esi + 0x3c]
comiss xmm0, xmm1
movss dword [esi + 0x48], xmm1
jb 0x51cdaa
mov byte [esi + 0x4c], 1
push 0
push 0
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 8