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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x4b9674
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ba18b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2f8], 0
jne 0x4b96b0
mov eax, 0x4ba1a4
call fcn.004e4274
jmp 0x4ba148
xor eax, eax
push ebp
push 0x4b9772
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b96f6
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 0x18]
call fcn.00411704
mov byte [eax], 0
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x4b96da
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b9730
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [ebp - 0x18]
call fcn.00411704
xor edx, edx
mov dword [eax + 4], edx
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x4b9712
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4b9768
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov edx, dword [ebp - 0x18]
call fcn.00411704
mov byte [eax], 0
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x4b974c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b978e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1e4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1e4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x1e4]
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4b9bae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub edx, eax
jl 0x4b9ba1
inc edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub edx, eax
jl 0x4b9b95
inc edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.004b57d8
mov byte [ebp - 0x3d], al
cmp byte [ebp - 0x3d], 0
je 0x4b9b89
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x4b9b89
mov dword [ebp - 0x24], 1
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x20]
jle 0x4b9b89
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
test eax, eax
je 0x4b9b81
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
cmp byte [eax], 1
jne 0x4b99e2
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
push dword [eax + 8]
call sub.kernel32.dll_GetTickCount
pop edx
sub eax, edx
cmp eax, 0xea60
jb 0x4b9907
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
mov edx, 0xc
call fcn.004027b8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.004115a4
mov dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x4b984c
mov dword [ebp - 0x24], 3
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
call fcn.00402f00
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax + 4], edx
jmp 0x4b9b89
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x24], 4
cmp dword [ebp - 0x3c], 0
je 0x4b99e2
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x2fc], 0
jne 0x4b99e2
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x2bd], 0
jne 0x4b99e2
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x34a], 0
jne 0x4b99e2
mov dword [ebp - 0x24], 5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 0x32
jb 0x4b99d7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x288], 0
jne 0x4b99d7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2d8], 0
jne 0x4b99d7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x314], 0
jne 0x4b99d7
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x288], 0
je 0x4b99cb
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x4b99cb
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jle 0x4b99d7
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x23a], 0
jne 0x4b99e2
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004b939c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 0
jne 0x4b9b81
mov dword [ebp - 0x24], 6
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
cmp byte [eax], 2
jne 0x4b9b38
mov dword [ebp - 0x24], 7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
push dword [eax + 8]
call sub.kernel32.dll_GetTickCount
pop edx
sub eax, edx
cmp eax, 0xdbba0
jbe 0x4b9a93
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
mov edx, 0xc
call fcn.004027b8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.004115a4
mov dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0
jg 0x4b984c
mov dword [ebp - 0x24], 9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
call fcn.00402f00
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [eax + 4], edx
jmp 0x4b9b89
mov dword [ebp - 0x24], 0xa
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov cx, word [ebp - 0x1c]
mov dx, word [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004b94fc
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x30], 0
jne 0x4b9ad4
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x38], 0
je 0x4b9b38
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x34]
sub eax, dword [edx + 0x34]
cmp eax, 0x1d4c0
jbe 0x4b9af8
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x38], edx
jmp 0x4b9b38
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x30], 0
je 0x4b9b18
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
cmp byte [eax + 0x2fc], 0
je 0x4b9b18
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x38], 0
je 0x4b9b38
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
cmp byte [eax + 0x2fc], 0
je 0x4b9b38
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x38], edx
mov dword [ebp - 0x24], 0xb
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
cmp byte [eax], 3
jne 0x4b9b81
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
call fcn.00411704
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x3c], 0
je 0x4b9b81
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004b95d0
inc dword [ebp - 0x20]
jmp 0x4b984c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x4c]
jne 0x4b980e
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x4b97f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b9c93
xor eax, eax
push ebp
push 0x4b9e1e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x18]
jle 0x4b9e11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov edx, dword [ebp - 0x18]
call fcn.00411704
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp byte [eax], 0
jne 0x4b9d34
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 0
jne 0x4b9d11
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x2bd], 0
jne 0x4b9d11
push 0
push 0
push 0
push 0
push 0
mov cx, 0x2726
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004b865c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x408]
mov edx, dword [ebp - 0x18]
call fcn.004115a4
mov edx, 8
mov eax, dword [ebp - 0x30]
call fcn.004027b8
jmp 0x4b9ca6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 0
jne 0x4b9e09
mov eax, dword [ebp - 0x30]
cmp byte [eax], 2
jne 0x4b9e09
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 4]
je 0x4b9e09
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x304], 0
je 0x4b9dd3
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 0x2c2], 0
je 0x4b9da8
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x28]
push eax
push 0
push 0
mov cx, 0x2728
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004b865c
jmp 0x4b9e09
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x28]
push eax
push 0
push 0
mov cx, 0x2725
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004b865c
jmp 0x4b9e09
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
call fcn.004c129c
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax + 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x24]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x28]
push eax
push 0
mov eax, dword [ebp - 0x44]
push eax
mov cx, 0x2711
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004b865c
inc dword [ebp - 0x18]
jmp 0x4b9ca6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b9ebd
xor eax, eax
push ebp
push 0x4ba0a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 0
jne 0x4ba09c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x18]
jle 0x4b9fe4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 0x18]
call fcn.00411704
cmp byte [eax], 0
jne 0x4b9f6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 0x18]
call fcn.00411704
mov dword [ebp - 0x2c], eax
push 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 4]
push eax
push 0
mov cx, 0x277f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.004b865c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 0x18]
call fcn.004115a4
mov edx, 0x20
mov eax, dword [ebp - 0x2c]
call fcn.004027b8
jmp 0x4b9ee0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 0x18]
call fcn.00411704
cmp byte [eax], 2
jne 0x4b9fdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3dc]
mov edx, dword [ebp - 0x18]
call fcn.00411704
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 2]
push eax
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 4]
push eax
lea eax, [ebp - 0xe4]
mov edx, dword [ebp - 0x2c]
add edx, 0xc
call fcn.00403e70
mov eax, dword [ebp - 0xe4]
push eax
mov cx, 0x277e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.004b865c
inc dword [ebp - 0x18]
jmp 0x4b9ee0
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0x18]
jle 0x4ba09c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [ebp - 0x18]
call fcn.00411704
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x4ba053
push 0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
push eax
push 0
mov cx, 0x285d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.004b865c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [ebp - 0x18]
call fcn.004115a4
jmp 0x4b9fe9
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 2
jne 0x4ba094
mov eax, dword [ebp - 0x38]
mov ax, word [eax + 0x14]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x38]
mov dx, word [eax + 0x18]
mov eax, dword [ebp - 0x38]
mov ax, word [eax + 0xc]
call fcn.00407b18
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x10]
push eax
push 0
mov cx, 0x285e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.004b865c
inc dword [ebp - 0x18]
jmp 0x4b9fe9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba192
lea eax, [ebp - 0xf4]
mov edx, 7
call fcn.00403c70
lea eax, [ebp - 0xc4]
mov edx, 5
call fcn.00403c70
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00403c70
lea eax, [ebp - 0x44]
call fcn.00403c4c
ret