Function at 0x10078560
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159a86
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x101ac034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x8e], 0
push 0x10178278
lea ecx, [ebp - 0x2c]
call fcn.10003d50
mov byte [ebp - 4], 1
sub esp, 0x18
mov eax, esp
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 0x24]
mov dword [eax + 0x14], edx
push str.data_s
lea eax, [ebp - 0x5c]
push eax
call fcn.1007cf90
add esp, 0x20
mov byte [ebp - 4], 2
push 0x1017828c
lea ecx, [ebp - 0x44]
call fcn.10003d50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp + 0x28]
push eax
call fcn.100754f0
add esp, 0xc
mov byte [ebp - 0x8d], al
movzx ecx, byte [ebp - 0x8d]
test ecx, ecx
jne 0x10078666
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CScreenRecord_GetMediaName_Error___d
push 3
push 0xf1
push 0x101782b8
push 0x101782ec
call fcn.10145f00
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10003e00
jmp 0x10078a05
push 0x10178308
mov edx, dword [ebp + 0x28]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10003480
lea ecx, [ebp - 0xe8]
call fcn.10003e00
push 0x10178310
mov edx, dword [ebp + 0x28]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.1000bcd0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.10003480
lea ecx, [ebp - 0x100]
call fcn.10003e00
mov edx, dword [ebp + 0x2c]
push edx
call fcn.100757c0
add esp, 4
mov byte [ebp - 0x8d], al
movzx eax, byte [ebp - 0x8d]
test eax, eax
jne 0x10078735
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetUsesTime_Error___d
push 3
push 0xf9
push 0x10178330
push 0x10178364
call fcn.10145f00
add esp, 0x18
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10003e00
jmp 0x10078a05
lea ecx, [ebp - 0x11]
call fcn.100026d0
mov byte [ebp - 4], 4
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.10004030
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0x11]
call fcn.100791f0
mov byte [ebp - 0x90], al
mov al, byte [ebp - 0x90]
mov byte [ebp - 0x8d], al
movzx ecx, byte [ebp - 0x8d]
test ecx, ecx
jne 0x100787d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CScreenRecord_Sreen_Save_Error___d
push 3
push 0x100
push 0x101783a4
push 0x101783d8
call fcn.10145f00
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.10021d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10003e00
jmp 0x10078a05
movzx edx, byte [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.10078270
mov byte [ebp - 0x8d], al
movzx edx, byte [ebp - 0x8d]
test edx, edx
jne 0x10078847
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CScreenRecord_Record_Save_Error___d
push 3
push 0x108
push 0x1017841c
push 0x10178450
call fcn.10145f00
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.10021d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10003e00
jmp 0x10078a05
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
mov eax, dword [ebp + 0x28]
push eax
call fcn.10004030
mov dword [ebp - 0xb8], eax
call fcn.100779d0
add esp, 0x18
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [ebp - 0x94]
cmp eax, dword [edx]
jge 0x100788cf
push str.nTmpDuration___nDuration
push 3
push 0x111
push 0x10178488
push 0x101784bc
call fcn.10145f00
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.10021d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10003e00
jmp 0x10078a05
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp - 0x94]
mov dword [ecx], edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.10075690
add esp, 8
mov byte [ebp - 4], 5
lea edx, [ebp - 0x118]
push edx
call fcn.100fd8b0
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.10002bf0
push eax
lea ecx, [ebp + 0x10]
call fcn.10002bf0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.10002bf0
push eax
push 0x101784d8
lea ecx, [ebp - 0x74]
push ecx
call fcn.1007cf90
add esp, 0x14
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x118]
call fcn.10003e00
push 0
push 0
push 0
push 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xbc], esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp + 0x10]
push edx
call fcn.10004030
mov dword [ebp - 0xd0], eax
mov ecx, esi
call fcn.1007d260
add esp, 0x18
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp + 0x2c]
push ecx
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x98]
call fcn.100776f0
mov byte [ebp - 0x8e], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.10003e00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.10003e00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11]
call fcn.10021d10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.10003e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.10003e00
xor ecx, ecx
jne 0x100785b1
movzx edx, byte [ebp - 0x8e]
test edx, edx
jne 0x10078a6a
lea ecx, [ebp - 0x2c]
call fcn.10001f20
movzx eax, al
test eax, eax
jne 0x10078a2e
lea ecx, [ebp - 0x2c]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x28]
call fcn.10001f20
movzx ecx, al
test ecx, ecx
jne 0x10078a4c
mov ecx, dword [ebp + 0x28]
call fcn.10002bf0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x101784ec
push 3
push 0x127
push 0x1017850c
push str.CScreenRecord::StartRecord
call fcn.10145f00
add esp, 0x14
mov dl, byte [ebp - 0x8e]
mov byte [ebp - 0x8f], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10003e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.10003e00
mov al, byte [ebp - 0x8f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101506bb
mov esp, ebp
pop ebp
ret 0x2c