Function at 0x418274
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x454018], 0
jl 0x418625
call sub.KERNEL32.DLL_GetTickCount
cmp eax, dword [0xf47c90]
jb 0x418625
mov dword [0x454018], 0xffffffff
cmp dword [0x452948], 0
je 0x418625
push dword [0x452948]
call sub.USER32.DLL_IsWindow
test eax, eax
je 0x418625
push 2
push dword [0x4528e0]
call sub.USER32.DLL_LoadBitmapA
mov dword [0xf47c98], eax
test eax, eax
je 0x418625
push 3
push dword [0x4528e0]
call sub.USER32.DLL_LoadBitmapA
mov dword [0xf47c9c], eax
test eax, eax
jne 0x418302
push dword [0xf47c98]
call sub.GDI32.DLL_DeleteObject
jmp 0x418625
push dword [0x4528dc]
call sub.USER32.DLL_GetLastActivePopup
mov dword [0xf47ca4], eax
mov edx, dword [0xf47ca4]
cmp edx, dword [0x4528dc]
jne 0x41832c
mov ecx, dword [0x452948]
mov dword [0xf47ca4], ecx
imul eax, dword [0xf47c88], 0x1e0
mov edx, dword [0xf47c8c]
shl edx, 3
lea edx, [edx + edx*2]
add eax, edx
add eax, 0x45401c
mov dword [0xf47c94], eax
mov ecx, dword [0xf47c94]
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x418523
mov edx, dword [0xf47c94]
cmp dword [edx + 4], 0
jle 0x41839e
mov ecx, dword [0xf47c94]
push dword [ecx + 4]
push dword [0xf47ca4]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 4], eax
test eax, eax
je 0x41839e
push dword [ebp - 4]
call sub.USER32.DLL_IsWindowEnabled
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 4]
call sub.USER32.DLL_EnableWindow
jmp 0x4183a3
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, dword [0xf47ca4]
mov dword [ebp - 8], ecx
mov eax, dword [0xf47c94]
cmp dword [eax + 0x14], 0
je 0x418434
mov edx, dword [0xf47c94]
movzx ecx, word [edx + 0x14]
push ecx
push dword [0x4528e0]
call sub.USER32.DLL_LoadBitmapA
mov dword [0xf47ca0], eax
test eax, eax
je 0x418434
mov edx, dword [0xf47c94]
push dword [edx + 0x14]
push dword [ebp - 8]
call fcn.0041862c
add esp, 8
mov dword [0xf47ca4], eax
cmp dword [0xf47ca4], 0
jne 0x418403
mov ecx, dword [ebp - 8]
mov dword [0xf47ca4], ecx
jmp 0x41843b
push 5
push dword [0xf47ca4]
call sub.USER32.DLL_ShowWindow
push dword [0xf47ca4]
call sub.USER32.DLL_UpdateWindow
push 0
push dword [ebp - 8]
call sub.USER32.DLL_EnableWindow
push 0
push dword [0x4528dc]
call sub.USER32.DLL_EnableWindow
jmp 0x41843b
xor eax, eax
mov dword [0xf47ca0], eax
push 0
push sym.PCDOCW.exe__TutorStepProcDlg_qqsp6HWND__uiuil
push dword [0xf47ca4]
push 0x1005
push dword [0x4528e0]
call sub.USER32.DLL_DialogBoxParamA
mov edx, dword [0xf47c94]
cmp dword [edx + 0x14], 0
je 0x4184a7
mov ecx, dword [0xf47ca4]
cmp ecx, dword [ebp - 8]
je 0x4184a7
push dword [0xf47ca4]
call sub.USER32.DLL_DestroyWindow
mov eax, dword [ebp - 8]
mov dword [0xf47ca4], eax
push 1
push dword [0xf47ca4]
call sub.USER32.DLL_EnableWindow
push 1
push dword [0x4528dc]
call sub.USER32.DLL_EnableWindow
push dword [0x4528dc]
call sub.USER32.DLL_SetActiveWindow
cmp dword [0xf47ca0], 0
je 0x4184bb
push dword [0xf47ca0]
call sub.GDI32.DLL_DeleteObject
cmp dword [ebp - 4], 0
je 0x4184cc
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.USER32.DLL_EnableWindow
cmp dword [0xf47c88], 0
jge 0x418523
mov edx, dword [0xf47c94]
cmp dword [edx + 0xc], 0
jle 0x418514
cmp dword [0xf47ca4], 0
je 0x418514
push dword [0xf47ca4]
call sub.USER32.DLL_IsWindow
test eax, eax
je 0x418514
push 0
mov ecx, dword [0xf47c94]
push dword [ecx + 0xc]
push 0x111
push dword [0xf47ca4]
call sub.USER32.DLL_PostMessageA
mov dword [0x454018], 0xffffffff
jmp 0x41860f
mov eax, dword [0xf47c94]
cmp dword [eax + 8], 0
je 0x418579
cmp dword [0xf47ca4], 0
je 0x418579
push dword [0xf47ca4]
call sub.USER32.DLL_IsWindow
test eax, eax
je 0x418579
mov edx, dword [0xf47c94]
push dword [edx + 8]
push dword [0xf47ca4]
call sub.USER32.DLL_GetDlgItem
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
mov ecx, dword [0xf47c94]
push dword [ecx + 8]
push 0x111
push dword [0xf47ca4]
call sub.USER32.DLL_PostMessageA
inc dword [0xf47c8c]
mov eax, dword [0xf47c8c]
lea eax, [eax + eax*2]
imul edx, dword [0xf47c88], 0x3c
lea ecx, [edx*8 + 0x45401c]
cmp dword [ecx + eax*8], 0
je 0x4185c7
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [0xf47c8c]
lea edx, [edx + edx*2]
imul ecx, dword [0xf47c88], 0x3c
lea ecx, [ecx*8 + 0x45402c]
add eax, dword [ecx + edx*8]
mov dword [0xf47c90], eax
inc dword [0x454018]
jmp 0x41860f
mov dword [0x454018], 0xffffffff
cmp dword [0x453ea0], 3
jge 0x41860f
cmp dword [0x452948], 0
je 0x41860f
push dword [0x452948]
call sub.USER32.DLL_IsWindow
test eax, eax
je 0x41860f
inc dword [0x453ea0]
push 0
push 0x3eb
push 0x111
push dword [0x452948]
call sub.USER32.DLL_PostMessageA
push dword [0xf47c9c]
call sub.GDI32.DLL_DeleteObject
push dword [0xf47c98]
call sub.GDI32.DLL_DeleteObject
mov esp, ebp
pop ebp
ret