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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b0646
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x529bec]
cmp dword [eax], 0
je 0x4b061e
mov eax, dword [0x529ad8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x28]
jne 0x4b061e
push 1
mov eax, dword [ebp - 8]
call fcn.0048ee54
call fcn.004279a0
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4b0483
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4b0294
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4b02a6
jmp 0x4b0298
pop edx
pop eax
jl 0x4b02a6
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
inc dword [eax + 0x24]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0xc8
jg 0x4b02da
mov eax, dword [ebp - 8]
call fcn.0048ee54
mov edx, 0x4b065c
call fcn.004277fc
push eax
mov eax, 0xc8
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1c]
pop edx
mov ecx, edx
cdq
idiv ecx
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.0048ee54
mov edx, 0x4b065c
call fcn.004277fc
push eax
mov eax, 0x220
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1c]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
call fcn.004686dc
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
call fcn.004050c8
cmp dword [ebp - 0x18], 0
jne 0x4b0352
mov byte [ebp - 0x29], 1
jmp 0x4b038d
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4b0383
mov eax, dword [ebp - 0x28]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x28]
setg byte [ebp - 0x29]
cmp byte [ebp - 0x29], 0
je 0x4b03e6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4b03b8
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b03d6
jmp 0x4b03bc
pop edx
pop eax
jge 0x4b03d6
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0x212
mov eax, dword [ebp - 4]
inc dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, 0xc8
call fcn.00487f40
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, 5
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004f2b80
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x14]
cmp eax, dword [edx + 4]
jl 0x4b043d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
jle 0x4b043d
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x48]
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4b0466
cmp eax, 0x64
jbe 0x4b0611
jmp 0x4b046c
jle 0x4b0611
mov eax, dword [ebp - 4]
sub dword [eax + 0x1c], 2
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
jmp 0x4b0611
mov eax, dword [0x529bd4]
cmp byte [eax + 0xffe], 0
je 0x4b04b7
push 0xff
push 0
mov eax, dword [0x529fec]
mov eax, dword [eax]
push eax
mov ecx, 0xa
mov edx, 0x32
mov eax, dword [ebp - 8]
call fcn.004f2b80
jmp 0x4b0611
mov eax, dword [0x529bd4]
cmp byte [eax + 0xc1], 1
jne 0x4b0611
mov eax, dword [0x529cb0]
cmp dword [eax], 0
jne 0x4b04e2
lea eax, [ebp - 0x1c]
mov edx, 0x4b0668
call fcn.004050c8
jmp 0x4b052d
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x529cb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [0x529cb0]
mov eax, dword [eax]
movzx eax, word [eax + 0x66]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0
mov eax, dword [0x529cb0]
mov eax, dword [eax]
movzx eax, word [eax + 0x6a]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x5c]
mov ecx, 2
mov eax, 0x4b0674
call fcn.0040a89c
call fcn.0040b600
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
xor edx, edx
call fcn.0040c200
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0xb
mov eax, dword [0x529bec]
mov eax, dword [eax]
mov eax, dword [eax + 0x6e]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
mov eax, dword [0x529bec]
mov eax, dword [eax]
movzx eax, word [eax + 0x76]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0
mov eax, dword [0x529bec]
mov eax, dword [eax]
movzx eax, word [eax + 0x78]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0
mov eax, dword [0x52a108]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
mov eax, dword [0x52a034]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
mov eax, dword [0x529bec]
mov eax, dword [eax]
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea edx, [ebp - 0x9c]
mov ecx, 7
mov eax, 0x4b0688
call fcn.0040a89c
mov eax, dword [0x529bd4]
mov eax, dword [eax + 0xfac]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, 5
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.004f2b80
mov eax, dword [ebp - 8]
call fcn.0048ee54
call fcn.0048dec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b064d
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405054
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405054
ret