Function at 0x10045050
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142b4f
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x101811b8]
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 ebx, ecx
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 8]
add eax, 0xfffff82e
cmp eax, 7
ja case.0x10045094.2005
jmp dword [eax*4 + 0x10045a54]
mov ecx, dword [ebx + 0x44]
push 0x7d8
call fcn.10054e60
lea ecx, [ebx - 4]
call fcn.10041d60
jmp case.0x10045094.2005
push dword [ebx + 0xcc]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x10045262
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10045262
mov ecx, dword [ebx + 0x224]
mov eax, 0x66666667
inc ecx
imul ecx
mov dword [ebx + 0x224], ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
jne case.0x10045094.2005
call fcn.10028100
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x10045205
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100451e7
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001e980
mov byte [ebp - 4], 0xe
call fcn.10058c20
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x158
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10011dd0
mov esi, eax
push str.OnWndTimer_check_process_failed.
push esi
mov byte [ebp - 4], 0xf
call fcn.10014590
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10014a50
lea ecx, [ebp - 0x28]
call fcn.10005a20
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10005a20
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call fcn.10015310
push 0x3f480
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push dword [ebx + 4]
call esi
test eax, eax
jne 0x100457cc
call fcn.10015310
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x5c]
call eax
test al, al
je case.0x10045094.2005
push 0
push 0
push 1
push str.ex1tpro_dev
push str.skip_pro
call fcn.10015280
mov ecx, eax
call fcn.10059af0
call fcn.10015310
push 0x3f480
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push dword [ebx + 4]
call esi
test eax, eax
je case.0x10045094.2005
lea ecx, [ebx - 4]
call fcn.1003f680
jmp case.0x10045094.2005
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045323
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001e980
mov byte [ebp - 4], 1
call fcn.10058c20
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x13b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011dd0
mov esi, eax
push str.timing_check._main_wnd_has_been_closed.
push esi
mov byte [ebp - 4], 2
call fcn.10014590
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10014a50
lea ecx, [ebp - 0x40]
call fcn.10005a20
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10005a20
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100457cc
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [ebx + 0x180]
lea ecx, [ebx - 4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10047880
push dword [ebx + 0x210]
mov dword [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x54]
push str.ex1_sex2_s
push eax
call fcn.100364a0
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebx + 0xe8], 0x10
lea esi, [ebx + 0xd4]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x5c], esi
jb 0x10045397
mov ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x50]
call fcn.10010c80
push dword [eax]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push str.quit__s
push eax
call fcn.100364a0
add esp, 0xc
mov ecx, dword [ebp - 0x48]
push 0
push 0
push 1
push dword [ecx]
mov byte [ebp - 4], 6
push dword [eax]
call fcn.10015280
mov ecx, eax
call fcn.10059af0
lea ecx, [ebp - 0x4c]
call fcn.10003500
lea ecx, [ebp - 0x50]
call fcn.10003500
lea ecx, [ebp - 0x54]
call fcn.10003500
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.10003500
call edi
sub eax, dword [ebx + 0x180]
cmp eax, 0x3e8
jae 0x100454e8
call fcn.10015310
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100457cc
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001e980
mov byte [ebp - 4], 8
call fcn.10058c20
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0x145
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011dd0
mov esi, eax
push str.reset_lastPopTime.
push esi
mov byte [ebp - 4], 9
call fcn.10014590
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10014a50
lea ecx, [ebp - 0x40]
call fcn.10005a20
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10005a20
lea ecx, [ebx - 4]
call fcn.1003f680
jmp case.0x10045094.2005
call fcn.10015310
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x38]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100457cc
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001e980
mov byte [ebp - 4], 0xb
call fcn.10058c20
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x14a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011dd0
mov edi, eax
push str.setShowTimes
push edi
mov byte [ebp - 4], 0xc
call fcn.10014590
add esp, 8
push dword [ebp - 0x5c]
jmp 0x10045798
cmp dword [ebx + 0x178], 0
jle 0x1004560c
mov eax, dword [ebx + 0x44]
push 0x66
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov esi, eax
test esi, esi
je 0x100455bb
mov ecx, dword [esi]
push esi
call dword [ecx + 0x1c]
test eax, eax
jne 0x100455c3
lea ecx, [ebx - 4]
call fcn.1003f680
test esi, esi
je 0x10045601
lea ecx, [ebp - 0x44]
call fcn.1002cc30
push dword [ebx + 0x178]
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0x10
push str.iRYO_
push eax
call fcn.10004580
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
add esp, 0xc
push 1
push ecx
push esi
call dword [eax + 0x54]
lea ecx, [ebp - 0x44]
call fcn.10003500
dec dword [ebx + 0x178]
jmp case.0x10045094.2005
mov ecx, dword [ebx + 0x44]
push 0x7d2
call fcn.10054e60
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x10045094.2005
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100457cc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x180]
lea ecx, [ebx - 4]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10047880
push dword [ebx + 0x210]
mov dword [ebp - 4], 0x11
push dword [eax]
lea eax, [ebp - 0x54]
push str.ex1_sex2_s
push eax
call fcn.100364a0
add esp, 0x10
mov edi, eax
cmp dword [ebx + 0xe8], 0x10
lea esi, [ebx + 0xd4]
mov byte [ebp - 4], 0x12
mov ecx, esi
mov dword [ebp - 0x4c], esi
jb 0x10045690
mov ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10010c80
push dword [eax]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x13
push str.timeout__s
push eax
call fcn.100364a0
add esp, 0xc
push 0
push 0
push 1
push dword [edi]
mov byte [ebp - 4], 0x14
push dword [eax]
call fcn.10015280
mov ecx, eax
call fcn.10059af0
lea ecx, [ebp - 0x5c]
call fcn.10003500
lea ecx, [ebp - 0x58]
call fcn.10003500
lea ecx, [ebp - 0x54]
call fcn.10003500
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.10003500
call fcn.10015310
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x38]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100457cc
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1001e980
mov byte [ebp - 4], 0x16
call fcn.10058c20
mov ebx, eax
lea ecx, [ebp - 0xf4]
push 0x18e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10011dd0
mov edi, eax
push str.setShowTimes
push edi
mov byte [ebp - 4], 0x17
call fcn.10014590
add esp, 8
push dword [ebp - 0x4c]
mov esi, dword [ebx]
mov ecx, edi
call fcn.1000de70
push eax
mov ecx, ebx
call dword [esi + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.10014a50
lea ecx, [ebp - 0x40]
call fcn.10005a20
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10005a20
mov ebx, dword [ebp - 0x44]
lea ecx, [ebx - 4]
call fcn.1003f680
jmp case.0x10045094.2005
cmp dword [ebx + 0xf4], 0xa
jne 0x10045876
mov eax, dword [ebx + 0x190]
inc eax
mov dword [ebx + 0x190], eax
cmp eax, dword [ebx + 0x144]
jge 0x10045828
mov eax, dword [ebx + 0x44]
push 0x64
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
test eax, eax
je 0x10045828
push dword [ebx + 0x190]
mov ecx, eax
call fcn.1003e450
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
mov eax, dword [ebx + 0x144]
dec eax
cmp dword [ebx + 0x190], eax
jl case.0x10045094.2005
mov ecx, dword [ebx + 0x44]
push 0x7d3
call fcn.10054e60
cmp dword [ebx + 0x194], 0
mov dword [ebx + 0x198], 0
jne case.0x10045094.2005
mov ecx, dword [ebx + 0x44]
push 0x3e8
push 0x7d4
call fcn.10054e40
jmp case.0x10045094.2005
mov ecx, dword [ebx + 0x144]
cmp ecx, 1
jle case.0x10045094.2005
mov eax, dword [ebx + 0x190]
xor edx, edx
inc eax
cmp eax, ecx
push 0x64
cmovge eax, edx
mov dword [ebx + 0x190], eax
mov eax, dword [ebx + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
test eax, eax
je case.0x10045094.2005
push dword [ebx + 0x190]
mov ecx, eax
call fcn.1003e450
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
jmp case.0x10045094.2005
sub dword [ebx + 0x190], 1
js 0x10045905
mov eax, dword [ebx + 0x44]
push 0x64
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
test eax, eax
je 0x10045905
push dword [ebx + 0x190]
mov ecx, eax
call fcn.1003e450
mov ecx, dword [ebx + 0x24]
lea eax, [ebx + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
mov eax, dword [ebx + 0x144]
mov ecx, dword [ebx + 0x190]
sub eax, 2
cmp ecx, eax
jne 0x1004593a
mov ecx, dword [ebx + 0x44]
push 0x7d4
call fcn.10054e60
mov ecx, dword [ebx + 0x44]
push 0x64
push 0x7d4
call fcn.10054e40
mov ecx, dword [ebx + 0x190]
test ecx, ecx
jg case.0x10045094.2005
mov ecx, dword [ebx + 0x44]
push 0x7d4
call fcn.10054e60
jmp case.0x10045094.2005
mov ecx, dword [ebx + 0x44]
push 0x7d7
call fcn.10054e60
mov eax, dword [ebx + 0x44]
push 0x64
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov edi, eax
test edi, edi
je case.0x10045094.2005
mov esi, dword [edi]
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push edi
call dword [esi + 0x64]
jmp case.0x10045094.2005
mov ecx, dword [ebx + 0x44]
push 0x7d9
call fcn.10054e60
mov dword [ebx + 0x228], 1
add ebx, 0xd4
cmp dword [ebx + 0x14], 0x10
jb 0x100459b7
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x44]
call fcn.10010c80
push dword [eax]
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0x18
push str._s_timeout
push eax
call fcn.100364a0
add esp, 0xc
push 0
push 0
push 1
push 0
push dword [eax]
mov byte [ebp - 4], 0x19
call fcn.10015280
mov ecx, eax
call fcn.10059af0
mov edx, dword [ebp - 0x48]
or esi, 0xffffffff
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10045a15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg case.0x10045094.2005
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.1010c1dc
mov esp, ebp
pop ebp
ret 4