Function at 0x414dd0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451ffe
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x469738]
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.00410f80
lea ecx, [ebp - 0xcc]
push ecx
mov edx, str.target
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00410f80
lea edx, [ebp - 0x13c]
push edx
mov edx, str.workingdir
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00410f80
lea eax, [ebp - 0x120]
push eax
mov edx, 0x459bf8
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410f80
lea ecx, [ebp - 0xb0]
push ecx
mov edx, str.description
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00410f80
lea edx, [ebp - 0x158]
push edx
mov edx, str.description_mui
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00410f80
lea eax, [ebp - 0xe8]
push eax
mov edx, str.pathmui
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00410f80
lea ecx, [ebp - 0x104]
push ecx
mov edx, str.appuserid
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00410f80
push 0x11c
lea edx, [ebp - 0x298]
push 0
push edx
mov byte [ebp - 4], 7
call fcn.004440d0
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 0x414f4d
cmp eax, 0xffffffff
ja 0x414f4d
cmp dword [ebp - 0x148], 0
je 0x414f4d
push 0
lea edx, [ebp - 0x158]
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004061d0
mov eax, dword [esi + 4]
push eax
push str.Shortcut
push str.__s____d_
push 0x46a9d4
xor eax, eax
call fcn.0042d150
inc dword [0x46a9f4]
mov eax, dword [ebp - 0x94]
mov esi, 8
add esp, 0x10
cmp dword [ebp - 0x80], esi
jae 0x414f86
lea eax, [ebp - 0x94]
push eax
push str.Path___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0xcc]
add esp, 0xc
cmp dword [ebp - 0xb8], esi
jae 0x414faf
lea eax, [ebp - 0xcc]
push eax
push str.Target___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cmp dword [ebp - 0x9c], esi
jae 0x414fd8
lea eax, [ebp - 0xb0]
push eax
push str.Description___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
cmp byte [edi + 0x40], 0
jne 0x41547d
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x415008
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 0x415028
lea edi, [ebp - 0x104]
mov edx, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], esi
jae 0x41503c
lea edx, [ebp - 0xb0]
mov ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x10c], esi
jae 0x415050
lea ecx, [ebp - 0x120]
mov ebx, dword [ebp - 0x13c]
cmp dword [ebp - 0x128], esi
jae 0x415064
lea ebx, [ebp - 0x13c]
cmp dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x94]
jae 0x415075
lea esi, [ebp - 0x94]
cmp dword [ebp - 0xb8], 8
mov eax, dword [ebp - 0xcc]
jae 0x41508a
lea eax, [ebp - 0xcc]
push edi
push ebx
push esi
push eax
call fcn.00423a70
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x4150f9
push esi
push str.Shortcut_error_0x_X
push 0x46a9d4
mov eax, 2
call fcn.0042d150
mov edi, dword [ebp - 0x2a0]
mov al, byte [edi + 0x41]
add esp, 0xc
test al, al
je 0x4150c5
xor esi, esi
jmp 0x4150cb
and esi, 0xffff
mov dword [edi + 0x3c], esi
test al, al
jne 0x41547d
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xa]
call fcn.00433c70
add esp, 0x10
jmp 0x41547d
cmp dword [ebp - 0xd8], 0
je 0x415131
mov ecx, dword [ebp - 0xe8]
mov eax, 8
cmp dword [ebp - 0xd4], eax
jae 0x41511b
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp - 0x94]
cmp dword [ebp - 0x80], eax
jae 0x41512c
lea esi, [ebp - 0x94]
call fcn.0041f870
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.00410f80
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x415225
mov dword [ebp - 0x2b0], 0x3b
mov ecx, eax
mov dword [ebp - 0x2ac], ecx
cmp eax, 1
jb 0x4151b0
cmp dword [ebp - 0x48], 8
mov edi, dword [ebp - 0x5c]
jae 0x415193
lea edi, [ebp - 0x5c]
mov eax, edi
test ecx, ecx
je 0x4151b0
lea esp, [esp]
cmp word [eax], 0x3b
je 0x415603
add eax, 2
dec ecx
jne 0x4151a0
lea eax, [ebp - 0x24]
push eax
push str.Badly_formed_MUI_name_on__s
push 0x46a9d4
mov eax, 2
call fcn.0042d150
add esp, 0xc
mov edi, 8
inc dword [ebp - 0x2a8]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x4151eb
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004396db
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.00410f80
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x41517a
mov edi, 8
cmp dword [ebp - 0x48], edi
jb 0x41523b
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004396db
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, 0x459a28
lea esi, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
call fcn.004065b0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], edi
jae 0x41527c
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00421c80
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.0040d5e0
mov ebx, 8
cmp dword [ebp - 0x64], ebx
jb 0x4152af
mov edx, dword [ebp - 0x78]
push edx
call fcn.004396db
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 0x4152d7
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004396db
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp - 0x174]
push edx
mov edx, 0x459524
call fcn.00410f80
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.004065b0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x415343
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004396db
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 0x415367
mov eax, dword [ebp - 0x40]
push eax
call fcn.004396db
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 0x41538e
mov edx, dword [ebp - 0x174]
push edx
call fcn.004396db
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x174]
push eax
mov edx, 0x459538
call fcn.00410f80
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.004065b0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0x12
call fcn.00421bf0
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.0040d5e0
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x4153fe
mov edx, dword [ebp - 0x78]
push edx
call fcn.004396db
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 0x415422
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004396db
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 0x415449
mov eax, dword [ebp - 0x174]
push eax
call fcn.004396db
add esp, 4
mov ecx, dword [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x50]
mov ecx, str.File
call fcn.0041c320
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x415477
mov edi, dword [ebp - 0x4c]
mov eax, esi
call fcn.0040d7d0
push esi
call fcn.004396db
add esp, 4
mov edi, dword [ebp - 0x2a0]
dec dword [0x46a9f4]
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov esi, 8
sete byte [ebp - 0x299]
cmp dword [ebp - 0xf0], esi
jb 0x4154ab
mov edx, dword [ebp - 0x104]
push edx
call fcn.004396db
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 0x4154dc
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.004396db
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 0x415508
mov eax, dword [ebp - 0x158]
push eax
call fcn.004396db
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 0x415534
mov edx, dword [ebp - 0xb0]
push edx
call fcn.004396db
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 0x415560
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.004396db
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 0x41558c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.004396db
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 0x4155b8
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004396db
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 0x4155e1
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.004396db
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.00438351
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x4151b0
mov esi, 1
lea edx, [ebp - 0x2b0]
mov ecx, eax
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x415676
add ecx, 2
add edx, 2
dec esi
jne 0x415618
cmp dword [ebp - 0x48], 8
mov ecx, dword [ebp - 0x5c]
jae 0x415635
lea ecx, [ebp - 0x5c]
sub eax, ecx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x4151b0
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [ebp - 0x78]
lea edx, [ebp - 0x5c]
call fcn.0040c700
mov ebx, eax
push edi
xor ecx, ecx
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.0040c700
mov byte [ebp - 4], 0xa
cmp dword [ebx + 0x14], 8
jb 0x41569f
mov ecx, dword [ebx]
jmp 0x4156a1
sbb edx, edx
and edx, 0xfffffffe
inc edx
je 0x415629
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 0x415193
mov ecx, ebx
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x4156ad
mov eax, dword [eax]
mov esi, eax
call fcn.0041f870
cmp dword [ebp - 0x2c], edi
jb 0x4156c5
mov eax, dword [ebp - 0x40]
push eax
call fcn.004396db
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 0x4151d0
mov edx, dword [ebp - 0x78]
push edx
call fcn.004396db
add esp, 4
jmp 0x4151d0