Function at 0x42ccd0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c206e
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4f840c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
lea ecx, [eax + 0x108]
xor edx, edx
mov esi, 0xf
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], ecx
mov byte [ecx], dl
lea ecx, [eax + 0x124]
mov dword [ebp - 4], edx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edx
mov dword [ebp - 0x134], ecx
mov byte [ecx], dl
lea ecx, [eax + 0x140]
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edx
mov dword [ebp - 0x140], ecx
mov byte [ecx], dl
push edx
push 0x1a
lea ebx, [eax + 4]
push ebx
push edx
mov byte [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42cd61
mov ax, word [0x4e0dd8]
lea ecx, [ebp - 0x130]
push str.YouKeData
push ecx
mov word [edi], ax
call sym.Uninstall.exe_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KpBase::ws2s_wchar_t_const__
mov edx, 0x10
add esp, 8
cmp dword [eax + 0x14], edx
jb 0x42cd92
mov eax, dword [eax]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42cd94
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x42cda0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0x11c], edx
jb 0x42cdce
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42cde1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x42cde4
mov ax, word [0x4e0dd8]
mov esi, dword [sym.imp.MSVCR100.dll_strlen]
push ebx
mov word [edi], ax
call esi
mov ecx, dword [ebp - 0x13c]
add esp, 4
push eax
push ebx
call fcn.0040dda8
push str.log.txt
call esi
mov edi, dword [ebp - 0x13c]
add esp, 4
mov ebx, eax
push str.log.txt
mov eax, edi
call fcn.0040e8c4
cmp dword [edi + 0x14], 0x10
jb 0x42ce34
mov edi, dword [edi]
push 0x4e2ab0
push edi
call dword [sym.imp.MSVCR100.dll_fopen]
mov ecx, dword [ebp - 0x138]
push 0x103
lea edx, [ebp - 0x113]
push 0
push edx
mov dword [ecx], eax
mov byte [ebp - 0x114], 0
call sub.MSVCR100.dll_memset
add esp, 0x14
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x114]
push ecx
call esi
mov edi, dword [ebp - 0x134]
add esp, 4
push eax
lea edx, [ebp - 0x114]
push edx
mov ecx, edi
call fcn.0040dda8
push 0x4e0dec
call esi
add esp, 4
mov ebx, eax
push 0x4e0dec
mov eax, edi
call fcn.0040d84f
push 0x4e0dd8
mov dword [ebp - 0x134], eax
call esi
add esp, 4
mov ebx, eax
push 0x4e0dd8
mov eax, edi
call fcn.0040d84f
mov ecx, dword [ebp - 0x134]
push ecx
inc eax
push eax
push edi
lea eax, [ebp - 0x130]
call fcn.0040d403
mov ebx, eax
cmp edi, ebx
je 0x42cf3d
cmp dword [edi + 0x14], 0x10
jb 0x42cefd
mov eax, dword [edi]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], eax
mov byte [edi], al
cmp dword [ebx + 0x14], 0x10
jae 0x42cf25
mov eax, dword [ebx + 0x10]
inc eax
push eax
push ebx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
xor eax, eax
jmp 0x42cf2b
mov edx, dword [ebx]
mov dword [edi], edx
mov dword [ebx], eax
mov ecx, dword [ebx + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x14], edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x11c], 0x10
jb 0x42cf5a
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 0x4e2ab4
call esi
add esp, 4
mov ebx, eax
push 0x4e2ab4
mov eax, edi
call fcn.0040e8c4
push 0x4e2ab8
call esi
mov ecx, dword [ebp - 0x140]
add esp, 4
push eax
push 0x4e2ab8
call fcn.0040dda8
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00485d44
mov esp, ebp
pop ebp
ret