Function at 0x1022acc0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
and byte [esi + 0xb0], 0xf7
movups xmmword [esi + 0x4aa4], xmm0
cmp dword [0x11d0c744], 0
mov ebx, dword [esi]
je 0x1022ad1d
cmp dword [ebx + 4], 0x58544e43
jne 0x1022ad1d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebx]
mov dword [ecx + 0x10], eax
mov dword [ebx + 8], 0
jmp 0x1022ad1f
xor ebx, ebx
push 0x4c
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.10425c00
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x80], ecx
add esp, 0xc
mov dword [ebp - 0x74], ecx
and ecx, 0xfffffffe
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [ebx + 0x11cc]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], 0x50
mov dword [ebp - 0x50], 0x5000024
mov dword [ebp - 0x60], 0x4e564441
mov dword [ebp - 0x5c], 0x10002
mov dword [ebp - 0x54], 0x4e564458
mov dword [ebp - 0x58], 0x50
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xff0a0000
mov dword [ebp - 0x28], 0x730116
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 0
mov edi, dword [ebx + 0x10b4]
test edi, edi
je 0x1022ae4c
mov ecx, dword [ebx]
test ecx, ecx
je 0x1022ae4c
mov edx, dword [ecx + 0xbe28]
test edx, edx
je 0x1022ae4c
mov edx, dword [edx + 0x14]
test edx, edx
je 0x1022ae4c
cmp dword [ecx + 0xd45c], 1
jne 0x1022ae42
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebx + 0x1428]
push eax
call edi
mov ecx, dword [ebx + 0x10b4]
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [ebp - 0x64], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x70]
movlpd qword [ebp - 0x70], xmm0
push eax
call edi
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebx + 0x1428]
mov eax, dword [ebp - 0x6c]
sbb eax, dword [ebx + 0x142c]
add dword [ebx + 0x1420], ecx
adc dword [ebx + 0x1424], eax
mov eax, dword [ebp - 0x64]
jmp 0x1022ae4c
lea eax, [ebp - 0x84]
push eax
push edx
call edi
test eax, eax
sete cl
test eax, eax
jne 0x1022ae7b
cmp dword [ebp - 0x14], eax
jne 0x1022ae7b
mov edx, dword [ebp - 0xc]
test edx, edx
mov al, byte [esi + 0xab]
setne cl
and al, 0xfe
or cl, al
test dword [esi + 0x9ac], edx
mov byte [esi + 0xab], cl
setne cl
test cl, cl
je 0x1022ae86
or byte [esi + 0xb0], 8
cmp dword [esi + 0x59e0], 0
jne 0x1022af26
push 0x1046de20
mov dword [ebp - 0x64], 0
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
call fcn.101fedc0
test al, al
je 0x1022af26
test edi, edi
jne 0x1022aecc
call fcn.101ff770
push 0x1046de20
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x1022aeda
push 0x1046de30
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1022aee2
call ebx
jmp 0x1022aee4
xor eax, eax
xor edi, edi
mov dword [ebp - 0x6c], 0
test eax, eax
je 0x1022af26
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0x10202220
push 0x100f3ad0
push 9
call eax
test eax, eax
mov eax, dword [ebp - 0x6c]
cmove edi, dword [ebp - 0x64]
test eax, eax
je 0x1022af26
shr edi, 4
mov dword [esi + 0x59e0], eax
mov dword [esi + 0x59e4], edi
mov ecx, dword [esi + 0x75c]
lea ebx, [esi + 0x4aa4]
test ecx, ecx
je 0x1022b03a
mov edx, dword [esi + 0x59e4]
lea eax, [esi + 0x4a94]
push ebx
push eax
push ecx
mov ecx, dword [esi + 0x59e0]
call fcn.102026a0
test al, al
je 0x1022b03a
mov ecx, dword [esi + 0x4aa8]
test cl, 2
je 0x1022af71
or dword [esi + 0x4ab4], 0x20000
test cl, 4
je 0x1022af80
or dword [esi + 0x4ab4], 0x10000
test cl, 8
je 0x1022af8c
or dword [esi + 0x4ab4], 3
test cl, 0x10
je 0x1022af98
or dword [esi + 0x4ab4], 4
test cl, 0x20
je 0x1022afa4
or dword [esi + 0x4ab4], 5
test cl, cl
jns 0x1022afaf
or dword [esi + 0x6c], 0x80020000
test cl, 0x40
je 0x1022afbe
or dword [esi + 0x4ab4], 0x100000
test ecx, 0x1000
je 0x1022afd0
or dword [esi + 0x4ab4], 0x40000
mov edx, dword [0x11c4d988]
test cl, 1
jne 0x1022aff0
cmp edx, 0x10234530
jne 0x1022aff0
test byte [esi + 0xab], 4
jne 0x1022aff0
xor cl, cl
jmp 0x1022aff2
mov cl, 1
movzx eax, cl
mov dword [esi + 0x4a68], eax
test cl, cl
jne 0x1022b0a9
cmp edx, 0x10234530
jne 0x1022b0a9
test byte [esi + 0xaa], 0x10
jne 0x1022b0a9
mov eax, dword [esi + 0x4ab4]
test eax, 0x200
je 0x1022b0a9
and eax, 0xfffcffff
mov dword [esi + 0x4ab4], eax
jmp 0x1022b0a9
cmp dword [esi + 0x4a68], 0
jne 0x1022b06b
cmp dword [0x11c4d988], 0x10234530
jne 0x1022b06b
test byte [esi + 0xab], 2
je 0x1022b061
cmp dword [esi + 0x4a64], 0
je 0x1022b06b
and dword [esi + 0x4ab4], 0xf8f8ffff
mov eax, dword [esi + 0x59e0]
test eax, eax
je 0x1022b0a7
mov edi, dword [esi + 0x59e4]
test edi, edi
jle 0x1022b0a7
test ebx, ebx
je 0x1022b0a7
mov ebx, dword [esi + 0x4aa0]
lea edx, [eax + 0xc]
xor ecx, ecx
nop
cmp dword [edx - 4], ebx
jne 0x1022b09f
mov eax, dword [edx]
cmp eax, dword [esi + 0x4a98]
je 0x1022b0d2
inc ecx
add edx, 0x10
cmp ecx, edi
jl 0x1022b090
xor cl, cl
test byte [esi + 0xb0], 8
je 0x1022b114
test cl, cl
jne 0x1022b114
test byte [esi + 0xaa], 0x10
jne 0x1022b114
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
shl ecx, 4
add ecx, dword [esi + 0x59e0]
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x4aa4], xmm0
mov eax, dword [esi + 0x4aa8]
test eax, 0x400
jne 0x1022b0a7
test al, 0x40
je 0x1022b100
or dword [esi + 0x4ab4], 0x100000
test al, 1
jne 0x1022b110
cmp dword [0x11c4d988], 0x10234530
je 0x1022b0a7
mov cl, 1
jmp 0x1022b0a9
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret