Function at 0x4252e0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8313
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x2f4], ecx
cmp dword [edi + 0x14], 7
mov esi, edi
jbe 0x42531f
mov esi, dword [edi]
cmp dword [ecx + 0x14], 7
mov eax, ecx
jbe 0x425329
mov eax, dword [ecx]
push esi
push eax
push str.copy_dir__s_to__s
push 0x10a
push str.utility::ufile::copyDir
call fcn.00426450
add esp, 0x14
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x42534c
mov eax, dword [edi]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x425378
cmp eax, 0xb7
je 0x425378
push eax
push str.make_dir_failed__error___d.
push 0xef
push str.utility::ufile::makeDir
call fcn.00426450
add esp, 0x10
mov esi, dword [ebp - 0x2f4]
lea ecx, [ebp - 0xa0]
push esi
call fcn.00408b10
push 4
push str..
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
call fcn.0040d1f0
cmp dword [ebp - 0x8c], 7
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0xa0]
cmova eax, dword [ebp - 0xa0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2f4], eax
cmp eax, 0xffffffff
je 0x425977
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x2f0], 0x10
je 0x425622
cmp word [ebp - 0x2c4], 0x2e
je 0x42595a
push edi
lea ecx, [ebp - 0x88]
call fcn.00408b10
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00408b10
push 1
push 0x4c0224
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040d1f0
push 1
push 0x4c0224
lea ecx, [ebp - 0x40]
call fcn.0040d1f0
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425442
sub ecx, edx
mov eax, SysReAllocString
mov edx, dword [ebp - 0x78]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x4259d0
cmp dword [ebp - 0x74], 7
lea eax, [ebp - 0x88]
push ecx
cmova eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x2c4]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x70]
call fcn.0040e310
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x88]
call fcn.00408360
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4254d6
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4254cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4254e0
sub ecx, edx
mov eax, SysReAllocString
mov edx, dword [ebp - 0x30]
sub eax, edx
sar ecx, 1
cmp eax, ecx
jb 0x4259d0
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push ecx
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2c4]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x70]
call fcn.0040e310
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408360
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x42556b
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425561
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
cmp dword [ebp - 0x74], 7
lea eax, [ebp - 0x88]
cmova eax, dword [ebp - 0x88]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x4255a8
cmp eax, 0xb7
je 0x4255a8
push eax
push str.make_dir_failed__error___d.
push 0xef
push str.utility::ufile::makeDir
call fcn.00426450
add esp, 0x10
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x40]
call fcn.004252e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x4255f4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4255ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x425954
mov edx, dword [ebp - 0x88]
jmp 0x425925
push edi
lea ecx, [ebp - 0x58]
call fcn.00408b10
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00408b10
mov byte [ebp - 4], 4
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x48]
sub eax, ecx
cmp eax, 1
jb 0x4259d0
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push 1
cmova eax, dword [ebp - 0x58]
push 0x4c0224
push ecx
push eax
push ecx
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x70]
call fcn.0040e310
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425680
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040d1f0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x44]
movq qword [ebp - 0x2fc], xmm1
movups xmmword [ebp - 0x38], xmm0
cmp ecx, 7
jbe 0x42570c
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4256f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
movups xmm0, xmmword [ebp - 0x38]
add esp, 8
movq xmm1, qword [ebp - 0x2fc]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
movq qword [ebp - 0x48], xmm1
movups xmmword [ebp - 0x58], xmm0
cmp ecx, 7
jbe 0x425753
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x425749
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x18]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4259d0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 1
cmova eax, dword [ebp - 0x28]
push 0x4c0224
push ecx
push eax
push ecx
push dword [ebp - 0x2f8]
lea ecx, [ebp - 0x70]
call fcn.0040e310
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425796
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.0040d1f0
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
movq qword [ebp - 0x2fc], xmm1
movups xmmword [ebp - 0x38], xmm0
cmp ecx, 7
jbe 0x425822
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42580c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
movups xmm0, xmmword [ebp - 0x38]
add esp, 8
movq xmm1, qword [ebp - 0x2fc]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
movq qword [ebp - 0x18], xmm1
movups xmmword [ebp - 0x28], xmm0
cmp ecx, 7
jbe 0x425869
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42585f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0x58]
push 0
cmova ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push ecx
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4258c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x44], 7
lea edx, [ebp - 0x58]
push eax
cmova edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push 0
cmova ecx, dword [ebp - 0x28]
push edx
push ecx
push str.copy_file_from____s___to____s___flag___d_failed__error___d.
push 0x104
push str.utility::ufile::copyFile
call fcn.00426450
add esp, 0x1c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x425903
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4258f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x425954
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42594a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
mov eax, dword [ebp - 0x2f4]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x425977
mov eax, dword [ebp - 0x2f4]
jmp 0x4253e0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x4259b3
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4259a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4259d5
push ecx
push edx
call fcn.004804a9
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret
call fcn.00408bc0
call fcn.00485a5d
int3