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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 0x20
push ebx
mov eax, 0x2c4
push esi
push edi
cmp ecx, eax
ja 0x10074de
je 0x10074bf
cmp ecx, 0x1a
je 0x1007439
cmp ecx, 0x7e
je 0x10073a7
cmp ecx, 0x113
je 0x1007397
cmp ecx, 0x2c3
jne 0x10078c8
mov esi, dword [ebp + 8]
fld dword [0x1001d90]
push 0
fstp dword [esi + 0x1c]
mov ecx, esi
mov dword [esi + 0x4cc], 1
call fcn.01005ca9
mov ecx, esi
call fcn.01005ade
jmp 0x10078c8
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.010068e2
jmp 0x10078c8
mov edi, dword [ebp + 8]
fld dword [edi + 0x490]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fcomp qword [0x1001d88]
fnstsw ax
test ah, 0x41
jne 0x10073cb
fld dword [0x1001d84]
jmp 0x10073d1
fld dword [0x1001d80]
fstp dword [ebp - 4]
lea ebx, [edi + 4]
fld dword [ebp - 4]
mov eax, dword [ebx]
fadd dword [ebp + 8]
push ecx
mov ecx, ebx
fstp dword [ebp - 4]
fld dword [ebp - 4]
fstp dword [esp]
call dword [eax]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
call esi
push 0x4e
mov dword [ebp - 4], eax
call esi
push 0x4d
mov dword [ebp - 0x10], eax
call esi
push 0x4c
mov dword [ebp - 8], eax
call esi
push dword [ebp - 4]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 8]
push eax
call fcn.01004199
fld dword [ebp + 8]
add edi, 0xc
mov esi, eax
mov eax, dword [ebx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
fstp dword [esp]
call dword [eax]
jmp 0x10078c8
mov eax, dword [section..data]
mov ebx, section..data
cmp eax, ebx
je 0x100745f
test byte [eax + 0x1c], 0x10
je 0x100745f
push 0x1001ab8
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010030a0
cmp dword [ebp + 0x14], 0x47
jne 0x10078c8
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
xor edi, edi
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x46
call esi
mov eax, dword [section..data]
cmp eax, ebx
je 0x100749f
test byte [eax + 0x1c], 0x10
je 0x100749f
push dword [ebp + 8]
push 0x1001ab8
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010030c6
cmp dword [ebp + 8], edi
jne 0x10078c8
push edi
push edi
push 1
push 0x47
call esi
push edi
push 0x47
push 0x1a
push 0xffff
jmp 0x1007583
mov ecx, dword [ebp + 8]
fld dword [0x1001bc8]
and dword [ecx + 0x4cc], 0
fstp dword [ecx + 0x1c]
push 1
call fcn.01005ca9
jmp 0x10078c8
mov eax, ecx
sub eax, 0x312
je 0x10075ec
sub eax, 0xc
je 0x100758e
sub eax, 0x1e2
je 0x1007519
sub eax, 0x100
jne 0x10078c8
push dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.01005884
jmp 0x10078c8
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x4dc], 1
cmp dword [esi + 0x4e0], eax
je 0x1007575
mov eax, dword [section..data]
cmp eax, section..data
je 0x1007554
test byte [eax + 0x1c], 0x10
je 0x1007554
push 0x1001ab8
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010030a0
fld1
push ecx
push ecx
fstp dword [esp + 4]
fld dword [esi + 0x490]
mov ecx, dword [esi + 0x4e0]
fstp dword [esp]
call fcn.0100fa70
jmp 0x10078c8
mov ecx, dword [esi + 8]
push eax
push eax
push 0x10
call dword [sym.imp.DUI70.dll_public:_struct_HWND______thiscall_DirectUI::NativeHWNDHost::GetHWND_void_]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10078c8
lea eax, [ebp + 0x10]
xor edi, edi
push eax
mov dword [ebp + 0x10], edi
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
cmp dword [ebp + 0x10], edi
je 0x10075bc
push 4
lea eax, [ebp + 8]
push eax
push 8
push dword [ebp + 0xc]
mov dword [ebp + 8], 2
call dword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
jmp 0x10075dc
mov esi, dword [ebp + 8]
push 2
mov ecx, esi
call fcn.010041c4
mov ecx, dword [esi + 8]
push edi
push edi
push 0x10
call dword [sym.imp.DUI70.dll_public:_struct_HWND______thiscall_DirectUI::NativeHWNDHost::GetHWND_void_]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0x31e
jmp 0x10078d1
mov ebx, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x53c]
cmp eax, 0xc8
jge 0x100764d
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebx + 0x540]
jne 0x100764d
fld qword [ebx + 0x548]
fmul qword [0x1001d78]
fst qword [ebx + 0x548]
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x1007693
test byte [ecx + 0x1c], 0x10
je 0x1007693
push ecx
push ecx
fstp qword [esp]
push eax
push 0x1001ab8
push 0x14
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01004e51
jmp 0x1007695
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x100767d
test byte [ecx + 0x1c], 0x10
je 0x100767d
push dword [ebx + 0x540]
push dword [ebp + 0x14]
push eax
push 0x1001ab8
push 0x15
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01004e19
fld qword [0x1001d08]
xor esi, esi
fstp qword [ebx + 0x548]
mov dword [ebx + 0x540], esi
jmp 0x1007697
fstp st(0)
xor esi, esi
mov ecx, dword [ebp + 0x14]
push 3
pop eax
sub ecx, eax
je 0x100788e
dec ecx
je 0x1007864
dec ecx
je 0x1007838
dec ecx
je 0x100780c
sub ecx, 9
jne 0x10078bc
lea edi, [ebx + 0x4e4]
mov ecx, edi
call fcn.010139c4
test eax, eax
jne 0x10078bc
fld1
fcomp dword [ebx + 0x490]
fnstsw ax
test ah, 5
jp 0x10078bc
mov ecx, dword [ebx + 0x4e0]
cmp ecx, esi
je 0x10078bc
call fcn.0100f1c7
test eax, eax
jne 0x10078bc
push 1
mov ecx, edi
call fcn.01013d77
sub esp, 0x10
mov edi, esp
lea esi, [ebx + 0x494]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x4e4]
mov ecx, esi
call fcn.01013a7c
push 1
mov ecx, esi
call fcn.010139cd
mov eax, dword [section..data]
cmp eax, section..data
je 0x1007758
test byte [eax + 0x1c], 0x10
je 0x1007758
push 0x1001ab8
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010030a0
mov ecx, ebx
call fcn.01005ade
fld qword [0x1001d60]
sub esp, 0x18
fstp qword [esp + 0x10]
mov edi, esp
lea esi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x4e0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebx + 0x494]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0100fb69
cmp dword [0x1018584], 0
je 0x10078bc
mov al, byte [0x1018588]
cmp al, 4
jae 0x10077ad
test al, al
jne 0x10078bc
mov eax, dword [0x1018570]
mov ecx, dword [0x1018574]
mov edx, 0x10000
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
je 0x10078bc
mov eax, dword [0x1018578]
mov edi, dword [0x101857c]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x10078bc
cmp edx, edi
jne 0x10078bc
push 0x1001728
push dword [0x101855c]
push dword [0x1018558]
call fcn.010036d0
jmp 0x10078bc
mov dword [ebx + 0x540], 6
mov eax, dword [ebx + 0x4a0]
sub eax, dword [ebx + 0x498]
push esi
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fmul qword [ebx + 0x548]
call sub.msvcrt.dll__ftol2_sse
push eax
push esi
jmp 0x10078b5
mov dword [ebx + 0x540], 5
mov eax, dword [ebx + 0x4a0]
sub eax, dword [ebx + 0x498]
push esi
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fmul qword [ebx + 0x548]
call sub.msvcrt.dll__ftol2_sse
neg eax
jmp 0x1007834
lea eax, [ebx + 0x494]
mov dword [ebx + 0x540], 4
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
push esi
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
push esi
fmul qword [ebx + 0x548]
call sub.msvcrt.dll__ftol2_sse
jmp 0x10078b4
mov dword [ebx + 0x540], eax
lea eax, [ebx + 0x494]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
push esi
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
push esi
fmul qword [ebx + 0x548]
call sub.msvcrt.dll__ftol2_sse
neg eax
push eax
mov ecx, ebx
call fcn.010057c2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x53c], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
leave
ret 0x14