Function at 0x1000b010
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061882
mov eax, dword fs:[0]
push eax
sub esp, 0x5b0
mov eax, dword [0x10081100]
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
cmp dword [edi], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x428], ebx
jne 0x1000b053
call fcn.1000e5c0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1003d850
lea esi, [edi + 0x14]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000b076
mov eax, dword [esi]
push eax
push dword [edi + 4]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x420]
push eax
call edi
push 0
lea eax, [ebp - 0x420]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call fcn.1001a920
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1000b276
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x48
push str.d:jenkins.jenkinsworkspacelib_commoncefhelpercef_helperconfig.cpp
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
call fcn.10004a50
push 3
push 0x10066764
lea ecx, [ebp - 0x444]
mov dword [ebp - 4], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.10004a50
mov byte [ebp - 4], 1
call fcn.1001a920
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x524]
push 0xae
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.10002920
mov edi, eax
push str.copy
push edi
mov byte [ebp - 4], 2
call fcn.10003570
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1000b17d
mov ecx, dword [esi]
test ecx, ecx
mov eax, 0x10066984
cmovne eax, ecx
push eax
push edi
call fcn.10007600
push str._return
push edi
call fcn.10003570
add esp, 0x10
mov ecx, edi
push ebx
call fcn.1000a7d0
push str.__errcode
push edi
call fcn.10003570
add esp, 8
mov ecx, edi
push dword [ebp - 0x42c]
call fcn.1000a970
mov ecx, dword [ebp - 0x424]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x524]
call fcn.10003620
mov edx, dword [ebp - 0x430]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000b214
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b20a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b45c
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1000b270
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000b266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b461
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
jne 0x1000b43c
lea eax, [ebp - 0x420]
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1003d850
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100839f0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000b2cb
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call edi
push 0
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x428]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call fcn.1001a920
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000b43c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x48
push str.d:jenkins.jenkinsworkspacelib_commoncefhelpercef_helperconfig.cpp
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0xf
mov byte [ebp - 0x48c], 0
call fcn.10004a50
push 3
push 0x10066764
lea ecx, [ebp - 0x474]
mov dword [ebp - 4], 3
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
call fcn.10004a50
mov byte [ebp - 4], 4
call fcn.1001a920
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x5bc]
push 0xba
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.10002920
mov edi, eax
push str.copy
push edi
mov byte [ebp - 4], 5
call fcn.10003570
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1000b3cd
mov esi, dword [esi]
test esi, esi
mov eax, 0x10066984
cmovne eax, esi
push eax
push edi
call fcn.10007600
push str._return
push edi
call fcn.10003570
add esp, 0x10
mov ecx, edi
push ebx
call fcn.1000a7d0
push str.__errcode
push edi
call fcn.10003570
add esp, 8
mov ecx, edi
push dword [ebp - 0x428]
call fcn.1000a970
mov ecx, dword [ebp - 0x424]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x5bc]
call fcn.10003620
lea ecx, [ebp - 0x474]
call fcn.10003260
lea ecx, [ebp - 0x48c]
call fcn.10003260
mov eax, ebx
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.10021142
mov esp, ebp
pop ebp
ret 4
call fcn.10040839
call fcn.10040839
int3