Function at 0x41fcc0
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 0x4e1d5c
mov eax, dword fs:[0]
push eax
sub esp, 0x698
mov eax, dword [0x51d27c]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x550], ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [eax]
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x568], edi
call esi
test eax, eax
jne 0x41fdec
call fcn.00448b40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x420843
push 0x50
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperpopupcheckutils.cpp
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x298], 0xf
mov byte [ebp - 0x2ac], bl
call fcn.00409490
push 3
push 0x4eea40
lea ecx, [ebp - 0x294]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], bl
call fcn.00409490
mov byte [ebp - 4], 1
call fcn.00448b40
mov edi, eax
lea ecx, [ebp - 0x6a4]
push 0x13
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00405ef0
mov esi, eax
push str.The_from_folder_is_not_exists
push esi
mov byte [ebp - 4], 2
call fcn.00406eb0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x6a4]
call fcn.004070c0
lea ecx, [ebp - 0x294]
call fcn.00406910
lea ecx, [ebp - 0x2ac]
jmp 0x42083e
push dword [edi]
call esi
test eax, eax
je 0x41fdfd
push edi
call fcn.00420880
add esp, 4
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41fef7
call fcn.00448b40
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x420843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x50
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperpopupcheckutils.cpp
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x284], 0
mov ebx, eax
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
call fcn.00409490
push 3
push 0x4ef538
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 4], 3
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0xf
mov byte [ebp - 0x2ac], 0
call fcn.00409490
mov byte [ebp - 4], 4
call fcn.00448b40
mov edi, eax
lea ecx, [ebp - 0x6a4]
push 0x1a
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.00405ef0
mov esi, eax
push str.Create_folder_
push esi
mov byte [ebp - 4], 5
call fcn.00406eb0
mov eax, dword [ebp - 0x568]
mov edx, 0x4ee990
mov ecx, dword [eax]
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00405200
push str._failed__error_code_
push esi
call fcn.00406eb0
add esp, 0x18
jmp 0x420812
push 0x208
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.0048bbb0
mov edi, dword [ebp - 0x548]
lea eax, [ebp - 0x27c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push dword [edi]
push eax
call esi
push 0x4ef780
lea eax, [ebp - 0x27c]
push eax
call esi
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x54c], eax
cmp eax, 0xffffffff
je 0x420753
test eax, eax
je 0x420753
mov esi, eax
nop
cmp word [ebp - 0x518], 0x2e
mov ax, word [ebp - 0x516]
jne 0x41ff7a
test ax, ax
je 0x420731
cmp ax, 0x2e
jne 0x41ff8e
cmp word [ebp - 0x514], 0
je 0x420731
mov eax, dword [edi]
mov dword [ebp - 4], 9
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x41ffa7
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x41ffbb
call fcn.00404110
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x420873
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or ebx, 1
mov dword [ebp - 0x550], ebx
lea esi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x564], esi
mov dword [ebp - 0x55c], eax
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x560], edi
lea edx, [edi + 1]
test edx, edx
js 0x420869
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x420013
push edx
lea ecx, [ebp - 0x564]
call fcn.00404ef0
mov esi, dword [ebp - 0x564]
add edi, edi
push edi
push dword [ebp - 0x55c]
push edi
push esi
call fcn.004211e0
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x42003f
call fcn.0049624e
mov dword [eax], 0x16
call fcn.00496128
jmp 0x420048
mov ax, word [0x4ee5cc]
mov word [ecx], ax
mov eax, dword [ebp - 0x560]
inc eax
cmp eax, dword [esi - 8]
jg 0x420869
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x564]
push eax
lea eax, [ebp - 0x554]
push eax
call fcn.00415c10
add esp, 0xc
and ebx, 0xfffffffe
mov dword [ebp - 0x550], ebx
mov dword [ebp - 0x55c], ebx
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4200a9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x554]
test eax, eax
je 0x420873
mov ecx, dword [ebp - 0x568]
mov edx, eax
mov edi, dword [ecx]
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x4200e9
test si, si
je 0x4200e5
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4200e9
add ecx, 4
add edx, 4
test si, si
jne 0x4200c3
xor ecx, ecx
jmp 0x4200ee
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x4200fa
lea edx, [eax - 0x10]
jmp 0x420709
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x42010e
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x420122
call fcn.00404110
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x420873
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or ebx, 4
mov dword [ebp - 0x550], ebx
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x568]
mov dword [ebp - 0x56c], esi
mov eax, dword [eax]
mov dword [ebp - 0x560], eax
mov edi, dword [eax - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
js 0x420869
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x42017a
push ebx
lea ecx, [ebp - 0x56c]
call fcn.00404ef0
mov esi, dword [ebp - 0x56c]
add edi, edi
push edi
push dword [ebp - 0x560]
push edi
push esi
call fcn.004211e0
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x4201a6
call fcn.0049624e
mov dword [eax], 0x16
call fcn.00496128
jmp 0x4201af
mov ax, word [0x4ee5cc]
mov word [ecx], ax
cmp ebx, dword [esi - 8]
jg 0x420869
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.00415c10
add esp, 0xc
mov ebx, dword [ebp - 0x55c]
and ebx, 0xfffffffb
mov dword [ebp - 0x550], ebx
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x420209
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x544], 0x10
je 0x42022d
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x554]
push eax
call fcn.0041fcc0
add esp, 8
jmp 0x4206de
push 0
push dword [ebp - 0x558]
push dword [ebp - 0x554]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x560], eax
call fcn.00448b40
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x4206de
push 0x50
mov dword [ebp - 0x2b4], ecx
mov byte [ebp - 0x2c4], cl
lea ecx, [ebp - 0x2c4]
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperpopupcheckutils.cpp
mov dword [ebp - 0x2b0], 0xf
call fcn.00409490
push 3
push 0x4eea40
lea ecx, [ebp - 0x2f4]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0xf
mov byte [ebp - 0x2f4], 0
call fcn.00409490
mov byte [ebp - 4], 0x10
call fcn.00448b40
mov dword [ebp - 0x55c], eax
lea eax, [ebp - 0x604]
mov dword [ebp - 0x608], eax
mov dword [ebp - 0x604], 0x4ee980
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea eax, [ebp - 0x600]
mov byte [ebp - 4], 0x11
or ebx, 0x10
lea ecx, [ebp - 0x604]
push eax
mov dword [ebp - 0x550], ebx
call fcn.0040b1d0
mov eax, dword [ebp - 0x604]
push 8
mov dword [ebp - 4], 0x12
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x604]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x608], eax
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00458b87
mov esi, eax
add esp, 4
test esi, esi
je 0x420369
push 1
mov byte [ebp - 4], 0x13
call fcn.0042c843
add esp, 4
mov dword [esi + 4], eax
jmp 0x42036b
xor esi, esi
lea eax, [ebp - 0x5fc]
mov dword [ebp - 0x5cc], esi
mov dword [ebp - 0x5f4], eax
lea eax, [ebp - 0x5f8]
mov dword [ebp - 0x5f0], eax
lea eax, [ebp - 0x5ec]
mov dword [ebp - 0x5e4], eax
lea eax, [ebp - 0x5e8]
mov dword [ebp - 0x5e0], eax
lea eax, [ebp - 0x5dc]
mov dword [ebp - 0x5d4], eax
lea eax, [ebp - 0x5d8]
mov dword [ebp - 0x5d0], eax
mov dword [ebp - 0x5f8], 0
mov dword [ebp - 0x5e8], 0
mov dword [ebp - 0x5d8], 0
mov dword [ebp - 0x5fc], 0
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x5dc], 0
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x5c8], 0
mov dword [ebp - 0x5c4], 4
push 0xffffffffffffffff
push 0x4ee9a0
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x14
call fcn.0040a080
push 0xffffffffffffffff
push 0x4ee9a4
lea ecx, [ebp - 0x2c4]
mov edi, eax
call fcn.0040a080
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0048bbb0
add esp, 0xc
cmp esi, 0xffffffff
je 0x420546
lea eax, [esi - 1]
cmp edi, eax
jae 0x420546
mov eax, dword [ebp - 0x2b4]
lea edx, [edi + 1]
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
cmp eax, edx
jb 0x420864
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x2b0], 0x10
lea eax, [ebp - 0x2c4]
cmovae eax, dword [ebp - 0x2c4]
push ecx
add eax, edx
lea ecx, [ebp - 0x2dc]
push eax
call fcn.00409490
or ebx, 0x20
lea eax, [ebp - 0x2dc]
cmp dword [ebp - 0x2c8], 0x10
mov dword [ebp - 0x550], ebx
cmovae eax, dword [ebp - 0x2dc]
push eax
push 0x39
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00405cb0
mov edx, dword [ebp - 0x2c8]
add esp, 0x10
cmp edx, 0x10
jb 0x420529
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42051f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42085f
push edx
push ecx
call fcn.00458729
add esp, 8
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
jmp 0x420559
push 0x39
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405cb0
add esp, 0xc
cmp dword [ebp - 0x2e0], 0x10
lea eax, [ebp - 0x2f4]
cmovae eax, dword [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x604]
push eax
call fcn.00406eb0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x604]
push eax
call fcn.00406eb0
lea eax, [ebp - 0x604]
mov byte [ebp - 4], 0x15
push str.CopyFile
push eax
call fcn.00406eb0
mov eax, dword [ebp - 0x554]
mov ecx, 0x4ee990
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x604]
push ecx
push eax
call fcn.00405200
lea eax, [ebp - 0x604]
push str._to
push eax
call fcn.00406eb0
mov eax, dword [ebp - 0x558]
mov ecx, 0x4ee990
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x604]
push ecx
push eax
call fcn.00405200
lea eax, [ebp - 0x604]
push str.__res_
push eax
call fcn.00406eb0
add esp, 0x38
lea ecx, [ebp - 0x604]
push dword [ebp - 0x560]
call fcn.0040bca0
mov ecx, dword [ebp - 0x55c]
lea edx, [ebp - 0x604]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x604]
call fcn.004070c0
mov edx, dword [ebp - 0x2e0]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x42066a
mov ecx, dword [ebp - 0x2f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420660
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42085f
push edx
push ecx
call fcn.00458729
add esp, 8
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0xf
mov byte [ebp - 0x2f4], 0
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x4206c3
mov ecx, dword [ebp - 0x2c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4206b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42085f
push edx
push ecx
call fcn.00458729
add esp, 8
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2b0], 0xf
mov byte [ebp - 0x2c4], 0
mov edx, dword [ebp - 0x558]
or eax, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420700
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x554]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420725
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x54c]
mov edi, dword [ebp - 0x548]
lea eax, [ebp - 0x544]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41ff60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x420843
call fcn.00448b40
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x420843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x50
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperpopupcheckutils.cpp
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x284], 0
mov ebx, eax
mov dword [ebp - 0x280], 0xf
mov byte [ebp - 0x294], 0
call fcn.00409490
push 3
push 0x4ef538
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 4], 6
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0xf
mov byte [ebp - 0x2ac], 0
call fcn.00409490
mov byte [ebp - 4], 7
call fcn.00448b40
mov edi, eax
lea ecx, [ebp - 0x6a4]
push 0x25
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.00405ef0
mov esi, eax
push str.FindFirstFile_failed__error_code_
push esi
mov byte [ebp - 4], 8
call fcn.00406eb0
add esp, 8
push ebx
mov ecx, esi
call fcn.00411650
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x6a4]
call fcn.004070c0
lea ecx, [ebp - 0x2ac]
call fcn.00406910
lea ecx, [ebp - 0x294]
call fcn.00406910
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.00458b47
mov esp, ebp
pop ebp
ret
call fcn.00496138
call fcn.004090a0
push 0x80070057
call fcn.00403e50
push 0x80004005
call fcn.00403e50
int3