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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e794
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x5c49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x4b8]
call fcn.00434ac0
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00536540
add esp, 0xc
lea eax, [ebp - 0x4b8]
cmp dword [ebp - 0x4a4], 0x10
cmovae eax, dword [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0053a5e8
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp byte [ebp - 0x410], 0
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
jne 0x441492
xor ecx, ecx
jmp 0x4414a9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4414a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x458]
call fcn.0042c1b0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x458]
mov eax, dword fs:[0x2c]
cmp dword [ebp - 0x444], 0x10
cmovae esi, dword [ebp - 0x458]
mov ecx, dword [eax]
mov eax, dword [0x5c9840]
cmp eax, dword [ecx + 4]
jle 0x44151e
push 0x5c9840
call fcn.0053357d
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x44151e
call fcn.004366f0
push 0x560310
call fcn.00533907
add esp, 4
push 0x5c9840
call fcn.0053353e
add esp, 4
push esi
push str.PreFaultCheck
push str._s:_s
push 0
push 0x5b063c
push 0x5c9848
call fcn.004367d0
add esp, 0x18
mov dword [ebp - method.CPrivateProfile.virtual_0], vtable.CPrivateProfile.0
push 0xffffffffffffffff
mov byte [ebp - 4], 2
lea eax, [ebp - 0x458]
push 0
push eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
call fcn.0042c2b0
push 0xe
push str._addupdate.ini
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 3
call fcn.0042c490
mov dword [ebp - 0x48c], 0xf
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x4a0], 0
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x4c0], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4415ef
mov eax, dword [ecx]
jmp 0x4415f1
mov eax, ecx
push 0xb
push str.add_version
mov byte [eax], 0
call fcn.0042c1b0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x4c4], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x441627
mov eax, dword [ecx]
jmp 0x441629
mov eax, ecx
push 0xa
push str.add_update
mov byte [eax], 0
call fcn.0042c1b0
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x441659
mov eax, dword [ecx]
jmp 0x44165b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.0042c2b0
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 5
push eax
call fcn.004509e0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4bc], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4416a1
mov eax, dword [ecx]
jmp 0x4416a3
mov eax, ecx
push 0xa
push str.add_effect
mov byte [eax], 0
call fcn.0042c1b0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x4c4], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4416d9
mov eax, dword [ecx]
jmp 0x4416db
mov eax, ecx
push 0xa
push str.add_update
mov byte [eax], 0
call fcn.0042c1b0
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x44170b
mov eax, dword [ecx]
jmp 0x44170d
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.0042c2b0
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 5
push eax
call fcn.004509e0
cmp dword [ebp - 0x45c], 0x10
lea ecx, [ebp - 0x470]
mov edx, dword [ebp - 0x460]
cmovae ecx, dword [ebp - 0x470]
push 2
push 0x5b10c4
call fcn.0042b980
add esp, 8
test eax, eax
jne 0x44182b
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x418], eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 0x428], al
lea eax, [ebp - 0x458]
push eax
mov dword [ebp - 0x414], 0xf
call fcn.0042c2b0
push 1
push 0x5b0c88
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0xa
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x4a0]
push ecx
mov ecx, eax
call fcn.0042c5c0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4417d1
mov eax, dword [ecx]
jmp 0x4417d3
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0042c2b0
call fcn.004359e0
add esp, 0x18
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 0x10
cmovae eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x44182b
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ce80
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x474], 0xf
push eax
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
call fcn.0042c2b0
push 0xb
push str._addnewfile
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0xb
call fcn.0042c490
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x488]
mov dword [ebp - 0x414], 0xf
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.0042c2b0
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4418ce
test al, 0x10
je 0x4418ce
mov esi, 1
jmp 0x4418d0
xor esi, esi
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x4418ee
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ce80
test esi, esi
je 0x441920
sub esp, 0x18
lea eax, [ebp - 0x488]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0042c2b0
call fcn.004359e0
add esp, 0x18
mov eax, dword [ebp - 0x474]
cmp eax, 0x10
jb 0x44193e
inc eax
lea ecx, [ebp - 0x488]
push eax
push dword [ebp - 0x488]
call fcn.0042ce80
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
cmp eax, 0x10
jb 0x441977
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.0042ce80
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
cmp eax, 0x10
jb 0x4419b0
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a0]
call fcn.0042ce80
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x48c], 0xf
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x4a0], 0
cmp eax, 0x10
jb 0x4419e9
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0042ce80
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
cmp eax, 0x10
jb 0x441a22
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.0042ce80
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
cmp eax, 0x10
jb 0x441a5b
inc eax
lea ecx, [ebp - 0x4b8]
push eax
push dword [ebp - 0x4b8]
call fcn.0042ce80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053342f
mov esp, ebp
pop ebp
ret