Function at 0x1008db28
Capabilities:
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9a15
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x10106040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x68], esi
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0xe
movups xmmword [ecx], xmm0
push str.Settings_name:
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
push 0x40
push 0x10115360
call fcn.1008abc0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 6
movups xmmword [ecx], xmm0
push str.Rename
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.1008aeb0
test al, al
jne 0x1008db94
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 5
movups xmmword [ecx], xmm0
push str.ENTER
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.10084a10
test al, al
je 0x1008de82
mov ecx, 0x10115360
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008dba0
sub ecx, edx
je 0x1008de68
push str.Default
push 0x10115360
call fcn.100bd565
add esp, 8
test eax, eax
je 0x1008de68
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x6c], 0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 0xc
sub ecx, eax
mov dword [ebp - 0x64], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
sar edx, 2
shr eax, 0x1f
mov esi, edx
shr esi, 0x1f
dec edx
add esi, edx
test al, al
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
cmove ecx, edi
cmp esi, dword [edi]
mov esi, 0x7fffffff
cmovge eax, ecx
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [edi], eax
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8]
mov ecx, dword [0x10115328]
mov eax, dword [edx + 0x10]
add ecx, 0x28
mov dword [ebp - 0x64], eax
mov eax, esi
mov edi, dword [ecx + 0x10]
sub eax, edi
cmp eax, dword [ebp - 0x64]
jb 0x1008df20
cmp dword [ecx + 0x14], 0xf
jbe 0x1008dc43
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0xf
jbe 0x1008dc4b
mov edx, dword [edx]
push dword [ebp - 0x64]
push edx
push edi
push ecx
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x48]
call fcn.1002a1a0
mov dword [ebp - 4], 0
mov ecx, 0x10115360
mov edx, dword [0x10115328]
add edx, 0x28
lea eax, [ecx + 1]
mov dword [ebp - 0x64], eax
mov edi, dword [edx + 0x10]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008dc80
sub ecx, dword [ebp - 0x64]
sub esi, edi
cmp esi, ecx
jb 0x1008df25
cmp dword [edx + 0x14], 0xf
jbe 0x1008dc9c
mov edx, dword [edx]
push ecx
push 0x10115360
push edi
push edx
push ecx
push dword [ebp - 0x68]
lea ecx, [ebp - 0x30]
call fcn.1002a1a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x48]
cmova ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x34], 0xf
push ecx
cmova eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x1008dd25
mov esi, dword [ebp - 0x68]
mov ecx, dword [esi + 0xc]
call fcn.100854a0
mov esi, dword [esi + 0xc]
sub esp, 0x18
mov ecx, esp
mov edx, 0x10115360
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
lea edi, [edx + 1]
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x1008dd05
sub edx, edi
push edx
push 0x10115360
call fcn.10042f00
mov ecx, esi
call fcn.10085730
jmp 0x1008ddd1
push 0x10115360
lea eax, [ebp - 0x60]
push str.Error_renaming_settings___s_.
push eax
call fcn.100a1730
sub esp, 0xc
mov byte [ebp - 4], 2
mov esi, dword [0x1011535c]
mov ecx, esp
mov dword [ebp - 0x68], esp
xorps xmm0, xmm0
push 0x1b
movups xmmword [ecx], xmm0
push str.Could_not_rename_directory.
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x60]
mov ecx, esp
push eax
call fcn.10058110
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10096340
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1008ddbf
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008ddb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008df2a
push ecx
push edx
call fcn.100aa232
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x1008de09
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008ddff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008df2a
push ecx
push edx
call fcn.100aa232
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x1008de56
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008de4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008df2a
push ecx
push edx
call fcn.100aa232
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov ecx, 0x40
mov eax, 0x10115360
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008de72
call fcn.10013f10
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 6
movups xmmword [ecx], xmm0
push str.Cancel
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.1008aeb0
test al, al
jne 0x1008dede
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 3
movups xmmword [ecx], xmm0
push 0x100f2a8c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.10084a10
test al, al
je 0x1008df00
mov ecx, 0x40
mov eax, 0x10115360
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008def0
call fcn.10013f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100a9d10
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10029650
call fcn.10029650
call fcn.100bb9d8
int3