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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x28], 0
jne 0x402788
mov dword [ebp + 0x24], 1
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4027b1
push 0x65
push 0x4013983
push 6
call fcn.00414322
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 0
je 0x4027cc
cmp dword [ebp + 0x1c], 0
jl 0x4027cc
xor eax, eax
jmp 0x4027d1
mov eax, 1
test eax, eax
je 0x4027e3
mov eax, 0x1e13380
jmp 0x4027e6
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402812
push 0x13c
push 0x4013983
push 6
call fcn.00414322
add esp, 0xc
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp - 4]
fstp qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fsub qword [ebp - 0x40]
fcomp qword [0x110e021]
fnstsw ax
test ah, 1
je 0x402bad
mov dword [ebp - 0x1c], esp
push 0
push 0
push dword [ebp - 0xc]
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x402882
push 0x179
push 0x4013983
push 6
call fcn.00414322
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402894
jmp 0x402bad
cmp dword [ebp + 0x24], 0
je 0x4028dc
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4028ca
push 0x22c
push 0x4013983
push 6
call fcn.00414322
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4028dc
jmp 0x4027e9
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40290c
push 0x275
push 0x4013983
push 6
call fcn.00414322
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x402958
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetParent]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x402944
push 0x2ed
push 0x4013983
push 6
call fcn.00414322
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x402958
mov eax, 1
jmp 0x40295d
mov eax, 0
test eax, eax
je 0x402b96
push dword [ebp - 0xc]
call fcn.00402bdf
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402984
push ebx
call fcn.0041431c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
call fcn.00402c95
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4029a7
push ebx
call fcn.0041431c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
jne 0x4029c6
cmp dword [ebp + 0x18], 0
jne 0x4029c6
mov eax, 1
jmp 0x4029cb
mov eax, 0
test eax, eax
je 0x4029e0
mov eax, dword [ebp - 0xc]
jmp 0x402bb7
cmp dword [ebp + 0x10], 0
jne 0x402a52
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402a11
mov eax, 0x110dfbd
push eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x402a25
mov eax, 0x110dfbd
push eax
push 4
mov ebx, 0x148
call fcn.00415350
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x402a4d
mov eax, dword [ebp - 0xc]
jmp 0x402bb7
jmp 0x402b96
cmp dword [ebp + 0x18], 0
jne 0x402ac4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x402a83
mov eax, 0x110dfbd
push eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x402a97
mov eax, 0x110dfbd
push eax
push 4
mov ebx, 0x148
call fcn.00415350
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x402abf
mov eax, dword [ebp - 0xc]
jmp 0x402bb7
jmp 0x402b96
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402aeb
mov eax, 0x110dfbd
push eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x402aff
mov eax, 0x110dfbd
push eax
push 4
mov ebx, 0x148
call fcn.00415350
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x402b81
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push OleUIBusyA
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x402b46
mov eax, 0x110dfbd
push eax
push OleUIBusyA
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x402b5a
mov eax, 0x110dfbd
push eax
push 4
mov ebx, 0x148
call fcn.00415350
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x402b81
mov eax, 1
jmp 0x402b86
mov eax, 0
test eax, eax
je 0x402b96
mov eax, dword [ebp - 0xc]
jmp 0x402bb7
push 0
mov ebx, 0x350
call fcn.00415480
add esp, 4
jmp 0x4027e9
mov eax, 0
jmp 0x402bb7
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402bc8
push ebx
call fcn.0041431c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402bd8
push ebx
call fcn.0041431c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x24