Function at 0x101589a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a63db
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101ea949
call fcn.1019d101
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.10157a80
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x150], esp
push str.Settings_name:
call fcn.100767e0
mov ecx, dword [ebp - 0x1ac]
call fcn.10153610
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.10157a80
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x15c], esp
push str.Rename
call fcn.100767e0
mov ecx, dword [ebp - 0x1ac]
call fcn.10153420
mov byte [ebp - 0x1ad], al
movzx eax, byte [ebp - 0x1ad]
test eax, eax
jne 0x10158ab0
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10157a30
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x168], esp
push str.ENTER
call fcn.100767e0
mov ecx, dword [ebp - 0x1ac]
call fcn.10147b60
mov byte [ebp - 0x1ad], al
movzx eax, byte [ebp - 0x1ad]
test eax, eax
je 0x10158c8e
mov eax, dword [ebp + 8]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
je 0x10158c79
mov esi, esp
push str.Default
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
cmp esi, esp
call fcn.1019d0de
test eax, eax
je 0x10158c79
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.10157ad0
mov ecx, eax
call fcn.10149670
mov dword [ebp - 0x1ac], eax
mov ecx, 0x101e3064
call fcn.10068420
add eax, 0x28
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x1b0]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.100ea400
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x101e3064
call fcn.10068420
add eax, 0x28
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.10067380
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.1006a530
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x38]
call fcn.1006a530
mov dword [ebp - 0x1b0], eax
mov esi, esp
mov eax, dword [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x1b0]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x10158bde
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.10157ad0
mov ecx, eax
call fcn.10149740
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.10157ad0
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x174], esp
mov eax, dword [ebp + 8]
push eax
call fcn.100767e0
mov ecx, dword [ebp - 0x1ac]
call fcn.101499a0
jmp 0x10158c5e
mov eax, dword [ebp + 8]
push eax
push str.Error_renaming_settings___s_.
lea ecx, [ebp - 0x84]
push ecx
call fcn.1018d000
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, 0x101e44a0
call fcn.10144890
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push str.Could_not_rename_directory.
call fcn.100767e0
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18c], esp
lea eax, [ebp - 0x84]
push eax
call fcn.100cd730
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1ac]
call fcn.101692a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.100681f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.100681f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10115440
add esp, 8
call fcn.10015f80
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.10157a80
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x198], esp
push str.Cancel
call fcn.100767e0
mov ecx, dword [ebp - 0x1ac]
call fcn.10153420
mov byte [ebp - 0x1ad], al
movzx eax, byte [ebp - 0x1ad]
test eax, eax
jne 0x10158d12
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10157a30
mov dword [ebp - 0x1ac], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push 0x101be118
call fcn.100767e0
mov ecx, dword [ebp - 0x1ac]
call fcn.10147b60
mov byte [ebp - 0x1ad], al
movzx eax, byte [ebp - 0x1ad]
test eax, eax
je 0x10158d27
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10115440
add esp, 8
call fcn.10015f80
push edx
mov ecx, ebp
push eax
lea edx, [0x10158d64]
call fcn.1019d088
pop eax
pop edx
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.1019d133
add esp, 0x1b0
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 8