Function at 0x423570
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46ccb8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
test edi, edi
mov esi, ecx
mov eax, str.InstallSpecialFile
jne 0x42359f
mov eax, str.UninstallSpecialFile
push eax
push 0x80
call fcn.004047f0
mov eax, dword [0x4800d8]
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 8]
push 1
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x30], 2
call fcn.0040bb30
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00404b00
push 0x4708a4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040aa70
push str.CompsVer.inf
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x34], 3
call fcn.0040aa70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 4
call fcn.00404cd0
mov eax, dword [esp + 0x18]
mov edx, dword [0x4800dc]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42364e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42364e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x28], 2
je 0x42367e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42367e
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esi + 8]
push 0x4708a4
add eax, 0x5c
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040aa70
push str.CompsVer.inf
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x34], 5
call fcn.0040aa70
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call fcn.00404cd0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4236e3
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4236e3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x28], 2
je 0x423713
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x423713
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
test edi, edi
push ebp
je 0x423833
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42375d
mov ebp, dword [esp + 0x10]
push ebp
push edi
push str.Copy_File_From__s_To__s
push 0x80
call fcn.004047f0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
add esp, 0x10
push ebp
call dword [eax + 0x28]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push 0
push 0
push 1
push ebp
push edi
call dword [edx + 0x1c]
mov eax, dword [esi + 8]
push 0x4708a4
add eax, 0x19c
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040aa70
push str.CompsVer.inf
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x38], 7
call fcn.0040aa70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 8
call fcn.00404cd0
mov eax, dword [esp + 0x20]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4237c4
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4237c4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x2c], 2
je 0x4237f4
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4237f4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x423857
mov ebp, dword [esp + 0x10]
push ebp
push edi
push str.Copy_File_From__s_To__s
push 0x80
call fcn.004047f0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
add esp, 0x10
push ebp
call dword [eax + 0x28]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push 0
push 0
push 1
push ebp
push edi
call dword [edx + 0x1c]
jmp 0x423857
mov edi, dword [esp + 0x10]
push edi
push str.Delete_File__s
push 0x80
call fcn.004047f0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
add esp, 0xc
push 0
push 0
push edi
call dword [eax + 0x20]
push 0x4708a4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0040aa70
push str.Label.dat
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x38], 9
call fcn.0040aa70
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.00404cd0
mov eax, dword [esp + 0x20]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4238ba
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4238ba
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x2c], 2
je 0x4238ea
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4238ea
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esi + 8]
push 0x4708a4
add eax, 0x5c
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040aa70
push str.Label.dat
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x38], 0xb
call fcn.0040aa70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0xc
call fcn.00404cd0
mov eax, dword [esp + 0x20]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42394f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42394f
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x2c], 2
je 0x42397f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x42397f
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
mov ebp, dword [esp + 0x18]
je 0x423aa2
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4239cc
mov edi, dword [esp + 0x10]
push edi
push ebp
push str.Copy_File_From__s_To__s
push 0x80
call fcn.004047f0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
add esp, 0x10
push edi
call dword [eax + 0x28]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push 0
push 0
push 1
push edi
push ebp
call dword [edx + 0x1c]
mov eax, dword [esi + 8]
push 0x4708a4
add eax, 0x19c
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040aa70
push str.Label.dat
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x38], 0xd
call fcn.0040aa70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0xe
call fcn.00404cd0
mov eax, dword [esp + 0x34]
mov edx, dword [0x4800dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x423a33
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x423a33
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x2c], 2
je 0x423a63
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x423a63
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov edi, dword [esp + 0x10]
je 0x423ac6
push edi
push ebp
push str.Copy_File_From__s_To__s
push 0x80
call fcn.004047f0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
add esp, 0x10
push edi
call dword [edx + 0x28]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
push 0
push 0
push 1
push edi
push ebp
call dword [eax + 0x1c]
jmp 0x423ac6
mov edi, dword [esp + 0x10]
push edi
push str.Delete_File__s
push 0x80
call fcn.004047f0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
add esp, 0xc
push 0
push 0
push edi
call dword [edx + 0x20]
mov ecx, dword [0x4800dc]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x423ae6
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x423ae6
push esi
call fcn.00457c3f
add esp, 4
mov eax, dword [0x4800dc]
lea ecx, [ebp - 0xc]
cmp ecx, eax
je 0x423b05
lea esi, [ebp - 0xc]
push esi
call ebx
test eax, eax
jg 0x423b05
push esi
call fcn.00457c3f
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
pop ebp
je 0x423b31
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x423b31
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4