Function at 0x1002e860
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 0x100e1d97
mov eax, dword fs:[0]
push eax
sub esp, 0xa10
mov eax, dword [0x10124b64]
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.1006e7e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002ea44
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 0x100eef08
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.1006e7e0
mov ebx, eax
lea ecx, [ebp - 0x984]
push 0x863
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, 0x100eed44
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 0x1002e9e2
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e9d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ed2c
push edx
push ecx
call fcn.1009b0ef
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 0x1002ea3e
mov ecx, dword [ebp - 0x658]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ea34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002ed31
push edx
push ecx
call fcn.1009b0ef
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 0x1002ea5e
xor eax, eax
jmp 0x1002ed0e
push ebx
call esi
test eax, eax
jne 0x1002ea6d
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 0x100f1f30
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 0x1002ea57
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 0x1002ebae
mov ecx, 0x100f1f34
lea eax, [ebp - 0x8ac]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002eb3c
test dx, dx
je 0x1002eb38
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002eb3c
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002eb16
xor eax, eax
jmp 0x1002eb41
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002ece5
mov eax, 0x100f1f38
lea ecx, [ebp - 0x8ac]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002eb7a
test dx, dx
je 0x1002eb76
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002eb7a
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002eb54
xor eax, eax
jmp 0x1002eb7f
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002ece5
mov ecx, dword [ebp - 0x8ec]
lea eax, [ebp - 0x420]
push edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1002e860
and esi, eax
mov dword [ebp - 0x8e4], esi
jmp 0x1002ece5
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 0x1002ece5
call fcn.1006e7e0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1002ece5
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 0x100eef08
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.1006e7e0
mov edi, eax
lea ecx, [ebp - 0xa1c]
push 0x889
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 0x1002eac0
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.1009b46e
mov esp, ebp
pop ebp
ret 0xc
call fcn.100b9349
call fcn.100b9349
int3