Function at 0x4195e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1715
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0
push 0x1042
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp + 0xc]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419641
test edi, edi
jle 0x419632
xor esi, esi
jmp 0x419643
mov ecx, 0x52da90
call fcn.00427ae0
lea esi, [eax - 1]
jmp 0x419643
add esi, edi
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004aa220
add esp, 0xc
test edi, edi
jle 0x419665
mov ecx, 0x52da90
call fcn.00427ae0
sub eax, esi
jmp 0x419667
mov eax, esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount64]
push 0x4e50fc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
call fcn.004a27e0
push eax
push 0x4e50fc
call fcn.004a29e0
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
je 0x419756
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x4196de
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x54]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x50]
jmp 0x4196f6
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
push 2
sar eax, 1
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x419737
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x419737
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
jne 0x419717
lea eax, [ebp - 0x44]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push 0x419a50
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, 0x52da90
mov dword [ebp - 4], 0
call fcn.00427ae0
cmp esi, eax
jae 0x419811
mov dword [ebp - 0x74], 0x52da90
nop word [eax + eax]
push 0x52da90
mov byte [ebp - 0x69], 0
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push esi
push 0x52dabc
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push eax
mov ecx, 0x52daac
movups xmmword [ebp - 0x68], xmm0
call fcn.004198d0
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x4197c4
mov al, byte [eax + 0xa]
and al, 1
mov byte [ebp - 0x69], al
lea ecx, [ebp - 0x68]
call fcn.0041f2b0
push 0x52da90
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp - 0x69], 0
jne 0x4198b4
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
jne 0x419811
mov ecx, 0x52da90
call fcn.00427ae0
inc dword [ebp - 0x3c]
mov ecx, 0x52da90
mov dword [ebp - 0x40], eax
add esi, edi
call fcn.00427ae0
cmp esi, eax
jb 0x419780
xor al, al
cmp dword [ebp - 0x40], 0
mov byte [ebp - 0x69], al
je 0x419883
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x419832
push 0x32
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x419823
push 0
push 1
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x419880
nop dword [eax]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x419880
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x419860
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x419899
call fcn.004a2a20
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret
push 1
push esi
push dword [ebp - 0x70]
lfence
call fcn.00469d00
add esp, 0xc
mov al, 1
jmp 0x419813