Function at 0x4134a0
Capabilities:
Delete file
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x43c040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x834], eax
mov ebx, ecx
lea eax, [ebp - 0x214]
mov dword [ebp - 0x830], edx
push eax
push 1
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.dlnowconf
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.0041d2c0
push 0x208
lea eax, [ebp - 0x624]
push 0
push eax
call fcn.0041d2c0
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.0041d2c0
add esp, 0x20
lea eax, [ebp - 0x214]
mov edi, 0x104
mov edx, edi
push eax
push ecx
lea ecx, [ebp - 0x82c]
call fcn.00401190
cmp word [ebp - 0x82c], 0
mov edx, edi
push ecx
jne 0x413575
push str.FilePath_not_set.
push ecx
lea ecx, [ebp - 0x41c]
call fcn.00401190
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x82c]
push eax
push ecx
lea ecx, [ebp - 0x624]
call fcn.00401190
mov ecx, edi
lea eax, [ebp - 0x624]
cmp word [eax], 0
je 0x41359e
add eax, 2
sub ecx, 1
jne 0x413590
mov eax, edi
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x4135c7
push ecx
push 0x4364a8
push ecx
sub edi, esi
lea ecx, [ebp - 0x624]
lea ecx, [ecx + esi*2]
mov edx, edi
call fcn.00401190
push ecx
lea eax, [ebp - 0x41c]
push eax
push ecx
lea edx, [ebp - 0x624]
lea ecx, [ebp - 0x82c]
call fcn.0040f260
add esp, 0xc
test eax, eax
jne 0x413643
push eax
push 0x4000000
push 5
push eax
push eax
push 0x40000000
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x413629
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x82c], 0
je 0x413562
cmp word [ebp - 0x624], 0
lea ecx, [ebp - 0x82c]
lea eax, [ebp - 0x624]
cmove eax, ecx
push eax
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push str.credentials
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x413562
push 9
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x413562
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x830]
call esi
lea eax, [edi + 2]
push eax
push dword [ebp - 0x834]
call esi
mov ecx, 0x208
lea eax, [ebp - 0x214]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4136d5
cmp word [ebp - 0x624], cx
je 0x413734
push ecx
push 0x4000000
push 5
push ecx
push ecx
push 0x40000000
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x41372d
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret