Function at 0x40e470
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f06fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push esi
push edi
mov byte [ebp - 0x15], cl
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 3
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 4
xor ecx, ecx
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x20], 0xb5b1b5c3
mov byte [ebp - 0x1c], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x20]
push eax
call fcn.00459470
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 4
jb 0x40e530
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e550
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x40ea88
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x84]
call fcn.00460300
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14], 0x10
call fcn.00402890
movups xmm0, xmmword [ebp - 0x84]
mov esi, 0x10
mov byte [ebp - 0x84], 0
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [ebp - 0x74]
mov dword [ebp - 0x14], esi
and esi, 0xffffffef
movq qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.00402890
cmp dword [ebp - 0x58], 0x10
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x40e964
nop dword [eax]
cmp byte [ebp - 0x1fc], 0x2e
je 0x40e939
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], 0
cmovae eax, dword [ebp - 0x54]
mov byte [eax], 0
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
mov dword [ebp - 0x2c], 0
cmovae eax, dword [ebp - 0x3c]
mov byte [eax], 0
mov byte [ebp - 4], 6
mov eax, closesocket
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40ea88
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0x518638
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0xd0]
call fcn.00460300
or esi, 1
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1fc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e694
sub ecx, edx
lea eax, [ebp - 0x1fc]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.0045a730
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x90], 0
or esi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x14], esi
call fcn.00402890
movups xmm0, xmmword [ebp - 0xb8]
and esi, 0xfffffffd
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
movups xmmword [ebp - 0x54], xmm0
mov byte [ebp - 0xa4], 0
movq xmm0, qword [ebp - 0x8c]
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
and esi, 0xfffffffe
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd0]
call fcn.00402890
mov byte [ebp - 4], 8
mov eax, closesocket
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40ea88
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 1
cmovae eax, dword [ebp + 0x20]
push 0x518638
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0xe8]
call fcn.00460300
or esi, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1fc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e7c3
sub ecx, edx
lea eax, [ebp - 0x1fc]
push ecx
push eax
lea ecx, [ebp - 0xe8]
call fcn.0045a730
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x70], 0
or esi, 8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x84], xmm0
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x74], xmm0
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x14], esi
call fcn.00402890
movups xmm0, xmmword [ebp - 0xb8]
and esi, 0xfffffff7
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x84], 0
movq xmm0, qword [ebp - 0x8c]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
and esi, 0xfffffffb
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.00402890
test byte [ebp - 0x228], 0x10
lea ecx, [ebp - 0x3c]
je 0x40e914
cmp dword [ebp - 0x28], 0x10
cmovae ecx, dword [ebp - 0x3c]
call fcn.0040b8c0
test al, al
jne 0x40e8c9
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
push 0
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40e975
sub esp, 0x18
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x3c]
mov dword [ebp - 0xa8], esp
mov ecx, esp
push eax
call fcn.00458190
mov byte [ebp - 4], 0xa
sub esp, 0x18
lea eax, [ebp - 0x54]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00458190
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 4
mov cl, byte [ebp - 0xd]
call fcn.0040e470
mov edi, eax
add esp, 0x30
test edi, edi
jne 0x40e981
mov edi, dword [ebp - 0x24]
jmp 0x40e935
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x54]
push 0
cmovae ecx, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 0x10
push ecx
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40e975
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x228]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x40e610
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
jne 0x40e981
cmp byte [ebp - 0x15], 0
jne 0x40e97f
cmp byte [ebp - 0xd], 0
jne 0x40e97f
or edi, 0xffffffff
jmp 0x40e981
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40e981
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x40e9b9
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea8d
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x40ea03
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e9f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea8d
push ecx
push edx
call fcn.004b2a81
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
cmp ecx, 0x10
jb 0x40ea49
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ea8d
push ecx
push edx
call fcn.004b2a81
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.00402890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00402210
call fcn.004cdf70
int3