Function at 0x4707e8
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0x160
mov eax, 0x566b9e
call fcn.005239fe
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax + 0x10], esi
mov dword [ebp - 0xc8], eax
setne al
movzx eax, al
push 0xfc
push eax
mov edi, 0x59cf70
mov ebx, ecx
call fcn.0049247f
push 0x60
call fcn.00515827
add esp, 0xc
cmp eax, esi
je 0x47083a
call fcn.004938fd
mov edi, eax
mov dword [ebp - 0xb4], edi
jmp 0x470842
mov dword [ebp - 0xb4], esi
mov edi, esi
mov dword [ebp - 0x16c], edi
mov dword [ebp - 4], esi
push str.ShadowPlayStatistics
lea esi, [ebp - 0x6c]
call fcn.00403350
push 0xffffffffffffffff
push 0
lea ecx, [edi + 8]
mov eax, esi
mov byte [ebp - 4], 1
call fcn.0040406a
push 1
xor edi, edi
mov byte [ebp - 4], 0
call fcn.0040412d
push 0x5891b0
lea esi, [ebp - 0x4c]
call fcn.00403350
push 0x588030
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.0040412d
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov ecx, 0x90
cdq
idiv ecx
xor esi, esi
mov dword [ebp - 0xb8], esi
test eax, eax
je 0x4715d4
mov dword [ebp - 0xac], esi
push 0x60
call fcn.00515827
pop ecx
cmp eax, esi
je 0x4708fe
call fcn.004938fd
mov edi, eax
mov dword [ebp - 0xa8], edi
jmp 0x470906
mov dword [ebp - 0xa8], esi
mov edi, esi
mov dword [ebp - 0x168], edi
push str.Record
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00403350
push 0xffffffffffffffff
push 0
lea ecx, [edi + 8]
mov eax, esi
mov byte [ebp - 4], 5
call fcn.0040406a
push 1
xor edi, edi
mov byte [ebp - 4], 4
call fcn.0040412d
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 6
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.004036f3
push str.CaptureMode
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00403350
lea eax, [ebp - 0x30]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x30]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov ecx, eax
mov byte [ebp - 4], 9
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
lea edx, [ebp - 0x4c]
push edx
add eax, 8
push ecx
call fcn.0041a8b2
call fcn.004036f3
push str.Start
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov ecx, eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
lea edx, [ebp - 0x4c]
push edx
add eax, 0x10
push ecx
call fcn.0041a8b2
call fcn.004036f3
push str.Stop
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x18]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.Stereo
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x11
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x1c]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.CodecType
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x14
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
push str.Path
lea esi, [ebp - 0x30]
call fcn.00403350
mov ecx, dword [ebp - 0xac]
mov byte [ebp - 4], 0x15
mov eax, dword [ebx]
lea eax, [ecx + eax + 0x20]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
call fcn.00493d47
push 1
mov byte [ebp - 4], 4
call fcn.0040412d
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x3c]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.VideoQuality
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x17
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x18
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x40]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.CustomResolution
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x1b
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x1c
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x44]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.CustomBitrate
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x1d
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x1e
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x1f
mov edi, dword [ebx]
add edi, dword [ebp - 0xac]
test esi, esi
je 0x470d3b
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov ecx, dword [eax + 0x14]
and ecx, 0xffffdfff
or ecx, 0x1000
push 0
mov dword [eax + 0x14], ecx
lea eax, [ebp - 0x64]
push 9
push eax
call fcn.00535643
add esp, 0xc
mov ecx, eax
call fcn.004102d2
fld dword [edi + 0x48]
push ecx
mov esi, eax
fstp dword [esp]
push esi
call fcn.0041aa1a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.CustomFps
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x21
call fcn.00493d47
push 1
xor edi, edi
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x4c]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.CaptureStart
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x23
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x24
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x25
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x50]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.CaptureStop
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x26
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x27
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x28
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x54]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.WaterMarkState
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x29
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x2a
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x2b
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x58]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.WaterMarkDisplayPosition
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x2c
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x2d
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x2e
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x5c]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.WaterMarkType
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x2f
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x30
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x31
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x60]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
mov byte [ebp - 4], 0x32
push str.uiWaterMarkWidth
lea esi, [ebp - 0x30]
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x33
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x34
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x64]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiWaterMarkHeight
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x35
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x36
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x37
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x68]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiPortal
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x38
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x39
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x3a
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x6c]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiIsFullScreenMode
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x3b
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x3c
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x3d
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x70]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiIsCameraOn
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x3e
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x3f
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x40
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x74]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiIsMicrophoneOn
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x41
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x42
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x43
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x78]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiScreenshotWidth
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x44
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x45
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x46
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x7c]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiScreenshotHeight
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x47
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x48
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x49
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x80]
push esi
call fcn.0041058a
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiBroadcastViewerCount
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x4a
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x4b
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x4c
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x84]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
mov byte [ebp - 4], 0x4d
push str.TwitchIngestServer
lea esi, [ebp - 0x30]
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x4e
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x4f
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x88]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.uiBroadcastWithCustomOverlay
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x50
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x51
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
lea eax, [ebp - 0x164]
push eax
call fcn.00403689
mov esi, eax
mov byte [ebp - 4], 0x52
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax + 0x8c]
push esi
call fcn.00404b9e
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.004036f3
push str.RecCaptureState
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x53
call fcn.00403350
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x54
call fcn.00493d47
push 1
call fcn.0040412d
push 1
lea esi, [ebp - 0x4c]
call fcn.0040412d
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.0040262a
push dword [ebp - 0xa8]
mov edi, dword [ebp - 0xb4]
call fcn.00493df7
mov byte [ebp - 4], 0
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov ecx, 0x90
cdq
idiv ecx
inc dword [ebp - 0xb8]
add dword [ebp - 0xac], ecx
xor esi, esi
cmp dword [ebp - 0xb8], eax
jb 0x4708e3
xor eax, eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], esi
mov word [ebp - 0xa4], ax
mov ebx, dword [ebp - 0xb4]
push esi
lea eax, [ebp - 0xa4]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x55
call fcn.00493eb2
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0048f42c
pop ecx
pop ecx
push dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x56
call fcn.0049547c
push 0xa
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x57
call fcn.00495520
test al, al
jne 0x471669
push str.Cannot_open_ShadowPlayStatistics_file_for_writing.
lea esi, [ebp - 0x30]
call fcn.00403350
mov byte [ebp - 4], 0x58
push 0x13c
mov ecx, 0x59cf70
lea eax, [ebp - 0x30]
call fcn.004025bc
lea eax, [ebp - 0xad]
push eax
mov eax, dword [ebp - 0xc4]
push esi
push 0x27
push str.__xml_version1.0_encodingUTF_8___n
lea ecx, [ebp - 0xc4]
mov byte [ebp - 0xad], 0
call dword [eax + 0x24]
cmp byte [ebp - 0xad], 0
je 0x4716af
push str.Cannot_write_header_in_the_ShadowPlayStatistics_file
lea esi, [ebp - 0x30]
call fcn.00403350
mov byte [ebp - 4], 0x59
push 0x144
jmp 0x47165c
cmp dword [ebp - 0x74], 0x10
mov eax, dword [ebp - 0x88]
jae 0x4716c1
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0xad]
push ecx
push esi
push dword [ebp - 0x78]
lea ecx, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xc4]
call dword [eax + 0x24]
cmp byte [ebp - 0xad], 0
je 0x471700
push str.Cannot_write_data_in_the_ShadowPlayStatistics_file
lea esi, [ebp - 0x30]
call fcn.00403350
mov byte [ebp - 4], 0x5a
push 0x14a
jmp 0x47165c
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x56
call fcn.004954d3
push esi
push 1
lea ecx, [ebp - 0x88]
call fcn.00403fde
push 1
xor edi, edi
lea esi, [ebp - 0xa4]
call fcn.0040412d
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x47173c
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
call fcn.00523a81
ret