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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a64
call fcn.00524940
mov eax, dword [0x5bc324]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov dword [ebp - 0x1a5c], edx
lea edi, [ebp - 0x1804]
mov dword [ebp - 0x1a58], eax
mov esi, eax
sub edi, eax
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [edi + esi - 2], ax
test ax, ax
jne 0x467671
lea ecx, [ebp - 0x1804]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467690
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x1806], 0x5c
je 0x4676c6
lea edi, [ebp - 0x1804]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4676b3
mov eax, dword [0x5914bc]
mov dword [edi], eax
lea ecx, [ebp - 0x1804]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4676d0
mov eax, dword [0x592c04]
mov dword [ecx], eax
mov eax, dword [0x592c08]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1a54]
push eax
lea eax, [ebp - 0x1804]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x1a64], esi
cmp esi, 0xffffffff
je 0x467913
mov edi, dword [ebp - 0x1a5c]
push ebx
push edi
call fcn.00463a50
lea ebx, [ebp - 0x804]
add esp, 4
lea eax, [ebp - 0x1004]
sub ebx, edi
sub eax, dword [ebp - 0x1a58]
mov dword [ebp - 0x1a60], eax
nop word [eax + eax]
mov eax, edi
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [ebx + eax - 2], cx
test cx, cx
jne 0x467742
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467760
mov eax, dword [0x5914bc]
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x806], 0x5c
je 0x46779e
lea edi, [ebp - 0x804]
add edi, 0xfffffffe
nop dword [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x467790
mov dword [edi], eax
lea edx, [ebp - 0x1a28]
mov esi, edx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4677a6
lea edi, [ebp - 0x804]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4677c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x1a58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x1a60]
nop word [eax + eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [esi + edx - 2], cx
test cx, cx
jne 0x4677f0
lea edx, [ebp - 0x1004]
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x467810
sub edx, esi
sar edx, 1
cmp word [ebp + edx*2 - 0x1006], 0x5c
je 0x467841
lea edi, [ebp - 0x1004]
add edi, 0xfffffffe
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x467833
mov dword [edi], eax
lea edx, [ebp - 0x1a28]
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x467850
lea edi, [ebp - 0x1004]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x467866
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x1a54], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x4678d3
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea eax, [ebp - 0x1a28]
push 0x592c0c
push eax
call esi
add esp, 8
test eax, eax
je 0x4678e9
lea eax, [ebp - 0x1a28]
push 0x592c10
push eax
call esi
add esp, 8
test eax, eax
je 0x4678e9
push 0xffffffffffffffff
push 1
lea edx, [ebp - 0x804]
lea ecx, [ebp - 0x1004]
call fcn.00467640
add esp, 8
jmp 0x4678e9
push 0
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebp - 0x1a64]
lea eax, [ebp - 0x1a54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, dword [ebp - 0x1a5c]
test eax, eax
jne 0x467740
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00523a6a
mov esp, ebp
pop ebp
ret