Function at 0x442f0f
Capabilities:
Delete file
Get common file path
Get file version info
Move file
Set file attributes

Disassembly:
mov eax, 0x481120
call fcn.0045c348
sub esp, 0x3a0
mov eax, dword [0x4a84c4]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], edi
xor ebx, ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
call fcn.0046a8f4
mov eax, dword [0x4a84c4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], ebx
cmp byte [esi + 4], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], ebx
je 0x4437e7
mov dword [edi + 0xec], ebx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2ac]
mov eax, dword [ebx]
push ecx
push eax
call fcn.0046bae5
test eax, eax
jne 0x442f93
push 1
pop ebx
jmp 0x4437e7
push ecx
lea eax, [esi + 0x4c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov dword [edi + 0xec], 1
call fcn.0046afbe
lea eax, [ebp + 8]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0046b249
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax - 8]
mov cl, byte [ecx + eax - 1]
cmp cl, 0x5c
jne 0x443009
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x28]
dec eax
push eax
lea eax, [ebp + 8]
push eax
call fcn.004688b1
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0046b249
cmp byte [esi + 0x30], 0
je 0x4432ea
push dword [ebx]
lea eax, [ebp - 0x3ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3ac]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0x18], eax
jbe 0x4432ea
push eax
call fcn.0045c500
test eax, eax
pop ecx
mov dword [ebp + 8], eax
je 0x4432ea
push eax
lea eax, [ebp - 0x3ac]
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x49e93c
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4430b4
push 0x34
lea eax, [ebp - 0x90]
push dword [ebp - 0x20]
push eax
call fcn.0045c650
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 1
push dword [ebp + 8]
call fcn.0045c4b8
cmp dword [ebp - 0x1c], 0
pop ecx
je 0x4432ea
mov edi, dword [ebp - 0x38]
mov ebx, dword [esi + 0x34]
shr edi, 0x10
mov dword [ebp + 8], edi
mov edi, dword [esi + 0x3c]
shr edi, 0x10
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [esi + 0x38]
shr edi, 0x10
mov dword [ebp - 0x1c], edi
mov edi, dword [esi + 0x40]
shr edi, 0x10
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x40]
mov eax, ebx
shr eax, 0x10
shr ecx, 0x10
shr edx, 0x10
shr edi, 0x10
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], edi
jne 0x443136
mov edi, dword [esi + 0x38]
cmp dword [ebp - 0x38], edi
jne 0x443136
mov edi, dword [esi + 0x3c]
cmp dword [ebp - 0x34], edi
jne 0x443136
mov edi, dword [esi + 0x40]
cmp dword [ebp - 0x40], edi
jne 0x443136
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp + 0xc]
push 1
pop edx
mov dword [ebp - 0x3c], edx
jmp 0x4431d7
push 1
cmp ax, cx
pop edi
jbe 0x443141
mov dword [ebp - 0x14], edi
cmp ax, cx
jne 0x443177
mov ax, word [esi + 0x34]
cmp ax, word [ebp - 0x2c]
jbe 0x443153
mov dword [ebp - 0x14], edi
jne 0x44315e
cmp dx, word [ebp + 8]
jbe 0x44315e
mov dword [ebp - 0x14], edi
cmp ax, word [ebp - 0x2c]
jne 0x443177
cmp dx, word [ebp + 8]
jne 0x443177
mov ax, word [esi + 0x38]
cmp ax, word [ebp - 0x38]
jbe 0x443177
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi + 0x34]
jne 0x4431ce
mov eax, dword [ebp - 0x38]
cmp eax, dword [esi + 0x38]
jne 0x4431ce
mov eax, dword [ebp - 0x20]
cmp ax, word [ebp - 0x1c]
jbe 0x443193
mov dword [ebp - 0x14], edi
jne 0x4431ce
mov ax, word [esi + 0x3c]
cmp ax, word [ebp - 0x34]
jbe 0x4431a2
mov dword [ebp - 0x14], edi
jne 0x4431b1
mov cx, word [ebp - 0x18]
cmp cx, word [ebp - 0x24]
jbe 0x4431b1
mov dword [ebp - 0x14], edi
cmp ax, word [ebp - 0x34]
jne 0x4431ce
mov ax, word [ebp - 0x24]
cmp word [ebp - 0x18], ax
jne 0x4431ce
mov ax, word [ebp - 0x40]
cmp word [esi + 0x40], ax
jbe 0x4431ce
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp + 0xc]
push 1
pop edx
movzx eax, byte [esi + 0x50]
xor ecx, ecx
sub eax, ecx
je 0x44348d
dec eax
je 0x44347f
dec eax
je 0x443488
dec eax
je 0x443477
dec eax
je 0x44339e
dec eax
jne 0x4437e4
cmp dword [ebp - 0x14], ecx
jne 0x443488
push dword [ebx]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_OVER
call fcn.0046b2b7
lea eax, [ebp - 0x20]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push dword [eax]
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_NEWER
call fcn.0046b2b7
lea eax, [ebp + 8]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push str._s_n_n_s_n_n_s
push eax
call fcn.00468cd1
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.0046b249
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0046b249
call fcn.0044f091
test eax, eax
jne 0x4437e4
push 0x24
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.DLG_NOTICE
call fcn.0046b2b7
lea eax, [ebp - 0x18]
push eax
call fcn.0044eff5
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0041067e
push eax
lea ecx, [ebp - 0x30]
call fcn.0041067e
push eax
mov ecx, edi
call fcn.0046e56b
cmp eax, 6
lea ecx, [ebp - 0x18]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0046b249
cmp byte [ebp + 0xf], 0
jne 0x44346e
and dword [ebp - 0x10], 0
jmp 0x4437e4
push ecx
mov ecx, dword [esi + 0x2c]
mov eax, esp
mov dword [ebp + 0xc], esp
push 1
mov dword [eax], ecx
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp + 0xc]
call fcn.0044382a
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.00440fd5
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x2a8]
push eax
call fcn.00440fe2
mov ecx, eax
call fcn.00443858
xor ecx, ecx
cmp eax, ecx
je 0x44334e
push 1
push ecx
push ecx
push ecx
lea ecx, [ebp + 0xc]
call fcn.0044382a
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
mov dword [ecx], eax
lea ecx, [ebp - 0x2a8]
call fcn.0044384d
push ecx
mov ecx, dword [ebp - 0x2a8]
mov eax, esp
mov dword [ebp + 0xc], esp
mov dword [eax], ecx
lea ecx, [esi + 0x2c]
call fcn.00443858
test eax, eax
je 0x443374
mov dword [ebp - 0x3c], 1
jmp 0x4431d4
push ecx
mov ecx, dword [ebp - 0x2a8]
mov eax, esp
mov dword [ebp + 0xc], esp
mov dword [eax], ecx
lea ecx, [esi + 0x2c]
call fcn.0044100e
test eax, eax
je 0x4431d4
mov dword [ebp - 0x14], 1
jmp 0x4431d4
push dword [ebx]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_OVER
call fcn.0046b2b7
lea eax, [ebp - 0x1c]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push dword [eax]
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_ANY
call fcn.0046b2b7
lea eax, [ebp - 0x24]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
push str._s_n_n_s_n_n_s
push eax
call fcn.00468cd1
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0046b249
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0046b249
call fcn.0044f091
test eax, eax
jne 0x4437e4
push 0x24
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.DLG_NOTICE
call fcn.0046b2b7
lea eax, [ebp - 0x3c]
push eax
call fcn.0044eff5
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041067e
push eax
lea ecx, [ebp - 0x30]
call fcn.0041067e
push eax
mov ecx, edi
call fcn.0046e56b
cmp eax, 6
lea ecx, [ebp - 0x3c]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0046b249
cmp byte [ebp + 0xf], 0
je 0x4437e4
mov dword [ebp - 0x10], 1
jmp 0x4434a6
mov dword [ebp - 0x10], ecx
jmp 0x4437e4
cmp dword [ebp - 0x14], ecx
je 0x4437e4
mov dword [ebp - 0x10], edx
jmp 0x4434a6
cmp dword [ebp - 0x14], ecx
je 0x443495
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x3c], ecx
je 0x44349d
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], edx
jne 0x4437e4
cmp byte [esi + 0x51], 0
je 0x443504
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push ebx
call fcn.0046afbe
lea eax, [ebp + 0xc]
push eax
call fcn.0041fb4b
pop ecx
pop ecx
lea ecx, [edi + 0xe0]
push eax
mov byte [ebp - 4], 0xc
call fcn.0046b336
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0046b249
mov eax, dword [edi + 0xe0]
mov ecx, dword [ebx]
push str.File_Backup
push eax
push ecx
call fcn.0041fa68
add esp, 0xc
test eax, eax
jne 0x443504
mov dword [edi + 0xdc], 1
cmp byte [esi + 0x52], 0
je 0x44355c
lea eax, [ebp - 0x194]
push eax
push 0
push 0x4a2e64
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
lea ecx, [edi + 0xd4]
mov dword [edi + 0xd0], 1
call fcn.0046b336
lea eax, [ebp - 0x194]
lea ecx, [edi + 0xd8]
push eax
call fcn.0046b386
lea eax, [ebp - 0x194]
mov ecx, ebx
push eax
call fcn.0046b386
jmp 0x4437e4
mov eax, dword [ebx]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebx]
push 0
push 0x9011
push eax
lea ecx, [ebp - 0x5c]
call fcn.0046aaa6
test eax, eax
jne 0x443662
cmp byte [esi + 0x82], al
jne 0x44367e
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_RETRY
call fcn.0046b2b7
lea eax, [ebp - 0x20]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push dword [eax]
mov byte [ebp - 4], 0xd
push dword [ebx]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_INUSE
call fcn.0046b2b7
lea eax, [ebp + 8]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xe
push str._s_n_s_n_n_s
push eax
call fcn.00468cd1
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.0046b249
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0046b249
call fcn.0044f091
test eax, eax
jne 0x443650
push 0x35
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.DLG_NOTICE
call fcn.0046b2b7
lea eax, [ebp - 0x18]
push eax
call fcn.0044eff5
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0041067e
push eax
lea ecx, [ebp - 0x30]
call fcn.0041067e
push eax
mov ecx, edi
call fcn.0046e56b
lea ecx, [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 3
call fcn.0046b249
jmp 0x443657
mov dword [ebp + 0xc], 2
cmp dword [ebp + 0xc], 2
je 0x44367e
jmp 0x44355c
lea ecx, [ebp - 0x5c]
call fcn.0046acc1
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x10], 1
jmp 0x4437e4
lea eax, [ebp - 0x194]
mov dword [ebp - 0x10], 1
push eax
push 0
push 0x4a2e64
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [0x4a84c4]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x194]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp + 0xc]
push str.__On_Reboot__s__r_n
push eax
call fcn.00468cd1
add esp, 0xc
lea ecx, [edi + 0x414]
push dword [ebp + 0xc]
call fcn.004455e4
mov eax, dword [ebx]
push 5
push eax
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
xor eax, eax
cmp dword [edi + 0x134], eax
jne 0x4436fe
cmp dword [edi + 0x138], eax
jne 0x4436fe
cmp dword [edi + 0x13c], eax
je 0x443797
push str.WININIT.INI
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str._WinDir_
call fcn.0046b2b7
lea eax, [ebp - 0x1c]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x11
call fcn.0046b492
mov edi, dword [eax]
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x12
call fcn.0041d4d9
mov eax, dword [eax]
push dword [ebx]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x13
call fcn.0041d4d9
mov eax, dword [eax]
add esp, 0x10
push edi
push dword [ebp + 8]
push eax
push str.Rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x20]
call fcn.0046b249
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.0046b249
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call fcn.0046b249
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.0046b249
lea eax, [ebp - 0x194]
mov ecx, ebx
push eax
call fcn.0046b386
push ecx
mov byte [esi + 5], 1
mov ecx, esp
mov dword [ebp + 8], esp
push str.TRUE
call fcn.0046b2b7
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x48], esp
push str._NeedsReboot_
call fcn.0046b2b7
mov byte [ebp - 4], 0x10
call fcn.0044efa7
pop ecx
mov byte [ebp - 4], 3
pop ecx
lea ecx, [ebp + 0xc]
call fcn.0046b249
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0046b249
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0046a9e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8