Function at 0x470683
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push 0x160
mov eax, 0x566e6a
call fcn.00523c97
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, 0x59cf68
mov ebx, ecx
call int.004922e6
push 0x60
call fcn.00515ac7
add esp, 0xc
cmp eax, esi
je 0x4706d5
call fcn.0049379c
mov edi, eax
mov dword [ebp - 0xb4], edi
jmp 0x4706dd
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.0040338f
push 0xffffffffffffffff
push 0
lea ecx, [edi + 8]
mov eax, esi
mov byte [ebp - 4], 1
call fcn.00404082
push 1
xor edi, edi
mov byte [ebp - 4], 0
call fcn.00404145
push 0x5891b0
lea esi, [ebp - 0x4c]
call fcn.0040338f
push 0x588030
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00404145
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 0x47146f
mov dword [ebp - 0xac], esi
push 0x60
call fcn.00515ac7
pop ecx
cmp eax, esi
je 0x470799
call fcn.0049379c
mov edi, eax
mov dword [ebp - 0xa8], edi
jmp 0x4707a1
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.0040338f
push 0xffffffffffffffff
push 0
lea ecx, [edi + 8]
mov eax, esi
mov byte [ebp - 4], 5
call fcn.00404082
push 1
xor edi, edi
mov byte [ebp - 4], 4
call fcn.00404145
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
mov esi, eax
mov byte [ebp - 4], 6
mov eax, dword [ebx]
add eax, dword [ebp - 0xac]
push dword [eax]
push esi
call fcn.00404bb6
lea eax, [ebp - 0x30]
push eax
mov eax, esi
call fcn.00403732
push str.CaptureMode
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.0040338f
lea eax, [ebp - 0x30]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x30]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041a85a
call fcn.00403732
push str.Start
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041a85a
call fcn.00403732
push str.Stop
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0xe
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.Stereo
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x11
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.CodecType
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x14
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
push str.Path
lea esi, [ebp - 0x30]
call fcn.0040338f
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.00493be6
push 1
mov byte [ebp - 4], 4
call fcn.00404145
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.VideoQuality
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x17
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x18
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.CustomResolution
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x1a
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x1b
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.CustomBitrate
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x1d
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x1e
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
mov esi, eax
mov byte [ebp - 4], 0x1f
mov edi, dword [ebx]
add edi, dword [ebp - 0xac]
test esi, esi
je 0x470bd6
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.005358c2
add esp, 0xc
mov ecx, eax
call fcn.004102b4
fld dword [edi + 0x48]
push ecx
mov esi, eax
fstp dword [esp]
push esi
call fcn.0041a9c2
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.CustomFps
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x21
call fcn.00493be6
push 1
xor edi, edi
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.CaptureStart
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x23
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x24
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.CaptureStop
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x26
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x27
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.WaterMarkState
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x29
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x2a
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.WaterMarkDisplayPosition
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x2c
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x2d
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.WaterMarkType
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x2f
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x30
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 0x32
push str.uiWaterMarkWidth
lea esi, [ebp - 0x30]
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x33
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiWaterMarkHeight
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x35
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x36
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiPortal
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x38
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x39
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiIsFullScreenMode
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x3b
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x3c
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiIsCameraOn
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x3e
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x3f
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiIsMicrophoneOn
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x41
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x42
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiScreenshotWidth
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x44
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x45
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiScreenshotHeight
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x47
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x48
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.0041056c
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiBroadcastViewerCount
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x4a
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x4b
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
mov byte [ebp - 4], 0x4d
push str.TwitchIngestServer
lea esi, [ebp - 0x30]
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x4e
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.uiBroadcastWithCustomOverlay
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x50
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x51
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
lea eax, [ebp - 0x164]
push eax
call fcn.004036c8
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.00404bb6
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
call fcn.00403732
push str.RecCaptureState
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 0x53
call fcn.0040338f
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
push eax
push dword [ebp - 0xa8]
mov byte [ebp - 4], 0x54
call fcn.00493be6
push 1
call fcn.00404145
push 1
lea esi, [ebp - 0x4c]
call fcn.00404145
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 4
call fcn.00402669
push dword [ebp - 0xa8]
mov edi, dword [ebp - 0xb4]
call fcn.00493c96
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 0x47077e
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.00493d51
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0048f293
pop ecx
pop ecx
push dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 0x56
call fcn.0049515b
push 0xa
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x57
call fcn.004951ff
test al, al
jne 0x471504
push str.Cannot_open_ShadowPlayStatistics_file_for_writing.
lea esi, [ebp - 0x30]
call fcn.0040338f
mov byte [ebp - 4], 0x58
push 0x13c
mov ecx, 0x59cf68
lea eax, [ebp - 0x30]
call fcn.004025fb
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 0x47154a
push str.Cannot_write_header_in_the_ShadowPlayStatistics_file
lea esi, [ebp - 0x30]
call fcn.0040338f
mov byte [ebp - 4], 0x59
push 0x144
jmp 0x4714f7
cmp dword [ebp - 0x74], 0x10
mov eax, dword [ebp - 0x88]
jae 0x47155c
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 0x47159b
push str.Cannot_write_data_in_the_ShadowPlayStatistics_file
lea esi, [ebp - 0x30]
call fcn.0040338f
mov byte [ebp - 4], 0x5a
push 0x14a
jmp 0x4714f7
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x56
call fcn.004951b2
push esi
push 1
lea ecx, [ebp - 0x88]
call fcn.00403ff6
push 1
xor edi, edi
lea esi, [ebp - 0xa4]
call fcn.00404145
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4715d7
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
call fcn.00523d1a
ret