Function at 0x42b290
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 0x4e360c
mov eax, dword fs:[0]
push eax
sub esp, 0x698
mov eax, dword [0x51f524]
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 0x42b3bf
call fcn.00456910
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42be2c
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.00414b50
push 3
push 0x4f02a4
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.00414b50
mov byte [ebp - 4], 1
call fcn.00456910
mov edi, eax
lea ecx, [ebp - 0x6a4]
push 0xdc
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0040e920
mov esi, eax
push str.The_from_folder_is_not_exists
push esi
mov byte [ebp - 4], 2
call fcn.0040ff50
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x6a4]
call fcn.00410080
lea ecx, [ebp - 0x294]
call fcn.0040f4f0
lea ecx, [ebp - 0x2ac]
jmp 0x42be27
push dword [edi]
call esi
test eax, eax
je 0x42b3d0
push edi
call fcn.0042bf10
add esp, 4
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42b4cd
call fcn.00456910
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42be2c
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.00414b50
push 3
push 0x4f0620
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.00414b50
mov byte [ebp - 4], 4
call fcn.00456910
mov edi, eax
lea ecx, [ebp - 0x6a4]
push 0xe3
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0040e920
mov esi, eax
push str.Create_folder_
push esi
mov byte [ebp - 4], 5
call fcn.0040ff50
mov eax, dword [ebp - 0x568]
mov edx, 0x4f0164
mov ecx, dword [eax]
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.0040db80
push str._failed__error_code_
push esi
call fcn.0040ff50
add esp, 0x18
jmp 0x42bdfb
push 0x208
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.0048d040
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 0x4f0d80
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 0x42bd39
test eax, eax
je 0x42bd39
mov esi, eax
nop word [eax + eax]
cmp word [ebp - 0x518], 0x2e
mov ax, word [ebp - 0x516]
jne 0x42b55a
test ax, ax
je 0x42bd17
cmp ax, 0x2e
jne 0x42b56e
cmp word [ebp - 0x514], 0
je 0x42bd17
mov eax, dword [edi]
mov dword [ebp - 4], 9
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x42b587
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x42b59b
call fcn.00409e40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x42be5c
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 0x42be52
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x42b5f3
push edx
lea ecx, [ebp - 0x564]
call fcn.0040ac20
mov esi, dword [ebp - 0x564]
add edi, edi
push edi
push dword [ebp - 0x55c]
push edi
push esi
call fcn.0042cf20
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x42b61f
call fcn.004976de
mov dword [eax], 0x16
call fcn.004975b8
jmp 0x42b628
mov ax, word [0x4ef6ec]
mov word [ecx], ax
mov eax, dword [ebp - 0x560]
inc eax
cmp eax, dword [esi - 8]
jg 0x42be52
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.00421c70
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 0x42b689
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x554]
test eax, eax
je 0x42be5c
mov ecx, dword [ebp - 0x568]
mov edx, eax
mov edi, dword [ecx]
mov ecx, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x42b6c9
test si, si
je 0x42b6c5
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x42b6c9
add ecx, 4
add edx, 4
test si, si
jne 0x42b6a3
xor ecx, ecx
jmp 0x42b6ce
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x42b6da
lea edx, [eax - 0x10]
jmp 0x42bcef
mov ecx, dword [edi - 0x10]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x42b6ee
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x42b702
call fcn.00409e40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x42be5c
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 0x42be52
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x42b75a
push ebx
lea ecx, [ebp - 0x56c]
call fcn.0040ac20
mov esi, dword [ebp - 0x56c]
add edi, edi
push edi
push dword [ebp - 0x560]
push edi
push esi
call fcn.0042cf20
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x42b786
call fcn.004976de
mov dword [eax], 0x16
call fcn.004975b8
jmp 0x42b78f
mov ax, word [0x4ef6ec]
mov word [ecx], ax
cmp ebx, dword [esi - 8]
jg 0x42be52
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.00421c70
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 0x42b7e9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp - 0x544], 0x10
je 0x42b80d
lea eax, [ebp - 0x558]
push eax
lea eax, [ebp - 0x554]
push eax
call fcn.0042b290
add esp, 8
jmp 0x42bcc4
push 0
push dword [ebp - 0x558]
push dword [ebp - 0x554]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x560], eax
call fcn.00456910
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x42bcc4
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.00414b50
push 3
push 0x4f02a4
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.00414b50
mov byte [ebp - 4], 0x10
call fcn.00456910
mov dword [ebp - 0x55c], eax
lea eax, [ebp - 0x604]
mov dword [ebp - 0x608], eax
mov dword [ebp - 0x604], 0x4f0154
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.0040e4d0
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.00466af7
mov esi, eax
add esp, 4
test esi, esi
je 0x42b949
push 1
mov byte [ebp - 4], 0x13
call fcn.0043a3b3
add esp, 4
mov dword [esi + 4], eax
jmp 0x42b94b
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 0x4f0174
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x14
call fcn.00415d10
push 0xffffffffffffffff
push 0x4f0178
lea ecx, [ebp - 0x2c4]
mov edi, eax
call fcn.00415d10
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0048d040
add esp, 0xc
cmp esi, 0xffffffff
je 0x42bb29
lea eax, [esi - 1]
cmp edi, eax
jae 0x42bb29
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 0x42be4d
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.00414b50
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 0x104
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.0040e170
mov edx, dword [ebp - 0x2c8]
add esp, 0x10
cmp edx, 0x10
jb 0x42bb0c
mov ecx, dword [ebp - 0x2dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bb02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be48
push edx
push ecx
call fcn.00466699
add esp, 8
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2c8], 0xf
mov byte [ebp - 0x2dc], 0
jmp 0x42bb3f
push 0x104
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.0040e170
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.0040ff50
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x604]
push eax
call fcn.0040ff50
lea eax, [ebp - 0x604]
mov byte [ebp - 4], 0x15
push str.CopyFile
push eax
call fcn.0040ff50
mov eax, dword [ebp - 0x554]
mov ecx, 0x4f0164
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x604]
push ecx
push eax
call fcn.0040db80
lea eax, [ebp - 0x604]
push str._to
push eax
call fcn.0040ff50
mov eax, dword [ebp - 0x558]
mov ecx, 0x4f0164
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x604]
push ecx
push eax
call fcn.0040db80
lea eax, [ebp - 0x604]
push str.__res_
push eax
call fcn.0040ff50
add esp, 0x38
lea ecx, [ebp - 0x604]
push dword [ebp - 0x560]
call fcn.0040fcc0
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.00410080
mov edx, dword [ebp - 0x2e0]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x42bc50
mov ecx, dword [ebp - 0x2f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bc46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be48
push edx
push ecx
call fcn.00466699
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 0x42bca9
mov ecx, dword [ebp - 0x2c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42bc9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be48
push edx
push ecx
call fcn.00466699
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 0x42bce6
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 0x42bd0b
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 0x42b540
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42be2c
call fcn.00456910
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42be2c
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.00414b50
push 3
push 0x4f0620
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.00414b50
mov byte [ebp - 4], 7
call fcn.00456910
mov edi, eax
lea ecx, [ebp - 0x6a4]
push 0xee
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0040e920
mov esi, eax
push str.FindFirstFile_failed__error_code_
push esi
mov byte [ebp - 4], 8
call fcn.0040ff50
add esp, 8
push ebx
mov ecx, esi
call fcn.004170d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x6a4]
call fcn.00410080
lea ecx, [ebp - 0x2ac]
call fcn.0040f4f0
lea ecx, [ebp - 0x294]
call fcn.0040f4f0
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.00466ab7
mov esp, ebp
pop ebp
ret
call fcn.004975c8
call fcn.004145f0
push 0x80070057
call fcn.00409b80
push 0x80004005
call fcn.00409b80
int3