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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f797c
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], 0x60646016
mov byte [ebp - 0x1c], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x20]
push eax
call fcn.004606a0
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 4
jb 0x40e5a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e5c0
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x40eaf8
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.00467530
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 0x40e9d4
nop dword [eax]
cmp byte [ebp - 0x1fc], 0x2e
je 0x40e9a9
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 0x40eaf8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0x520660
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0xd0]
call fcn.00467530
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 0x40e704
sub ecx, edx
lea eax, [ebp - 0x1fc]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00461960
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 0x40eaf8
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
push 1
cmovae eax, dword [ebp + 0x20]
push 0x520660
push ecx
push eax
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0xe8]
call fcn.00467530
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 0x40e833
sub ecx, edx
lea eax, [ebp - 0x1fc]
push ecx
push eax
lea ecx, [ebp - 0xe8]
call fcn.00461960
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 0x40e984
cmp dword [ebp - 0x28], 0x10
cmovae ecx, dword [ebp - 0x3c]
call fcn.0040b930
test al, al
jne 0x40e939
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 0x40e9e5
sub esp, 0x18
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x3c]
mov dword [ebp - 0xa8], esp
mov ecx, esp
push eax
call fcn.0045f3c0
mov byte [ebp - 4], 0xa
sub esp, 0x18
lea eax, [ebp - 0x54]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.0045f3c0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 4
mov cl, byte [ebp - 0xd]
call fcn.0040e4e0
mov edi, eax
add esp, 0x30
test edi, edi
jne 0x40e9f1
mov edi, dword [ebp - 0x24]
jmp 0x40e9a5
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 0x40e9e5
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x228]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x40e680
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
jne 0x40e9f1
cmp byte [ebp - 0x15], 0
jne 0x40e9ef
cmp byte [ebp - 0xd], 0
jne 0x40e9ef
or edi, 0xffffffff
jmp 0x40e9f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40e9f1
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x40ea29
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eafd
push ecx
push edx
call fcn.004b9cb1
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 0x40ea73
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ea69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eafd
push ecx
push edx
call fcn.004b9cb1
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 0x40eab9
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40eaaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40eafd
push ecx
push edx
call fcn.004b9cb1
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.004d51a0
int3