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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cbf92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8ec
push ebx
mov ebx, ecx
call fcn.1008cc80
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fst dword [ebx + 0x84]
mov eax, dword [0x1012b324]
test eax, eax
je 0x10091c7b
cmp eax, ebx
je 0x10091c7b
fsub dword [0x1012b32c]
fld qword [0x100df0e0]
fxch st(1)
fcompi st(1)
fstp st(0)
jae 0x10091c7d
fld dword [ebx + 0x80]
fld dword [0x1012b328]
fcompi st(1)
fstp st(0)
jbe 0x10092b08
jmp 0x10091c7d
fstp st(0)
mov dword [0x1012b324], ebx
movss xmm0, dword [ebx + 0x80]
movss dword [0x1012b328], xmm0
movss xmm0, dword [ebx + 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
movss dword [0x1012b32c], xmm0
call esi
mov ecx, dword [ebx + 0x8c]
mov edx, eax
mov eax, dword [ebx + 0x88]
inc ecx
mov dword [ebx + 0x8c], ecx
test eax, eax
jne 0x10091cd7
mov dword [ebx + 0x88], edx
mov dword [ebx + 0x8c], 1
jmp 0x10091d0f
add eax, 0x3e8
cmp eax, edx
jae 0x10091d0f
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x68]
mov ecx, dword [0x10118890]
mov dword [ebp - 0x68], 0x11
push 8
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
add dword [ebx + 0x88], 0x3e8
mov dword [ebx + 0x8c], 0
push edi
call fcn.10037f90
call esi
add dword [ebx + 8], 1
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
adc dword [ebx + 0xc], 0
cmp byte [ebx + 0x51], 0
jne 0x10091eae
mov dword [ebx + 0x30], edi
call fcn.10081310
test al, al
je 0x10091eaa
call esi
mov ecx, dword [0x10118cdc]
mov dword [ebp - 0xa0], eax
mov eax, dword [0x10118cd8]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x10118ce0]
mov dword [ebp - 0x98], ecx
mov ecx, dword [0x10118ce4]
push str.SteamTenfoot
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
call fcn.100a70e3
add esp, 4
test eax, eax
je 0x10091daa
push 0xa
push 0
push eax
call fcn.100b1602
add esp, 0xc
test edx, edx
jne 0x10091da3
mov byte [0x1012b358], dl
test eax, eax
je 0x10091daa
mov byte [0x1012b358], 1
push str.SteamGamepadUI
call fcn.100a70e3
add esp, 4
test eax, eax
je 0x10091ddd
push 0xa
push 0
push eax
call fcn.100b1602
add esp, 0xc
test edx, edx
jne 0x10091dd6
mov byte [0x1012b359], dl
test eax, eax
je 0x10091ddd
mov byte [0x1012b359], 1
cmp byte [0x1012b358], 0
mov ecx, 0x10108484
sete al
movzx eax, al
push eax
call fcn.10050a70
xor eax, eax
mov ecx, 4
cmp byte [0x1012b358], al
setne al
cmp byte [0x1012b359], 0
lea eax, [eax*2 + 1]
cmovne eax, ecx
mov ecx, ebx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx]
call dword [eax + 0x48]
cmp byte [0x1012b358], 0
mov dword [ebp - 0x88], eax
jne 0x10091e3b
cmp byte [0x1012b359], 0
je 0x10091e4c
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x1c]
call eax
mov byte [ebp - 0x7c], 1
test al, al
jne 0x10091e50
mov byte [ebp - 0x7c], 0
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x54]
call eax
push 0
push 0
push 0x64
push 0x400
push str.GameOverlayRender_PIDStream
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
call fcn.10094970
push 0x25
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2ec]
call fcn.10095440
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 4], 0xffffffff
call fcn.10094c60
mov byte [ebx + 0x51], 1
cmp byte [0x1012b312], 0
je 0x10091ec2
mov byte [ebx + 0x54], 1
mov byte [0x1012b312], 0
cmp byte [0x1012b313], 0
jne 0x10091ed8
cmp byte [0x1012b314], 0
jne 0x10091ed8
xor cl, cl
jmp 0x10091eda
mov cl, 1
cmp dword [ebx + 0x48], 0
mov byte [ebp - 0x15], cl
setne al
cmp cl, al
je 0x10092052
mov eax, dword [ebx]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push ecx
mov ecx, ebx
mov dword [ebp - 0x48], 0
call dword [eax + 0x2c]
cmp dword [ebx + 0x48], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
jne 0x10091f25
test eax, eax
jle 0x10092052
test ecx, ecx
jle 0x10092052
cmp byte [ebp - 0x15], 0
je 0x1009203e
push ecx
push eax
push str.Starting_movie_recording_at__dx_d_n
call fcn.10081660
mov ecx, dword [0x1012b320]
add esp, 0xc
test ecx, ecx
je 0x10091f4d
call fcn.100904e0
mov dword [0x1012b320], ebx
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
call esi
push eax
push str.GameOverlay_MovieStream__u
lea eax, [ebp - 0x1b0]
push 0x100
push eax
call fcn.10057be0
mov esi, dword [ebx + 0x48]
add esp, 0x10
test esi, esi
je 0x10091fbf
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
jne 0x10091fbf
mov ecx, esi
call fcn.100962c0
push 0x120
push esi
call fcn.100a1a2e
add esp, 8
push 0x120
call fcn.100a19fe
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x10091fef
push 0x1000690
lea ecx, [ebp - 0x1b0]
push ecx
mov ecx, eax
call fcn.100960a0
jmp 0x10091ff1
xor eax, eax
mov dword [ebx + 0x48], eax
mov eax, dword [eax + 0x110]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10092021
cmp dword [eax + 0x10], 0
je 0x10092021
lea eax, [ebp - 0x1b0]
push eax
push str.Created_movie_stream__s_n
call fcn.10081660
add esp, 8
jmp 0x10092052
lea eax, [ebp - 0x1b0]
push eax
push str.Couldnt_create_movie_stream__s_n
call fcn.10081660
add esp, 8
mov ecx, ebx
call fcn.100904e0
jmp 0x10092052
mov ecx, ebx
call fcn.100904e0
push str.Stopped_movie_recording_n
call fcn.10081660
add esp, 4
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x10092073
mov eax, dword [eax + 0x110]
test eax, eax
je 0x10092068
mov eax, dword [eax + 0x34]
jmp 0x1009206a
xor eax, eax
push eax
call fcn.10074c50
add esp, 4
cmp byte [0x101084b8], 0
je 0x10092085
cmp byte [0x101084b9], 0
je 0x1009209a
cmp byte [ebx + 0x54], 0
je 0x1009209a
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
call dword [eax + 0x38]
mov byte [ebx + 0x54], 0
cmp byte [0x1012b310], 0
jne 0x100920af
call fcn.10090540
mov byte [0x1012b310], 1
mov byte [ebx + 0x52], 0
cmp edi, dword [ebx + 0x2c]
jae 0x100920e4
push str.Detected_Plat_MSTime___wrapping_n
call fcn.10081660
mov ecx, dword [ebx + 0xc]
add esp, 4
mov eax, dword [ebx + 8]
mov dword [ebx + 0x14], ecx
mov ecx, edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x10], eax
jmp 0x100920e7
mov ecx, dword [ebx + 0x3c]
mov eax, edi
mov dword [ebx + 0x2c], edi
sub eax, ecx
cmp eax, 0x7d0
jb 0x100920fd
mov dword [ebx + 0x3c], edi
call fcn.10082080
mov ecx, dword [ebx + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp ecx, 0x1e
jae 0x10092181
mov eax, edi
sub eax, dword [ebx + 0x40]
cmp eax, 0x2710
jb 0x10092181
lea eax, [ecx + 1]
mov dword [ebx + 0x40], edi
push str.vrclient.dll
mov dword [ebx + 0x44], eax
mov dword [ebp - 0x58], 0x14
call esi
test eax, eax
jne 0x10092141
push str.vrclient_x64.dll
call esi
mov byte [ebp - 0x54], 0
test eax, eax
je 0x10092145
mov byte [ebp - 0x54], 1
push str.LibOVRRT32_1.dll
call esi
test eax, eax
jne 0x10092165
push str.LibOVRRT64_1.dll
call esi
test eax, eax
jne 0x10092165
mov byte [ebp - 0x53], al
cmp byte [ebp - 0x54], al
je 0x10092181
jmp 0x10092169
mov byte [ebp - 0x53], 1
mov ecx, dword [0x10118890]
lea edx, [ebp - 0x58]
push 6
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebx + 0x44], 0x1e
mov ecx, dword [0x10118890]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, 0x100
jae 0x100921ad
push str.Clearing_input_stream_because_it_is_about_to_overflow_n
call fcn.10081660
mov ecx, dword [0x10118890]
add esp, 4
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
cmp edi, dword [ebx + 0x34]
jae 0x100921bc
cmp dword [ebx + 0x48], 0
je 0x10092b06
mov eax, edi
sub eax, dword [ebx + 0x28]
mov dword [ebp - 0x30], eax
cmp eax, 0x2ee
jb 0x10092242
mov edx, dword [ebx + 8]
mov eax, edx
sub eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov ecx, esi
sbb ecx, dword [ebx + 0x14]
mov dword [ebp - 0x38], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x34], ecx
fild qword [ebp - 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
fild qword [ebp - 0x38]
fchs
faddp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
fild dword [ebp - 0x30]
test eax, eax
jns 0x10092218
fadd dword [0x100cf570]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdivr qword [0x100df0f8]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x28], edi
fmulp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fst dword [ebx + 0x18]
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
jmp 0x10092247
movss xmm0, dword [ebx + 0x18]
mov esi, edi
sub esi, dword [ebx + 0x30]
comiss xmm0, dword [0x100df0f0]
jb 0x10092317
cmp dword [ebx + 0x48], 0
jne 0x10092317
cmp esi, 0x927c0
jbe 0x1009228e
mov eax, 0x10624dd3
mul esi
shr edx, 6
push edx
push str.Disabling_overlay_for_20_minutes___d_seconds_since_last_frame_from_ui_process_was_seen__n
call fcn.10081660
add esp, 8
lea eax, [edi + 0x124f80]
jmp 0x10092314
cmp esi, 0x493e0
jbe 0x100922b6
mov eax, 0x10624dd3
mul esi
shr edx, 6
push edx
push str.Disabling_overlay_for_30_seconds___d_seconds_since_last_frame_from_ui_process_was_seen__n
call fcn.10081660
add esp, 8
lea eax, [edi + 0x7530]
jmp 0x10092314
cmp esi, 0x1d4c0
jbe 0x100922de
mov eax, 0x10624dd3
mul esi
shr edx, 6
push edx
push str.Disabling_overlay_for_10_seconds___d_seconds_since_last_frame_from_ui_process_was_seen__n
call fcn.10081660
add esp, 8
lea eax, [edi + 0x3a98]
jmp 0x10092314
cmp esi, 0x2710
jbe 0x10092306
mov eax, 0x10624dd3
mul esi
shr edx, 6
push edx
push str.Disabling_overlay_for_2_seconds___d_seconds_since_last_frame_from_ui_process_was_seen__n
call fcn.10081660
add esp, 8
lea eax, [edi + 0x7d0]
jmp 0x10092314
cmp esi, 0x1388
jbe 0x10092317
lea eax, [edi + 0x1f4]
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0x24], 0
ja 0x1009232e
cmp dword [ebx + 0x20], 0x64
jbe 0x100923d6
cmp byte [0x101084b8], 0
je 0x100923a5
cmp byte [0x101084b9], 0
jne 0x100923a5
movss xmm1, dword [0x100df104]
cmp esi, 0xc8
jbe 0x10092363
movss xmm0, dword [ebx + 0x18]
comiss xmm0, xmm1
jbe 0x1009236f
mov dword [ebp - 0x24], 0x10
jmp 0x1009236f
mov dword [ebp - 0x24], 0
cmp esi, 0x78
jbe 0x10092382
movss xmm0, dword [ebx + 0x18]
comiss xmm0, xmm1
jbe 0x1009238e
mov dword [ebp - 0x24], 8
jmp 0x100923d6
mov dword [ebp - 0x24], 0
cmp esi, 0x3c
jbe 0x100923d6
movss xmm0, dword [ebx + 0x18]
comiss xmm0, dword [0x100df108]
jbe 0x100923d6
mov dword [ebp - 0x24], 4
jmp 0x100923d6
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x100923cf
cmp esi, 0x320
jbe 0x10092468
movss xmm0, dword [ebx + 0x18]
comiss xmm0, dword [0x100df100]
jbe 0x10092471
mov dword [ebp - 0x24], 0xf
mov eax, edi
sub eax, dword [ebx + 0x38]
cmp eax, 0x2ee
jb 0x10092721
mov ecx, 0x10108480
call fcn.1007e0c0
mov eax, dword [ebx]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebx + 0x38], edi
push ecx
mov ecx, ebx
call dword [eax + 0x2c]
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, ebx
call dword [eax + 0x60]
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x64
jle 0x10092717
mov eax, dword [ebp - 0x3c]
cmp eax, 0x64
jle 0x10092717
cmp dword [ebp - 0x20], 1
jle 0x10092717
cmp dword [ebp - 0x1c], 1
jle 0x10092717
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov dword [ebp - 0x2c], ecx
mov ecx, ebx
mov dword [ebp - 0x28], 0x60
mov eax, dword [eax + 0x58]
call eax
test al, al
je 0x1009248f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x5c]
jmp 0x100924a1
cmp esi, 0x78
jbe 0x100923d6
movss xmm0, dword [ebx + 0x18]
comiss xmm0, dword [0x100df10c]
jbe 0x100923d6
mov dword [ebp - 0x24], 0xa
jmp 0x100923d6
mov eax, dword [0x10108528]
test eax, eax
je 0x100924ad
push 0
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call fcn.10090290
mov dword [ebp - 0x28], eax
add esp, 4
fild dword [ebp - 0x28]
mov eax, dword [0x1012cbb4]
mov ecx, dword fs:[0x2c]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fild dword [ebp - 0x40]
mov ecx, dword [ecx + eax*4]
mov dword [ebp - 0x34], ecx
fstp dword [ebp - 0x14]
fmul dword [ebp - 0x14]
fild dword [ebp - 0x20]
fstp dword [ebp - 0x14]
fdiv dword [ebp - 0x14]
mov eax, dword [0x1012b35c]
fstp dword [ebp - 0x14]
cmp eax, dword [ecx + 0x408]
jg 0x10092b17
cmp dword [ebp - 0x3c], 0x4b0
jg 0x1009250d
cmp byte [0x1012b35a], 0
je 0x1009255e
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x58]
call eax
test al, al
jne 0x1009255e
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [0x100df110]
jbe 0x1009255e
fld dword [ebp - 0x14]
fild dword [ebp - 0x40]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fld qword [0x100df0e8]
fmul st(1), st(0)
fxch st(1)
fdiv st(2)
fld qword [0x100cf558]
fadd st(1), st(0)
fxch st(1)
call fcn.100a1c50
fild dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fmulp st(2)
fxch st(1)
fdivrp st(2)
faddp st(1)
call fcn.100a1c50
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x20]
mov ecx, 0x10108484
push dword [ebp - 0x28]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fild dword [ebp - 0x2c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fdiv st(1)
fstp dword [ebp - 0x14]
fild dword [ebp - 0x1c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fild dword [ebp - 0x10]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdiv st(1)
fstp dword [ebp - 0x2c]
fild dword [ebp - 0x40]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdivp st(2)
fxch st(1)
fstp dword [ebp - 0x48]
fild dword [ebp - 0x3c]
fstp dword [ebp - 0x10]
fdiv dword [ebp - 0x10]
push dword [ebp - 0x1c]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x14]
push dword [ebp - 0x20]
fstp dword [0x10108514]
fld dword [ebp - 0x2c]
push dword [ebp - 0x4c]
fstp dword [0x10108518]
fld dword [ebp - 0x48]
push dword [ebp - 0x50]
fstp dword [0x1010850c]
fld dword [ebp - 0x10]
fstp dword [0x10108510]
call fcn.10050880
push dword [ebp - 0x3c]
mov ecx, 0x10108484
push dword [ebp - 0x40]
call fcn.100509b0
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x8f8], 0
call dword [eax + 0x50]
mov dword [ebp - 0x8f4], eax
mov ecx, ebx
mov eax, dword [ebx]
mov dword [ebp - 0x8f0], 0
call dword [eax + 0x4c]
mov dword [ebp - 0x8ec], eax
mov ecx, ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0x58]
call eax
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x8e8], al
mov eax, dword [0x1012b364]
mov byte [ebp - 0x8e7], 0
mov dword [ebp - 0x8e6], 0xffffffff
cmp eax, dword [ecx + 0x408]
jg 0x10092b57
mov eax, dword [0x1012b360]
test eax, eax
je 0x10092708
call eax
test eax, eax
setne byte [ebp - 0x8e7]
test eax, eax
je 0x10092708
mov eax, dword [0x10108528]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10092708
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x10092708
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x10092708
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x10092708
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x10092708
mov al, byte [ebp - 0x78]
sub al, byte [ebp - 0xb0]
mov byte [ebp - 0x8e6], al
mov al, byte [ebp - 0x74]
sub al, byte [ebp - 0xac]
mov byte [ebp - 0x8e5], al
mov al, byte [ebp - 0xa8]
sub al, byte [ebp - 0x70]
mov byte [ebp - 0x8e4], al
mov al, byte [ebp - 0xa4]
sub al, byte [ebp - 0x6c]
mov byte [ebp - 0x8e3], al
lea eax, [ebp - 0x8f8]
push eax
call fcn.10074c30
add esp, 4
mov ecx, 0x10108484
call fcn.10050510
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x10092745
mov ecx, dword [eax + 0x110]
xor eax, eax
test ecx, ecx
je 0x1009273a
cmp dword [ecx + 0x44], eax
setne al
test al, al
jne 0x10092745
mov ecx, ebx
call fcn.10092cc0
call fcn.1006fcf0
call fcn.10072c30
call fcn.10070510
call fcn.10073380
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101033b4]
mov dword [ebp - 0x1c], eax
cmp ecx, 0xffffffff
je 0x100927ba
cmp ecx, dword [0x101033cc]
jne 0x10092788
mov edx, dword [0x1012b368]
cmp eax, edx
jb 0x10092788
sub eax, edx
cmp eax, 0x1f4
jbe 0x100927b7
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x68]
mov ecx, dword [0x10118890]
mov dword [ebp - 0x68], 8
push 8
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [0x101033b4]
mov dword [0x101033cc], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x1012b368], eax
jmp 0x100927ba
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x10118cc0]
mov ecx, dword [0x10118cc4]
cmp edx, dword [0x1012b370]
jne 0x100927e3
cmp ecx, dword [0x1012b374]
jne 0x100927e3
sub eax, dword [0x1012b36c]
cmp eax, 0x1f4
jbe 0x1009281d
mov dword [ebp - 0x54], ecx
mov ecx, dword [0x10118890]
mov dword [ebp - 0x58], edx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x12
push 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov eax, dword [0x10118cc0]
mov dword [0x1012b370], eax
mov eax, dword [0x10118cc4]
mov dword [0x1012b374], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x1012b36c], eax
mov ecx, 0x10108480
call fcn.1007da20
mov ecx, 0x10108480
call fcn.1007db00
mov ecx, 0x10108484
call fcn.10050820
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x50]
push 0
push eax
mov ecx, 0x10108480
call fcn.1007e280
test al, al
jne 0x1009290a
mov ecx, dword [0x1011889c]
test ecx, ecx
je 0x100928a9
mov eax, dword [ecx]
push dword [ebp - 0x24]
mov eax, dword [eax]
call eax
test al, al
je 0x100928a9
mov eax, dword [0x10118894]
test eax, eax
je 0x1009289a
push eax
mov ecx, ebx
call fcn.10090920
test al, al
je 0x1009289a
add dword [ebx + 0x20], 1
mov dword [ebx + 0x30], edi
adc dword [ebx + 0x24], 0
mov dword [ebx + 0x34], edi
mov byte [0x10118889], 1
jmp 0x1009290a
push str.Failed_reading_frame_completely_n
call fcn.10081660
add esp, 4
jmp 0x1009290a
cmp esi, 0x1770
jae 0x100928c9
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x100928c9
push dword [ebx + 0x4c]
mov ecx, ebx
call fcn.10090920
jmp 0x1009290a
cmp byte [0x101084b8], 0
je 0x10092931
cmp byte [0x101084b9], 0
jne 0x1009290a
push str.Forcing_internal_overlay_disable_and_requesting_ui_disable_n
call fcn.10081660
add esp, 4
mov ecx, 0x10108480
call fcn.1007dbd0
mov ecx, dword [0x10118890]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], 1
push 4
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp byte [0x101084b8], 0
je 0x10092931
cmp byte [0x101084b9], 0
jne 0x10092931
cmp byte [ebx + 0x54], 0
je 0x10092931
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 0
call dword [eax + 0x38]
mov byte [ebx + 0x54], 0
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x10092974
mov edx, dword [ecx + 0x110]
xor eax, eax
test edx, edx
je 0x1009294a
cmp dword [edx + 0x44], eax
setne al
test al, al
je 0x1009295c
mov ecx, ebx
call fcn.10092cc0
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x10092974
mov eax, dword [ecx + 0x110]
test eax, eax
je 0x10092afb
cmp dword [eax + 0x34], 1
jne 0x10092afb
cmp byte [ebx + 0x55], 0
je 0x10092afb
test ecx, ecx
je 0x10092993
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10096390
test al, al
jne 0x100929a1
mov dword [ebp - 0x30], 0xea60
mov dword [ebp - 0x60], 0x3e9
call fcn.1008cdb0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
call fcn.1008cd90
mov ecx, eax
mov eax, edx
mul dword [ebp - 0x60]
push 0
push dword [ebp - 0x30]
mov edi, eax
mov eax, ecx
mul dword [ebp - 0x60]
add edi, edx
push edi
push eax
call fcn.100a22a0
mov ecx, eax
mov esi, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x10], esi
shld esi, ecx, 1
add ecx, ecx
add eax, ecx
mov ecx, dword [ebx + 0x60]
mov dword [ebp - 0x34], eax
mov eax, ecx
adc edx, esi
mov dword [ebp - 0x50], edx
mov edx, dword [ebx + 0x64]
or eax, edx
je 0x10092ae3
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
cmp esi, edx
ja 0x10092abe
jb 0x10092a0f
cmp edi, ecx
jae 0x10092abe
push edx
push ecx
push esi
push edi
call fcn.1008ce10
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10092ab5
push esi
push str.video_sleep_until_end_of_frame
call fcn.10037f90
add esp, 8
cmp dword [ebx + 0x48], 0
je 0x10092a9e
mov edi, dword [sym.imp.WINMM.dll_timeBeginPeriod]
nop
cmp esi, 2
jbe 0x10092a9a
mov eax, dword [0x1012cbb4]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1012b354]
cmp eax, dword [ecx + 0x408]
jg 0x10092b9f
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1008cdb0
mov esi, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
cmp edx, esi
ja 0x10092a92
jb 0x10092a82
cmp eax, ecx
jae 0x10092a92
push esi
push ecx
push edx
push eax
call fcn.1008ce10
add esp, 0x10
mov esi, eax
jmp 0x10092a94
xor esi, esi
cmp dword [ebx + 0x48], 0
jne 0x10092a40
test esi, esi
je 0x10092aa6
push esi
mov ecx, ebx
call fcn.10092c30
push str.video_sleep_done
call fcn.10037f90
add esp, 4
jmp 0x10092aef
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0x64]
mov esi, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x34]
sbb esi, dword [ebp - 0x50]
cmp edx, esi
ja 0x10092aef
jb 0x10092ace
cmp ecx, edi
jae 0x10092aef
push str.video_frame_behind
call fcn.10037f90
add esp, 4
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], esi
jmp 0x10092aef
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x4c]
add dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x10]
adc dword [ebx + 0x64], eax
call fcn.1008cdb0
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], edx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x1012b35c
call fcn.100a1b6f
add esp, 4
cmp dword [0x1012b35c], 0xffffffff
jne 0x100924ee
push str.html5app_steam.exe
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
push 0x1012b35c
setne byte [0x1012b35a]
call fcn.100a1b25
add esp, 4
jmp 0x100924ee
push 0x1012b364
call fcn.100a1b6f
add esp, 4
cmp dword [0x1012b364], 0xffffffff
jne 0x10092657
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.IsProcessDPIAware
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1012b364
mov dword [0x1012b360], eax
call fcn.100a1b25
add esp, 4
jmp 0x10092657
push 0x1012b354
call fcn.100a1b6f
add esp, 4
cmp dword [0x1012b354], 0xffffffff
jne 0x10092a65
push 1
call edi
push 0x1012b354
mov dword [0x1012b350], eax
call fcn.100a1b25
add esp, 4
jmp 0x10092a65