Function at 0x45cc10
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f046a
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5441b4]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x5441b4]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.0045c600
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edi
mov word [esp + 0x68], cx
mov dword [esp + 0xe8], edi
xor edx, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], dx
and dword [esp + 0x24], 0xfffffe00
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], edi
cmp dword [ebx + 0xe8], edi
mov ecx, dword [esp + 0x34]
setne al
and ecx, 0xffffff05
or ecx, 5
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edi
mov byte [esp + 0x2c], al
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, str.quiet
mov byte [esp + 0xf0], 4
call fcn.00419800
mov esi, eax
lea eax, [esp + 0x2c]
call fcn.00418510
lea eax, [esp + 0x2c]
mov byte [esp + 0xe8], 3
call fcn.00418470
lea ecx, [esp + 0x1c]
call fcn.004114a0
mov eax, dword [esp + 0x34]
and eax, 0xffffff05
or eax, 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov byte [esp + 0x2c], 1
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.userquit
mov byte [esp + 0xf0], 5
call fcn.00419800
mov esi, eax
lea eax, [esp + 0x2c]
call fcn.00418510
lea eax, [esp + 0x2c]
mov byte [esp + 0xe8], 3
call fcn.00418470
test byte [0x548034], 1
jne 0x45cd7d
or dword [0x548034], 1
mov byte [esp + 0xe8], 6
call fcn.0043ec60
push 0x4f10a0
call fcn.004b809e
add esp, 4
mov byte [esp + 0xe8], 3
push 0x548038
call fcn.0043fcf0
test al, al
jne 0x45ce5d
cmp dword [0x547e34], edi
je 0x45ce0f
lea ecx, [esp + 0x1c]
call fcn.00411620
mov eax, dword [0x547e58]
cmp eax, edi
je 0x45cdd7
cmp dword [eax + 8], 4
mov ebx, eax
jl 0x45cdd7
push 0x515234
push 4
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, str._u7b_N
mov esi, 0x16d
call fcn.0042d450
push ebx
mov ecx, esi
call fcn.0042b0b0
lea eax, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.00418470
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x45ce00
mov eax, dword [esp + 0x4c]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x5c], edi
jmp 0x45d76c
mov eax, dword [0x547e58]
cmp eax, edi
je 0x45ce46
cmp dword [eax + 8], 2
mov edi, eax
jl 0x45ce46
push 0x515234
push 2
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, 0x51545c
mov esi, 0x170
call fcn.0042d450
push edi
mov ecx, esi
call fcn.0042b0b0
push 0xa
push 0x51545c
lea ecx, [esp + 0x70]
call fcn.004073c0
xor edi, edi
jmp 0x45d4b1
lea edi, [esp + 0x2c]
call fcn.0040db50
lea esi, [ebx + 0xa4]
mov edi, eax
mov byte [esp + 0xe8], 7
call fcn.00406400
mov byte [esp + 0xe8], 3
cmp dword [esp + 0x40], 8
jb 0x45ce97
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004b6106
add esp, 4
lea eax, [ebx + 0xa4]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x45cea9
mov eax, dword [eax]
push eax
xor esi, esi
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x6c]
push eax
push ebx
call fcn.0045d7b0
cmp dword [0x547e34], esi
je 0x45cf5d
lea ecx, [esp + 0x1c]
call fcn.00411620
mov eax, dword [0x547e58]
cmp eax, esi
je 0x45cf12
cmp dword [eax + 8], 4
mov ebx, eax
jl 0x45cf12
push 0x515234
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, str._u7b_N
mov edi, 0x17e
call fcn.0042d450
push ebx
mov ecx, edi
call fcn.0042b0b0
lea edi, [esi + 8]
lea eax, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.00418470
cmp dword [esp + 0x60], edi
jb 0x45cf36
mov edx, dword [esp + 0x4c]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], esi
mov word [esp + 0x4c], ax
cmp dword [esp + 0x7c], edi
jb 0x45d788
mov ecx, dword [esp + 0x68]
push ecx
jmp 0x45d780
test al, al
jne 0x45cf9e
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], edi
jae 0x45cf6f
lea eax, [esp + 0x68]
push eax
push 0x515474
push 0x515234
mov edx, 0x183
mov esi, 2
mov eax, 0x547e58
call fcn.0042a050
add esp, 0xc
mov dword [esp + 0x14], 0
jmp 0x45d493
mov eax, dword [ebx + 0x78]
cmp eax, esi
je 0x45cfae
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebx + 0x70], 8
lea edi, [ebx + 0x5c]
jb 0x45cfbb
mov eax, dword [edi]
jmp 0x45cfbd
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45d039
push 3
push 0x5121c8
lea ecx, [esp + 0x54]
call fcn.004073c0
push 7
push 0x5121d0
lea ecx, [esp + 0x70]
call fcn.004073c0
mov ecx, dword [esp + 0x4c]
mov eax, 8
cmp dword [esp + 0x60], eax
jae 0x45cffb
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x7c], eax
mov eax, dword [esp + 0x68]
jae 0x45d009
lea eax, [esp + 0x68]
push ecx
push eax
push 0x5121e0
mov edx, 0x193
push 0x515234
mov esi, 2
mov eax, 0x547e58
call fcn.0042a050
add esp, 0x10
mov dword [esp + 0x14], 0
jmp 0x45d493
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
lea esi, [esp + 0x84]
mov edx, ebx
mov dword [esp + 0x30], ebx
call fcn.0045ad20
push 0x547e34
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
mov byte [esp + 0xf4], 8
call fcn.00402910
add esp, 0xc
test al, al
mov ecx, esi
sete byte [esp + 0x1b]
mov byte [esp + 0xe8], 3
call fcn.00406760
cmp byte [esp + 0x1b], 0
je 0x45d0e0
mov esi, 8
cmp dword [edi + 0x14], esi
jb 0x45d09d
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x4c]
push edx
mov edx, 0x51221c
call fcn.00407510
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x60], esi
jae 0x45d0c1
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x45d0cf
lea eax, [esp + 0x68]
push ecx
push eax
push 0x512224
mov edx, 0x1a0
jmp 0x45d015
lea esi, [esp + 0xa0]
mov edx, ebx
call fcn.0045ad20
push eax
mov eax, str.dataconfig.ini
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], 9
call fcn.004044b0
add esp, 4
mov esi, eax
lea eax, [esp + 0x84]
push eax
mov ecx, 0x545640
mov byte [esp + 0xec], 0xa
call fcn.004630d0
mov ecx, 8
add esp, 4
cmp dword [esi + 0x14], ecx
jb 0x45d133
mov esi, dword [esi]
cmp dword [eax + 0x14], ecx
jb 0x45d13a
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
push eax
push str.channel
push 0x50b64c
call edi
lea ecx, [esp + 0x84]
call fcn.00406760
lea ecx, [esp + 0x2c]
call fcn.00406760
lea ecx, [esp + 0xa0]
mov byte [esp + 0xe8], 3
call fcn.00406760
lea esi, [esp + 0x84]
mov edx, ebx
call fcn.0045ad20
push eax
mov eax, str.dataconfig.ini
lea ecx, [esp + 0xa4]
mov byte [esp + 0xec], 0xb
call fcn.004044b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x45d1aa
mov eax, dword [eax]
push eax
push str.MediaTaskMgr.dll
push str.MediaTaskMgrModule
push 0x50b64c
call edi
lea ecx, [esp + 0xa0]
call fcn.00406760
lea ecx, [esp + 0x84]
mov byte [esp + 0xe8], 3
call fcn.00406760
call fcn.0040e610
lea esi, [esp + 0x84]
mov edx, ebx
test al, al
je 0x45d293
call fcn.0045ad20
push eax
mov eax, str.WEMedia_xp.exe
lea ecx, [esp + 0xa4]
mov byte [esp + 0xec], 0xc
call fcn.004044b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x45d21c
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
lea ecx, [esp + 0xa0]
call fcn.00406760
lea ecx, [esp + 0x84]
mov byte [esp + 0xe8], 3
call fcn.00406760
lea esi, [esp + 0x84]
mov edx, ebx
call fcn.0045ad20
push eax
mov eax, str.WEMediaPlatform_xp.exe
lea ecx, [esp + 0xa4]
mov byte [esp + 0xec], 0xd
call fcn.004044b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x45d278
mov eax, dword [eax]
push eax
call edi
lea ecx, [esp + 0xa0]
call fcn.00406760
lea ecx, [esp + 0x84]
jmp 0x45d486
call fcn.0045ad20
push eax
mov eax, str.WEMedia.exe
lea ecx, [esp + 0xa4]
mov byte [esp + 0xec], 0xe
call fcn.004044b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x45d2bd
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
lea ecx, [esp + 0xa0]
call fcn.00406760
lea ecx, [esp + 0x84]
mov byte [esp + 0xe8], 3
call fcn.00406760
lea esi, [esp + 0x84]
mov edx, ebx
call fcn.0045ad20
push eax
mov eax, str.WEMediaPlatform.exe
lea ecx, [esp + 0xa4]
mov byte [esp + 0xec], 0xf
call fcn.004044b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x45d319
mov eax, dword [eax]
push eax
call edi
lea ecx, [esp + 0xa0]
call fcn.00406760
lea ecx, [esp + 0x84]
mov byte [esp + 0xe8], 3
call fcn.00406760
lea esi, [esp + 0xbc]
mov edx, ebx
call fcn.0045ad20
push eax
mov eax, str.WEMedia.exe
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], 0x10
call fcn.004044b0
add esp, 4
mov edi, eax
lea esi, [esp + 0x84]
mov edx, ebx
mov byte [esp + 0xe8], 0x11
call fcn.0045ad20
push eax
mov eax, str.WEMedia_xp.exe
lea ecx, [esp + 0xa4]
mov byte [esp + 0xec], 0x12
call fcn.004044b0
mov ecx, 8
add esp, 4
cmp dword [edi + 0x14], ecx
jb 0x45d3a5
mov edi, dword [edi]
cmp dword [eax + 0x14], ecx
jb 0x45d3ac
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0xa0]
call fcn.00406760
lea ecx, [esp + 0x84]
call fcn.00406760
lea ecx, [esp + 0x2c]
call fcn.00406760
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe8], 3
call fcn.00406760
lea esi, [esp + 0x2c]
mov edx, ebx
call fcn.0045ad20
push eax
mov eax, str.WEMediaPlatform.exe
lea ecx, [esp + 0x88]
mov byte [esp + 0xec], 0x13
call fcn.004044b0
add esp, 4
mov edi, eax
lea esi, [esp + 0xa0]
mov edx, ebx
mov byte [esp + 0xe8], 0x14
call fcn.0045ad20
push eax
mov eax, str.WEMediaPlatform_xp.exe
lea ecx, [esp + 0xc0]
mov byte [esp + 0xec], 0x15
call fcn.004044b0
add esp, 4
cmp dword [edi + 0x14], 8
jb 0x45d44e
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x45d456
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0xbc]
call fcn.00406760
lea ecx, [esp + 0xa0]
call fcn.00406760
lea ecx, [esp + 0x84]
call fcn.00406760
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe8], 3
call fcn.00406760
cmp dword [ebx + 0xb8], 8
lea eax, [ebx + 0xa4]
jb 0x45d4a4
mov eax, dword [eax]
push eax
call fcn.00402580
mov edi, dword [esp + 0x18]
add esp, 4
test byte [0x548034], 1
jne 0x45d4e3
or dword [0x548034], 1
mov byte [esp + 0xe8], 0x16
call fcn.0043ec60
push 0x4f10a0
call fcn.004b809e
add esp, 4
mov byte [esp + 0xe8], 3
cmp dword [0x547e34], 0
mov byte [0x54821c], 1
je 0x45d559
lea ecx, [esp + 0x1c]
call fcn.00411620
lea eax, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.00418470
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x45d525
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], dx
cmp dword [esp + 0x7c], esi
jb 0x45d54f
mov eax, dword [esp + 0x68]
push eax
call fcn.004b6106
add esp, 4
mov eax, 1
jmp 0x45d78a
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x34]
and ecx, 0xffffff05
or ecx, 5
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov byte [esp + 0x2c], 0
push 0
lea edx, [esp + 0x20]
push edx
mov ecx, str.userquit
mov byte [esp + 0xf0], 0x17
call fcn.00419800
mov esi, eax
lea eax, [esp + 0x2c]
call fcn.00418510
lea eax, [esp + 0x2c]
mov byte [esp + 0xe8], 3
call fcn.00418470
lea ecx, [esp + 0x1c]
cmp edi, 1
jne 0x45d5cd
call fcn.00411560
jmp 0x45d5d2
call fcn.00411620
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x45d5e8
push edi
push 0
push 0x4ce
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebx + 0xe8], 0
je 0x45d735
call fcn.004453a0
lea esi, [esp + 0x84]
mov edi, eax
call fcn.0040d940
push eax
mov eax, str.update.ini
lea ecx, [esp + 0x30]
mov byte [esp + 0xec], 0x18
call fcn.004044b0
mov esi, 8
add esp, 4
cmp dword [esp + 0x98], esi
jb 0x45d646
mov eax, dword [esp + 0x84]
push eax
call fcn.004b6106
add esp, 4
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x45d654
lea eax, [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push str.HasQuietUpdate
push str.UpdateStep
push str.QuietUpdate
call esi
cmp byte [edi + 0x78], 0
mov ecx, str.true
jne 0x45d67c
mov ecx, 0x515308
mov eax, dword [esp + 0x2c]
mov edi, 8
cmp dword [esp + 0x40], edi
jae 0x45d68f
lea eax, [esp + 0x2c]
push eax
push ecx
push str.Force
push str.QuietUpdate
call esi
cmp dword [esp + 0x40], edi
jb 0x45d6ad
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
jmp 0x45d6b5
lea edx, [esp + 0x2c]
mov dword [esp + 0x14], edx
test byte [0x547f74], 1
jne 0x45d6d7
or dword [0x547f74], 1
call fcn.00441d90
push 0x4f1080
call fcn.004b809e
add esp, 4
mov eax, dword [0x547ee0]
cmp dword [0x547ef4], edi
jae 0x45d6e9
mov eax, 0x547ee0
mov ecx, dword [esp + 0x14]
push ecx
push eax
push str.OldVersion
push str.QuietUpdate
call esi
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], edi
jae 0x45d709
lea eax, [esp + 0x2c]
add ebx, edi
cmp dword [ebx + 0x14], edi
jb 0x45d712
mov ebx, dword [ebx]
push eax
push ebx
push str.CurVersion
push str.QuietUpdate
call esi
cmp dword [esp + 0x40], edi
jb 0x45d73a
mov edx, dword [esp + 0x2c]
push edx
call fcn.004b6106
add esp, 4
jmp 0x45d73a
mov edi, 8
lea eax, [esp + 0x1c]
mov byte [esp + 0xe8], 1
call fcn.00418470
cmp dword [esp + 0x60], edi
jb 0x45d75e
mov eax, dword [esp + 0x4c]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], cx
mov dword [esp + 0x60], 7
jb 0x45d788
mov edx, dword [esp + 0x68]
push edx
call fcn.004b6106
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004b6111
mov esp, ebp
pop ebp
ret 4