Function at 0x10032080
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe4d2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003274a
mov ecx, dword [ebp - 0x90]
push esi
push edi
call fcn.100327a0
test eax, eax
jne 0x100321cf
mov dword [ebp - 0x8c], 1
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100322d5
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000af60
mov byte [ebp - 4], 1
call fcn.1007b1e0
mov edi, eax
lea ecx, [ebp - 0x138]
push 0x92f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007c00
mov esi, eax
push str.source_file_ver_low_souce_file:
push esi
mov byte [ebp - 4], 2
call fcn.10008f40
mov eax, dword [ebp - 0x98]
mov ecx, str._null_
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.10005ad0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x138]
call fcn.10009000
lea ecx, [ebp - 0x58]
call fcn.100087a0
lea ecx, [ebp - 0x28]
call fcn.100087a0
mov esi, dword [ebp - 0x8c]
jmp 0x1003274c
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x1003276b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x8c], eax
push edi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 3
call fcn.10034600
test al, al
jne 0x1003222e
test edi, edi
jne 0x1003220d
xor ecx, ecx
jmp 0x10032221
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032212
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x8c]
call fcn.1000a120
mov esi, dword [ebp - 0x8c]
push esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x90], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10032271
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
test cl, 0x10
je 0x10032271
xor eax, eax
mov edx, 1
cmp ecx, 0xffffffff
cmovne eax, edx
mov dword [ebp - 0x90], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10032289
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x90], 0
jne 0x1003274a
mov esi, dword [ebp + 0x10]
xor eax, eax
test esi, esi
sete al
push eax
push dword [ebp - 0x94]
mov dword [ebp - 0xa0], eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov dword [ebp - 0x8c], edi
test edi, edi
jne 0x100321c4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x50
jne 0x100322df
test esi, esi
jne 0x100322df
mov esi, 1
jmp 0x1003274c
call fcn.1007b1e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10032471
call edi
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000af60
mov byte [ebp - 4], 5
call fcn.1007b1e0
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x138]
push 0x93d
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007c00
mov edi, eax
push str.Failed_to_copy_file
push edi
mov byte [ebp - 4], 6
call fcn.10005ad0
mov eax, dword [ebp - 0x98]
mov esi, str._null_
test eax, eax
mov ecx, esi
cmovne ecx, eax
push ecx
push edi
call fcn.10005ad0
push str._to
push edi
call fcn.10005ad0
mov eax, dword [ebp - 0x94]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.10005ad0
push str.__err:
push edi
call fcn.10005ad0
add esp, 0x28
mov ecx, edi
push dword [ebp - 0x90]
call fcn.10014680
mov ecx, dword [ebp - 0x9c]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x138]
call fcn.10009000
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x10032424
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003241a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032775
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10032471
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032467
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003277a
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edi, dword [ebp - 0x94]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100321c4
mov ecx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100324a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.1000b050
push 4
push str..tmp
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 7
call fcn.10018620
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x1003253f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10032535
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003277f
push edx
push ecx
call fcn.100b21ce
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x14], 7
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x9c], eax
call fcn.1007b1e0
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x100326ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.1000af60
push 3
push 0x1010ccec
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1000af60
mov byte [ebp - 4], 0xb
call fcn.1007b1e0
mov edi, eax
lea ecx, [ebp - 0x1d0]
push 0x945
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10007c00
mov esi, eax
push str.Move_ret:
push esi
mov byte [ebp - 4], 0xc
call fcn.10005ad0
add esp, 8
mov ecx, esi
push dword [ebp - 0x9c]
call fcn.100144d0
push 0x10110188
push esi
call fcn.10005ad0
add esp, 8
mov ecx, esi
push dword [ebp - 0x90]
call fcn.10014680
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1d0]
call fcn.10009000
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1003269b
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032691
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032784
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x100326e4
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100326da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10032789
push edx
push ecx
call fcn.100b21ce
add esp, 8
mov edi, dword [ebp - 0x94]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmp edx, 8
jb 0x1003274c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003273e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003278e
push edx
push ecx
call fcn.100b21ce
add esp, 8
jmp 0x1003274c
xor esi, esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b254d
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10009640
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
call fcn.100d129a
int3