Function at 0x451f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f3f9d
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x536ed4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0xb0], 3
call fcn.004bb047
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x451fd5
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xb0], 4
call fcn.004bb047
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x452007
push 0x80004005
call fcn.00401730
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xb0], 5
xor eax, eax
push 0xa
lea ecx, [esp + 0x8c]
mov word [esp + 0x58], bx
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov word [esp + 0x66], ax
mov word [esp + 0x78], bx
mov dword [esp + 0x7a], eax
mov dword [esp + 0x7e], eax
mov dword [esp + 0x82], eax
mov word [esp + 0x86], ax
mov dword [esp + 0x54], ebx
call fcn.004c5cff
mov dword [esp + 0x88], 0x50e430
mov byte [esp + 0xb0], 6
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov edi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x78]
push eax
call edi
cmp dword [ebp + 0xc], ebx
jne 0x452232
cmp dword [ebp + 8], ebx
mov word [esp + 0x64], bx
mov dword [esp + 0x66], ebx
mov dword [esp + 0x6a], ebx
mov dword [esp + 0x6e], ebx
mov word [esp + 0x72], bx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
push ebx
mov ecx, 0x54b0b0
jne 0x4520e6
push str.RenderDefaultFixed
jmp 0x4520eb
push str.CaptureDefaultFixed
push str.General
call fcn.004c539d
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push str.LastFixDefaultTime
push str.General
mov ecx, 0x54b0b0
mov esi, eax
call fcn.004c5768
test eax, eax
je 0x4521a5
cmp dword [esp + 0x2c], 0x10
jne 0x452190
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x78], edx
call edi
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x452190
push ebx
push str.RenderDefaultFixed
push str.General
mov ecx, 0x54b0b0
call fcn.004c5406
push ebx
push str.CaptureDefaultFixed
push str.General
mov ecx, 0x54b0b0
call fcn.004c5406
xor esi, esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4521a5
push eax
call fcn.004bb03d
add esp, 4
mov dword [esp + 0x1c], ebx
push 0x10
lea ecx, [esp + 0x78]
push ecx
push str.LastFixDefaultTime
push str.General
mov ecx, 0x54b0b0
call fcn.004c5526
cmp esi, 1
jne 0x452232
lea ecx, [esp + 0x88]
mov byte [esp + 0xb0], 5
call fcn.004c5d22
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452201
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x452709
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x452709
lea eax, [esp + 0x28]
push eax
push 0x50dd4c
push 0x17
push ebx
push 0x50dd3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x452283
lea ecx, [esp + 0x88]
mov byte [esp + 0xb0], 5
call fcn.004c5d22
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4521f5
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
mov edx, dword [ebp + 8]
push 9
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x45224e
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jl 0x45224e
xor esi, esi
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x2c], esi
jbe 0x452532
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4522d7
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push esi
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x45251d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebx
jl 0x45251d
push 0x50148c
lea ecx, [esp + 0x18]
call fcn.00401d80
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042bac0
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jl 0x45251d
push 0x50c180
lea ecx, [esp + 0x1c]
call fcn.00401d80
cmp dword [ebp + 8], ebx
mov eax, str.Render_
je 0x45236b
mov eax, str.Capture_
push eax
lea ecx, [esp + 0x1c]
call fcn.0042bac0
mov ecx, 0x50c21c
lea esi, [esp + 0x14]
call fcn.00404880
add eax, 2
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.0042b490
mov byte [esp + 0xb0], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00404ab0
lea ecx, [esp + 0x84]
mov byte [esp + 0xb0], 6
call fcn.00401fb0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4523d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x18]
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, 0x20019
lea esi, [esp + 0x34]
call fcn.0042c080
test eax, eax
jne 0x45251b
push str.Role:0
mov edx, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x58], 0x10
call fcn.0044a3f0
test eax, eax
jne 0x45251b
push 0x10
call fcn.004bb012
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x45251b
call fcn.004bb047
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x451fcb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x14]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [edi], eax
call fcn.00401de0
lea ebx, [edi + 4]
push ebx
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x4524bb
lea esp, [esp]
test esi, esi
mov dword [esp + 0x48], esi
mov eax, esi
je 0x45261c
mov eax, dword [eax + 8]
test eax, eax
mov esi, dword [esi]
je 0x4524b7
push ebx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
je 0x4524e9
test esi, esi
jne 0x452490
push edi
lea ecx, [esp + 0x8c]
call fcn.004c5db0
lea edx, [esp + 0x40]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov esi, 1
cmp eax, esi
jne 0x4524fd
cmp dword [esp + 0x1c], esi
jne 0x452503
mov dword [esp + 0x20], esi
jmp 0x45251b
mov ecx, dword [esp + 0x48]
push edi
push ecx
lea ecx, [esp + 0x90]
call fcn.004c5dd9
jmp 0x4524c8
cmp dword [esp + 0x1c], esi
je 0x45251b
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, esi
jne 0x45251b
mov dword [esp + 0x3c], 1
xor ebx, ebx
mov esi, dword [esp + 0x2c]
add esi, 1
cmp esi, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
jb 0x4522c3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x452546
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x20], ebx
je 0x452606
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x20]
push eax
push 0x5083e0
push 1
push ebx
push 0x5083d0
mov byte [esp + 0xc4], 8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4525ee
mov edi, dword [esp + 0x8c]
cmp edi, ebx
je 0x4525ee
cmp edi, ebx
mov eax, edi
je 0x45261c
mov esi, dword [eax + 8]
cmp esi, ebx
mov edi, dword [edi]
je 0x4525ea
cmp dword [esi + 0xc], 1
jne 0x4525ea
lea ecx, [esp + 0x40]
push ecx
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x4525e2
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x30]
push ecx
call eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x30]
push ecx
call eax
mov eax, dword [esp + 0x20]
mov esi, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push 2
push esi
push eax
call edx
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
jne 0x452583
mov byte [esp + 0xb0], 6
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x452606
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp + 8], ebx
jne 0x452621
xor eax, eax
cmp dword [esp + 0x3c], ebx
sete al
push eax
push str.RenderDefaultFixed
jmp 0x452630
jmp fcn.004bb5cf
xor ecx, ecx
cmp dword [esp + 0x3c], ebx
sete cl
push ecx
push str.CaptureDefaultFixed
push str.General
mov ecx, 0x54b0b0
call fcn.004c5406
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x45268a
lea ebx, [ebx]
cmp esi, ebx
mov eax, esi
je 0x45261c
mov edi, dword [eax + 8]
cmp edi, ebx
mov esi, dword [esi]
je 0x452686
mov eax, dword [edi]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45267d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.004bb03d
add esp, 4
cmp esi, ebx
jne 0x452650
lea ecx, [esp + 0x88]
call fcn.004c5c03
lea ecx, [esp + 0x88]
mov byte [esp + 0xb0], 5
call fcn.004c5d22
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4526d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4526fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x452709
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x452721
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x452739
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x452754
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret