Function at 0x4278a6
Capabilities:
Delete file
Get file version info
Set file attributes

Disassembly:
mov eax, 0x47cc2a
call fcn.0045c348
sub esp, 0x384
mov eax, dword [0x4a84c4]
and dword [ebp - 0x20], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 3
call fcn.0042c617
mov eax, dword [0x4a84c4]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x98]
push dword [esi + 0x58]
mov ebx, dword [esi + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x9c]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0046b249
push dword [esi + 0x5c]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0046b336
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0046b249
mov esi, 0x49e93c
lea ecx, [ebp - 0x14]
push esi
call fcn.00468ce4
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00468929
mov edi, eax
cmp edi, 0xffffffff
jne 0x427980
mov dword [ebp - 0x20], 3
jmp 0x427ce5
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 8]
sub eax, edi
dec eax
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00468835
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0046b336
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0046b249
push esi
lea ecx, [ebp - 0x18]
call fcn.00468d83
lea eax, [ebp + 0xc]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.004688b1
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0046b336
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0046b249
push esi
lea ecx, [ebp - 0x24]
call fcn.00468ce4
push dword [ebp - 0x10]
call fcn.0041cb18
test eax, eax
pop ecx
jne 0x427a00
mov dword [ebp - 0x20], 1
jmp 0x427ce5
push dword [ebp - 0x14]
call fcn.0041cb18
test eax, eax
pop ecx
jne 0x427a32
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0046afbe
call fcn.0041bf5d
test eax, eax
pop ecx
jne 0x427a32
mov dword [ebp - 0x20], 2
jmp 0x427ce5
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
push 0x49f634
push eax
call fcn.00468cd1
push dword [ebp - 0x1c]
call fcn.0041cb18
add esp, 0x14
test eax, eax
jne 0x427a5f
push 1
pop esi
mov edi, esi
jmp 0x427c1f
and byte [ebp - 0x173], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x174], 1
mov byte [ebp - 0x172], 1
call fcn.0046b336
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x170]
push eax
call fcn.0046b336
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x16c]
push eax
call fcn.0046b336
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x168]
push eax
call fcn.0046b336
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.00468929
cmp eax, 0xffffffff
je 0x427af1
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
lea eax, [ebp + 0xc]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00468835
push eax
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xa
call fcn.0046b336
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0046b249
lea eax, [ebp - 0x290]
push eax
push dword [ebp - 0x10]
call fcn.0046bae5
mov eax, dword [ebp - 0x290]
push dword [ebp - 0x10]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x14c], eax
mov al, byte [ebp - 0x28]
and byte [ebp - 0x126], 0
and byte [ebp - 0xf8], 0
and byte [ebp - 0xf7], 0
and byte [ebp - 0xf6], 0
mov byte [ebp - 0x127], al
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xeb], al
lea eax, [ebp - 0x390]
push eax
mov byte [ebp - 0x128], bl
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x390]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x427bf4
push edi
call fcn.0045c500
mov ebx, eax
pop ecx
test ebx, ebx
je 0x427beb
push ebx
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x390]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x427be4
push 0x34
lea eax, [ebp - 0x68]
push dword [ebp - 0x2c]
push eax
call fcn.0045c650
mov eax, dword [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x140], eax
push ebx
call fcn.0045c4b8
pop ecx
mov byte [ebp - 0x148], 1
jmp 0x427bfb
and byte [ebp - 0x148], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0041ff61
mov ecx, eax
call fcn.00442f0f
mov edi, eax
test edi, edi
je 0x427cd2
push 1
pop esi
push dword [ebp - 0x1c]
call fcn.0041cb18
test eax, eax
pop ecx
je 0x427c53
push 0x80
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x427c53
mov dword [ebp - 0x20], 4
jmp 0x427ce5
xor ebx, ebx
cmp edi, ebx
je 0x427cd2
lea ecx, [ebp - 0x84]
call fcn.00406d9e
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0xb
call fcn.0046b336
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0046b336
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], eax
call fcn.004761d8
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x84]
add eax, 0xc8
mov dword [ebp - 0x5c], eax
call fcn.00406ecf
cmp eax, ebx
je 0x427cbe
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.00406e54
cmp dword [ebp - 0x20], ebx
jne 0x427ce5
lea eax, [ebp - 0x178]
push eax
call fcn.0041ff61
mov ecx, eax
call fcn.0044482e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.0046b249
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 3
call fcn.0042cdde
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0046b249
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret