Function at 0x1002e510
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de840
mov eax, dword fs:[0]
push eax
sub esp, 0xa10
mov eax, dword [0x10121b54]
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 dword [ebp - 0x8ec], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x8e0], eax
mov dword [ebp - 0x8dc], ebx
call fcn.1006b3e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002e6f4
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], al
call fcn.1000ba10
push 3
push 0x100ebef8
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.1000ba10
mov byte [ebp - 4], 1
call fcn.1006b3e0
mov ebx, eax
lea ecx, [ebp - 0x984]
push 0x851
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.100082f0
mov edi, eax
push str.CopyDirectory_source:
push edi
mov byte [ebp - 4], 2
call fcn.100059b0
mov eax, dword [ebp - 0x8e0]
mov esi, 0x100ebd34
test eax, eax
mov ecx, esi
cmovne ecx, eax
push ecx
push edi
call fcn.100059b0
push str._dir:
push edi
call fcn.100059b0
mov eax, dword [ebp - 0x8dc]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.100059b0
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x984]
call fcn.100096f0
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1002e692
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e688
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e9dc
push edx
push ecx
call fcn.10097bcf
add esp, 8
mov edx, dword [ebp - 0x644]
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1002e6ee
mov ecx, dword [ebp - 0x658]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e6e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e9e1
push edx
push ecx
call fcn.10097bcf
add esp, 8
mov ebx, dword [ebp - 0x8dc]
mov edi, dword [ebp - 0x8e0]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
jne 0x1002e70e
xor eax, eax
jmp 0x1002e9be
push ebx
call esi
test eax, eax
jne 0x1002e71d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
push edi
push eax
call ebx
push 0x100eef18
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8e8], eax
cmp eax, 0xffffffff
je 0x1002e707
mov edi, dword [ebp + 0x10]
mov esi, 1
mov dword [ebp - 0x8e4], esi
nop dword [eax + eax]
push dword [ebp - 0x8e0]
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x8ac]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
push dword [ebp - 0x8dc]
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x8ac]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
test byte [ebp - 0x8d8], 0x10
je 0x1002e85e
mov ecx, 0x100eef1c
lea eax, [ebp - 0x8ac]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002e7ec
test dx, dx
je 0x1002e7e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002e7ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002e7c6
xor eax, eax
jmp 0x1002e7f1
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002e995
mov eax, 0x100eef20
lea ecx, [ebp - 0x8ac]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002e82a
test dx, dx
je 0x1002e826
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002e82a
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002e804
xor eax, eax
jmp 0x1002e82f
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002e995
mov ecx, dword [ebp - 0x8ec]
lea eax, [ebp - 0x420]
push edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1002e510
and esi, eax
mov dword [ebp - 0x8e4], esi
jmp 0x1002e995
xor eax, eax
test edi, edi
sete al
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1002e995
call fcn.1006b3e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002e995
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
lea ecx, [ebp - 0x688]
mov dword [ebp - 0x678], eax
mov dword [ebp - 0x674], 0xf
mov byte [ebp - 0x688], al
call fcn.1000ba10
push 3
push 0x100ebef8
lea ecx, [ebp - 0x670]
mov dword [ebp - 4], 3
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 0xf
mov byte [ebp - 0x670], 0
call fcn.1000ba10
mov byte [ebp - 4], 4
call fcn.1006b3e0
mov edi, eax
lea ecx, [ebp - 0xa1c]
push 0x876
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.100082f0
mov esi, eax
push str.Failed_to_copy_file
push esi
mov byte [ebp - 4], 5
call fcn.100059b0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.100059b0
push str._to
push esi
call fcn.100059b0
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.100059b0
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa1c]
call fcn.100096f0
lea ecx, [ebp - 0x670]
call fcn.10008e90
lea ecx, [ebp - 0x688]
mov dword [ebp - 4], 0xffffffff
call fcn.10008e90
mov esi, dword [ebp - 0x8e4]
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x8d8]
push eax
push dword [ebp - 0x8e8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1002e770
push dword [ebp - 0x8e8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
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.10097f4e
mov esp, ebp
pop ebp
ret 0xc
call fcn.100b5e29
call fcn.100b5e29
int3