Function at 0x1008bd00
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d99d5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10106024]
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 edi, ecx
sub esp, 0x18
mov ecx, esp
push 0xe
push str.Settings_name:
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
push 0x40
push 0x10119228
call fcn.1008a650
sub esp, 0x18
mov ecx, esp
push 6
push str.Rename
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.1008a940
test al, al
jne 0x1008bdbe
sub esp, 0x18
mov ecx, esp
push 5
push str.ENTER
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.10084730
test al, al
je 0x1008c090
mov ecx, 0x10119228
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008bdc6
sub ecx, edx
je 0x1008c075
push str.Default
push 0x10119228
call fcn.100bcd68
add esp, 8
test eax, eax
je 0x1008c075
mov esi, dword [edi + 0xc]
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
sub ecx, ebx
imul ecx
sar edx, 2
mov ecx, edx
dec edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0xc]
cmp ecx, edx
jl 0x1008be20
mov eax, edx
mov ecx, edx
shr eax, 0x1f
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [esi + 0xc], ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [0x101149e4]
lea edx, [ebx + eax*8]
mov eax, dword [edx + 0x10]
add ecx, 0x28
mov dword [ebp - 0x5c], eax
mov esi, 0x7fffffff
mov eax, esi
mov ebx, dword [ecx + 0x10]
sub eax, ebx
cmp eax, dword [ebp - 0x5c]
jb 0x1008c124
cmp dword [ecx + 0x14], 0x10
jb 0x1008be55
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0x10
jb 0x1008be5d
mov edx, dword [edx]
push dword [ebp - 0x5c]
push edx
push ebx
push ecx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
call fcn.10029d20
mov dword [ebp - 4], 0
mov ecx, 0x10119228
mov edx, dword [0x101149e4]
add edx, 0x28
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov ebx, dword [edx + 0x10]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008be90
sub ecx, dword [ebp - 0x5c]
sub esi, ebx
cmp esi, ecx
jb 0x1008c129
cmp dword [edx + 0x14], 0x10
jb 0x1008beac
mov edx, dword [edx]
push ecx
push 0x10119228
push ebx
push edx
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10029d20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x1008bf32
mov ecx, dword [edi + 0xc]
call fcn.100850d0
mov esi, dword [edi + 0xc]
sub esp, 0x18
mov ecx, esp
mov edx, 0x10119228
mov dword [ecx], 0
lea edi, [edx + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov al, byte [edx]
inc edx
test al, al
jne 0x1008bf12
sub edx, edi
push edx
push 0x10119228
call fcn.10044480
mov ecx, esi
call fcn.10085360
jmp 0x1008bfde
push 0x10119228
lea eax, [ebp - 0x58]
push str.Error_renaming_settings___s_.
push eax
call fcn.100a08d0
sub esp, 0xc
mov byte [ebp - 4], 2
mov esi, dword [0x10119268]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x1b
push str.Could_not_rename_directory.
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.10058bc0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10095dc0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x1008bfcc
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008bfc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c12e
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1008c016
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008c00c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c12e
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1008c063
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008c059
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c12e
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov ecx, 0x40
mov eax, 0x10119228
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008c080
call fcn.10012ac0
sub esp, 0x18
mov ecx, esp
push 6
push str.Cancel
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.1008a940
test al, al
jne 0x1008c0ec
sub esp, 0x18
mov ecx, esp
push 3
push 0x100f6600
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.10084730
test al, al
je 0x1008c106
mov ecx, 0x40
mov eax, 0x10119228
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008c0f6
call fcn.10012ac0
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.100aa00f
mov esp, ebp
pop ebp
ret 8
call fcn.10029f50
call fcn.10029f50
call fcn.100bb40e
int3