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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d818
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
push edi
lea esi, [ebp - 0x14]
call fcn.00410130
push 0x1a
lea esi, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040d950
push eax
lea eax, [ebp - 0x1c]
push eax
mov ebx, str.Funshion
mov byte [ebp - 4], 2
call fcn.00406660
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fa67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push 0x4c9aec
push ecx
lea ebx, [ebp - 0x1c]
call fcn.00407c50
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40fa94
test al, 0x10
jne 0x40fa94
mov esi, 1
jmp 0x40fa96
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fab5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x40facf
push 6
push str.171665
lea ecx, [ebp - 0x10]
call fcn.00401b30
mov bl, 4
jmp 0x40fb96
push 0x49d138
lea ecx, [ebp - 0x18]
call fcn.00401c30
lea ecx, [ebp - 0x18]
push ecx
push 0x4c9ae8
push 0x4c9af0
lea ecx, [ebp - 0x10]
mov edx, edi
mov byte [ebp - 4], 5
call fcn.00467210
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fb1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jne 0x40fb96
push 0x49d138
lea ecx, [ebp - 0x18]
call fcn.00401c30
lea edx, [ebp - 0x18]
push edx
push 0x4c9ae8
push 0x4c9af0
lea edx, [edi + 4]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00467210
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fb71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], 0
jne 0x40fb96
call sym.Install.exe_private:_static_class_CFpInstallAppMgr____cdecl_boost::serialization::singleton_class_CFpInstallAppMgr_::get_instance_void_
mov edx, dword [eax + 4]
cmp dword [edx + 0x14], 1
jne 0x40fb96
lea eax, [ebp - 0x14]
lea edi, [ebp - 0x10]
call fcn.00404e40
mov edi, dword [ebp + 8]
add edi, 0xc
lea eax, [ebp - 0x10]
call fcn.00404e40
mov esi, dword [ebp + 8]
lea edi, [esi + 0x10]
lea eax, [ebp - 0x14]
call fcn.00404e40
lea eax, [ebp - 0x10]
push eax
push 0x4c9af0
mov ecx, 0x4c9ae8
mov edi, esi
call fcn.0040f3f0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
jle 0x40fbdc
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401970
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401c30
push str.CHANNEL_IDN
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00401c30
mov esi, dword [esi + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [0x4c9af0]
push esi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fc2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fc96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fcbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4