Function at 0x41f770
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 0x54b4b5
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], 0x7f6ad653
mov dword [ebp - 0x1c], 0xd280d90
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x20], 0xaf4b4030
mov dword [ebp - 0x1c], 0xbe0aaf25
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x20], 0x5544fc0f
mov dword [ebp - 0x1c], 0xd280d90
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0xaf4b4030
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x1c], 0xbe0aaf25
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 0x41f8c8
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebx + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x41fe28
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.004b92d0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x18], 0x10
call fcn.0040fe60
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.0040fe60
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 0x41fcfb
nop word [eax + eax]
cmp byte [ebp - 0x234], 0x2e
je 0x41fcd0
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 0x41fe28
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 1
cmovae eax, dword [ebx + 8]
push 0x570488
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x104]
call fcn.004b92d0
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 0x41fa24
sub ecx, edx
lea eax, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.004b34b0
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.0040fe60
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.0040fe60
mov byte [ebp - 4], 8
mov eax, closesocket
mov ecx, dword [ebx + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x41fe28
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push 1
cmovae eax, dword [ebx + 0x20]
push 0x570488
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x11c]
call fcn.004b92d0
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 0x41fb50
sub ecx, edx
lea eax, [ebp - 0x234]
push ecx
push eax
lea ecx, [ebp - 0x11c]
call fcn.004b34b0
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.0040fe60
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.0040fe60
test byte [ebp - 0x260], 0x10
lea ecx, [ebp - 0x40]
je 0x41fcab
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
call fcn.0041a270
test al, al
jne 0x41fc65
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 0x41fd0c
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.004b0ec0
mov byte [ebp - 4], 0xa
sub esp, 0x18
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004b0ec0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 4
mov cl, 1
call fcn.0041f770
mov edi, eax
add esp, 0x30
test edi, edi
jne 0x41fd18
mov edi, dword [ebp - 0x28]
jmp 0x41fccc
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 0x41fd0c
mov byte [ebp - 0x11], 1
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x41f9a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x12
jne 0x41fd18
cmp byte [ebp - 0x21], 0
jne 0x41fd16
cmp byte [ebp - 0x11], 0
jne 0x41fd16
or edi, 0xffffffff
jmp 0x41fd18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x41fd18
xor edi, edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x41fd53
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fd49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe2d
push ecx
push edx
call fcn.0050d4b1
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 0x41fda0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fd96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe2d
push ecx
push edx
call fcn.0050d4b1
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 0x41fde6
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fddc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fe2d
push ecx
push edx
call fcn.0050d4b1
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.0040fe60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x20]
call fcn.0040fe60
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.0040f7b0
call fcn.005289b0
int3