Function at 0x40ef10
Capabilities:
Copy file
Create directory
Encode data using xor
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5068cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
push edi
mov byte [ebp - 0x15], cl
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], al
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], al
mov byte [ebp - 4], 3
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
mov byte [ebp - 4], 4
xor ecx, ecx
mov byte [ebp - 0xd], al
mov dword [ebp - 0x1b], 0xc0c7c2bb
mov word [ebp - 0x17], 0x100
jmp 0x40efd0
mov al, cl
sub al, 0x19
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 4
jb 0x40efd0
mov byte [ebp - 0x16], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40eff0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x40f585
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
jbe 0x40f017
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1b]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x6c]
call fcn.00470ea0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x14], 0x10
call fcn.00402c80
mov eax, dword [ebp - 0x6c]
mov ebx, 0x10
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], ebx
and ebx, 0xffffffef
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.00402c80
cmp dword [ebp - 0x78], 0xf
lea eax, [ebp - 0x8c]
jbe 0x40f0a7
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x40f464
cmp byte [ebp - 0x1f0], 0x2e
je 0x40f429
cmp dword [ebp - 0x40], 0xf
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], 0
jbe 0x40f0e1
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
jbe 0x40f0f7
mov eax, dword [ebp - 0x38]
mov byte [eax], 0
mov byte [ebp - 4], 6
mov eax, closesocket
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40f585
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
jbe 0x40f11d
mov eax, dword [ebp + 8]
push 1
push 0x51f9bc
push ecx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc4]
call fcn.00470ea0
or ebx, 1
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1f0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f148
sub ecx, edx
lea eax, [ebp - 0x1f0]
push ecx
push eax
lea ecx, [ebp - 0xc4]
call fcn.0046b590
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x70], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x74], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x9c], ecx
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x98], ebx
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x94], edi
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x90], esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
or eax, 2
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x14], eax
call fcn.00402c80
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
and ebx, 0xfffffffd
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 6
and ebx, 0xfffffffe
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
call fcn.00402c80
mov byte [ebp - 4], 8
mov eax, closesocket
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40f585
cmp dword [ebp + 0x34], 0xf
lea eax, [ebp + 0x20]
jbe 0x40f26e
mov eax, dword [ebp + 0x20]
push 1
push 0x51f9bc
push ecx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0xdc]
call fcn.00470ea0
or ebx, 4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1f0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40f2a0
sub eax, edx
lea ecx, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.0046b590
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x74], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x64], ecx
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x60], ebx
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x5c], edi
mov esi, dword [eax + 0x14]
mov dword [ebp - 0x58], esi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], ecx
or eax, 8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
call fcn.00402c80
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
and ebx, 0xfffffff7
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 8
and ebx, 0xfffffffb
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
call fcn.00402c80
test byte [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x38]
je 0x40f3ff
cmp dword [ebp - 0x24], 0xf
jbe 0x40f38e
mov ecx, dword [ebp - 0x38]
call fcn.0040b340
test al, al
jne 0x40f3b4
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
jbe 0x40f3a3
mov eax, dword [ebp - 0x38]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40f444
sub esp, 0x18
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x38]
mov dword [ebp - 0xa8], esp
mov ecx, esp
push eax
call fcn.00468b20
mov byte [ebp - 4], 0xa
sub esp, 0x18
lea eax, [ebp - 0x54]
mov dword [ebp - 0xac], esp
mov ecx, esp
push eax
call fcn.00468b20
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 4
mov cl, byte [ebp - 0xd]
call fcn.0040ef10
mov esi, eax
add esp, 0x30
test esi, esi
jne 0x40f477
jmp 0x40f422
cmp dword [ebp - 0x24], 0xf
jbe 0x40f408
mov ecx, dword [ebp - 0x38]
cmp dword [ebp - 0x40], 0xf
lea eax, [ebp - 0x54]
jbe 0x40f414
mov eax, dword [ebp - 0x54]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40f444
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x40f44e
mov eax, dword [ebp - 0x3c]
jmp 0x40f0c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x40f477
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x40f477
cmp byte [ebp - 0x15], 0
jne 0x40f475
cmp byte [ebp - 0xd], 0
jne 0x40f475
or esi, 0xffffffff
jmp 0x40f477
xor esi, esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x40f4b2
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f4a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f58a
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x40f4ff
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f4f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f58a
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x40f545
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40f53b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f58a
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004025a0
call fcn.004e4d70
int3