Function at 0x5283d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5495
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
call fcn.005268f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
mov ebx, dword [ebp + 8]
mov edx, eax
push ebx
call fcn.0044ce40
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x52844f
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x528445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5286a8
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
mov ecx, esi
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x10], 7
push eax
call fcn.005268f0
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x3c]
push edi
mov edx, eax
mov byte [ebp - 4], 3
call fcn.0044ce40
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x58]
cmp ecx, 8
jb 0x5284c1
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x5284b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5286ad
push ecx
push edx
call fcn.00583877
add esp, 8
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 8
push ecx
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push ebx
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0045f770
mov esi, dword [ebp - 0x14]
push edi
cmp esi, dword [ebp - 0x10]
je 0x52851b
mov ecx, esi
call fcn.00446f20
add esi, 0x18
mov dword [ebp - 0x14], esi
jmp 0x528524
push esi
lea ecx, [ebp - 0x18]
call fcn.0045f770
sub esp, 0xc
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.004eb8d0
sub esp, 0x18
mov byte [ebp - 4], 7
mov esi, esp
push 6
push str.rename
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 6
call fcn.005854c0
add esp, 0xc
mov byte [esi + 6], 0
mov byte [ebp - 4], 6
call fcn.00526240
mov edi, dword [ebp - 0x18]
add esp, 0x24
test edi, edi
je 0x528615
mov ebx, dword [ebp - 0x14]
mov esi, edi
cmp esi, ebx
je 0x5285d9
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x5285bf
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x5285b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5286b2
mov eax, edx
push ecx
push eax
call fcn.00583877
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, ebx
jne 0x528586
mov eax, dword [ebp - 0x10]
sub eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x52860b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5286b2
push ecx
push edi
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x28]
cmp ecx, 8
jb 0x52864b
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x528641
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5286b2
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp ecx, 8
jb 0x528695
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x52868b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5286b2
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00591c98
call fcn.00591c98
call fcn.00591c98
int3