Function at 0x42de04
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x42de0c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x42e0b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebx + 4]
lea eax, [eax + eax*8]
mov edx, dword [0x443ca8]
mov eax, dword [edx + eax*4 + 0xc]
lea edx, [ebp - 0x268]
call fcn.00422dbc
mov eax, dword [ebp - 0x268]
push eax
lea eax, [ebp - 0x26c]
mov edx, dword [ebx + 4]
lea edx, [edx + edx*8]
mov ecx, dword [0x443ca8]
mov edx, dword [ecx + edx*4 + 4]
call fcn.00406ee4
mov edx, dword [ebp - 0x26c]
lea ecx, [ebp - 4]
pop eax
call fcn.00423010
mov eax, dword [ebx + 4]
lea eax, [eax + eax*8]
mov edx, dword [0x443ca8]
mov eax, dword [edx + eax*4 + 0xc]
lea edx, [ebp - 0x270]
call fcn.00422dbc
mov eax, dword [ebp - 0x270]
push eax
lea eax, [ebp - 0x274]
mov edx, dword [ebx + 4]
lea edx, [edx + edx*8]
mov ecx, dword [0x443ca8]
mov edx, dword [ecx + edx*4 + 4]
call fcn.00406ee4
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 8]
pop eax
call fcn.00423010
mov dx, 0x5c
mov eax, dword [ebp - 8]
call fcn.004221bc
test eax, eax
jle 0x42ded9
lea edx, [ebp - 8]
xchg edx, eax
call fcn.00406f8c
mov eax, dword [ebx + 4]
lea eax, [eax + eax*8]
mov edx, dword [0x443ca8]
mov eax, dword [edx + eax*4 + 0x18]
lea edx, [ebp - 0x278]
call fcn.00422dbc
mov eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x27c]
mov edx, dword [ebx + 4]
lea edx, [edx + edx*8]
mov ecx, dword [0x443ca8]
mov edx, dword [ecx + edx*4 + 0x14]
call fcn.00406ee4
mov edx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x10]
pop eax
call fcn.00423010
mov dx, 0x5c
mov eax, dword [ebp - 0x10]
call fcn.004221bc
test eax, eax
jle 0x42df3e
lea edx, [ebp - 0x10]
xchg edx, eax
call fcn.00406f8c
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 4]
call fcn.00406e8c
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov edi, eax
cmp edi, 0xffffffff
je 0x42dff7
lea eax, [ebp - 0x280]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00406f20
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407064
lea eax, [ebp - 0x284]
lea edx, [ebp - 0x238]
mov ecx, 0x104
call fcn.00406f20
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00407064
push 0
mov eax, dword [ebp - 0x14]
call fcn.00406e8c
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406e8c
push eax
call sub.kernel32.dll_CopyFileW
mov esi, eax
test esi, esi
jne 0x42dfd4
call sub.kernel32.dll_GetLastError_2
mov esi, eax
jmp 0x42dff7
xor esi, esi
lea eax, [ebp - 0x264]
push eax
push edi
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x42df5e
push edi
call sub.kernel32.dll_FindClose_1
push 0x42e0d4
push dword [ebp - 4]
push 0x42e108
mov eax, dword [ebx + 4]
lea eax, [eax + eax*8]
mov edx, dword [0x443ca8]
mov eax, dword [edx + eax*4 + 0x18]
lea edx, [ebp - 0x28c]
call fcn.00422dbc
mov eax, dword [ebp - 0x28c]
push eax
lea eax, [ebp - 0x290]
mov edx, dword [ebx + 4]
lea edx, [edx + edx*8]
mov ecx, dword [0x443ca8]
mov edx, dword [ecx + edx*4 + 0x14]
call fcn.00406ee4
mov edx, dword [ebp - 0x290]
lea ecx, [ebp - 0x288]
pop eax
call fcn.00423010
push dword [ebp - 0x288]
push 0x42e120
lea eax, [ebx + 0x10]
mov edx, 5
call fcn.004070ec
test esi, esi
jne 0x42e07e
lea eax, [ebx + 0x10]
mov edx, 0x42e130
call fcn.0040700c
jmp 0x42e08b
lea eax, [ebx + 0x10]
mov edx, 0x42e154
call fcn.0040700c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e0bd
lea eax, [ebp - 0x290]
mov edx, 0xb
call fcn.00406488
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00406488
ret