Function at 0x418430
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60041d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x69ee98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x764]
imul eax, dword [eax + 0x58], 0x3e8
cmp dword [edi + 0x1f8], 0
mov dword [edi + 0x1ec], eax
je 0x41849b
cmp dword [edi + 0x200], 0
jne 0x41849b
mov dword [edi + 0xa20], 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x26c], 0
jne 0x4185cc
lea ebx, [edi + 0xd8]
mov dword [edi + 0x178], 0
cmp dword [ebx + 0xcc], 0
mov dword [edi + 0x158], 0
je 0x4185c2
cmp dword [ebx + 0xb0], 0
je 0x418516
lea eax, [ebp - 0x18]
push eax
push 4
push ebx
push 0x41a8d0
push 0
push 0
call fcn.005e40ea
add esp, 0x18
mov dword [ebx + 0xec], eax
test eax, eax
je 0x4185c2
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x110], eax
jmp 0x4185c2
mov ecx, dword [ebx + 0xf4]
test ecx, ecx
je 0x4185c2
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x613aec]
call esi
mov eax, dword [ebx + 0xf4]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x613aec]
call esi
push 0x6a9624
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0x10]
mov eax, ecx
mov edx, dword [ebx + 0xf4]
neg eax
push 0
push eax
push dword [ebp - 0x14]
mov esi, dword [edx]
push ecx
push 0
push dword [ebx + 0x98]
mov esi, dword [esi + 0x20]
mov ecx, esi
push dword [ebx + 0x94]
push 0
push 0
push dword [ebx + 0xd0]
push edx
call dword [0x613aec]
call esi
test eax, eax
jne 0x4185b7
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4185b7
push 0
push 0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x6a9624
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [edi + 0x26c], 1
cmp dword [edi + 0x18c], 0
je 0x41870e
cmp dword [edi + 0x194], 0
je 0x41870e
cmp dword [edi + 0x274], 0
je 0x41870e
cmp dword [edi + 0x1f8], 0
je 0x4186b5
mov eax, dword [edi + 0x310]
test eax, eax
jne 0x41862a
lea ecx, [edi + 0xd8]
mov dword [edi + 0x26c], eax
call fcn.0041b1b0
mov dword [edi + 0x178], 0
jmp 0x41870e
jle 0x4186b5
lea ecx, [edi + 0xd8]
mov dword [edi + 0x26c], 0
call fcn.0041b1b0
push dword [edi + 0x21c]
lea ecx, [edi + 0xc0]
mov dword [edi + 0x178], 0
call fcn.0040c6c0
test eax, eax
je 0x41868d
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, 0x64
mov dword [0x6c7c34], 8
mov ebx, 9
mov dword [edi + 0xa1c], eax
mov dword [edi + 0xa20], ebx
jmp 0x41870e
mov eax, dword [edi + 0x84]
mov ebx, 2
imul esi, dword [eax + 0x34], 0x3e8
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, esi
mov dword [edi + 0xa1c], eax
mov dword [edi + 0xa20], ebx
jmp 0x41870e
push dword [edi + 0x21c]
lea ecx, [edi + 0xc0]
call fcn.0040c6c0
test eax, eax
je 0x4186e9
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, 0x64
mov dword [0x6c7c34], 8
mov dword [edi + 0xa20], 9
jmp 0x418708
mov eax, dword [edi + 0x84]
imul esi, dword [eax + 0x34], 0x3e8
call dword [sym.imp.WINMM.dll_timeGetTime]
add eax, esi
mov dword [edi + 0xa20], 2
mov dword [edi + 0xa1c], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], vtable.CRgn.0
mov dword [ebp - 4], 0
push dword [edi + 0x168]
push dword [edi + 0x164]
push dword [edi + 0x160]
push dword [edi + 0x15c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [ebp - 0x20]
call fcn.0048a400
lea eax, [edi + 0xa38]
test eax, eax
je 0x418757
mov eax, dword [eax + 4]
push 2
push dword [ebp - 0x1c]
push eax
push dword [edi + 0xa3c]
call dword [sym.imp.GDI32.dll_CombineRgn]
lea ecx, [ebp - 0x20]
call fcn.0048a582
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.CRgn.0
call fcn.0040b180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret