Function at 0x414c90
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45132e
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x468738]
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.00410e40
lea ecx, [ebp - 0xcc]
push ecx
mov edx, str.target
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00410e40
lea edx, [ebp - 0x13c]
push edx
mov edx, str.workingdir
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00410e40
lea eax, [ebp - 0x120]
push eax
mov edx, 0x458bf8
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410e40
lea ecx, [ebp - 0xb0]
push ecx
mov edx, str.description
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00410e40
lea edx, [ebp - 0x158]
push edx
mov edx, str.description_mui
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00410e40
lea eax, [ebp - 0xe8]
push eax
mov edx, str.pathmui
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00410e40
lea ecx, [ebp - 0x104]
push ecx
mov edx, str.appuserid
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00410e40
push 0x11c
lea edx, [ebp - 0x298]
push 0
push edx
mov byte [ebp - 4], 7
call fcn.00443550
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 0x414e0d
cmp eax, 0xffffffff
ja 0x414e0d
cmp dword [ebp - 0x148], 0
je 0x414e0d
push 0
lea edx, [ebp - 0x158]
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004061c0
mov eax, dword [esi + 4]
push eax
push str.Shortcut
push str.__s____d_
push 0x4699dc
xor eax, eax
call fcn.0042c820
inc dword [0x4699fc]
mov eax, dword [ebp - 0x94]
mov esi, 8
add esp, 0x10
cmp dword [ebp - 0x80], esi
jae 0x414e46
lea eax, [ebp - 0x94]
push eax
push str.Path___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov eax, dword [ebp - 0xcc]
add esp, 0xc
cmp dword [ebp - 0xb8], esi
jae 0x414e6f
lea eax, [ebp - 0xcc]
push eax
push str.Target___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov eax, dword [ebp - 0xb0]
add esp, 0xc
cmp dword [ebp - 0x9c], esi
jae 0x414e98
lea eax, [ebp - 0xb0]
push eax
push str.Description___s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
cmp byte [edi + 0x40], 0
jne 0x41533d
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x414ec8
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 0x414ee8
lea edi, [ebp - 0x104]
mov edx, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], esi
jae 0x414efc
lea edx, [ebp - 0xb0]
mov ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x10c], esi
jae 0x414f10
lea ecx, [ebp - 0x120]
mov ebx, dword [ebp - 0x13c]
cmp dword [ebp - 0x128], esi
jae 0x414f24
lea ebx, [ebp - 0x13c]
cmp dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x94]
jae 0x414f35
lea esi, [ebp - 0x94]
cmp dword [ebp - 0xb8], 8
mov eax, dword [ebp - 0xcc]
jae 0x414f4a
lea eax, [ebp - 0xcc]
push edi
push ebx
push esi
push eax
call fcn.00423b40
mov esi, eax
add esp, 0x10
test esi, esi
jns 0x414fb9
push esi
push str.Shortcut_error_0x_X
push 0x4699dc
mov eax, 2
call fcn.0042c820
mov edi, dword [ebp - 0x2a0]
mov al, byte [edi + 0x41]
add esp, 0xc
test al, al
je 0x414f85
xor esi, esi
jmp 0x414f8b
and esi, 0xffff
mov dword [edi + 0x3c], esi
test al, al
jne 0x41533d
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xa]
call fcn.00433220
add esp, 0x10
jmp 0x41533d
cmp dword [ebp - 0xd8], 0
je 0x414ff1
mov ecx, dword [ebp - 0xe8]
mov eax, 8
cmp dword [ebp - 0xd4], eax
jae 0x414fdb
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp - 0x94]
cmp dword [ebp - 0x80], eax
jae 0x414fec
lea esi, [ebp - 0x94]
call fcn.0041f710
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.00410e40
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4150e5
mov dword [ebp - 0x2b0], 0x3b
mov ecx, eax
mov dword [ebp - 0x2ac], ecx
cmp eax, 1
jb 0x415070
cmp dword [ebp - 0x48], 8
mov edi, dword [ebp - 0x5c]
jae 0x415053
lea edi, [ebp - 0x5c]
mov eax, edi
test ecx, ecx
je 0x415070
lea esp, [esp]
cmp word [eax], 0x3b
je 0x4154c3
add eax, 2
dec ecx
jne 0x415060
lea eax, [ebp - 0x24]
push eax
push str.Badly_formed_MUI_name_on__s
push 0x4699dc
mov eax, 2
call fcn.0042c820
add esp, 0xc
mov edi, 8
inc dword [ebp - 0x2a8]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x4150ab
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00438b4b
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.00410e40
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x41503a
mov edi, 8
cmp dword [ebp - 0x48], edi
jb 0x4150fb
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00438b4b
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, 0x458a28
lea esi, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
call fcn.004065a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], edi
jae 0x41513c
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00421d40
add esp, 4
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call fcn.0040d470
mov ebx, 8
cmp dword [ebp - 0x64], ebx
jb 0x41516f
mov edx, dword [ebp - 0x78]
push edx
call fcn.00438b4b
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 0x415197
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00438b4b
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp - 0x174]
push edx
mov edx, 0x458524
call fcn.00410e40
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.004065a0
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0xf
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.0040d470
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x415203
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00438b4b
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 0x415227
mov eax, dword [ebp - 0x40]
push eax
call fcn.00438b4b
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 0x41524e
mov edx, dword [ebp - 0x174]
push edx
call fcn.00438b4b
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x174]
push eax
mov edx, 0x458538
call fcn.00410e40
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.004065a0
mov eax, edi
mov ecx, esi
lea ebx, [ebp - 0x78]
mov byte [ebp - 4], 0x12
call fcn.00421cb0
mov ecx, eax
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.0040d470
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x4152be
mov edx, dword [ebp - 0x78]
push edx
call fcn.00438b4b
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 0x4152e2
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00438b4b
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 0x415309
mov eax, dword [ebp - 0x174]
push eax
call fcn.00438b4b
add esp, 4
mov ecx, dword [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x50]
mov ecx, str.File
call fcn.0041c1c0
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x415337
mov edi, dword [ebp - 0x4c]
mov eax, esi
call fcn.0040d660
push esi
call fcn.00438b4b
add esp, 4
mov edi, dword [ebp - 0x2a0]
dec dword [0x4699fc]
xor ebx, ebx
cmp dword [edi + 0x3c], ebx
mov esi, 8
sete byte [ebp - 0x299]
cmp dword [ebp - 0xf0], esi
jb 0x41536b
mov edx, dword [ebp - 0x104]
push edx
call fcn.00438b4b
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 0x41539c
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00438b4b
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 0x4153c8
mov eax, dword [ebp - 0x158]
push eax
call fcn.00438b4b
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 0x4153f4
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00438b4b
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 0x415420
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.00438b4b
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 0x41544c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00438b4b
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 0x415478
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00438b4b
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 0x4154a1
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00438b4b
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.004377c1
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x415070
mov esi, 1
lea edx, [ebp - 0x2b0]
mov ecx, eax
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x415536
add ecx, 2
add edx, 2
dec esi
jne 0x4154d8
cmp dword [ebp - 0x48], 8
mov ecx, dword [ebp - 0x5c]
jae 0x4154f5
lea ecx, [ebp - 0x5c]
sub eax, ecx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x415070
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [ebp - 0x78]
lea edx, [ebp - 0x5c]
call fcn.0040c590
mov ebx, eax
push edi
xor ecx, ecx
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.0040c590
mov byte [ebp - 4], 0xa
cmp dword [ebx + 0x14], 8
jb 0x41555f
mov ecx, dword [ebx]
jmp 0x415561
sbb edx, edx
and edx, 0xfffffffe
inc edx
je 0x4154e9
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 0x415053
mov ecx, ebx
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x41556d
mov eax, dword [eax]
mov esi, eax
call fcn.0041f710
cmp dword [ebp - 0x2c], edi
jb 0x415585
mov eax, dword [ebp - 0x40]
push eax
call fcn.00438b4b
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 0x415090
mov edx, dword [ebp - 0x78]
push edx
call fcn.00438b4b
add esp, 4
jmp 0x415090