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

Disassembly:
push 0xffffffffffffffff
push 0x466c0c
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x48fac0]
xor eax, esp
mov dword [esp + 0x264], eax
push ebp
push esi
push edi
mov eax, dword [0x48fac0]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, dword [esp + 0x288]
mov edi, dword [esp + 0x28c]
push esi
lea ecx, [esp + 0x18]
call fcn.00406140
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x284], 0
call fcn.00406140
push 1
push 0x46e0a4
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 1
call fcn.004035d0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40c096
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x280], 0
lea edx, [eax + 0xc]
or ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40c217
push edi
lea ecx, [esp + 0x1c]
call fcn.00406140
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [esp + 0x280], 2
mov ecx, 0x46e0a0
lea eax, [esp + 0x50]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c0dd
test dx, dx
je 0x40c0d9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c0dd
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c0b7
xor eax, eax
jmp 0x40c0e2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c1b8
mov ecx, 0x46e098
lea eax, [esp + 0x50]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c119
test dx, dx
je 0x40c115
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c119
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c0f3
xor eax, eax
jmp 0x40c11e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40c1b8
test byte [esp + 0x24], 0x10
jne 0x40c1b8
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0040bb70
mov esi, eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x298], 3
call fcn.0040bb70
mov esi, dword [esi]
mov eax, dword [eax]
add esp, 0x18
push 0
push esi
push eax
call edi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x280], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40c0ae
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x280], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c1fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x280], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x280], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c24a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00448e02
add esp, 0x274
ret