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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ebf4
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.00434af0
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005369e0
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.0053aa25
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 0x4414b2
xor ecx, ecx
jmp 0x4414c9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4414c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x458]
call fcn.0042c1e0
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 0x44153e
push 0x5c9840
call fcn.00533993
add esp, 4
cmp dword [0x5c9840], 0xffffffff
jne 0x44153e
call fcn.00436720
push 0x5607c0
call fcn.00533d1d
add esp, 4
push 0x5c9840
call fcn.00533954
add esp, 4
push esi
push str.PreFaultCheck
push str._s:_s
push 0
push 0x5b063c
push 0x5c9848
call fcn.00436800
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.0042c2e0
push 0xe
push str._addupdate.ini
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 3
call fcn.0042c4c0
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 0x44160f
mov eax, dword [ecx]
jmp 0x441611
mov eax, ecx
push 0xb
push str.add_version
mov byte [eax], 0
call fcn.0042c1e0
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 0x441647
mov eax, dword [ecx]
jmp 0x441649
mov eax, ecx
push 0xa
push str.add_update
mov byte [eax], 0
call fcn.0042c1e0
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 0x441679
mov eax, dword [ecx]
jmp 0x44167b
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.0042c2e0
lea eax, [ebp - 0x4a0]
mov byte [ebp - 4], 5
push eax
call fcn.00450a10
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 0x4416c1
mov eax, dword [ecx]
jmp 0x4416c3
mov eax, ecx
push 0xa
push str.add_effect
mov byte [eax], 0
call fcn.0042c1e0
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 0x4416f9
mov eax, dword [ecx]
jmp 0x4416fb
mov eax, ecx
push 0xa
push str.add_update
mov byte [eax], 0
call fcn.0042c1e0
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 0x44172b
mov eax, dword [ecx]
jmp 0x44172d
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.0042c2e0
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 5
push eax
call fcn.00450a10
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.0042b9c0
add esp, 8
test eax, eax
jne 0x44184b
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.0042c2e0
push 1
push 0x5b0c88
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0xa
call fcn.0042c4c0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x4a0]
push ecx
mov ecx, eax
call fcn.0042c5f0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4417f1
mov eax, dword [ecx]
jmp 0x4417f3
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0042c2e0
call fcn.00435a10
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 0x44184b
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ceb0
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.0042c2e0
push 0xb
push str._addnewfile
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0xb
call fcn.0042c4c0
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.0042c2e0
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 0x4418ee
test al, 0x10
je 0x4418ee
mov esi, 1
jmp 0x4418f0
xor esi, esi
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x44190e
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.0042ceb0
test esi, esi
je 0x441940
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.0042c2e0
call fcn.00435a10
add esp, 0x18
mov eax, dword [ebp - 0x474]
cmp eax, 0x10
jb 0x44195e
inc eax
lea ecx, [ebp - 0x488]
push eax
push dword [ebp - 0x488]
call fcn.0042ceb0
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
cmp eax, 0x10
jb 0x441997
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.0042ceb0
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
cmp eax, 0x10
jb 0x4419d0
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a0]
call fcn.0042ceb0
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x48c], 0xf
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x4a0], 0
cmp eax, 0x10
jb 0x441a09
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.0042ceb0
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
cmp eax, 0x10
jb 0x441a42
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.0042ceb0
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
cmp eax, 0x10
jb 0x441a7b
inc eax
lea ecx, [ebp - 0x4b8]
push eax
push dword [ebp - 0x4b8]
call fcn.0042ceb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00533845
mov esp, ebp
pop ebp
ret