Function at 0x4270f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e4f7
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5cc6c0]
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 ebx, ecx
cmp dword [ebx + 0x7c], 0
je 0x427434
cmp dword [ebx + 0x68], 0x10
lea eax, [ebx + 0x54]
jb 0x427136
mov eax, dword [ebx + 0x54]
push 0xfde9
push eax
lea ecx, [ebp - 0x224]
call fcn.00415d70
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427170
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406a80
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x4271a6
push eax
call fcn.00542951
add esp, 4
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
test edi, edi
je 0x42742c
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x4271e2
cmp ecx, edx
je 0x42742c
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x4271d1
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x42742c
xor eax, eax
mov dword [ebp - 0x48], 0
inc ecx
mov word [ebp - 0x58], ax
cmp edi, ecx
mov dword [ebp - 0x44], 7
lea eax, [ebp - 0x28]
cmovb ecx, edi
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.00406a80
cmp dword [ebx + 0x80], 0x10
lea eax, [ebx + 0x6c]
mov byte [ebp - 4], 3
jb 0x427230
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [ebp - 0x224]
call fcn.00415d70
push dword [eax]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00422c10
add esp, 0xc
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 6
cmp eax, ecx
je 0x427274
push eax
call fcn.00542951
add esp, 4
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 1
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4273c3
call fcn.00467400
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x42741c
push 0x41
push str.d:jenkins.jenkinsworkspacepcstorepcstoremaindownloadmgr.cpp
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], al
call fcn.00406f00
push 3
push 0x57fd94
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00406f00
push 0x21c
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040a870
mov edi, eax
push str.rename_failed:
push edi
mov byte [ebp - 4], 9
call fcn.00409440
push str.old:
push edi
call fcn.00409440
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov esi, str._null_
cmovae ecx, dword [ebp - 0x28]
mov eax, esi
test ecx, ecx
cmovne eax, ecx
push eax
push edi
call fcn.00409440
push str._new:
push edi
call fcn.00409440
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.00409440
push str._err:
push edi
call fcn.00409440
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.0040b4f0
call fcn.00467400
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.0040b790
lea ecx, [ebp - 0x70]
call fcn.00406da0
lea ecx, [ebp - 0x88]
call fcn.00406da0
jmp 0x42741c
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0xfde9
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
push eax
call fcn.004237c0
mov ecx, dword [eax]
mov edx, ecx
mov byte [ebp - 4], 0xa
lea edi, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4273f0
sub edx, edi
push edx
push ecx
lea ecx, [ebx + 0x54]
call fcn.00406f00
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
cmp eax, ecx
je 0x42741c
push eax
call fcn.00542951
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00406060
lea ecx, [ebp - 0x58]
call fcn.00406060
lea ecx, [ebp - 0x28]
call fcn.00406060
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.004fa004
mov esp, ebp
pop ebp
ret