Function at 0x416280
Capabilities:
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4529d3
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4663e0]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663e0]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x194]
lea eax, [esp + 0x88]
mov edi, ecx
push eax
push ebp
mov ecx, str.path
mov dword [esp + 0x24], edi
call fcn.00412330
lea ecx, [esp + 0xc0]
push ecx
xor ebx, ebx
push ebp
mov ecx, str.target
mov dword [esp + 0x194], ebx
call fcn.00412330
lea edx, [esp + 0xf8]
push edx
push ebp
mov ecx, str.workingdir
mov byte [esp + 0x194], 1
call fcn.00412330
lea eax, [esp + 0x114]
push eax
push ebp
mov ecx, 0x458ad8
mov byte [esp + 0x194], 2
call fcn.00412330
lea ecx, [esp + 0xa4]
push ecx
push ebp
mov ecx, str.description
mov byte [esp + 0x194], 3
call fcn.00412330
lea edx, [esp + 0x14c]
push edx
push ebp
mov ecx, str.description_mui
mov byte [esp + 0x194], 4
call fcn.00412330
lea eax, [esp + 0xdc]
push eax
push ebp
mov ecx, str.pathmui
mov byte [esp + 0x194], 5
call fcn.00412330
lea ecx, [esp + 0x130]
push ecx
push ebp
mov ecx, str.appuserid
mov byte [esp + 0x194], 6
call fcn.00412330
mov byte [esp + 0x18c], 7
call fcn.00430be0
cmp eax, 0x6000100
jb 0x4163d1
cmp eax, 0xffffffff
ja 0x4163d1
cmp dword [esp + 0x160], ebx
je 0x4163d1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x154]
lea ecx, [esp + 0xac]
call fcn.004040b0
mov eax, dword [ebp + 4]
push eax
push str.Shortcut
push str.__s____d_
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add dword [0x4676c0], 1
mov eax, dword [esp + 0x9c]
mov esi, 8
add esp, 0x10
cmp dword [esp + 0xa0], esi
jae 0x416411
lea eax, [esp + 0x8c]
push eax
push str.Path___s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
mov eax, dword [esp + 0xd0]
add esp, 0xc
cmp dword [esp + 0xd8], esi
jae 0x41643d
lea eax, [esp + 0xc4]
push eax
push str.Target___s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
mov eax, dword [esp + 0xb4]
add esp, 0xc
cmp dword [esp + 0xbc], esi
jae 0x416469
lea eax, [esp + 0xa8]
push eax
push str.Description___s
push 0x4676a0
xor eax, eax
call fcn.0042cad0
add esp, 0xc
cmp byte [edi + 0x3c], bl
jne 0x416a56
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x41649e
lea eax, [esp + 0x8c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x148], esi
mov edx, dword [esp + 0x134]
jae 0x4164c1
lea edx, [esp + 0x134]
cmp dword [esp + 0xbc], esi
jb 0x4164d7
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], eax
jmp 0x4164e2
lea ecx, [esp + 0xa8]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x12c], esi
mov edi, dword [esp + 0x118]
jae 0x4164f9
lea edi, [esp + 0x118]
cmp dword [esp + 0x110], esi
mov ecx, dword [esp + 0xfc]
jae 0x416510
lea ecx, [esp + 0xfc]
cmp dword [esp + 0xa0], esi
mov esi, dword [esp + 0x8c]
jae 0x416527
lea esi, [esp + 0x8c]
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x41653f
lea eax, [esp + 0xc4]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push esi
push eax
mov ecx, edi
call fcn.00425a80
mov esi, eax
add esp, 0x10
cmp esi, ebx
jge 0x4165b4
push esi
push str.Shortcut_error_0x_X
push 0x4676a0
mov eax, 2
call fcn.0042cad0
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x3d]
add esp, 0xc
cmp al, bl
je 0x41657e
xor esi, esi
jmp 0x416584
and esi, 0xffff
cmp al, bl
mov dword [ecx + 0x38], esi
jne 0x416a56
push 0x7f01
push 1
push 0x80
push 0x7da
xor edx, edx
mov ecx, 0xa
call fcn.00432a80
add esp, 0x10
jmp 0x416a56
cmp dword [esp + 0xf0], ebx
je 0x4165f5
mov ecx, dword [esp + 0xe0]
mov eax, 8
cmp dword [esp + 0xf4], eax
jae 0x4165d9
lea ecx, [esp + 0xe0]
cmp dword [esp + 0xa0], eax
mov esi, dword [esp + 0x8c]
jae 0x4165f0
lea esi, [esp + 0x8c]
call fcn.00421770
push 1
lea edx, [esp + 0x16c]
push str.mui_d
push edx
mov dword [esp + 0x24], 1
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push ebp
lea ecx, [esp + 0x170]
call fcn.00412330
mov byte [esp + 0x18c], 8
cmp dword [esp + 0x80], ebx
je 0x416786
mov dword [esp + 0x3c], 0x3b
lea ecx, [esp + 0x3c]
push ecx
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x70]
call fcn.00403560
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4166fb
push 0xffffffffffffffff
lea edx, [esp + 0x70]
lea ecx, [ebx + 1]
push edx
lea esi, [esp + 0x58]
call fcn.0040d240
mov edi, eax
push ebx
lea eax, [esp + 0x70]
push eax
xor ecx, ecx
lea esi, [esp + 0x28]
mov byte [esp + 0x194], 9
call fcn.0040d240
mov ebx, 8
mov byte [esp + 0x18c], 0xa
cmp dword [edi + 0x18], ebx
jb 0x4166a9
mov ecx, dword [edi + 4]
jmp 0x4166ac
lea ecx, [edi + 4]
cmp dword [eax + 0x18], ebx
jb 0x4166b6
mov eax, dword [eax + 4]
jmp 0x4166b9
add eax, 4
mov esi, eax
call fcn.00421770
cmp dword [esp + 0x38], ebx
jb 0x4166d3
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439059
add esp, 4
xor eax, eax
cmp dword [esp + 0x68], ebx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
jb 0x41671f
mov edx, dword [esp + 0x54]
push edx
call fcn.00439059
add esp, 4
jmp 0x41671f
lea eax, [esp + 0x168]
push eax
push str.Badly_formed_MUI_name_on__s
push 0x4676a0
mov eax, 2
call fcn.0042cad0
add esp, 0xc
mov ebx, 8
add dword [esp + 0x18], 1
mov byte [esp + 0x18c], 7
cmp dword [esp + 0x84], ebx
jb 0x416742
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00439059
add esp, 4
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x16c]
push str.mui_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push ebp
lea ecx, [esp + 0x170]
call fcn.00412330
mov byte [esp + 0x18c], bl
cmp dword [esp + 0x80], 0
jne 0x416644
xor ebx, ebx
mov edi, 8
cmp dword [esp + 0x84], edi
jb 0x4167a1
mov edx, dword [esp + 0x70]
push edx
call fcn.00439059
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x18c], 0xb
push 5
push 0x458908
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.00404160
mov byte [esp + 0x18c], 0xc
cmp dword [esp + 0xa0], edi
mov ebx, dword [esp + 0x8c]
jae 0x4167fb
lea ebx, [esp + 0x8c]
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x24]
call fcn.004105f0
add esp, 4
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0x190], 0xd
call fcn.0040d140
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x416836
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439059
add esp, 4
xor ebx, ebx
mov byte [esp + 0x18c], 0xb
cmp dword [esp + 0x84], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x416867
mov edx, dword [esp + 0x70]
push edx
call fcn.00439059
add esp, 4
lea eax, [esp + 0x50]
push eax
push ebp
mov ecx, 0x4584c4
call fcn.00412330
mov edi, eax
mov byte [esp + 0x18c], 0xe
push 0xa
push str.usequence
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.00404160
push edi
mov ecx, esi
push ecx
lea edi, [esp + 0x28]
mov byte [esp + 0x194], 0xf
call fcn.004246d0
add esp, 8
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0x190], 0x10
call fcn.0040d140
cmp dword [esp + 0x38], 8
jb 0x4168e6
mov edx, dword [esp + 0x24]
push edx
call fcn.00439059
add esp, 4
mov esi, 8
cmp dword [esp + 0x84], esi
mov edi, 7
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x416913
mov eax, dword [esp + 0x70]
push eax
call fcn.00439059
add esp, 4
mov byte [esp + 0x18c], 0xb
cmp dword [esp + 0x68], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jb 0x416941
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00439059
add esp, 4
lea edx, [esp + 0x50]
push edx
push ebp
mov ecx, 0x4584d8
call fcn.00412330
mov edi, eax
mov byte [esp + 0x18c], 0x11
push 6
push str.group
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.00404160
push edi
mov eax, esi
push eax
lea edi, [esp + 0x28]
mov byte [esp + 0x194], 0x12
call fcn.004246d0
add esp, 8
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0x190], 0x13
call fcn.0040d140
cmp dword [esp + 0x38], 8
jb 0x4169c0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439059
add esp, 4
mov esi, 8
cmp dword [esp + 0x84], esi
mov edi, 7
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
jb 0x4169ed
mov edx, dword [esp + 0x70]
push edx
call fcn.00439059
add esp, 4
mov byte [esp + 0x18c], 0xb
cmp dword [esp + 0x68], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jb 0x416a1b
mov eax, dword [esp + 0x54]
push eax
call fcn.00439059
add esp, 4
mov ecx, dword [esp + 0x1c]
push str.File
push ecx
lea ecx, [esp + 0x48]
call fcn.0041da40
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x416a54
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
push edx
call fcn.00411400
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.00439059
add esp, 4
xor ebx, ebx
sub dword [0x4676c0], 1
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x38], ebx
mov esi, 8
sete byte [esp + 0x17]
cmp dword [esp + 0x148], esi
jb 0x416a87
mov edx, dword [esp + 0x134]
push edx
call fcn.00439059
add esp, 4
cmp dword [esp + 0xf4], esi
mov edi, 7
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
jb 0x416abb
mov eax, dword [esp + 0xe0]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
jb 0x416aea
mov ecx, dword [esp + 0x150]
push ecx
call fcn.00439059
add esp, 4
cmp dword [esp + 0xbc], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x416b19
mov edx, dword [esp + 0xa8]
push edx
call fcn.00439059
add esp, 4
cmp dword [esp + 0x12c], esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
jb 0x416b48
mov eax, dword [esp + 0x118]
push eax
call fcn.00439059
add esp, 4
cmp dword [esp + 0x110], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x416b77
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.00439059
add esp, 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
jb 0x416ba6
mov edx, dword [esp + 0xc4]
push edx
call fcn.00439059
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], bx
jb 0x416bd5
mov eax, dword [esp + 0x8c]
push eax
call fcn.00439059
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0043782a
add esp, 0x17c
ret 4