Function at 0x10017140
Capabilities:
Check if file exists
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f141c
mov eax, dword fs:[0]
push eax
sub esp, 0x948
mov eax, dword [0x1013b7e0]
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 edi, ecx
mov dword [ebp - 0x8b0], edi
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x8bc], ebx
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 0x8b4], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100174b2
call fcn.100063a0
mov ecx, eax
test ecx, ecx
je 0x1001769c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x8ac], esi
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10017291
test ebx, 0xffff0000
jne 0x10017273
movzx edi, bx
push 0
push edi
call fcn.100166c0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100172a6
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100172a6
push edi
push eax
push ebx
call fcn.10006fe0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100172a6
movzx edx, word [ebx]
mov ecx, 1
mov eax, dword [esi - 8]
mov edi, edx
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x10017247
push edi
lea ecx, [ebp - 0x8ac]
call fcn.10006d60
movzx edx, word [ebx]
mov esi, dword [ebp - 0x8ac]
movzx ecx, dx
lea eax, [ebx + 2]
push ecx
push eax
push edi
push esi
call fcn.100cbe52
push eax
call fcn.10006020
add esp, 0x14
cmp edi, dword [esi - 8]
jg 0x100176a6
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x100172a6
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017280
sub ecx, edx
sar ecx, 1
jmp 0x10017293
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x8ac]
call fcn.10006ea0
mov esi, dword [ebp - 0x8ac]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
push esi
mov dword [ebp - 4], 0xffffffff
call edi
test eax, eax
je 0x100172d2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x100172d2
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ebx, ecx
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100172ea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x10017317
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x8b0]
mov ecx, edi
push dword [ebp - 0x8b8]
push dword [ebp - 0x8bc]
call fcn.100176c0
mov esi, eax
mov dword [ebp - 0x8b4], esi
jmp 0x100174b2
mov ebx, dword [ebp - 0x8b8]
push ebx
call edi
test eax, eax
jne 0x1001732c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [ebp - 0x8bc]
lea eax, [ebp - 0x628]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
push eax
call edi
push 0x10104d98
lea eax, [ebp - 0x628]
push eax
call edi
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8ac], eax
cmp eax, 0xffffffff
je 0x100174aa
mov esi, 1
push ebx
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x420]
push eax
call edi
push dword [ebp - 0x8b8]
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
test byte [ebp - 0x8a8], 0x10
je 0x1001745d
mov ecx, 0x10104d9c
lea eax, [ebp - 0x87c]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100173f6
test dx, dx
je 0x100173f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100173f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100173d0
xor eax, eax
jmp 0x100173fb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001747b
mov eax, 0x10104da0
lea ecx, [ebp - 0x87c]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10017436
test dx, dx
je 0x10017432
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10017436
add ecx, 4
add eax, 4
test dx, dx
jne 0x10017410
xor eax, eax
jmp 0x1001743b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001747b
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x8b0]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.10017140
jmp 0x10017479
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x8b0]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.100176c0
and esi, eax
lea eax, [ebp - 0x8a8]
push eax
push dword [ebp - 0x8ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10017378
push dword [ebp - 0x8ac]
mov dword [ebp - 0x8b4], esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x100174ac
xor esi, esi
mov edi, dword [ebp - 0x8b0]
call fcn.10088cd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001767c
cmp byte [edi + 0x1d0], al
lea ecx, [ebp - 0x658]
push 0x7f
push str.d:jenkins.jenkinsworkspacemaster_lucomputerz_cncompuerz_cnludashi_srcembedded_page_benchmarkembedded_page_benchmark.cc
sete byte [ebp - 0x8ac]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], al
call fcn.100070f0
push 3
push 0x10102f98
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], 1
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.100070f0
mov byte [ebp - 4], 2
call fcn.10088cd0
mov ebx, eax
lea ecx, [ebp - 0x954]
push 0x42d
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.10007cd0
mov edi, eax
push str.CopyDirectory_source:
push edi
mov byte [ebp - 4], 3
call fcn.10007290
mov eax, dword [ebp - 0x8bc]
mov esi, 0x10102ca4
test eax, eax
mov ecx, esi
cmovne ecx, eax
push ecx
push edi
call fcn.10007290
push str.__dir:
push edi
call fcn.10007290
mov eax, dword [ebp - 0x8b8]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.10007290
push str.__ret:
push edi
call fcn.10007290
mov esi, dword [ebp - 0x8b4]
add esp, 0x28
mov ecx, edi
push esi
call fcn.10010f00
push str.__md5_check:
push edi
call fcn.10007290
add esp, 8
mov ecx, edi
push dword [ebp - 0x8ac]
call fcn.10015ac0
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x954]
call fcn.10008b30
mov edx, dword [ebp - 0x62c]
cmp edx, 0x10
jb 0x1001762b
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017621
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100176b0
push edx
push ecx
call fcn.100899c7
add esp, 8
mov edx, dword [ebp - 0x644]
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
cmp edx, 0x10
jb 0x1001767c
mov ecx, dword [ebp - 0x658]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10017672
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100176b5
push edx
push ecx
call fcn.100899c7
add esp, 8
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.10089d41
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.100060c0
push 0x80070057
call fcn.100060c0
call fcn.100c8c99
call fcn.100c8c99
int3