Function at 0x403ae0
Capabilities:
Check if file exists
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405c58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x408034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [esi + 0x28], 0
mov ebx, dword [ebp + 8]
je 0x403d9d
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x403d9d
mov eax, dword [ebx]
test eax, eax
jne 0x403b9d
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
test edi, edi
je 0x403b7d
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x403b7d
lea eax, [ebp - 0x18]
push eax
call ecx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x403b7d
push eax
push edi
call fcn.00404380
test eax, eax
mov eax, dword [ebp - 0x18]
jns 0x403b7d
test eax, eax
je 0x403b7d
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x403b7d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
push 0
push 0
push eax
mov eax, dword [esi + 0x28]
push 1
push 3
push dword [ebp - 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
jmp 0x403d93
cmp eax, 1
jne 0x403bb2
push 0
push 0
push 0
push dword [ebx + 8]
call ecx
jmp 0x403d9d
cmp eax, 2
jne 0x403bf8
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 8]
lea ecx, [esi + 0x34]
mov dword [ebp - 0x20], 0
call fcn.00404110
test eax, eax
js 0x403d9d
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x403d9d
mov eax, dword [esi + 0x2c]
push 0
push 0
push 0
push edi
call eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x403d9d
cmp eax, 3
jne 0x403c60
mov esi, dword [ebx + 8]
test esi, esi
je 0x403d9d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403d9d
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00402040
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x403d9d
push str.CrashUninitialize
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403c54
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x403d9d
cmp eax, 4
jne 0x403d9d
mov eax, dword [esi + 0x30]
test eax, eax
je 0x403d9d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 4], 2
call eax
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x403d50
mov ecx, dword [ebx + 8]
mov edi, dword [esi]
call fcn.00402740
push eax
push str.app_id
push esi
call dword [edi + 0x24]
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x18]
call fcn.004029b0
test eax, eax
jne 0x403cda
push str.0.00.0000.0000
lea ecx, [ebp - 0x18]
call fcn.00401340
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push str.app_ver
mov edx, dword [eax]
push eax
call dword [edx + 0x1c]
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x20]
call fcn.00402aa0
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push str.app_idate
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 0x1c]
call fcn.00402740
push eax
push ecx
call fcn.00403000
mov ecx, dword [esi]
push eax
push str.app_activeinterval
push esi
call dword [ecx + 0x24]
lea ecx, [ebp - 0x20]
call fcn.00401270
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00401270
push str.Software_bfAppStoreConfigALiveALive_017
push reloc.crt.dll_Ordinal_1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x24]
push 0
mov eax, dword [eax + 0x28]
push 0
push dword [ebp - 0x1c]
push 1
push 3
push dword [ebx + 4]
call eax
test eax, eax
je 0x403d89
mov ecx, dword [ebx + 8]
call fcn.00402740
push eax
push ecx
call fcn.00402eb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403d9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00404ecc
mov esp, ebp
pop ebp
ret 4