Function at 0x49e760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d887d
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, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 0xc]
push 0x414
push dword [esi + 4]
mov dword [ebp - 0x2c], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00474100
add esp, 4
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0x28], ebx
push dword [edi + 0x10]
call fcn.00474610
test al, 0x20
jne 0x49ea2b
push dword [edi + 0x10]
mov ecx, ebx
call fcn.00474490
mov esi, dword [esi + 4]
mov dword [ebp - 0x64], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x21], 0
mov eax, dword [eax + 8]
inc eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0x4f51c0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
call fcn.0049fbd0
push eax
push 0x4f51c0
call fcn.0049fd60
mov edi, dword [sym.imp.USER32.dll_GetParent]
add esp, 0xc
cmp dword [ebp - 0x60], 0
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x21]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x38], 0
je 0x49e8cc
test esi, esi
je 0x49e862
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 - 0x44], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
jmp 0x49e87b
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 0x44], eax
call esi
mov esi, dword [ebp - 0x64]
cdq
sub eax, edx
push 2
sar eax, 1
push esi
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call edi
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x49e8b0
call ebx
cmp esi, eax
je 0x49e8b0
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
mov esi, eax
test esi, esi
jne 0x49e898
lea eax, [ebp - 0x70]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
push 0x41e430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp - 0x68]
inc dword [ebp - 0x5c]
mov dword [ebp - 4], 0
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x49e961
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
add ecx, 0x70
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
push ecx
lea eax, [esi + 0x10]
push eax
push dword [ebx + 0x10]
push edi
call fcn.0049e020
inc dword [ebp - 0x5c]
add esp, 0x10
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x49e934
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x49e930
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x49e930
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x49e920
mov esi, eax
jmp 0x49e94c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x49e94c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x49e940
cmp byte [esi + 0xd], 0
mov ecx, dword [ebp - 0x30]
je 0x49e8f3
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp byte [ebp - 0x21], 0
je 0x49e979
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
push 0
push dword [eax + 0x10]
call fcn.00473f90
jmp 0x49e9b0
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.004748b0
test eax, eax
jns 0x49e98f
xor eax, eax
jmp 0x49e996
mov eax, dword [eax*4 + 0x4f5180]
push 0
push dword [ebp - 0x6c]
mov ecx, esi
push 0
push eax
mov eax, dword [ebp - 0x2c]
push 0x49dbe0
push dword [eax + 0x10]
call fcn.00477940
cmp dword [ebp - 0x60], 0
je 0x49ea18
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x49e9ce
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call esi
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x49e9c3
push 0
push 1
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x49ea18
nop dword [eax]
call ebx
cmp esi, eax
je 0x49ea18
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
mov esi, eax
test esi, esi
jne 0x49ea00
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x49ea2b
call fcn.0049fda0
xor eax, eax
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 0xc