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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ec78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4921d0]
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 eax, dword [ebp + 0xc]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004015f0
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
push 0x1a
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040c1f0
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ebx, str.Funshion
mov byte [ebp - 4], 2
call fcn.004060a0
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410d5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push 0x498ba8
push ecx
lea ebx, [ebp - 0x14]
call fcn.00407390
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410d8c
test al, 0x10
jne 0x410d8c
mov esi, 1
jmp 0x410d8e
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 0x410dad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x410dd4
push 6
push str.171665
lea ecx, [ebp - 0x10]
call fcn.00401b60
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040c2f0
mov esi, dword [ebp + 8]
add esp, 4
jmp 0x410eed
push 0x47bfe0
lea ecx, [ebp - 0x18]
call fcn.00401c60
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 4], 5
mov esi, dword [ebp + 8]
push 0x498ba4
push 0x498bac
lea ecx, [ebp - 0x10]
mov edx, esi
call fcn.0044a4e0
mov byte [ebp - 4], 4
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 0x410e23
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 0x410eed
push 0x47bfe0
lea ecx, [ebp + 8]
call fcn.00401c60
lea edx, [ebp + 8]
push edx
push 0x498ba4
push 0x498bac
lea edx, [esi + 4]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0044a4e0
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410e7d
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 0x410eed
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 0x410eed
mov ebx, dword [ebp - 0x10]
lea eax, [edi - 0x10]
add ebx, 0xfffffff0
cmp eax, ebx
je 0x410eed
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x410edd
mov ecx, dword [eax]
cmp ecx, dword [ebx]
jne 0x410edd
push eax
call fcn.004015f0
add esp, 4
mov dword [ebp + 8], eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x410ed2
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x410eed
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401b60
lea edi, [esi + 0xc]
lea eax, [ebp - 0x10]
call fcn.00404aa0
lea edi, [esi + 0x10]
lea eax, [ebp + 0xc]
call fcn.00404aa0
lea ecx, [ebp - 0x10]
push ecx
push 0x498bac
mov ecx, 0x498ba4
mov edi, esi
call fcn.004106e0
mov edi, dword [ebp + 0xc]
cmp dword [edi - 4], 1
jle 0x410f30
mov edx, dword [edi - 0xc]
push edx
lea ecx, [ebp + 0xc]
call fcn.00401990
mov edi, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x18]
call fcn.00401c60
push str.CHANNEL_IDN
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.00401c60
mov esi, dword [esi + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [0x498bac]
push esi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410f82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
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 0x410fa5
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 - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410fe8
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 0x41100e
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 8