Function at 0x1005c300
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 0x100f0ab5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x101383dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x10188920]
call fcn.10029880
call fcn.1002c100
mov esi, 3
mov ecx, dword [0x10138e58]
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
cmp byte [eax + 0x90], 0
jne 0x1005c38e
xorps xmm1, xmm1
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
call fcn.10020be0
sub esi, 1
jne 0x1005c353
movss xmm1, dword [0x1012a88c]
movss xmm0, dword [0x1012a5f8]
call fcn.10039dd0
call fcn.10039b40
push str.Settings_name:
call fcn.10029c90
mov ecx, dword [0x10138e58]
add esp, 4
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
lea edi, [eax + 0x158]
mov dword [ebp - 0x48], eax
mov dword [eax + 0x144], 0x43620000
mov ecx, dword [edi]
mov esi, dword [edi + 4]
cmp ecx, esi
jne 0x1005c414
inc ecx
test esi, esi
je 0x1005c3ff
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1005c404
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003ae30
mov eax, dword [ebp - 0x48]
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x144]
push 0
push 0
mov dword [ecx + edx*4], eax
lea eax, [ebp - 0x4c]
inc dword [edi]
mov edx, 0x10189698
push 0
push eax
push 0x28
mov ecx, str.SettingsRename
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.1002ff10
mov esi, dword [0x10138e58]
add esp, 0x14
mov eax, dword [esi + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [esi + 0x1804]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x1005c484
movss xmm0, dword [ecx + 0x1e4]
jmp 0x1005c490
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
lea eax, [ebp - 0x70]
movups xmm0, xmmword [esi + 0x14d0]
lea ecx, [esi + 0x1844]
mov dword [ebp - 0x50], 0
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 5
movups xmmword [ebp - 0x6c], xmm0
call fcn.1003ad80
mov ecx, dword [0x10138e58]
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [esi + 0x14d0], xmm0
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
cmp byte [eax + 0x90], 0
jne 0x1005c51b
xorps xmm1, xmm1
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
call fcn.10020be0
push ecx
mov edx, 0x1018da78
mov ecx, str.Rename
call fcn.1002aa20
add esp, 4
test al, al
je 0x1005c75d
mov ecx, 0x10189698
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005c540
sub ecx, edx
je 0x1005c75d
mov ecx, dword [0x1018d65c]
mov eax, 0x2aaaaaab
mov edi, dword [0x1018d658]
sub ecx, edi
mov esi, dword [0x101896c4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x1005c7bb
lea eax, [esi + esi*2]
cmp dword [edi + eax*8 + 0x14], 0x10
lea eax, [edi + eax*8]
jb 0x1005c58b
mov eax, dword [eax]
mov ecx, 0x10189698
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005c5b0
test dl, dl
je 0x1005c5ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005c5b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005c590
xor eax, eax
jmp 0x1005c5b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005c758
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0x10186a14
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.1000ba80
mov ecx, dword [0x1018d65c]
mov eax, 0x2aaaaaab
mov edi, dword [0x1018d658]
sub ecx, edi
mov esi, dword [0x101896c4]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x1005c7c0
lea eax, [esi + esi*2]
lea eax, [edi + eax*8]
push eax
lea ecx, [ebp - 0x44]
call fcn.1000ba80
push 0x10186a14
lea ecx, [ebp - 0x2c]
call fcn.1000ba80
mov edi, 0x10189698
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1005c655
mov edx, dword [ebp - 0x18]
sub edi, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
push edi
push 0x10189698
cmp edi, eax
ja 0x1005c693
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.100c58f0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x1005c6a3
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x48]
push edi
call fcn.1000bcf0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1005c6f9
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c6ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c7c5
push ecx
push edx
call fcn.100c3236
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0x10
jb 0x1005c746
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c73c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c7c5
push ecx
push edx
call fcn.100c3236
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.10024af0
movss xmm1, dword [0x1012a88c]
xorps xmm0, xmm0
call fcn.10039dd0
push ecx
mov edx, 0x1018da78
mov ecx, str.Cancel
call fcn.1002aa20
add esp, 4
test al, al
je 0x1005c789
call fcn.10024af0
mov ecx, 1
call fcn.10029a60
call fcn.10039c50
call fcn.10028e80
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.100c2ed5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10017d20
call fcn.10017d20
call fcn.100cbff5
int3