Function at 0x41e000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d01b5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x517ba0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0
push 0
push 0x1042
push esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41e0eb
cmp dword [ebp + 0xc], 0
jle 0x41e062
mov ecx, 0x51c200
xor edi, edi
call fcn.0042bd40
sub eax, edi
jmp 0x41e071
mov ecx, 0x51c200
call fcn.0042bd40
lea edi, [eax - 1]
mov eax, edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0x4e2674
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
call fcn.0049fbd0
push eax
push 0x4e2674
call fcn.0049fd60
mov ebx, dword [sym.imp.USER32.dll_GetParent]
add esp, 0xc
cmp dword [ebp - 0x54], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
je 0x41e178
test esi, esi
je 0x41e109
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
jmp 0x41e122
mov eax, dword [ebp + 0xc]
add edi, eax
test eax, eax
jle 0x41e06f
mov ecx, 0x51c200
call fcn.0042bd40
sub eax, edi
jmp 0x41e071
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 0x38], eax
call esi
mov esi, dword [ebp - 0x24]
cdq
sub eax, edx
push 2
sar eax, 1
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x41e15c
nop
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x41e15c
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x41e140
lea eax, [ebp - 0x58]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0x41e430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
mov ecx, 0x51c200
mov dword [ebp - 4], 0
call fcn.0042bd40
cmp edi, eax
jae 0x41e210
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x5c], 0x51c200
nop
push 0x51c200
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x51c200
call fcn.0041e2d0
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x41e1cd
mov bl, byte [eax + 0xa]
and bl, 1
lea ecx, [ebp - 0x70]
call fcn.00423d30
push 0x51c200
mov byte [ebp - 4], 0
call esi
test bl, bl
jne 0x41e2ae
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
jne 0x41e210
mov ecx, 0x51c200
call fcn.0042bd40
inc dword [ebp - 0x50]
mov ecx, 0x51c200
add edi, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
call fcn.0042bd40
cmp edi, eax
jb 0x41e1a0
xor bl, bl
cmp dword [ebp - 0x54], 0
je 0x41e27d
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x41e230
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41e225
push 0
push 1
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x41e27d
mov edi, dword [sym.imp.USER32.dll_GetParent]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x41e27d
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
mov esi, eax
test esi, esi
jne 0x41e261
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x41e290
call fcn.0049fda0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4433
mov esp, ebp
pop ebp
ret
push 1
push edi
push dword [ebp - 0x24]
call fcn.00467520
add esp, 0xc
mov bl, 1
jmp 0x41e212