Function at 0x40ff80
Capabilities:
Copy file
Get file version info
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440196
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x479fcc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb8], ecx
movlpd qword [ebp - 0xd8], xmm0
movlpd qword [ebp - 0xcc], xmm0
mov byte [eax], cl
call fcn.00403190
push 0x479f7c
lea ecx, [ebp - 0x28]
call fcn.0040e9f0
cmp dword [eax + 0x14], 8
jb 0x41000c
mov eax, dword [eax]
push esi
push eax
push 0x44aa00
call fcn.004036f0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp ecx, 8
jb 0x410055
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41004b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107df
push ecx
push edx
call fcn.004197c3
add esp, 8
push 0x479f7c
lea ecx, [ebp - 0x58]
call fcn.0040e9f0
mov edx, eax
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x41006f
mov edx, dword [edx]
test eax, eax
je 0x410099
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea esi, [edx + ecx*2]
je 0x410093
cmp esi, edx
je 0x410099
sub esi, 2
cmp word [esi], 0x5c
jne 0x410086
sub esi, edx
sar esi, 1
jmp 0x41009c
or esi, 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4100d6
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4100cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107e4
push ecx
push edx
call fcn.004197c3
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push 0x479f7c
cmp esi, 0xffffffff
jne 0x41010c
lea ecx, [ebp - 0x70]
call fcn.0040e9f0
mov esi, eax
mov dword [ebp - 4], 0
mov eax, 1
jmp 0x410170
lea ecx, [ebp - 0x28]
call fcn.0040e9f0
mov ecx, dword [eax + 0x10]
inc esi
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp ecx, esi
jb 0x4107e9
sub ecx, esi
mov edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [eax + 0x14], 8
jb 0x41015b
mov eax, dword [eax]
lea eax, [eax + esi*2]
push edx
push eax
lea ecx, [ebp - 0x40]
call fcn.004010e0
lea esi, [ebp - 0x40]
mov eax, 0x26
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xa4], eax
cmp ecx, esi
je 0x4101ae
call fcn.00401370
movups xmm0, xmmword [esi]
mov ecx, dword [ebp - 0xac]
xor eax, eax
movups xmmword [ecx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0xa4]
test al, 4
je 0x410201
mov ecx, dword [ebp - 0x2c]
and eax, 0xfffffffb
mov dword [ebp - 0xa4], eax
cmp ecx, 8
jb 0x410201
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4101f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107ee
push ecx
push edx
call fcn.004197c3
mov eax, dword [ebp - 0xa4]
add esp, 8
test al, 2
je 0x41021c
and eax, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xa4], eax
call fcn.00401370
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x41022f
lea ecx, [ebp - 0x70]
call fcn.00401370
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.ADMIN__
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.004010e0
push 2
xorps xmm0, xmm0
mov dword [ebp - 4], 2
push 0x44aa40
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.004010e0
push dword [ebp - 0xb0]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00404d10
add esp, 0xc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
push ecx
push eax
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x88]
call fcn.0040eaf0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 4], 5
call fcn.004176a0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x41032d
mov ecx, edi
call fcn.00401370
movups xmm0, xmmword [ebp - 0x98]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x70], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0xc0]
movq qword [edi + 0x10], xmm0
jmp 0x410330
mov ecx, dword [ebp - 0x5c]
cmp ecx, 8
jb 0x410367
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41035d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107f3
push ecx
push edx
call fcn.004197c3
add esp, 8
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 4
cmp ecx, 8
jb 0x4103a8
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41039e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107f3
push ecx
push edx
call fcn.004197c3
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 3
cmp ecx, 8
jb 0x4103fd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4103f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107f3
push ecx
push edx
call fcn.004197c3
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x41044f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107f3
push ecx
push edx
call fcn.004197c3
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x4104a4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41049a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107f3
push ecx
push edx
call fcn.004197c3
add esp, 8
cmp byte [0x47ede4], 0
je 0x410694
mov byte [0x47addf], 1
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4104c2
mov eax, dword [edi]
lea ecx, [ebp - 0xd0]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push eax
mov dword [ebp - 0xb0], eax
call fcn.00423a68
add esp, 4
mov esi, eax
cmp dword [edi + 0x14], 8
mov ecx, edi
mov dword [ebp - 0xbc], esi
jb 0x4104f0
mov ecx, dword [edi]
push esi
push dword [ebp - 0xb0]
push 0
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4105a0
mov ecx, dword [esi + 0x30]
xor eax, eax
or eax, dword [esi + 0x34]
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0x28]
push 0x479f7c
mov dword [ebp - 0xa4], eax
call fcn.0040e9f0
cmp dword [eax + 0x14], 8
jb 0x410530
mov eax, dword [eax]
lea ecx, [ebp - 0xd0]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xb0], esi
call fcn.00401370
push esi
call fcn.00423a68
add esp, 4
lea ecx, [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0xb8], esi
push 0x479f7c
call fcn.0040e9f0
cmp dword [eax + 0x14], 8
jb 0x410573
mov eax, dword [eax]
push esi
push dword [ebp - 0xb0]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00401370
test esi, esi
je 0x4105b8
mov ecx, dword [ebp - 0xb8]
xor esi, esi
mov eax, dword [ecx + 0x30]
or esi, dword [ecx + 0x34]
jmp 0x4105c4
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x4105dd
push eax
call fcn.0042384e
add esp, 4
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x4105f0
push eax
call fcn.0042384e
add esp, 4
mov ecx, dword [ebp - 0xa4]
mov eax, ecx
mov edx, dword [ebp - 0xb4]
or eax, edx
je 0x410618
cmp edx, dword [ebp - 0xac]
ja 0x410712
jb 0x410618
cmp ecx, esi
jae 0x410712
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x410622
mov eax, dword [edi]
lea ecx, [ebp - 0xe0]
push ecx
push eax
call fcn.00411ad0
add esp, 8
test al, al
je 0x410694
push 0x479f7c
lea ecx, [ebp - 0x28]
call fcn.0040e9f0
cmp dword [eax + 0x14], 8
jb 0x41064b
mov eax, dword [eax]
lea ecx, [ebp - 0xe8]
push ecx
push eax
call fcn.00411ad0
add esp, 8
mov byte [ebp - 0xa5], al
lea ecx, [ebp - 0x28]
call fcn.00401370
cmp byte [ebp - 0xa5], 0
je 0x410694
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xe4]
ja 0x410712
jb 0x410694
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xe8]
jae 0x410712
cmp dword [edi + 0x14], 8
mov esi, edi
jb 0x41069e
mov esi, dword [edi]
push 0x479f7c
lea ecx, [ebp - 0x28]
call fcn.0040e9f0
cmp dword [eax + 0x14], 8
jb 0x4106b3
mov eax, dword [eax]
push 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xbc], eax
cmp ecx, 8
jb 0x410705
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4106f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4107f8
push ecx
push edx
call fcn.004197c3
mov eax, dword [ebp - 0xbc]
add esp, 8
test eax, eax
je 0x410719
mov eax, dword [ebp - 0xc4]
mov byte [eax], 1
mov al, 1
jmp 0x4107c4
cmp byte [0x47addf], 0
je 0x410769
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41072c
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], 8
jb 0x410740
mov edi, dword [edi]
push 0x479f7c
lea ecx, [ebp - 0x28]
call fcn.0040e9f0
cmp dword [eax + 0x14], 8
jb 0x410755
mov eax, dword [eax]
push 0
push edi
push eax
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00401370
test esi, esi
jne 0x410712
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xb7
je 0x410712
call fcn.00403190
push 0x479f7c
lea ecx, [ebp - 0xa0]
call fcn.0040e9f0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x410798
mov esi, dword [esi]
push 2
call fcn.0041e7a8
push esi
push str._rError_copying__s_to_remote_system:_n
push eax
call fcn.004029e0
add esp, 0x10
lea ecx, [ebp - 0xa0]
call fcn.00401370
push edi
call fcn.00403660
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004197d1
mov esp, ebp
pop ebp
ret
call fcn.0041e68f
call fcn.0041e68f
call fcn.00415430
call fcn.0041e68f
call fcn.0041e68f
call fcn.0041e68f
int3