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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4b10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4ed4e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 2
mov eax, ebx
lea ecx, [ebp - 0x20]
lea edx, [ebp + 0xc]
mov dword [ebp - 4], 0
call fcn.0040c3c0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x41f4bd
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41f4a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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
lea edx, [ebp + 0xc]
call fcn.0041faa0
test eax, eax
jne 0x41f51f
mov byte [ebp - 4], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f4e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41f506
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
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
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
push eax
call fcn.00401550
add esp, 4
lea ecx, [ebp - 0x18]
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.0041fbb0
push eax
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], bl
call fcn.0041fd50
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00404de0
mov byte [ebp - 4], bl
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 0x41f57d
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 - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f5f8
mov byte [ebp - 4], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5d9
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 + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41f498
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
mov edi, esi
call fcn.00404de0
lea ecx, [ebp + 8]
push ecx
call fcn.0041f200
mov edi, 0x4fe660
mov byte [ebp - 4], 4
call fcn.00404de0
mov byte [ebp - 4], 1
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 0x41f63f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push esi
push ecx
mov ebx, str._skin1
call fcn.00406680
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edx
call esi
cmp eax, 0xffffffff
je 0x41f672
lea eax, [ebp - 0x14]
push eax
call fcn.00418eb0
add esp, 4
lea ecx, [ebp + 0xc]
push ecx
push 0x4fe660
call fcn.0040a980
add esp, 8
test eax, eax
jne 0x41f722
mov edx, dword [0x4fe660]
push edx
call esi
cmp eax, 0xffffffff
je 0x41f722
lea eax, [ebp + 8]
push 0x4c43b8
push eax
mov ecx, 0x4fe668
call fcn.0040c430
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ebx, 0x4fe660
mov byte [ebp - 4], 6
call fcn.00407e10
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ebx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00407e10
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
add esp, 0x14
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.00401550
lea edx, [ebp - 0x1c]
add esp, 4
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.00419610
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.004015f0
lea ecx, [ebp - 0x1c]
call fcn.004015f0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.004015f0
call fcn.00421380
call sym.Install.exe_private:_static_class_CFpFunshionIni____cdecl_boost::serialization::singleton_class_CFpFunshionIni_::get_instance_void_
lea ecx, [ebp + 0xc]
push ecx
push 0x4fe65c
push 0x4fe66c
mov ecx, eax
call fcn.0041a7d0
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp + 8], esp
mov edi, esp
push eax
call fcn.00401550
add esp, 4
lea edx, [ebp - 0x10]
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.00420a20
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x41f780
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.004018f0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00487ccf
add esp, 8
test eax, eax
js 0x41f8ec
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x41f8ec
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
lea eax, [ebp - 0x1c]
push 0x4fe670
push eax
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.00407e10
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0xb
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41f804
lea ecx, [ebp + 8]
push ecx
push edi
call fcn.00419de0
add esp, 8
mov byte [ebp - 4], 0xa
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 0x41f827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
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 0x41f86a
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 0x41f88d
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 - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8b0
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 + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f8d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, 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
push 0x80070057
call fcn.00401a60
int3