Function at 0x414c80
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45133e
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.00410e30
lea ecx, [ebp - 0xcc]
push ecx
mov edx, str.target
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00410e30
lea edx, [ebp - 0x13c]
push edx
mov edx, str.workingdir
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00410e30
lea eax, [ebp - 0x120]
push eax
mov edx, 0x458bf8
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410e30
lea ecx, [ebp - 0xb0]
push ecx
mov edx, str.description
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00410e30
lea edx, [ebp - 0x158]
push edx
mov edx, str.description_mui
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00410e30
lea eax, [ebp - 0xe8]
push eax
mov edx, str.pathmui
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00410e30
lea ecx, [ebp - 0x104]
push ecx
mov edx, str.appuserid
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00410e30
push 0x11c
lea edx, [ebp - 0x298]
push 0
push edx
mov byte [ebp - 4], 7
call fcn.00443560
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 0x414dfd
cmp eax, 0xffffffff
ja 0x414dfd
cmp dword [ebp - 0x148], 0
je 0x414dfd
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 0x414e36
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 0x414e5f
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 0x414e88
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 0x41532d
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x414eb8
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 0x414ed8
lea edi, [ebp - 0x104]
mov edx, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], esi
jae 0x414eec
lea edx, [ebp - 0xb0]
mov ecx, dword [ebp - 0x120]
cmp dword [ebp - 0x10c], esi
jae 0x414f00
lea ecx, [ebp - 0x120]
mov ebx, dword [ebp - 0x13c]
cmp dword [ebp - 0x128], esi
jae 0x414f14
lea ebx, [ebp - 0x13c]
cmp dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x94]
jae 0x414f25
lea esi, [ebp - 0x94]
cmp dword [ebp - 0xb8], 8
mov eax, dword [ebp - 0xcc]
jae 0x414f3a
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 0x414fa9
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 0x414f75
xor esi, esi
jmp 0x414f7b
and esi, 0xffff
mov dword [edi + 0x3c], esi
test al, al
jne 0x41532d
push 0x7f01
push 1
xor ecx, ecx
push 0x80
push 0x7da
lea edx, [ecx + 0xa]
call fcn.00433220
add esp, 0x10
jmp 0x41532d
cmp dword [ebp - 0xd8], 0
je 0x414fe1
mov ecx, dword [ebp - 0xe8]
mov eax, 8
cmp dword [ebp - 0xd4], eax
jae 0x414fcb
lea ecx, [ebp - 0xe8]
mov esi, dword [ebp - 0x94]
cmp dword [ebp - 0x80], eax
jae 0x414fdc
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.00410e30
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4150d5
mov dword [ebp - 0x2b0], 0x3b
mov ecx, eax
mov dword [ebp - 0x2ac], ecx
cmp eax, 1
jb 0x415060
cmp dword [ebp - 0x48], 8
mov edi, dword [ebp - 0x5c]
jae 0x415043
lea edi, [ebp - 0x5c]
mov eax, edi
test ecx, ecx
je 0x415060
lea esp, [esp]
cmp word [eax], 0x3b
je 0x4154b3
add eax, 2
dec ecx
jne 0x415050
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 0x41509b
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00438b5b
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.00410e30
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x41502a
mov edi, 8
cmp dword [ebp - 0x48], edi
jb 0x4150eb
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00438b5b
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 0x41512c
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.0040d460
mov ebx, 8
cmp dword [ebp - 0x64], ebx
jb 0x41515f
mov edx, dword [ebp - 0x78]
push edx
call fcn.00438b5b
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 0x415187
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00438b5b
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea edx, [ebp - 0x174]
push edx
mov edx, 0x458524
call fcn.00410e30
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.0040d460
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x4151f3
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00438b5b
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 0x415217
mov eax, dword [ebp - 0x40]
push eax
call fcn.00438b5b
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 0x41523e
mov edx, dword [ebp - 0x174]
push edx
call fcn.00438b5b
add esp, 4
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x174]
push eax
mov edx, 0x458538
call fcn.00410e30
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.0040d460
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x4152ae
mov edx, dword [ebp - 0x78]
push edx
call fcn.00438b5b
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 0x4152d2
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00438b5b
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 0x4152f9
mov eax, dword [ebp - 0x174]
push eax
call fcn.00438b5b
add esp, 4
mov ecx, dword [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x50]
mov ecx, str.File
call fcn.0041c1b0
mov esi, dword [ebp - 0x50]
cmp esi, ebx
je 0x415327
mov edi, dword [ebp - 0x4c]
mov eax, esi
call fcn.0040d650
push esi
call fcn.00438b5b
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 0x41535b
mov edx, dword [ebp - 0x104]
push edx
call fcn.00438b5b
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 0x41538c
mov ecx, dword [ebp - 0xe8]
push ecx
call fcn.00438b5b
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 0x4153b8
mov eax, dword [ebp - 0x158]
push eax
call fcn.00438b5b
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 0x4153e4
mov edx, dword [ebp - 0xb0]
push edx
call fcn.00438b5b
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 0x415410
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.00438b5b
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 0x41543c
mov eax, dword [ebp - 0x13c]
push eax
call fcn.00438b5b
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 0x415468
mov edx, dword [ebp - 0xcc]
push edx
call fcn.00438b5b
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 0x415491
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00438b5b
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.004377d1
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x415060
mov esi, 1
lea edx, [ebp - 0x2b0]
mov ecx, eax
mov bx, word [ecx]
cmp bx, word [edx]
jne 0x415526
add ecx, 2
add edx, 2
dec esi
jne 0x4154c8
cmp dword [ebp - 0x48], 8
mov ecx, dword [ebp - 0x5c]
jae 0x4154e5
lea ecx, [ebp - 0x5c]
sub eax, ecx
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x415060
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [ebp - 0x78]
lea edx, [ebp - 0x5c]
call fcn.0040c580
mov ebx, eax
push edi
xor ecx, ecx
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.0040c580
mov byte [ebp - 4], 0xa
cmp dword [ebx + 0x14], 8
jb 0x41554f
mov ecx, dword [ebx]
jmp 0x415551
sbb edx, edx
and edx, 0xfffffffe
inc edx
je 0x4154d9
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 0x415043
mov ecx, ebx
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x41555d
mov eax, dword [eax]
mov esi, eax
call fcn.0041f710
cmp dword [ebp - 0x2c], edi
jb 0x415575
mov eax, dword [ebp - 0x40]
push eax
call fcn.00438b5b
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 0x415080
mov edx, dword [ebp - 0x78]
push edx
call fcn.00438b5b
add esp, 4
jmp 0x415080