Function at 0x461af0
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x522f2f
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18c]
mov edi, dword [esp + 0x190]
mov ebp, dword [esp + 0x194]
call fcn.004b9ccd
mov ecx, dword [eax + 4]
call fcn.004b1dff
xor ebx, ebx
mov dword [esp + 0x184], ebx
call fcn.004b9ccd
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401534
mov eax, dword [esp + 0x18]
push 0x2e
push eax
mov byte [esp + 0x18c], 1
call fcn.004e4ea8
add esp, 8
cmp eax, ebx
jne 0x461bab
or eax, 0xffffffff
jmp 0x461baf
sub eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402bb5
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x188], 2
call fcn.00402e5a
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x184], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461bf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004b4151
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x461c12
push 0x80004005
call fcn.004010bd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x28]
push str._sVideo_s.xml
push eax
mov byte [esp + 0x194], 3
call fcn.00402fab
mov ecx, dword [esp + 0x30]
push ebx
push ecx
call fcn.004e434a
add esp, 0x18
test eax, eax
jne 0x461c90
push ebx
push esi
mov esi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x461c73
push ebx
push 0x40
push str.An_error_occurred_while_saving_the_XML_file.
call fcn.004c26b2
lea eax, [esi - 0x10]
mov byte [esp + 0x184], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x462012
call fcn.004092c1
mov edx, dword [eax]
push ebp
mov ecx, eax
mov eax, dword [edx + 4]
push edi
call eax
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x461ff6
lea ecx, [esp + 0x60]
call fcn.004ce437
push ebx
push 0x1001
push esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x190], 4
call fcn.004ce88d
test eax, eax
je 0x461d50
mov ebp, vtable.CBinData.0
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], 0x4000
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edi, vtable.CTXToXML.0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x3c]
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x190], 6
call fcn.00517020
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.004ce185
lea ecx, [esp + 0x60]
call fcn.004ce3d5
mov edx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x44], edi
mov byte [esp + 0x188], 4
mov dword [esp + 0x2c], ebp
call fcn.004b1a59
add esp, 4
call fcn.004092c1
mov edx, dword [eax]
mov edx, dword [edx + 8]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call edx
push esi
lea ecx, [esp + 0x28]
call fcn.00401534
push 0x534d84
push 0x52ea24
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c], 7
call fcn.00415520
mov eax, dword [esp + 0x24]
push eax
push esi
call fcn.004e8b12
add esp, 8
lea ecx, [esp + 0x4c]
call fcn.004c9019
mov ecx, dword [esp + 0x24]
push ebx
push ebx
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x190], 8
call fcn.004c902f
test eax, eax
je 0x461fa1
lea ecx, [esp + 0x28]
call fcn.004c9019
push ebx
push 0x1001
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x190], 9
call fcn.004c902f
test eax, eax
je 0x461f87
lea ecx, [esp + 0x1c]
call fcn.004023e9
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x188], 0xa
call fcn.004c9581
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x50]
call fcn.004c9581
push str.__xml_version_1.0__standalone_no_____n__DOCTYPE_BinderTranscriptInfo_SYSTEM__bndr2001_02_12.dtd____n_BinderTranscriptInfo__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.___StructureEntries__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.____StructureEntries__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.___Issues__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.____Issues__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.___Annotations__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.____Annotations__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
call fcn.004c9581
test eax, eax
je 0x461f43
mov bl, 0xb
nop
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push 0x534c8c
push eax
call fcn.00412826
push 0x531040
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x19c], bl
call fcn.0040ad38
add esp, 0x18
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x188], 0xc
call fcn.00402e5a
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x184], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461ef7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x184], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461f1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004c9203
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
call fcn.004c9581
test eax, eax
jne 0x461e90
push str.___VideoEx__n_____VideoSources__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.______VideoSources__n____VideoEx__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
push str.__BinderTranscriptInfo__n
lea ecx, [esp + 0x2c]
call fcn.004c9203
lea ecx, [esp + 0x28]
call fcn.004c93d9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 9
call fcn.0040a724
lea ecx, [esp + 0x4c]
call fcn.004c93d9
lea ecx, [esp + 0x28]
mov byte [esp + 0x184], 8
call fcn.004c944e
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x184], 7
call fcn.004c944e
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x184], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461fe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x184], 3
call fcn.004ce50b
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x184], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46201e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x184], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462046
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x17]
mov dword [esp + 0x184], 0xffffffff
call fcn.0040c625
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.004e2867
add esp, 0x174
ret