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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5463a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x258
push esi
push edi
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0x2ec1ff69
mov dword [ebp - 0x1c], 0xe640eba1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x20], 0x76184a46
mov dword [ebp - 0x1c], 0xf52f0c30
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x20], 0x4efd535
mov dword [ebp - 0x1c], 0xe640eba1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x76184a46
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x1c], 0xf52f0c30
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x1c]
movaps xmm1, xmmword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
pxor xmm1, xmmword [ebp - 0xa0]
mov byte [ebp - 0x11], 0
movaps xmmword [ebp - 0x70], xmm1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f878
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x41fdd8
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x70]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0xe8]
call fcn.004b41d0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x18], 0x10
call fcn.0040fe10
movups xmm0, xmmword [ebp - 0xe8]
mov esi, 0x10
mov byte [ebp - 0xe8], 0
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [ebp - 0xd8]
mov dword [ebp - 0x18], esi
and esi, 0xffffffef
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe8]
call fcn.0040fe10
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, 0xffffffff
je 0x41fcab
nop word [eax + eax]
cmp byte [ebp - 0x234], 0x2e
je 0x41fc80
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x58]
mov byte [eax], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x40]
mov byte [eax], 0
mov byte [ebp - 4], 6
mov eax, closesocket
mov ecx, dword [ebx + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x41fdd8
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 1
cmovae eax, dword [ebx + 8]
push 0x56a488
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x104]
call fcn.004b41d0
or esi, 1
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x234]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f9d4
sub ecx, edx
lea eax, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.004ae3b0
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xa4], 0
or esi, 2
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x18], esi
call fcn.0040fe10
movups xmm0, xmmword [ebp - 0xa0]
and esi, 0xfffffffd
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
movups xmmword [ebp - 0x58], xmm0
mov byte [ebp - 0xb8], 0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 6
and esi, 0xfffffffe
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
call fcn.0040fe10
mov byte [ebp - 4], 8
mov eax, closesocket
mov ecx, dword [ebx + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x41fdd8
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push 1
cmovae eax, dword [ebx + 0x20]
push 0x56a488
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x11c]
call fcn.004b41d0
or esi, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x234]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fb00
sub ecx, edx
lea eax, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.004ae3b0
mov dword [ebp - 0xc0], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xbc], 0
or esi, 8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x18], esi
call fcn.0040fe10
movups xmm0, xmmword [ebp - 0xa0]
and esi, 0xfffffff7
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0xd0], 0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 8
and esi, 0xfffffffb
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.0040fe10
test byte [ebp - 0x260], 0x10
lea ecx, [ebp - 0x40]
je 0x41fc5b
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
call fcn.0041a220
test al, al
jne 0x41fc15
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41fcbc
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.004abdc0
mov byte [ebp - 4], 0xa
sub esp, 0x18
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004abdc0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 4
mov cl, 1
call fcn.0041f720
mov edi, eax
add esp, 0x30
test edi, edi
jne 0x41fcc8
mov edi, dword [ebp - 0x28]
jmp 0x41fc7c
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x58]
push 0
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 0x10
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x41fcbc
mov byte [ebp - 0x11], 1
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x41f950
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
jne 0x41fcc8
cmp byte [ebp - 0x21], 0
jne 0x41fcc6
cmp byte [ebp - 0x11], 0
jne 0x41fcc6
or edi, 0xffffffff
jmp 0x41fcc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x41fcc8
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x41fd03
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fcf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fddd
push ecx
push edx
call fcn.005083b1
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x41fd50
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fd46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fddd
push ecx
push edx
call fcn.005083b1
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x41fd96
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fd8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fddd
push ecx
push edx
call fcn.005083b1
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
call fcn.0040fe10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x20]
call fcn.0040fe10
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040f760
call fcn.005238a0
int3