Function at 0x426277
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push 0x304
mov eax, 0x4b183b
call fcn.0047a6c1
mov dword [ebp - 0x30c], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test edi, edi
je 0x4266c4
test esi, esi
je 0x4266c4
push edi
push esi
push str.CUpdateUtils::_copyFolder__sFromDir_s__sToDir_s
call fcn.004336ac
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
call fcn.00410cc6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push esi
call fcn.00410cc6
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
push 8
xor ebx, ebx
pop edi
inc ebx
cmp dword [ebp - 0x44], edi
push 0x5c
cmovae ecx, dword [ebp - 0x58]
pop esi
mov byte [ebp - 4], bl
cmp si, word [ecx + eax*2 - 2]
je 0x426300
push 0x4b8d3c
call fcn.0047f9b4
pop ecx
push eax
push 0x4b8d3c
lea ecx, [ebp - 0x58]
call fcn.00411fe6
cmp dword [ebp - 0x5c], edi
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
cmp si, word [ecx + eax*2 - 2]
je 0x42632d
push 0x4b8d3c
call fcn.0047f9b4
pop ecx
push eax
push 0x4b8d3c
lea ecx, [ebp - 0x70]
call fcn.00411fe6
cmp dword [ebp - 0x44], edi
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00430e59
cmp dword [ebp - 0x5c], edi
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push str._s.
push eax
call fcn.00432c76
add esp, 0x10
and dword [ebp - 0x28], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x308]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x310], eax
test eax, eax
jne 0x42639b
xor ebx, ebx
jmp 0x4265dc
cmp dword [ebp - 0x5c], edi
lea ecx, [ebp - 0x2dc]
push ecx
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push str._s_s
push eax
call fcn.00432c76
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4263da
mov ecx, eax
call fcn.00411fa2
push esi
lea ecx, [ebp - 0x40]
call fcn.00411ee1
lea ecx, [ebp - 0xa0]
call fcn.00411fa2
cmp dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x426657
push 0x2e
pop eax
cmp ax, word [ebp - 0x2dc]
je 0x4265b9
cmp dword [ebp - 0x2c], edi
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
test esi, esi
jne 0x426423
xor eax, eax
jmp 0x426542
push esi
lea ecx, [ebp - 0x88]
call fcn.00410cc6
mov edi, dword [ebp - 0x30c]
push 0
add edi, 0x30
mov byte [ebp - 4], 4
push esi
mov ecx, edi
call fcn.0041c3f5
cmp eax, 0xffffffff
jne 0x426531
push 0
push edi
lea ecx, [ebp - 0x88]
call fcn.0040faa0
cmp eax, 0xffffffff
jne 0x426531
mov edi, dword [ebp - 0x30c]
mov esi, dword [edi + 0x48]
cmp esi, dword [edi + 0x4c]
je 0x426500
lea ecx, [edi + 0x18]
lea eax, [esi + 0x18]
push eax
push ecx
lea eax, [ebp - 0xb8]
push eax
call fcn.0040a800
push 0x4b8d3c
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 5
push eax
call fcn.004146cd
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00411fa2
push 0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0040faa0
cmp eax, 0xffffffff
jne 0x426513
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040faa0
cmp eax, 0xffffffff
jne 0x426513
lea ecx, [ebp - 0xa0]
call fcn.00411fa2
add esi, 0x3c
lea ecx, [edi + 0x18]
cmp esi, dword [edi + 0x4c]
jne 0x42647b
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00411fa2
xor eax, eax
jmp 0x426548
lea ecx, [ebp - 0xa0]
call fcn.00411fa2
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00411fa2
mov eax, ebx
jmp 0x426548
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00411fa2
mov eax, ebx
mov edi, dword [ebp - 0x30c]
test eax, eax
jne 0x4265b6
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2dc]
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push str._s_s
push eax
call fcn.00432c76
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42658c
mov ecx, eax
call fcn.00411fa2
push esi
lea ecx, [ebp - 0x28]
call fcn.00411ee1
lea ecx, [ebp - 0xb8]
call fcn.00411fa2
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00426277
push 8
pop edi
mov esi, dword [ebp - 0x310]
lea eax, [ebp - 0x308]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42639b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x14]
cmp eax, edi
jb 0x42662a
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x310], ecx
cmp eax, 0x1000
jb 0x426621
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00411cec
mov eax, dword [ebp - 0x30c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x310]
push eax
push ecx
call fcn.00479ff8
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00411fa2
lea ecx, [ebp - 0x70]
call fcn.00411fa2
lea ecx, [ebp - 0x58]
call fcn.00411fa2
mov eax, ebx
jmp 0x4266d1
cmp dword [ebp - 0x44], edi
lea ecx, [ebp - 0x2dc]
push ecx
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push str._s_s
push eax
call fcn.00432c76
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x426696
mov ecx, eax
call fcn.00411fa2
push esi
lea ecx, [ebp - 0x28]
call fcn.00411ee1
lea ecx, [ebp - 0xb8]
call fcn.00411fa2
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], edi
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4265b9
push str.CUpdateUtils::_copyFolder__DEST_folder_is_NULL._n
call fcn.004336ac
pop ecx
xor eax, eax
call fcn.0047a67f
ret 8