Function at 0x42b51f
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xa8
mov eax, 0x67bd9b
call fcn.005b852e
mov esi, ecx
mov eax, dword [0x7534c4]
mov eax, dword [eax + 0x64]
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x50], esp
push str.UNINSTALL_STAGE_REMOVING_FILES
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x90], ebx
call fcn.00401b65
mov ecx, dword [0x7534c4]
add ecx, 0x130
call fcn.0040cae3
mov dword [ebp - 0x2c], eax
mov eax, dword [0x7534c4]
mov eax, dword [eax + 0x5c]
cmp eax, ebx
je 0x42be46
mov edi, str.Remove_file:
jmp 0x42b58a
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x20], ebx
jne 0x42be46
cmp eax, ebx
je 0x42be4f
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x42be3d
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.0040149c
add eax, 0x10
pop ecx
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x3c]
mov dword [ebp - 4], ebx
fidiv dword [ebp - 0x84]
fmul qword [0x69cd80]
call fcn.005b8cd6
push eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x1c], eax
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.00428a7b
push dword [ebp - 0x14]
call dword [0x69b370]
cmp eax, 0xffffffff
je 0x42bda5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], 1
cmp dword [eax + 8], ebx
je 0x42b654
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x28]
push eax
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x1c]
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.00426446
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], ebx
je 0x42b869
cmp dword [ebp - 0x28], ebx
je 0x42b869
lea eax, [ebp - 0x40]
push eax
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x1c]
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.00424eb8
cmp eax, ebx
jne 0x42b82b
call fcn.00442752
test eax, eax
jne 0x42b78b
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x34]
call fcn.004015a6
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.ERR_UNINSTALL_UNREGISTER_COM
mov byte [ebp - 4], 1
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x54]
push eax
add ecx, 0x16c
call fcn.0043db02
push dword [eax]
mov byte [ebp - 4], 2
push dword [ebp - 0x40]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MSG_ERROR
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x5c]
push eax
add ecx, 0x16c
call fcn.0043db02
push dword [eax]
lea eax, [ebp - 0x34]
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
push str._s___s:__u__r_n_r_n_s
push eax
call fcn.0040255b
mov ecx, dword [ebp - 0x5c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040124d
push 0x30
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MSG_NOTICE
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x64]
push eax
add ecx, 0x16c
call fcn.0043db02
push dword [eax]
mov eax, dword [esi + 8]
push dword [ebp - 0x34]
push dword [eax + 0x20]
call dword [0x69b9f8]
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa4]
push str.Unregister_COM_file:
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push dword [ebp - 0x40]
add ecx, 0x6dc
push 1
push eax
mov byte [ebp - 4], 4
call fcn.0043b7c8
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x8c]
push edi
push eax
mov dword [ebp - 0x28], ebx
call fcn.0040ccc6
push str.__Reason:_Failed_to_unregister_COM_
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 5
call fcn.00405bb5
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push 3
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 6
call fcn.0043b7c8
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x8c]
jmp 0x42b85e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push str.Unregister_COM_file:
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 7
call fcn.0043b7c8
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x10], ebx
je 0x42b94a
cmp dword [ebp - 0x28], ebx
je 0x42b94a
lea ecx, [ebp - 0xb4]
call fcn.004531c4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 8
mov dword [ebp - 0xa8], ebx
call fcn.0040191c
mov eax, dword [ebp - 0x18]
add eax, 0x14
push eax
lea ecx, [ebp - 0xac]
call fcn.0040191c
lea ecx, [ebp - 0xb4]
call fcn.00453396
mov dword [ebp - 0x10], eax
cmp eax, ebx
lea eax, [ebp - 0x14]
push eax
push str.Unregister_font:
je 0x42b904
lea eax, [ebp - 0x9c]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push dword [ebp - 0x10]
add ecx, 0x6dc
push 1
push eax
mov byte [ebp - 4], 9
call fcn.0043b7c8
mov ecx, dword [ebp - 0x9c]
jmp 0x42b92e
lea eax, [ebp - 0x7c]
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0xa
call fcn.0043b7c8
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.0040124d
inc dword [esi + 0x80]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], bl
call fcn.00453208
cmp dword [ebp - 0x20], ebx
jne 0x42be2e
cmp dword [ebp - 0x28], ebx
je 0x42be2e
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x1c]
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.0042571e
cmp eax, ebx
je 0x42bb4f
call fcn.00442752
test eax, eax
jne 0x42bac5
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x30]
call fcn.004015a6
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MSG_UNINSTALLFILE_INUSE
mov byte [ebp - 4], 0xb
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x94]
push eax
add ecx, 0x16c
call fcn.0043db02
push dword [eax]
lea eax, [ebp - 0x30]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
push str._s_r_n_r_n_s
push eax
call fcn.0040255b
mov ecx, dword [ebp - 0x94]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xb
call fcn.0040124d
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MSG_NOTICE
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x58]
push eax
add ecx, 0x16c
call fcn.0043db02
push dword [eax]
mov eax, dword [esi + 8]
push dword [ebp - 0x30]
push dword [eax + 0x20]
call dword [0x69b9f8]
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], eax
call fcn.0040124d
cmp dword [ebp - 0x10], 4
jne 0x42ba4e
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], ebx
jmp 0x42bab5
cmp dword [ebp - 0x10], 5
mov dword [ebp - 0x18], ebx
jne 0x42ba60
mov dword [ebp - 0x10], 1
jmp 0x42bab5
mov eax, dword [0x7534c4]
mov dword [eax + 0x198], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push edi
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], 0x1f4
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push 0x1f4
push 1
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0xd
call fcn.0043b7c8
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
jmp 0x42bacf
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], ebx
je 0x42bd97
lea ecx, [ebp - 0x4c]
call fcn.00452a78
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
lea ecx, [ebp - 0x4c]
call fcn.00453135
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push str.Remove_file_on_reboot:
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0xf
call fcn.0043b7c8
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
call fcn.0040124d
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00452a81
jmp 0x42bd97
push 0x80
push dword [ebp - 0x14]
call dword [0x69b35c]
push dword [ebp - 0x24]
push 0x32
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x1c]
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.00428a7b
push dword [ebp - 0x14]
call dword [0x69b358]
test eax, eax
jne 0x42bd33
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x38]
call fcn.004015a6
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MSG_UNINSTALLFILE_NOREMOVE
mov byte [ebp - 4], 0x10
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x70]
push eax
add ecx, 0x16c
call fcn.0043db02
push dword [eax]
lea eax, [ebp - 0x38]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x11
push str._s_r_n_r_n_s
push eax
call fcn.0040255b
mov ecx, dword [ebp - 0x70]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x10
call fcn.0040124d
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MSG_NOTICE
call fcn.00401b65
mov ecx, dword [0x7534c4]
lea eax, [ebp - 0x78]
push eax
add ecx, 0x16c
call fcn.0043db02
push dword [eax]
mov eax, dword [esi + 8]
push dword [ebp - 0x38]
push dword [eax + 0x20]
call dword [0x69b9f8]
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], eax
call fcn.0040124d
cmp dword [ebp - 0x10], 4
jne 0x42bc4d
mov dword [ebp - 0x18], 1
jmp 0x42bd23
cmp dword [ebp - 0x10], 5
mov dword [ebp - 0x18], ebx
je 0x42bcaa
mov eax, dword [0x7534c4]
mov dword [eax + 0x198], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push edi
push eax
mov dword [ebp - 0x20], 0x1f4
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push 0x1f4
push 1
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0x12
call fcn.0043b7c8
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.0040124d
jmp 0x42bd23
lea ecx, [ebp - 0x44]
call fcn.00452a78
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
lea ecx, [ebp - 0x44]
call fcn.00453135
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x88]
push str.Remove_file_on_reboot:
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0x14
call fcn.0043b7c8
mov ecx, dword [ebp - 0x88]
add ecx, 0xfffffff0
call fcn.0040124d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x10
call fcn.00452a81
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
jmp 0x42bd97
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.0040ccc6
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push ebx
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0x15
call fcn.0043b7c8
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040124d
push dword [ebp - 0x24]
push 0x64
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
push dword [ebp - 0x1c]
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.00428a7b
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jne 0x42b94a
jmp 0x42be2e
push dword [ebp - 0x24]
push 0x64
push ecx
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
call fcn.0040149c
pop ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x2c]
add eax, 0x10
mov dword [ecx], eax
mov ecx, esi
call fcn.00428a7b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040ccc6
push str.__Reason:_File_not_found_
push eax
lea eax, [ebp - 0x98]
push eax
mov byte [ebp - 4], 0x16
call fcn.00405bb5
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [0x7534c4]
push ebx
push ebx
push 3
push eax
add ecx, 0x6dc
mov byte [ebp - 4], 0x17
call fcn.0043b7c8
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x1c]
inc dword [ebp - 0x3c]
or dword [ebp - 4], 0xffffffff
call fcn.0040124d
cmp dword [ebp - 0x48], ebx
jne 0x42b587
mov eax, dword [ebp - 0x20]
call fcn.005b8606
ret
call fcn.004b8094
int3