Function at 0x409fe4
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4b23f1
call fcn.004acfc0
sub esp, 0xc8c
or dword [ebp - 0x14], 0xffffffff
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
xor ebx, ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], ebx
call fcn.00409b3a
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00409d53
add esp, 0x1c
mov dword [ebp - 4], ebx
or dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00408576
cmp eax, ebx
je 0x40a088
lea esi, [ebp - 0x58]
call fcn.00408682
cmp eax, ebx
jne 0x40a075
call fcn.004086da
cmp eax, ebx
je 0x40a088
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
call fcn.00408385
lea esi, [ebp - 0x58]
call fcn.00408362
mov eax, dword [0x4df350]
mov esi, 0x4df350
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push str.install_resinstallconfig.ini
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00426238
pop ecx
pop ecx
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040805e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405148
cmp dword [ebp - 0x10], ebx
jne 0x40a18d
mov edi, dword [ebp - 0x24]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a18d
push 0x4bb268
lea eax, [ebp - 0x20]
push eax
call fcn.00408124
push ecx
mov byte [ebp - 4], 4
lea eax, [edi - 0x10]
mov dword [ebp - 0x10], esp
mov ebx, esp
call fcn.00408006
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov ebx, esp
call fcn.00408006
add eax, 0x10
mov dword [ebx], eax
lea ebx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00409a1d
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov ebx, esp
call fcn.00408006
add eax, 0x10
mov dword [ebx], eax
call fcn.0045e4dd
mov eax, dword [ebp - 0x18]
mov dword [0x4e0fdc], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00405148
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405148
xor ebx, ebx
mov eax, dword [0x4df350]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push str.http:__dubacdn.cmcmcdn.com_sem_installer__d.png
call fcn.0040818d
pop ecx
pop ecx
push str.install_res
lea eax, [ebp - 0x2c]
push eax
call fcn.00407d54
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
lea edi, [ebx - 0x10]
mov eax, edi
mov dword [ebp - 0x14], edi
call fcn.00408006
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
push ebx
mov byte [ebp - 4], 8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebx, dword [ebp - 0x20]
je 0x40a243
push str.100.png
lea eax, [ebp - 0x1c]
push eax
call fcn.00407d54
mov esi, dword [ebp - 0x1c]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x10], esp
call fcn.00408006
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
push ecx
mov byte [ebp - 4], 9
mov dword [ebp - 0x10], esp
lea eax, [ebx - 0x10]
mov dword [ebp - 0x10], esp
call fcn.00408006
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 8
call fcn.00409ad8
test eax, eax
pop ecx
pop ecx
je 0x40a243
mov dword [ebp - 0x18], 1
push dword [ebp - 0x18]
mov eax, edi
push ecx
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x10], esp
call fcn.00408006
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
call fcn.00409ec5
pop ecx
pop ecx
call fcn.0045f813
test eax, eax
je 0x40a2a5
cmp dword [0x4e0fd8], 0
je 0x40a29e
lea eax, [esi - 0x10]
call fcn.00405148
lea eax, [ebx - 0x10]
call fcn.00405148
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00405148
lea esi, [ebp - 0x58]
call fcn.00408362
mov eax, edi
jmp 0x40a32d
call fcn.0040972f
jmp 0x40a274
push ecx
mov eax, edi
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x10], esp
call fcn.00408006
mov ecx, esp
push dword [ebp - 0x34]
add eax, 0x10
push dword [ebp - 0x28]
mov dword [ecx], eax
push dword [ebp - 0x38]
lea eax, [ebp - 0xc98]
push eax
call fcn.00468d1e
lea edi, [ebp - 0xc98]
mov byte [ebp - 4], 0xa
call fcn.0040a4d3
mov eax, dword [ebp - 0x14]
push ecx
mov dword [ebp - 0x30], esp
mov edi, esp
call fcn.00408006
add eax, 0x10
mov dword [edi], eax
call fcn.00409f5f
pop ecx
lea eax, [ebp - 0xc98]
push eax
mov byte [ebp - 4], 8
call fcn.00468f61
lea eax, [esi - 0x10]
call fcn.00405148
lea eax, [ebx - 0x10]
call fcn.00405148
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00405148
lea esi, [ebp - 0x58]
call fcn.00408362
mov eax, dword [ebp - 0x14]
call fcn.00405148
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret