Function at 0x414e70
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45215e
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x469744]
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.00410fd0
lea ecx, [ebp - 0xcc]
push ecx
mov edx, str.target
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00410fd0
lea edx, [ebp - 0x13c]
push edx
mov edx, str.workingdir
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00410fd0
lea eax, [ebp - 0x120]
push eax
mov edx, 0x459cd8
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410fd0
lea ecx, [ebp - 0xb0]
push ecx
mov edx, str.description
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00410fd0
lea edx, [ebp - 0x158]
push edx
mov edx, str.description_mui
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00410fd0
lea eax, [ebp - 0xe8]
push eax
mov edx, str.pathmui
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00410fd0
lea ecx, [ebp - 0x104]
push ecx
mov edx, str.appuserid
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00410fd0
push 0x11c
lea edx, [ebp - 0x298]
push 0
push edx
mov byte [ebp - 4], 7
call fcn.0043d4f0
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 0x414fed
cmp eax, 0xffffffff
ja 0x414fed
cmp dword [ebp - 0x148], 0
je 0x414fed
push 0
lea edx, [ebp - 0x158]
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00406170
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 0x415026
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 0x41504f
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 0x415078
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 0x41551d
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x4150a8
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 0x4150c8
lea edi, [ebp - 0x104]
mov edx, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], esi
jae 0x4150dc
lea edx, [ebp - 0xb0]
mov ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x10c], esi
jae 0x4150f0
lea ecx, [ebp - 0x120]
mov ebx, dword [ebp - 0x13c]
cmp dword [ebp - 0x128], esi
jae 0x415104
lea ebx, [ebp - 0x13c]
cmp dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x94]
jae 0x415115
lea esi, [ebp - 0x94]
cmp dword [ebp - 0xb8], 8
mov eax, dword [ebp - 0xcc]
jae 0x41512a
lea eax, [ebp - 0xcc]
push edi
push ebx
push esi
push eax
call fcn.00423e90
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x415199
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 0x415165
xor esi, esi
jmp 0x41516b
and esi, 0xffff
mov dword [edi + 0x3c], esi
test al, al
jne 0x41551d
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xa]
call fcn.00433b40
add esp, 0x10
jmp 0x41551d
cmp dword [ebp - 0xd8], 0
je 0x4151d1
mov ecx, dword [ebp - 0xe8]
mov eax, 8
cmp dword [ebp - 0xd4], eax
jae 0x4151bb
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp - 0x94]
cmp dword [ebp - 0x80], eax
jae 0x4151cc
lea esi, [ebp - 0x94]
call fcn.0041f900
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.00410fd0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4152c5
mov dword [ebp - 0x2b0], 0x3b
mov ecx, eax
mov dword [ebp - 0x2ac], ecx
cmp eax, 1
jb 0x415250
cmp dword [ebp - 0x48], 8
mov edi, dword [ebp - 0x5c]
jae 0x415233
lea edi, [ebp - 0x5c]
mov eax, edi
test ecx, ecx
je 0x415250
lea esp, [esp]
cmp word [eax], 0x3b
je 0x4156a3
add eax, 2
dec ecx
jne 0x415240
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 0x41528b
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00439c00
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.00410fd0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x41521a
mov edi, 8
cmp dword [ebp - 0x48], edi
jb 0x4152db
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00439c00
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, 0x459b08
lea esi, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
call fcn.00406550
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], edi
jae 0x41531c
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00422060
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 0x41534f
mov edx, dword [ebp - 0x78]
push edx
call fcn.00439c00
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 0x415377
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00439c00
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp - 0x174]
push edx
mov edx, 0x459604
call fcn.00410fd0
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.00406550
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call fcn.00421fd0
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x4153e3
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00439c00
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 0x415407
mov eax, dword [ebp - 0x40]
push eax
call fcn.00439c00
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 0x41542e
mov edx, dword [ebp - 0x174]
push edx
call fcn.00439c00
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x174]
push eax
mov edx, 0x459618
call fcn.00410fd0
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.00406550
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0x12
call fcn.00421fd0
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.0040d610
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x41549e
mov edx, dword [ebp - 0x78]
push edx
call fcn.00439c00
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 0x4154c2
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00439c00
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 0x4154e9
mov eax, dword [ebp - 0x174]
push eax
call fcn.00439c00
add esp, 4
mov ecx, dword [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x50]
mov ecx, str.File
call fcn.0041c3b0
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x415517
mov edi, dword [ebp - 0x4c]
mov eax, esi
call fcn.0040d800
push esi
call fcn.00439c00
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 0x41554b
mov edx, dword [ebp - 0x104]
push edx
call fcn.00439c00
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 0x41557c
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00439c00
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 0x4155a8
mov eax, dword [ebp - 0x158]
push eax
call fcn.00439c00
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 0x4155d4
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00439c00
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 0x415600
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.00439c00
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 0x41562c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00439c00
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 0x415658
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00439c00
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 0x415681
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00439c00
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.00438876
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x415250
mov esi, 1
lea edx, [ebp - 0x2b0]
mov ecx, eax
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x415716
add ecx, 2
add edx, 2
dec esi
jne 0x4156b8
cmp dword [ebp - 0x48], 8
mov ecx, dword [ebp - 0x5c]
jae 0x4156d5
lea ecx, [ebp - 0x5c]
sub eax, ecx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x415250
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 0x41573f
mov ecx, dword [ebx]
jmp 0x415741
sbb edx, edx
and edx, 0xfffffffe
inc edx
je 0x4156c9
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 0x415233
mov ecx, ebx
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x41574d
mov eax, dword [eax]
mov esi, eax
call fcn.0041f900
cmp dword [ebp - 0x2c], edi
jb 0x415765
mov eax, dword [ebp - 0x40]
push eax
call fcn.00439c00
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 0x415270
mov edx, dword [ebp - 0x78]
push edx
call fcn.00439c00
add esp, 4
jmp 0x415270