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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1200
call fcn.10451050
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x11d0c744], 0
mov eax, ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [eax]
mov dword [ebp - 0x11a8], eax
mov dword [ebp - 0x11b8], edx
mov dword [ebp - 0x11c0], ecx
je 0x10231248
cmp dword [edi + 4], 0x58544e43
jne 0x10231248
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [edi + 8], 0
jmp 0x1023124a
xor edi, edi
mov esi, dword [ebp - 0x115c]
lea eax, [ebp - 0x117c]
push 0xf40
xor ebx, ebx
mov dword [ebp - 0x11a4], 0
push ebx
push eax
mov dword [ebp - 0x11ac], 0
mov byte [ebp - 0x117d], 1
call fcn.10425c00
xor ecx, ecx
mov dword [ebp - 0x115c], esi
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add esp, 0xc
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x1190], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x117c], 0x4e564441
mov dword [ebp - 0x1178], 0x10002
mov dword [ebp - 0x1174], 0xf40
mov dword [ebp - 0x1170], 0x4e562a2a
mov dword [ebp - 0x116c], 0x100000d
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0x117c]
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x1198], eax
mov dword [ebp - 0x1194], 0xf40
mov dword [ebp - 0x244], 1
mov edx, dword [edi + 0x10b4]
mov dword [ebp - 0x11b0], ebx
test edx, edx
je 0x102313b2
mov eax, dword [edi]
test eax, eax
je 0x102313b2
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x102313b2
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x102313b2
cmp dword [eax + 0xd45c], 1
jne 0x102313a2
lea eax, [edi + 0x1428]
push eax
call esi
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x11a0]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [ebp - 0x11b0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x118c]
movlpd qword [ebp - 0x118c], xmm0
push eax
call esi
mov ecx, dword [ebp - 0x118c]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x1188]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x102313b2
lea eax, [ebp - 0x11a0]
push eax
push ecx
call edx
mov dword [ebp - 0x11b0], eax
mov ecx, dword [ebp - 0x24c]
xor esi, esi
mov dword [ebp - 0x11bc], esi
test ecx, ecx
je 0x102313ea
mov edx, dword [ebp - 0x11a8]
lea eax, [ebp - 0x1130]
mov edx, dword [edx + 0x53a4]
cmp dword [eax], edx
je 0x102313e4
inc esi
add eax, 0xf0
cmp esi, ecx
jb 0x102313d6
mov dword [ebp - 0x11bc], esi
cmp dword [ebp - 0x11b0], ebx
jl 0x10231824
mov edx, dword [ebp - 0x11a8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
movlpd qword [ebp - 0xa8], xmm0
mov eax, dword [edx + 0x9b0]
mov dword [ebp - 0xa0], ebx
movlpd qword [ebp - 0x98], xmm0
mov dword [ebp - 0x90], ebx
lea ecx, [eax + eax*2]
movlpd qword [ebp - 0x84], xmm0
shl ecx, 5
mov dword [ebp - 0xbc], 0x4e564441
mov dword [ebp - 0xb8], 0x10002
mov dword [ebp - 0xb4], 0x40
mov dword [ebp - 0xb0], 0x4e562a2a
mov dword [ebp - 0xac], 0x100007e
mov eax, dword [ecx + edx + 0x5428]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + edx + 0x5424]
xor ecx, ecx
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x1190], ecx
and ecx, 0xfffffffe
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x1198], eax
mov dword [ebp - 0x1194], 0x40
mov dword [ebp - 0x11a4], ebx
mov ebx, dword [edi + 0x10b4]
test ebx, ebx
je 0x1023157f
mov eax, dword [edi]
test eax, eax
je 0x1023157f
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x1023157f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x1023157f
cmp dword [eax + 0xd45c], 1
jne 0x10231569
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [edi + 0x1428]
push eax
call ebx
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x11a0]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [ebp - 0x11a4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x118c]
movlpd qword [ebp - 0x118c], xmm0
push eax
call ebx
mov ecx, dword [ebp - 0x118c]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x1188]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x10231579
lea eax, [ebp - 0x11a0]
push eax
push ecx
call ebx
mov dword [ebp - 0x11a4], eax
mov edx, dword [ebp - 0x11a8]
cmp dword [ebp - 0x11a4], 0
jl 0x10231822
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov eax, dword [edx + 0x9b0]
xor ebx, ebx
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
movlpd qword [ebp - 0x1c], xmm0
lea eax, [eax + eax*2]
mov dword [ebp - 0x14], 0
shl eax, 5
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x40], 0x4e564441
mov dword [ebp - 0x3c], 0x10002
mov dword [ebp - 0x38], 0x38
mov dword [ebp - 0x34], 0x4e562a2a
mov dword [ebp - 0x30], 0x7000016
mov eax, dword [eax + edx + 0x5428]
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1190], ecx
and ecx, 0xfffffffe
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x1198], eax
mov dword [ebp - 0x1194], 0x38
mov edx, dword [edi + 0x10b4]
test edx, edx
je 0x102316d2
mov eax, dword [edi]
test eax, eax
je 0x102316d2
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x102316d2
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x102316d2
cmp dword [eax + 0xd45c], 1
jne 0x102316c6
lea eax, [edi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x11a0]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov ebx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x118c]
movlpd qword [ebp - 0x118c], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x118c]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x1188]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x102316d2
lea eax, [ebp - 0x11a0]
push eax
push ecx
call edx
mov ebx, eax
test ebx, ebx
js 0x10231824
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x1190], ecx
and ecx, 0xfffffffe
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x78], 0x4e564441
mov dword [ebp - 0x74], 0x10002
mov dword [ebp - 0x70], 0x38
mov dword [ebp - 0x6c], 0x4e562a2a
mov dword [ebp - 0x68], 0x7000005
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x119c], ecx
mov dword [ebp - 0x1198], eax
mov dword [ebp - 0x1194], 0x38
mov edx, dword [edi + 0x10b4]
mov dword [ebp - 0x11ac], 0
test edx, edx
je 0x10231824
mov eax, dword [edi]
test eax, eax
je 0x10231824
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x10231824
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10231824
cmp dword [eax + 0xd45c], 1
jne 0x10231810
lea eax, [edi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x11a0]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [ebp - 0x11ac], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x118c]
movlpd qword [ebp - 0x118c], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x118c]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x1188]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x10231824
lea eax, [ebp - 0x11a0]
push eax
push ecx
call edx
mov dword [ebp - 0x11ac], eax
jmp 0x10231824
xor ebx, ebx
mov eax, dword [ebp - 0x11b8]
lea edx, [ebp - 0x1200]
mov ecx, edi
mov dword [ebp - 0x11c8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1200], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x11f0], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x11e0], xmm0
movq xmm0, qword [eax + 0x30]
lea eax, [ebp - 0x11b4]
push eax
lea eax, [ebp - 0x11c4]
movq qword [ebp - 0x11d0], xmm0
push eax
lea eax, [ebp - 0x1188]
push eax
call fcn.101e9530
mov ecx, dword [ebp - 0x11b4]
test eax, eax
mov edx, 4
cmovs ecx, edx
cmp dword [ebp - 0x11b0], 0
mov dword [ebp - 0x11b4], ecx
jl 0x10231b3c
mov eax, dword [ebp - 0x11a4]
test eax, eax
js 0x10231a55
test ebx, ebx
js 0x10231a55
cmp dword [ebp - 0x11ac], 0
jl 0x10231b3c
mov esi, dword [ebp - 0x17c]
lea eax, [ebp - 0x19c]
push 0xe0
push 0
push eax
call fcn.10425c00
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov edx, dword [ebp - 0x11b8]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x11b4]
mov ecx, dword [edx + 0x10]
shl eax, 3
mov dword [ebp - 0x118], eax
mov eax, dword [edx]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x19c], 0x4e564441
mov dword [ebp - 0x198], 0x10002
mov dword [ebp - 0x194], 0xe0
mov dword [ebp - 0x190], 0x4e562a2a
mov dword [ebp - 0x18c], 0x7000109
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x110], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x120], eax
mov eax, dword [edx + 0x34]
dec eax
cmp eax, 3
ja case.default.0x1023199b
jmp dword [eax*4 + 0x10231b54]
or dword [ebp - 0x108], 1
jmp case.default.0x1023199b
or dword [ebp - 0x108], 2
jmp case.default.0x1023199b
or dword [ebp - 0x108], 4
jmp case.default.0x1023199b
or dword [ebp - 0x108], 8
imul eax, dword [ebp + 0xc], 0x3e8
xor edx, edx
mov ecx, dword [ebp - 0x11a8]
mov dword [ebp - 0x104], eax
mov eax, dword [ecx + 0x9b0]
lea eax, [eax + eax*2]
shl eax, 5
mov eax, dword [eax + ecx + 0x5430]
mov ecx, edi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x119c], edx
mov dword [ebp - 0x1190], edx
and edx, 0xfffffffe
mov dword [ebp - 0x100], 0
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1198], eax
lea eax, [ebp - 0x11a0]
push eax
mov dword [ebp - 0x119c], edx
mov dword [ebp - 0x1194], 0xe0
call fcn.101d20e0
test eax, eax
js 0x10231b3c
mov esi, dword [ebp - 0x11bc]
mov eax, dword [ebp - 0x11a4]
cmp dword [ebp - 0x11ac], 0
jl 0x10231b3c
test ebx, ebx
js 0x10231b3c
test eax, eax
js 0x10231b3c
push 0x9c
lea eax, [ebp - 0x23c]
push 0
push eax
call fcn.10425c00
add esp, 0xc
mov eax, 0x9c
mov word [ebp - 0x218], ax
xor bl, bl
lea eax, [ebp - 0x23c]
push eax
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
test eax, eax
je 0x10231abd
cmp dword [ebp - 0x1c4], 0x64
mov eax, 1
movzx ebx, bl
cmovb ebx, eax
mov eax, dword [ebp - 0x11a8]
mov edx, dword [ebp - 0xe8]
test byte [eax + 0xb0], 0x40
jne 0x10231b14
test bl, bl
jne 0x10231b14
imul ecx, esi, 0xf0
cmp dword [ebp + ecx - 0x1118], edx
jne 0x10231b14
mov eax, dword [ebp - 0x11c0]
imul ecx, dword [ebp + 0xc], 0x3e8
mov dword [eax + 4], 0x3e8
mov dword [eax], ecx
mov al, byte [ebp - 0x117d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x11c0]
mov dword [eax], edx
mov dword [eax + 4], 0x3e8
mov al, byte [ebp - 0x117d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 0xc