Function at 0x101cd930
Capabilities:
Check for time delay via queryperformancecounter
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, edx
mov ebx, ecx
mov ecx, dword [ebp + 8]
sub esp, 8
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c8], ebx
mov dword [ecx], 0
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
push eax
push ecx
mov ecx, dword [eax + 4]
call fcn.101f5140
push 0x800
push 0x8000
mov dword [ebp - 0x1bc], eax
call fcn.10434a32
mov esi, eax
add esp, 8
test esi, esi
je 0x101ce10d
push 0x8000
push 0
push esi
call fcn.10425c00
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x1cc]
push ebx
call fcn.101c9f60
mov ebx, eax
test ebx, ebx
je 0x101ce10d
mov eax, dword [ebp - 0x1bc]
mov edx, ebx
mov esi, dword [ebp - 0x1c8]
push ecx
push ebx
mov ecx, esi
mov dword [ebx + 0xf54], edi
mov dword [ebx + 0xf50], eax
call fcn.101dc600
mov dword [ebp - 0x1c0], eax
mov eax, dword [esi + 0x3b55]
cmp eax, 6
jne 0x101cd9fe
cmp dword [esi + 0x3b59], 1
jmp 0x101cda01
cmp eax, 0xa
jae 0x101cda99
mov esi, ebx
mov ecx, dword [0x11d0c5b8]
mov edx, 0x20
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x1b8], eax
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 0xf944]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.10450898
add esp, 4
test eax, eax
je 0x101cdbf0
mov dword [eax], edi
lea ecx, [eax + 4]
test edi, edi
je 0x101cdbf2
lea eax, [ecx + 0x18]
nop dword [eax]
mov dword [eax - 8], 0xffffffff
lea eax, [eax + 0x20]
mov dword [eax - 0x24], 0xffffffff
mov dword [eax - 0x20], 0xffffffff
mov dword [eax - 0x1c], 0xffffffff
sub edi, 1
jne 0x101cda70
jmp 0x101cdbf2
push 0x105
lea eax, [ebp - 0x114]
xor edi, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x101cdaf3
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101cdac0
sub ecx, edx
lea eax, [ebp - 0x114]
push 0x1046ce80
add eax, ecx
push 0x1046cdc0
push eax
call fcn.100086a0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebx + 0x1070], edi
mov esi, ebx
test edi, edi
je 0x101cda09
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1046ce90
push edi
call esi
push 0x1046ceb0
push dword [ebx + 0x1070]
mov dword [ebp - 0x1b8], eax
call esi
push 0x1046ced0
push dword [ebx + 0x1070]
mov edi, eax
call esi
cmp dword [ebp - 0x1b8], 0
mov esi, ebx
mov dword [ebp - 0x1bc], eax
je 0x101cda09
test edi, edi
je 0x101cda09
test eax, eax
je 0x101cda09
push 0x10
push 0x28
call fcn.10434a32
add esp, 8
test eax, eax
je 0x101cdbb8
mov ecx, dword [ebp - 0x1b8]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x1bc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], ecx
mov dword [ebx + 0x106c], eax
jmp 0x101cda09
push dword [ebx + 0x1070]
mov dword [ebx + 0x106c], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x1070], 0
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
cmp dword [esi + 0x1044], 0x5000
mov dword [esi + 0x1054], ecx
jb 0x101cdd98
mov eax, dword [ebp - 0x1b8]
xor ecx, ecx
mov dword [ebp - 0x1bc], ecx
mov eax, dword [eax + 0x10]
cmp dword [eax + 0xf944], ecx
jbe 0x101cdd98
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x1ec], xmm0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1e0], ecx
cmp dword [eax + 0xd45c], 1
jne 0x101cdcd5
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x111c]
lea ecx, [ebp - 0x1f0]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov dword [ebp - 0x1c0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x1dc]
movlpd qword [ebp - 0x1dc], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x1dc]
sub ecx, dword [esi + 0x1428]
mov eax, dword [ebp - 0x1d8]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
mov eax, dword [ebp - 0x1c0]
jmp 0x101cdcf3
mov eax, dword [esi + 0x111c]
lea ecx, [ebp - 0x1f0]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
test eax, eax
js 0x101ce114
mov ecx, dword [esi + 0x1054]
mov eax, dword [ebp - 0x1ec]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x1054]
mov eax, dword [ebp - 0x1e8]
mov dword [ecx + edi + 4], eax
mov ecx, dword [esi + 0x1054]
mov eax, dword [ebp - 0x1e4]
mov dword [ecx + edi + 8], eax
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x101cdd3b
mov ecx, dword [eax]
mov edx, dword [eax + 4]
jmp 0x101cdd52
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c4], xmm0
mov edx, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1c4]
mov eax, dword [esi + 0x1054]
mov dword [eax + edi + 0x10], ecx
mov dword [eax + edi + 0x14], edx
mov eax, dword [esi + 0x1054]
mov dword [eax + edi + 0x18], ecx
mov ecx, dword [ebp - 0x1bc]
mov dword [eax + edi + 0x1c], edx
inc ecx
mov eax, dword [ebp - 0x1b8]
add edi, 0x20
mov dword [ebp - 0x1bc], ecx
mov eax, dword [eax + 0x10]
cmp ecx, dword [eax + 0xf944]
jb 0x101cdc30
jmp 0x101cdda2
mov edi, dword [ebp - 0x1c0]
test edi, edi
js 0x101cde01
push dword [ebp - 0x1cc]
mov ecx, esi
push dword [ebp - 0x1c8]
call fcn.101cb5a0
mov ecx, esi
call fcn.101cc000
mov edi, eax
mov dword [ebp - 0x1c0], edi
test edi, edi
js 0x101cde01
mov ecx, esi
call fcn.101cc9b0
mov edi, eax
mov dword [ebp - 0x1c0], edi
test edi, edi
js 0x101cde01
mov eax, dword [ebp - 0x1d0]
push ecx
push esi
mov ecx, esi
mov dword [eax], esi
mov eax, dword [esi]
or byte [eax + 0xfd4c], 2
call fcn.101ce920
mov edi, eax
mov dword [ebp - 0x1c0], edi
test edi, edi
jns 0x101cde59
mov ecx, esi
call fcn.1001f750
mov ecx, dword [esi]
test ecx, ecx
je 0x101cde25
call fcn.101dc6c0
mov dword [esi], 0
mov dword [ebx + 0x11d0], 0
jmp 0x101cde2f
mov dword [esi + 0x11d0], 0
mov ecx, esi
call fcn.101cb800
push esi
call fcn.10434a18
mov ecx, dword [ebp - 0x1b8]
add esp, 4
mov dword [ecx + 0x10], 0
test edi, edi
js 0x101ce112
jmp 0x101cde5f
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1c8]
mov eax, dword [edx + 0x3b55]
cmp eax, 6
jne 0x101cde79
cmp dword [edx + 0x3b59], 1
jmp 0x101cde7c
cmp eax, 0xa
jae 0x101cde82
xor al, al
jmp 0x101cde84
mov al, 1
mov byte [esi + 0x103c], al
mov eax, dword [ecx + 0x10]
test byte [eax + 0xd330], 1
jne 0x101cdeb0
mov eax, dword [esi]
cmp dword [eax + 0xd31c], 0
je 0x101cdeb0
push esi
call fcn.101c9d20
mov ecx, dword [ebp - 0x1b8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0xbe2c]
mov eax, dword [eax + 0x1410]
test dword [eax + 0x3c89], 0x800
je 0x101cdf0a
cmp dword [eax + 0xd46f], 0
jne 0x101cdf0a
push 0x10468dc0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x101cdf00
push 0x10468dd0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xf78], eax
test eax, eax
je 0x101cdf0a
mov cl, 2
jmp 0x101cdf0c
mov dword [ebx + 0xf78], 0
xor cl, cl
mov al, byte [esi + 0x1088]
xor edi, edi
and al, 0xfd
or al, cl
or al, 4
push 0x1a4
mov byte [esi + 0x1088], al
lea eax, [ebp - 0x1b0]
push edi
push eax
call fcn.10425c00
and byte [esi + 0xf74], 0xfe
lea eax, [ebp - 0x1b4]
add esp, 0xc
mov dword [ebp - 0x1b4], 0x1a8
push edi
push eax
push edi
push edi
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x101cdfbc
nop word [eax + eax]
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x10c]
push 0x1046cef0
push eax
call fcn.1003a0d0
add esp, 0x10
cmp dword [ebp - 0x1d0], 0x10de
jne 0x101cdf9c
mov eax, dword [ebp - 0x110]
test al, 1
je 0x101cdf9c
test al, 4
jne 0x101cdfb5
push 0
lea eax, [ebp - 0x1b4]
inc edi
push eax
push edi
push 0
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
jne 0x101cdf60
jmp 0x101cdfbc
or byte [esi + 0xf74], 1
mov eax, dword [esi]
mov eax, dword [eax + 0xbe28]
cmp dword [eax + 0x24d0], 0
je 0x101ce0f2
push 0x10
push 0xec
call fcn.10434a32
mov edi, eax
add esp, 8
test edi, edi
je 0x101ce0ce
push 0x80
lea eax, [edi + 7]
mov dword [edi], 0
push 0
push eax
mov word [edi + 4], 0
mov byte [edi + 6], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
call fcn.10425c00
add esp, 0xc
lea eax, [edi + 0xb8]
push 0x34
push 0
push eax
call fcn.10425c00
add esp, 0xc
mov dword [ebx + 0x11a4], edi
lea ecx, [edi + 0x8c]
mov dword [edi], esi
push 0x28
call fcn.100481f0
xor ecx, ecx
mov edx, 0x8007000e
test al, al
cmove ecx, edx
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x8007000e
mov dword [ebx + 0x11a4], 0
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x1c0]
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov edi, 0x8007000e
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4