Function at 0x454260
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4badb1
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x4e7d04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x454298
xor eax, eax
jmp 0x4544f0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4542a9
xor eax, eax
jmp 0x4544f0
cmp dword [ebp + 0xc], 0
jne 0x4542b6
xor eax, eax
jmp 0x4544f0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x4542c7
xor eax, eax
jmp 0x4544f0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00482238
add esp, 4
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x480], 0x104
jl 0x4542ec
xor eax, eax
jmp 0x4544f0
push 0x410
push 0
lea edx, [ebp - 0x894]
push edx
call fcn.00482260
add esp, 0xc
push 0x4c5824
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x894]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x47c]
call fcn.0040ab80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x894]
push edx
lea ecx, [ebp - 0x47c]
call fcn.0040aa00
mov dword [ebp - 0x898], eax
cmp dword [ebp - 0x898], 0
je 0x4544c3
lea ecx, [ebp - 0x47c]
call fcn.0040a970
test eax, eax
je 0x454371
lea ecx, [ebp - 0x47c]
call fcn.0040a900
mov dword [ebp - 0x898], eax
jmp 0x454342
lea eax, [ebp - 0x89c]
push eax
lea ecx, [ebp - 0x47c]
call fcn.00454c70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.0040a950
test eax, eax
je 0x4543b3
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x89c]
call fcn.00402e20
push eax
call fcn.00454260
add esp, 8
jmp 0x45449e
lea ecx, [ebp - 0x89c]
call fcn.00402e20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x8a0], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x8a0]
push eax
call fcn.00488d8f
add esp, 8
test eax, eax
jne 0x45449e
lea ecx, [ebp - 0x89c]
call fcn.00402e20
push eax
call fcn.00454510
add esp, 4
test eax, eax
jne 0x45449e
lea ecx, [ebp - 0x8a4]
call fcn.00404750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8a4]
push ecx
lea edx, [ebp - 0x89c]
push edx
call fcn.00454860
add esp, 8
test eax, eax
je 0x45445e
push 4
push 0
lea ecx, [ebp - 0x8a4]
call fcn.00402e20
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x8a4]
push eax
mov ecx, dword [ebp - 0x89c]
push ecx
push 0x4c582c
call fcn.00449630
add esp, 0xc
jmp 0x45448f
push 4
push 0
lea ecx, [ebp - 0x89c]
call fcn.00402e20
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x89c]
push edx
mov eax, dword [ebp - 0x89c]
push eax
push str.delete_file:_s_by_pending:_s
call fcn.00449630
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a4]
call fcn.00404680
lea ecx, [ebp - 0x47c]
call fcn.0040a900
mov dword [ebp - 0x898], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x89c]
call fcn.00404680
jmp 0x454342
lea ecx, [ebp - 0x47c]
call fcn.0040ab20
mov dword [ebp - 0x8a8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.0040ab50
mov eax, dword [ebp - 0x8a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004820d9
mov esp, ebp
pop ebp
ret