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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463e53
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
call fcn.004213c0
mov esi, eax
push 0
mov dword [ebp - 0x60], esi
call fcn.0044fc4c
mov dword [esi], eax
lea eax, [ebp - 0x34]
push esi
push eax
mov dword [esi + 4], edx
call fcn.0044f6b7
add esp, 0xc
test eax, eax
jne 0x4221bd
movups xmm0, xmmword [ebp - 0x34]
lea eax, [esi + 0x10]
push eax
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x58]
movups xmm0, xmmword [ebp - 0x24]
push eax
movups xmmword [ebp - 0xd4], xmm0
call fcn.0044f6b7
add esp, 8
lea ecx, [esi + 0x10]
test eax, eax
jne 0x4221c0
mov eax, dword [ebp - 0xd0]
cmp eax, dword [ebp - 0x44]
jne 0x4221c0
mov eax, dword [ebp - 0xc8]
lea ecx, [esi + 0x10]
cmp eax, dword [ebp - 0x3c]
jne 0x4221c0
inc dword [esi + 0x28]
cmp dword [esi + 0x28], 0xa
jl 0x422201
jmp 0x4221ef
lea ecx, [esi + 0x10]
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
movlpd qword [ebp - 0x7c], xmm0
mov eax, dword [ebp - 0x7c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4221fa
mov eax, dword [ecx]
call dword [eax]
mov dword [esi + 0x28], 0
cmp byte [edi + 0xc], 0
jne 0x4228e1
cmp byte [edi + 0x20], 0
jne 0x4228e1
push 0
mov byte [edi + 0xc], 1
call fcn.0044fc4c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
cmp dword [edi + 0x24], 0
mov ecx, eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x74], 0
jbe 0x4222a1
call fcn.004157d0
cmp byte [eax + 0xb8], 0
je 0x422274
push 4
lea eax, [ebp - 0x84]
push eax
push 0
push 0
push 0x10
call sub.POWRPROF.dll_CallNtPowerInformation
test eax, eax
jne 0x42226d
test byte [ebp - 0x84], 3
je 0x422274
call esi
mov dword [edi + 0x28], eax
jmp 0x42229e
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 8
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x42229e
mov ecx, dword [ebp - 0x78]
cmp dword [edi + 0x28], ecx
cmova ecx, dword [edi + 0x28]
mov dword [edi + 0x28], ecx
call esi
sub eax, dword [edi + 0x28]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x68]
mov esi, dword [edi]
xor al, al
mov edx, dword [edi + 4]
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x69], al
cmp esi, edx
jne 0x4223a3
mov eax, dword [ebp - 0x68]
mov esi, dword [edi]
sub edx, esi
sar edx, 5
mov dword [ebp - 0x64], esi
test edx, edx
je 0x4228d9
mov edx, dword [esi + 8]
cmp edx, 2
je 0x4228d9
cmp edx, 3
je 0x4228d9
mov edx, dword [esi + 0x18]
sub edx, eax
mov dword [ebp - 0x68], edx
call fcn.004157d0
cmp byte [eax + 0xb6], 0
je 0x4228d3
mov ecx, dword [edi + 0x10]
test ecx, ecx
jle 0x4228d3
mov eax, 0x88888889
imul ecx
mov eax, 0x88888889
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul dword [ebp - 0x68]
add edx, dword [ebp - 0x68]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x74], eax
cmp ecx, eax
jle 0x4228d3
cmp eax, 1
jge 0x422742
cmp ecx, 1
jl 0x4228d3
push esi
push 0
lea eax, [ebp - 0x60]
push 0x9c
push eax
call fcn.00421810
add esp, 0x10
mov dword [ebp - 4], 1
mov esi, dword [eax]
mov eax, dword [ebp - 0x64]
push 0
push 0
push 0
push dword [eax + 0xc]
call fcn.00416190
add esp, 4
push eax
call fcn.004157d0
mov eax, dword [eax + 0x74]
push eax
push 0x467db0
push esi
call fcn.00430f30
lea ecx, [ebp - 0x60]
jmp 0x4228cb
mov ecx, dword [ebp - 0x68]
mov eax, dword [esi + 8]
sub eax, 2
je 0x42244b
mov edx, dword [ebp - 0x64]
sub eax, 1
je 0x4223ce
cmp dword [esi + 0x1c], edx
jg 0x42268f
jl 0x42246e
cmp dword [esi + 0x18], ecx
jmp 0x422468
sub ecx, dword [edi + 0x30]
mov eax, edx
sbb eax, dword [edi + 0x34]
mov dword [ebp - 0x84], eax
js 0x42268f
jg 0x4223ed
cmp ecx, 0x3c
jbe 0x42268f
push edx
push dword [ebp - 0x68]
mov ecx, esi
call fcn.00421770
test al, al
je 0x42268f
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x80]
mov ecx, dword [eax]
sub ecx, dword [edi]
mov edx, dword [eax + 4]
sbb edx, dword [edi + 4]
mov edi, dword [eax + 0x18]
add edi, ecx
mov ecx, dword [eax + 0x1c]
mov eax, dword [esi + 4]
adc ecx, edx
mov dword [ebp - 0x84], edi
mov edi, dword [ebp - 0x70]
cdq
cmp edx, ecx
jg 0x42268f
jl 0x42243d
cmp eax, dword [ebp - 0x84]
ja 0x42268f
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x34], eax
jmp 0x42246e
push dword [ebp - 0x64]
push ecx
mov ecx, esi
call fcn.00421770
test al, al
je 0x42268f
imul eax, dword [esi + 4], 0x3e8
cmp eax, dword [ebp - 0x74]
ja 0x42268f
cmp byte [ebp - 0x59], 0
jne 0x422651
mov eax, dword [esi + 0xc]
cmp eax, 0xb
ja case.0x422484.4
jmp dword [eax*4 + 0x422900]
call fcn.004157d0
cmp byte [eax + 0x3c], 0
je 0x4225a0
push 0
call fcn.00438760
mov ecx, eax
call fcn.0043e680
push dword [esi + 0xc]
lea ecx, [ebp - 0xc0]
call fcn.004256b0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], 0
test eax, eax
jne 0x4224e3
call fcn.00442ec1
mov dword [ebp - 0xac], eax
test eax, eax
jne 0x4224e3
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x42257b
push 0
push 0
push eax
call fcn.00442fc3
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x48202c
mov dword [ebp - 0xb4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x482044]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb8]
push 0x48202c
mov dword [0x482044], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x406f70
push 0
push 0xcd
push dword [0x48585c]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x42257b
cmp dword [esi + 0xc], 3
mov ecx, edi
jne 0x42255f
call fcn.00421a60
jmp 0x422564
call fcn.004220f0
call fcn.00438760
push dword [eax + 4]
push dword [esi + 0xc]
call fcn.0041d4d0
add esp, 8
mov byte [ebp - 0x59], 1
push 1
call fcn.00438760
mov ecx, eax
call fcn.0043e680
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.00425780
jmp 0x422648
cmp dword [esi + 0xc], 3
mov ecx, edi
jne 0x4225af
call fcn.00421a60
jmp 0x4225b4
call fcn.004220f0
call fcn.00438760
push dword [eax + 4]
push dword [esi + 0xc]
call fcn.0041d4d0
mov byte [ebp - 0x59], 1
jmp 0x422645
mov ecx, edi
call fcn.00421a60
call fcn.00438760
push dword [eax + 4]
push dword [esi + 0xc]
call fcn.0041d4d0
mov byte [ebp - 0x59], 1
jmp 0x422645
lea eax, [esi + 0x10]
push eax
call fcn.00438760
mov ecx, eax
call fcn.004369b0
jmp 0x422648
push dword [esi + 0x10]
call fcn.0041e0a0
add esp, 4
jmp 0x422648
push 0
push dword [esi + 0x10]
call fcn.0041d8c0
jmp 0x422645
push 0x22
lea ecx, [esi + 0x10]
call fcn.0040c310
push 1
push dword [eax]
call fcn.0041d8c0
push dword [esi + 0x10]
call fcn.0041e0a0
mov edi, dword [ebp - 0x70]
add esp, 0xc
jmp 0x422648
call fcn.00438760
push dword [eax + 4]
push dword [esi + 0xc]
call fcn.0041d4d0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x28], eax
cmp dword [esi + 0x14], 0xffffffff
mov byte [ebp - 0x69], 1
je 0x4226a5
call fcn.004157d0
push dword [esi + 4]
lea eax, [ebp - 0x90]
push dword [esi]
push dword [esi + 8]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push eax
call fcn.004214c0
mov eax, dword [ebp - 0x90]
add esp, 0x18
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x8c]
mov dword [esi + 0x1c], eax
cmp dword [edi + 0x24], 0
jbe 0x4226c5
add esi, 0x20
mov edx, dword [edi + 4]
cmp esi, edx
jne 0x4223a0
jmp 0x4226c8
mov eax, dword [esi + 8]
cmp eax, 2
je 0x4226b2
cmp eax, 3
jne 0x4226b5
dec dword [edi + 0x24]
push esi
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.00422c60
mov esi, dword [eax]
jmp 0x422698
mov edx, dword [edi + 4]
cmp byte [ebp - 0x69], 0
je 0x4222b7
mov ecx, dword [edi]
mov eax, edx
sub eax, ecx
push 0x421270
sar eax, 5
push eax
push edx
push ecx
call fcn.00420650
mov esi, dword [edi + 0x14]
xor edx, edx
mov ecx, dword [edi + 0x18]
add esp, 0x10
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, dword [edi + 0x18]
cmova ecx, edx
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x422722
xor edi, edi
nop word [eax + eax]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax]
inc edi
lea esi, [esi + 4]
cmp edi, dword [ebp - 0x60]
jne 0x422710
mov edi, dword [ebp - 0x70]
mov ecx, edi
call fcn.00421ee0
push 0
call fcn.0044fc4c
mov dword [edi + 0x10], 0
add esp, 4
mov edx, dword [edi + 4]
jmp 0x4222ba
cmp eax, 5
jge 0x422773
cmp ecx, 5
jl 0x4228d3
push esi
push 0x467fb4
lea eax, [ebp - 0x60]
push 0x9d
push eax
call fcn.00421810
add esp, 0x10
mov dword [ebp - 4], 2
jmp 0x422366
cmp eax, 0xa
jge 0x4227a4
cmp ecx, 0xa
jl 0x4228d3
push esi
push 0x467fb8
lea eax, [ebp - 0x60]
push 0x9d
push eax
call fcn.00421810
add esp, 0x10
mov dword [ebp - 4], 3
jmp 0x422366
cmp eax, 0x1e
jge 0x4227d5
cmp ecx, 0x1e
jl 0x4228d3
push esi
push 0x467fd0
lea eax, [ebp - 0x60]
push 0x9d
push eax
call fcn.00421810
add esp, 0x10
mov dword [ebp - 4], 4
jmp 0x422366
mov eax, 0x88888889
imul ecx
mov eax, 0x88888889
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul dword [ebp - 0x74]
add edx, dword [ebp - 0x74]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x60], eax
cmp ecx, eax
jle 0x4228d3
test eax, eax
jle 0x422882
lea ecx, [ebp - 0x70]
call fcn.0040c420
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x70]
push 0x468cd8
push eax
call fcn.00408f60
push esi
push dword [ebp - 0x70]
lea eax, [ebp - 0x60]
push 0x9f
push eax
call fcn.00421810
add esp, 0x1c
mov esi, dword [eax]
mov eax, dword [ebp - 0x64]
push 0
push 0
push 0
push dword [eax + 0xc]
mov byte [ebp - 4], 6
call fcn.00416190
add esp, 4
push eax
call fcn.004157d0
mov eax, dword [eax + 0x74]
push eax
push 0x467db0
push esi
call fcn.00430f30
add esp, 0x1c
lea ecx, [ebp - 0x60]
call fcn.00401720
lea ecx, [ebp - 0x70]
jmp 0x4228ce
push esi
push 0
lea eax, [ebp - 0x74]
push 0x9e
push eax
call fcn.00421810
add esp, 0x10
mov esi, dword [eax]
mov eax, dword [ebp - 0x64]
push 0
push 0
push 0
push dword [eax + 0xc]
mov dword [ebp - 4], 7
call fcn.00416190
add esp, 4
push eax
call fcn.004157d0
mov eax, dword [eax + 0x74]
push eax
push 0x467db0
push esi
call fcn.00430f30
lea ecx, [ebp - 0x74]
add esp, 0x1c
call fcn.00401720
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], 0
mov al, 1
jmp 0x4228e3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret