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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d4cee
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x44]
test eax, eax
je 0x49ce2f
xor eax, eax
jmp 0x49d10a
mov edi, dword [esp + 0xb4]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x49ce45
xor esi, esi
mov dword [esp + 0x10], esi
jmp 0x49ce4e
mov ecx, dword [ebp + 0x58]
mov dword [esp + 0x10], ecx
mov esi, ecx
test eax, eax
je 0x49ce58
mov ebx, dword [ebp + 0x64]
dec ebx
jmp 0x49ce5b
mov ebx, dword [ebp + 0x58]
cmp esi, ebx
jg 0x49ce6c
push esi
mov ecx, ebp
call fcn.0049e690
inc esi
cmp esi, ebx
jle 0x49ce5f
xor eax, eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.0049cca0
test eax, eax
mov dword [ebp + 0x54], eax
jge 0x49ce93
xor eax, eax
jmp 0x49d10a
push 0x580
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0xac], 0
je 0x49cec4
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push ecx
mov ecx, eax
call fcn.004a2820
jmp 0x49cec6
xor eax, eax
mov esi, dword [esp + 0x10]
mov ecx, ebp
push esi
mov dword [esp + 0xb0], 0xffffffff
mov dword [ebp + 0x44], eax
mov dword [esp + 0x14], esi
call fcn.0049d970
test eax, eax
jne 0x49d073
jmp 0x49cef2
mov esi, dword [esp + 0x10]
cmp esi, dword [ebp + 0x64]
jge 0x49cf03
test esi, esi
jl 0x49cf03
mov edx, dword [ebp + 0x60]
mov esi, dword [edx + esi*4]
jmp 0x49cf05
xor esi, esi
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push eax
push ecx
call fcn.0049d130
add esp, 0x10
lea ecx, [esp + 0x20]
mov ebx, eax
mov dword [esp + 0x18], edx
call fcn.004a27f0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0x28]
mov dword [esp + 0x24], ebx
test ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edx
je 0x49cf80
mov dword [esp + 0x40], 1
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x49cf8c
or dword [esp + 0x40], 4
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x49cfa2
cmp eax, 8
jne 0x49cfa2
mov eax, dword [esp + 0x40]
or al, 2
mov dword [esp + 0x40], eax
mov ecx, dword [ebp + 0x44]
lea edx, [esp + 0x20]
push edx
call fcn.004a29a0
mov dword [ebp + 0x54], eax
mov eax, dword [esi + 0x18]
or al, 1
push 1
mov dword [esi + 0x18], eax
mov ecx, dword [ebp + 0x44]
call fcn.004a44f0
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 0x44]
push 1
call fcn.004a4530
mov dword [esi + 0x10], eax
mov ecx, dword [ebp + 0x44]
push 1
call fcn.004a4510
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], eax
test ecx, ecx
je 0x49cfec
or dword [esi + 0x18], 2
mov edx, dword [esi + 0x10]
test edx, edx
je 0x49cff7
or dword [esi + 0x18], 8
test eax, eax
je 0x49d003
mov eax, dword [esi + 0x18]
or al, 0x24
mov dword [esi + 0x18], eax
lea eax, [esp + 0x50]
push eax
push 0x54
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x49d036
mov ecx, dword [esp + 0x6c]
mov dword [esi], ecx
mov eax, dword [esp + 0x70]
cdq
xor eax, edx
sub eax, edx
mov dword [esi + 4], eax
mov edx, dword [esp + 0x76]
and edx, 0xffff
mov dword [esi + 8], edx
jmp 0x49d046
mov eax, dword [esp + 0x18]
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], 0x18
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x54]
xor ebx, ebx
inc ecx
cmp eax, ebx
mov dword [esp + 0x10], ecx
jl 0x49d07a
cmp dword [edi + 0x20], ebx
je 0x49d07a
test byte [ebp + 0x10], 3
je 0x49d07a
push ecx
mov ecx, ebp
call fcn.0049d970
test eax, eax
je 0x49ceee
xor eax, eax
jmp 0x49d10a
mov esi, dword [ebp + 0x44]
cmp esi, ebx
je 0x49d097
mov ecx, esi
call fcn.004a2950
push esi
call fcn.004bd4c4
add esp, 4
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x50], ebx
mov edx, dword [ebp + 0x4c]
push edx
call fcn.004bd4c4
mov ecx, dword [ebp + 8]
add esp, 4
cmp ecx, ebx
mov dword [ebp + 0x4c], ebx
je 0x49d0ba
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x49d0ba
push eax
call fcn.00492f70
mov ecx, dword [ebp]
mov dword [ebp + 0xc], ebx
cmp ecx, ebx
je 0x49d0c9
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebp + 0x54], 0xfffffff7
jne 0x49d0d7
cmp dword [edi + 0x20], ebx
je 0x49d0d7
mov dword [ebp + 0x54], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 0x44]
sub eax, ecx
cmp esi, ebx
mov dword [ebp + 0x50], eax
je 0x49d0fd
mov ecx, esi
call fcn.004a2950
push esi
call fcn.004bd4c4
add esp, 4
mov ecx, dword [ebp + 0x54]
xor eax, eax
cmp ecx, ebx
mov dword [ebp + 0x44], ebx
sete al
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 4