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

Disassembly:
mov eax, 0x482408
call fcn.0045c5c4
sub esp, 0x3a0
mov eax, dword [0x4a94a4]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x44], edi
xor ebx, ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], ebx
call fcn.0046bb33
mov eax, dword [0x4a94a4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
cmp byte [esi + 4], bl
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], ebx
je 0x44381d
mov dword [edi + 0xec], ebx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x2ac]
mov eax, dword [ebx]
push ecx
push eax
call fcn.0046cd24
test eax, eax
jne 0x44306e
xor ebx, ebx
inc ebx
jmp 0x44381d
push ecx
lea eax, [esi + 0x4c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
mov dword [edi + 0xec], 1
call fcn.0046c1fd
lea eax, [ebp + 8]
push eax
call fcn.0044f275
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0046c575
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0046c488
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
mov cl, byte [ecx + eax - 1]
cmp cl, 0x5c
jne 0x4430e4
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x18]
dec eax
push eax
lea eax, [ebp + 8]
push eax
call fcn.00469aa1
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046c575
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0046c488
cmp byte [esi + 0x30], 0
je 0x443394
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 - 0x34], eax
jbe 0x443394
push eax
call fcn.0045c821
test eax, eax
pop ecx
mov dword [ebp + 8], eax
je 0x443394
push eax
lea eax, [ebp - 0x3ac]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x49f918
push dword [ebp + 8]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44318f
push 0x34
lea eax, [ebp - 0x90]
push dword [ebp - 0x1c]
push eax
call fcn.0045ca20
mov eax, dword [ebp - 0x88]
add esp, 0xc
mov dword [ebp - 0x30], 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 - 0x3c], eax
mov dword [ebp - 0x28], 1
push dword [ebp + 8]
call fcn.0045c738
cmp dword [ebp - 0x28], 0
pop ecx
je 0x443394
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x40]
mov ebx, dword [esi + 0x34]
shr eax, 0x10
shr ecx, 0x10
shr edx, 0x10
shr edi, 0x10
cmp dword [ebp - 0x2c], ebx
jne 0x4431eb
mov ebx, dword [ebp - 0x3c]
cmp ebx, dword [esi + 0x38]
jne 0x4431eb
mov ebx, dword [ebp - 0x30]
cmp ebx, dword [esi + 0x3c]
jne 0x4431eb
mov ebx, dword [ebp - 0x40]
cmp ebx, dword [esi + 0x40]
jne 0x4431eb
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x44]
xor edx, edx
inc edx
mov dword [ebp - 0x38], edx
jmp 0x443281
cmp word [esi + 0x36], ax
jbe 0x4431f8
mov dword [ebp - 0x14], 1
jne 0x44322d
mov ax, word [esi + 0x34]
cmp ax, word [ebp - 0x2c]
jbe 0x44320b
mov dword [ebp - 0x14], 1
jne 0x44322d
mov bx, word [esi + 0x3a]
xor eax, eax
inc eax
cmp bx, cx
jbe 0x44321c
mov dword [ebp - 0x14], eax
jne 0x443230
mov cx, word [esi + 0x38]
cmp cx, word [ebp - 0x3c]
jbe 0x443230
mov dword [ebp - 0x14], eax
jmp 0x443230
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [esi + 0x34]
jne 0x443278
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [esi + 0x38]
jne 0x443278
mov cx, word [esi + 0x3e]
cmp cx, dx
jbe 0x44324c
mov dword [ebp - 0x14], eax
jne 0x443278
mov cx, word [esi + 0x3c]
cmp cx, word [ebp - 0x30]
jbe 0x44325b
mov dword [ebp - 0x14], eax
jne 0x443278
mov cx, word [esi + 0x42]
cmp cx, di
jbe 0x443269
mov dword [ebp - 0x14], eax
jne 0x443278
mov cx, word [esi + 0x40]
cmp cx, word [ebp - 0x40]
jbe 0x443278
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x44]
xor edx, edx
inc edx
movzx eax, byte [esi + 0x50]
xor ecx, ecx
sub eax, ecx
je 0x4434e0
dec eax
je 0x4434d2
dec eax
je 0x4434db
dec eax
je 0x4434ca
dec eax
je 0x4433f1
dec eax
jne 0x44381a
cmp dword [ebp - 0x14], ecx
jne 0x4434db
push dword [ebx]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_OVER
call fcn.0046c4f6
lea eax, [ebp - 0x1c]
push eax
call fcn.0044f275
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.0046c4f6
lea eax, [ebp + 8]
push eax
call fcn.0044f275
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push str._s_n_n_s_n_n_s
push eax
call fcn.00469ec1
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.0046c488
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0046c488
call fcn.0044f311
test eax, eax
jne 0x44381a
push 0x24
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.DLG_NOTICE
call fcn.0046c4f6
lea eax, [ebp - 0x24]
push eax
call fcn.0044f275
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0041053b
push eax
lea ecx, [ebp - 0x20]
call fcn.0041053b
push eax
mov ecx, edi
call fcn.0046f7a7
cmp eax, 6
lea ecx, [ebp - 0x24]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0046c488
cmp byte [ebp + 0xf], 0
jne 0x4434c1
and dword [ebp - 0x10], 0
jmp 0x44381a
mov eax, dword [esi + 0x2c]
push ecx
mov dword [ebp + 0xc], eax
mov ecx, esp
mov dword [ebp + 8], esp
xor eax, eax
push 1
push eax
push eax
push eax
call fcn.00443879
lea eax, [ebp + 8]
lea ecx, [ebp - 0x2a8]
push eax
call fcn.0044389c
mov ecx, dword [ebp + 0xc]
cmp dword [eax], ecx
jne 0x4433c8
dec dword [ebp - 0x2a8]
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp - 0x2a8]
jne 0x4433df
mov dword [ebp - 0x38], 1
jmp 0x44327e
jle 0x44327e
mov dword [ebp - 0x14], 1
jmp 0x44327e
push dword [ebx]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_OVER
call fcn.0046c4f6
lea eax, [ebp - 0x28]
push eax
call fcn.0044f275
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.0046c4f6
lea eax, [ebp - 0x34]
push eax
call fcn.0044f275
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push str._s_n_n_s_n_n_s
push eax
call fcn.00469ec1
add esp, 0x14
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.0046c488
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0046c488
call fcn.0044f311
test eax, eax
jne 0x44381a
push 0x24
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.DLG_NOTICE
call fcn.0046c4f6
lea eax, [ebp - 0x38]
push eax
call fcn.0044f275
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0041053b
push eax
lea ecx, [ebp - 0x20]
call fcn.0041053b
push eax
mov ecx, edi
call fcn.0046f7a7
cmp eax, 6
lea ecx, [ebp - 0x38]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.0046c488
cmp byte [ebp + 0xf], 0
je 0x44381a
mov dword [ebp - 0x10], 1
jmp 0x4434f9
mov dword [ebp - 0x10], ecx
jmp 0x44381a
cmp dword [ebp - 0x14], ecx
je 0x44381a
mov dword [ebp - 0x10], edx
jmp 0x4434f9
cmp dword [ebp - 0x14], ecx
je 0x4434e8
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x38], ecx
je 0x4434f0
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], edx
jne 0x44381a
cmp byte [esi + 0x51], 0
je 0x443557
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push ebx
call fcn.0046c1fd
lea eax, [ebp + 0xc]
push eax
call fcn.0041f7e3
pop ecx
pop ecx
lea ecx, [edi + 0xe0]
push eax
mov byte [ebp - 4], 0xc
call fcn.0046c575
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0046c488
mov eax, dword [edi + 0xe0]
mov ecx, dword [ebx]
push str.File_Backup
push eax
push ecx
call fcn.0041f702
add esp, 0xc
test eax, eax
jne 0x443557
mov dword [edi + 0xdc], 1
cmp byte [esi + 0x52], 0
je 0x4435af
lea eax, [ebp - 0x194]
push eax
push 0
push 0x4a3de8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
lea ecx, [edi + 0xd4]
mov dword [edi + 0xd0], 1
call fcn.0046c575
lea eax, [ebp - 0x194]
lea ecx, [edi + 0xd8]
push eax
call fcn.0046c5c5
lea eax, [ebp - 0x194]
mov ecx, ebx
push eax
call fcn.0046c5c5
jmp 0x44381a
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.0046bce5
test eax, eax
jne 0x443860
cmp byte [esi + 0x82], al
jne 0x4436b4
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.EXIST_RETRY
call fcn.0046c4f6
lea eax, [ebp - 0x1c]
push eax
call fcn.0044f275
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.0046c4f6
lea eax, [ebp + 8]
push eax
call fcn.0044f275
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xe
push str._s_n_s_n_n_s
push eax
call fcn.00469ec1
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.0046c488
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0046c488
call fcn.0044f311
test eax, eax
jne 0x4436a3
push 0x35
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push str.DLG_NOTICE
call fcn.0046c4f6
lea eax, [ebp - 0x24]
push eax
call fcn.0044f275
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.0041053b
push eax
lea ecx, [ebp - 0x20]
call fcn.0041053b
push eax
mov ecx, edi
call fcn.0046f7a7
lea ecx, [ebp - 0x24]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 3
call fcn.0046c488
jmp 0x4436aa
mov dword [ebp + 0xc], 2
cmp dword [ebp + 0xc], 2
jne 0x4435af
lea eax, [ebp - 0x194]
mov dword [ebp - 0x10], 1
push eax
push 0
push 0x4a3de8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [0x4a94a4]
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.00469ec1
add esp, 0xc
lea ecx, [edi + 0x414]
push dword [ebp + 0xc]
call fcn.004456bc
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 0x443734
cmp dword [edi + 0x138], eax
jne 0x443734
cmp dword [edi + 0x13c], eax
je 0x4437cd
push str.WININIT.INI
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str._WinDir_
call fcn.0046c4f6
lea eax, [ebp - 0x28]
push eax
call fcn.0044f275
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x11
call fcn.0046c6d1
mov edi, dword [eax]
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x12
call fcn.0041d210
mov eax, dword [eax]
push dword [ebx]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x13
call fcn.0041d210
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 - 0x1c]
call fcn.0046c488
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.0046c488
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x11
call fcn.0046c488
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.0046c488
lea eax, [ebp - 0x194]
mov ecx, ebx
push eax
call fcn.0046c5c5
push ecx
mov byte [esi + 5], 1
mov ecx, esp
mov dword [ebp + 8], esp
push str.TRUE
call fcn.0046c4f6
push ecx
mov byte [ebp - 4], 0x14
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str._NeedsReboot_
call fcn.0046c4f6
mov byte [ebp - 4], 0x10
call fcn.0044f227
pop ecx
mov byte [ebp - 4], 3
pop ecx
lea ecx, [ebp + 0xc]
call fcn.0046c488
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0046c488
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0046c488
and byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0046bc28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0046c488
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
lea ecx, [ebp - 0x5c]
call fcn.0046bf00
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x10], 1
jmp 0x44381a