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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x63c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x250
lea eax, [ebp - 0x258]
mov dword [ebp - 0x264], edx
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x260], ebx
call fcn.0044f970
add esp, 0xc
push 0x3000
call fcn.0045669c
mov esi, eax
add esp, 4
test esi, esi
jne 0x409e41
lea eax, [esi - 6]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push 0x3000
push 0
push esi
call fcn.0044f970
add esp, 0xc
push 0x3000
call fcn.0045669c
mov edi, eax
add esp, 4
test edi, edi
jne 0x409e81
push esi
call fcn.004533f0
add esp, 4
lea eax, [edi - 7]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
push 0x3000
push 0
push edi
call fcn.0044f970
mov ecx, ebx
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409e96
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 8]
push eax
call fcn.0045669c
add esp, 4
mov dword [ebp - 0x25c], eax
test eax, eax
jne 0x409ee7
push esi
call fcn.004533f0
add esp, 4
push edi
call fcn.004533f0
add esp, 4
mov eax, 0xfffffff8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409ef0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 8]
push eax
push 0
push dword [ebp - 0x25c]
call fcn.0044f970
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x25c]
push str._ws
push ebx
call fcn.004025f0
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x409f80
push esi
call fcn.004533f0
add esp, 4
push edi
call fcn.004533f0
add esp, 4
push dword [ebp - 0x25c]
call fcn.004533f0
add esp, 4
mov eax, 0xfffffff7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044daed
mov esp, ebp
pop ebp
ret
mov ecx, 0x46ce0c
lea eax, [ebp - 0x22c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409fb6
test dx, dx
je 0x409fb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409fb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x409f90
xor eax, eax
jmp 0x409fbb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a077
mov ecx, 0x46ce10
lea eax, [ebp - 0x22c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409ff6
test dx, dx
je 0x409ff2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409ff6
add eax, 4
add ecx, 4
test dx, dx
jne 0x409fd0
xor eax, eax
jmp 0x409ffb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a077
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x260]
push 0x46c9bc
push esi
call fcn.004025f0
lea eax, [ebp - 0x22c]
push eax
push str.___AIN
push dword [ebp - 0x264]
push 0x46ce18
push edi
call fcn.004025f0
add esp, 0x24
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x3000
push 0
push esi
call fcn.0044f970
add esp, 0xc
push 0x3000
push 0
push edi
call fcn.0044f970
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x250
push 0
push eax
call fcn.0044f970
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409f80
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call fcn.004533f0
add esp, 4
push edi
call fcn.004533f0
add esp, 4
push dword [ebp - 0x25c]
call fcn.004533f0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.0044daed
mov esp, ebp
pop ebp
ret