Function at 0x414e50
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451fce
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x468744]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x94]
push eax
mov edx, str.path
mov ecx, esi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x2a4], esi
call fcn.00410fc0
lea ecx, [ebp - 0xcc]
push ecx
mov edx, str.target
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00410fc0
lea edx, [ebp - 0x13c]
push edx
mov edx, str.workingdir
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00410fc0
lea eax, [ebp - 0x120]
push eax
mov edx, 0x458cd8
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410fc0
lea ecx, [ebp - 0xb0]
push ecx
mov edx, str.description
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00410fc0
lea edx, [ebp - 0x158]
push edx
mov edx, str.description_mui
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00410fc0
lea eax, [ebp - 0xe8]
push eax
mov edx, str.pathmui
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00410fc0
lea ecx, [ebp - 0x104]
push ecx
mov edx, str.appuserid
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00410fc0
push 0x11c
lea edx, [ebp - 0x298]
push 0
push edx
mov byte [ebp - 4], 7
call fcn.0043d3f0
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
mov dword [ebp - 0x298], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, byte [ebp - 0x294]
movzx ecx, byte [ebp - 0x290]
movzx edx, byte [ebp - 0x17e]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 0x184]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
cmp eax, 0x6000100
jb 0x414fcd
cmp eax, 0xffffffff
ja 0x414fcd
cmp dword [ebp - 0x148], 0
je 0x414fcd
push 0
lea edx, [ebp - 0x158]
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004061f0
mov eax, dword [esi + 4]
push eax
push str.Shortcut
push str.__s____d_
push 0x4699d4
xor eax, eax
call fcn.0042d020
inc dword [0x4699f4]
mov eax, dword [ebp - 0x94]
mov esi, 8
add esp, 0x10
cmp dword [ebp - 0x80], esi
jae 0x415006
lea eax, [ebp - 0x94]
push eax
push str.Path___s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov eax, dword [ebp - 0xcc]
add esp, 0xc
cmp dword [ebp - 0xb8], esi
jae 0x41502f
lea eax, [ebp - 0xcc]
push eax
push str.Target___s
push 0x4699d4
xor eax, eax
call fcn.0042d020
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cmp dword [ebp - 0x9c], esi
jae 0x415058
lea eax, [ebp - 0xb0]
push eax
push str.Description___s
push 0x4699d4
xor eax, eax
call fcn.0042d020
add esp, 0xc
cmp byte [edi + 0x40], 0
jne 0x4154fd
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x415088
lea eax, [ebp - 0x94]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [ebp - 0x104]
cmp dword [ebp - 0xf0], esi
jae 0x4150a8
lea edi, [ebp - 0x104]
mov edx, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], esi
jae 0x4150bc
lea edx, [ebp - 0xb0]
mov ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x10c], esi
jae 0x4150d0
lea ecx, [ebp - 0x120]
mov ebx, dword [ebp - 0x13c]
cmp dword [ebp - 0x128], esi
jae 0x4150e4
lea ebx, [ebp - 0x13c]
cmp dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x94]
jae 0x4150f5
lea esi, [ebp - 0x94]
cmp dword [ebp - 0xb8], 8
mov eax, dword [ebp - 0xcc]
jae 0x41510a
lea eax, [ebp - 0xcc]
push edi
push ebx
push esi
push eax
call fcn.00423dc0
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x415179
push esi
push str.Shortcut_error_0x_X
push 0x4699d4
mov eax, 2
call fcn.0042d020
mov edi, dword [ebp - 0x2a0]
mov al, byte [edi + 0x41]
add esp, 0xc
test al, al
je 0x415145
xor esi, esi
jmp 0x41514b
and esi, 0xffff
mov dword [edi + 0x3c], esi
test al, al
jne 0x4154fd
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xa]
call fcn.00433a00
add esp, 0x10
jmp 0x4154fd
cmp dword [ebp - 0xd8], 0
je 0x4151b1
mov ecx, dword [ebp - 0xe8]
mov eax, 8
cmp dword [ebp - 0xd4], eax
jae 0x41519b
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp - 0x94]
cmp dword [ebp - 0x80], eax
jae 0x4151ac
lea esi, [ebp - 0x94]
call fcn.0041f8b0
push 1
lea eax, [ebp - 0x24]
push str.mui_d
push eax
mov dword [ebp - 0x2a8], 1
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp - 0x24]
call fcn.00410fc0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4152a5
mov dword [ebp - 0x2b0], 0x3b
mov ecx, eax
mov dword [ebp - 0x2ac], ecx
cmp eax, 1
jb 0x415230
cmp dword [ebp - 0x48], 8
mov edi, dword [ebp - 0x5c]
jae 0x415213
lea edi, [ebp - 0x5c]
mov eax, edi
test ecx, ecx
je 0x415230
lea esp, [esp]
cmp word [eax], 0x3b
je 0x415683
add eax, 2
dec ecx
jne 0x415220
lea eax, [ebp - 0x24]
push eax
push str.Badly_formed_MUI_name_on__s
push 0x4699d4
mov eax, 2
call fcn.0042d020
add esp, 0xc
mov edi, 8
inc dword [ebp - 0x2a8]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x41526b
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00439b10
add esp, 4
mov edx, dword [ebp - 0x2a8]
push edx
lea eax, [ebp - 0x24]
push str.mui_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp - 0x24]
call fcn.00410fc0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4151fa
mov edi, 8
cmp dword [ebp - 0x48], edi
jb 0x4152bb
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
push 5
mov eax, 0x458b08
lea esi, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
call fcn.00406580
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], edi
jae 0x4152fc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00421fc0
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.0040d610
mov ebx, 8
cmp dword [ebp - 0x64], ebx
jb 0x41532f
mov edx, dword [ebp - 0x78]
push edx
call fcn.00439b10
add esp, 4
xor edi, edi
xor eax, eax
mov esi, 7
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
mov word [ebp - 0x78], ax
cmp dword [ebp - 0x2c], ebx
jb 0x415357
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00439b10
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp - 0x174]
push edx
mov edx, 0x458604
call fcn.00410fc0
mov ebx, eax
mov byte [ebp - 4], 0xe
xor eax, eax
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
push 0xa
mov eax, str.usequence
lea esi, [ebp - 0x40]
mov dword [ebp - 0x30], edi
call fcn.00406580
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call fcn.00421f30
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x4153c3
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00439b10
add esp, 4
xor edi, edi
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], edi
mov word [ebp - 0x78], dx
cmp dword [ebp - 0x2c], esi
jb 0x4153e7
mov eax, dword [ebp - 0x40]
push eax
call fcn.00439b10
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], cx
cmp dword [ebp - 0x160], esi
jb 0x41540e
mov edx, dword [ebp - 0x174]
push edx
call fcn.00439b10
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x174]
push eax
mov edx, 0x458618
call fcn.00410fc0
mov edi, eax
mov byte [ebp - 4], 0x11
xor ecx, ecx
push 6
mov eax, str.group
lea esi, [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
call fcn.00406580
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0x12
call fcn.00421f30
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x41547e
mov edx, dword [ebp - 0x78]
push edx
call fcn.00439b10
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], ax
cmp dword [ebp - 0x2c], esi
jb 0x4154a2
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00439b10
add esp, 4
xor edx, edx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], dx
cmp dword [ebp - 0x160], esi
jb 0x4154c9
mov eax, dword [ebp - 0x174]
push eax
call fcn.00439b10
add esp, 4
mov ecx, dword [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x50]
mov ecx, str.File
call fcn.0041c370
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x4154f7
mov edi, dword [ebp - 0x4c]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439b10
add esp, 4
mov edi, dword [ebp - 0x2a0]
dec dword [0x4699f4]
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov esi, 8
sete byte [ebp - 0x299]
cmp dword [ebp - 0xf0], esi
jb 0x41552b
mov edx, dword [ebp - 0x104]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf4], ebx
mov word [ebp - 0x104], ax
cmp dword [ebp - 0xd4], esi
jb 0x41555c
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00439b10
add esp, 4
xor edx, edx
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd8], ebx
mov word [ebp - 0xe8], dx
cmp dword [ebp - 0x144], esi
jb 0x415588
mov eax, dword [ebp - 0x158]
push eax
call fcn.00439b10
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x148], ebx
mov word [ebp - 0x158], cx
cmp dword [ebp - 0x9c], esi
jb 0x4155b4
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xb0], ax
cmp dword [ebp - 0x10c], esi
jb 0x4155e0
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.00439b10
add esp, 4
xor edx, edx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], ebx
mov word [ebp - 0x120], dx
cmp dword [ebp - 0x128], esi
jb 0x41560c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00439b10
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], ebx
mov word [ebp - 0x13c], cx
cmp dword [ebp - 0xb8], esi
jb 0x415638
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00439b10
add esp, 4
xor eax, eax
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xbc], ebx
mov word [ebp - 0xcc], ax
cmp dword [ebp - 0x80], esi
jb 0x415661
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00439b10
add esp, 4
mov al, byte [ebp - 0x299]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438786
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x415230
mov esi, 1
lea edx, [ebp - 0x2b0]
mov ecx, eax
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x4156f6
add ecx, 2
add edx, 2
dec esi
jne 0x415698
cmp dword [ebp - 0x48], 8
mov ecx, dword [ebp - 0x5c]
jae 0x4156b5
lea ecx, [ebp - 0x5c]
sub eax, ecx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x415230
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [ebp - 0x78]
lea edx, [ebp - 0x5c]
call fcn.0040c760
mov ebx, eax
push edi
xor ecx, ecx
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.0040c760
mov byte [ebp - 4], 0xa
cmp dword [ebx + 0x14], 8
jb 0x41571f
mov ecx, dword [ebx]
jmp 0x415721
sbb edx, edx
and edx, 0xfffffffe
inc edx
je 0x4156a9
mov ecx, eax
sub ecx, edi
sar ecx, 1
or edx, 0xffffffff
sub edx, ecx
mov ecx, dword [ebp - 0x2ac]
add ecx, edx
mov dword [ebp - 0x2ac], ecx
lea edi, [eax + 2]
jmp 0x415213
mov ecx, ebx
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x41572d
mov eax, dword [eax]
mov esi, eax
call fcn.0041f8b0
cmp dword [ebp - 0x2c], edi
jb 0x415745
mov eax, dword [ebp - 0x40]
push eax
call fcn.00439b10
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
cmp dword [ebp - 0x64], edi
jb 0x415250
mov edx, dword [ebp - 0x78]
push edx
call fcn.00439b10
add esp, 4
jmp 0x415250