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

Disassembly:
push 0xffffffffffffffff
push 0x458893
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x46e3d8]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
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.00412d30
lea ecx, [esp + 0xc0]
push ecx
xor ebx, ebx
push ebp
mov ecx, str.target
mov dword [esp + 0x194], ebx
call fcn.00412d30
lea edx, [esp + 0xf8]
push edx
push ebp
mov ecx, str.workingdir
mov byte [esp + 0x194], 1
call fcn.00412d30
lea eax, [esp + 0x114]
push eax
push ebp
mov ecx, 0x45eb78
mov byte [esp + 0x194], 2
call fcn.00412d30
lea ecx, [esp + 0xa4]
push ecx
push ebp
mov ecx, str.description
mov byte [esp + 0x194], 3
call fcn.00412d30
lea edx, [esp + 0x14c]
push edx
push ebp
mov ecx, str.description_mui
mov byte [esp + 0x194], 4
call fcn.00412d30
lea eax, [esp + 0xdc]
push eax
push ebp
mov ecx, str.pathmui
mov byte [esp + 0x194], 5
call fcn.00412d30
lea ecx, [esp + 0x130]
push ecx
push ebp
mov ecx, str.appuserid
mov byte [esp + 0x194], 6
call fcn.00412d30
mov byte [esp + 0x18c], 7
call fcn.00435990
cmp eax, 0x6000100
jb 0x4169c1
cmp eax, 0xffffffff
ja 0x4169c1
cmp dword [esp + 0x160], ebx
je 0x4169c1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x154]
lea ecx, [esp + 0xac]
call fcn.004040c0
mov eax, dword [ebp + 4]
push eax
push str.Shortcut
push str.__s____d_
push 0x46fa40
xor eax, eax
call fcn.00431730
add dword [0x46fa60], 1
mov eax, dword [esp + 0x9c]
mov esi, 8
add esp, 0x10
cmp dword [esp + 0xa0], esi
jae 0x416a01
lea eax, [esp + 0x8c]
push eax
push str.Path___s
push 0x46fa40
xor eax, eax
call fcn.00431730
mov eax, dword [esp + 0xd0]
add esp, 0xc
cmp dword [esp + 0xd8], esi
jae 0x416a2d
lea eax, [esp + 0xc4]
push eax
push str.Target___s
push 0x46fa40
xor eax, eax
call fcn.00431730
mov eax, dword [esp + 0xb4]
add esp, 0xc
cmp dword [esp + 0xbc], esi
jae 0x416a59
lea eax, [esp + 0xa8]
push eax
push str.Description___s
push 0x46fa40
xor eax, eax
call fcn.00431730
add esp, 0xc
cmp byte [edi + 0x3c], bl
jne 0x417044
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x416a8e
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 0x416ab1
lea edx, [esp + 0x134]
cmp dword [esp + 0xbc], esi
jb 0x416ac7
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], eax
jmp 0x416ad2
lea ecx, [esp + 0xa8]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x12c], esi
mov edi, dword [esp + 0x118]
jae 0x416ae9
lea edi, [esp + 0x118]
cmp dword [esp + 0x110], esi
mov ecx, dword [esp + 0xfc]
jae 0x416b00
lea ecx, [esp + 0xfc]
cmp dword [esp + 0xa0], esi
mov esi, dword [esp + 0x8c]
jae 0x416b17
lea esi, [esp + 0x8c]
cmp dword [esp + 0xd8], 8
mov eax, dword [esp + 0xc4]
jae 0x416b2f
lea eax, [esp + 0xc4]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push esi
push eax
mov ecx, edi
call fcn.00426350
mov esi, eax
add esp, 0x10
cmp esi, ebx
jge 0x416ba2
push esi
push str.Shortcut_error_0x_X
push 0x46fa40
mov eax, 2
call fcn.00431730
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x3d]
add esp, 0xc
cmp al, bl
je 0x416b6e
xor esi, esi
jmp 0x416b74
and esi, 0xffff
cmp al, bl
mov dword [ecx + 0x38], esi
jne 0x417044
push 0x7f01
push 1
xor edx, edx
push 0x80
push 0x7da
lea ecx, [edx + 0xa]
call fcn.004381c0
add esp, 0x10
jmp 0x417044
cmp dword [esp + 0xf0], ebx
je 0x416be3
mov ecx, dword [esp + 0xe0]
mov eax, 8
cmp dword [esp + 0xf4], eax
jae 0x416bc7
lea ecx, [esp + 0xe0]
cmp dword [esp + 0xa0], eax
mov esi, dword [esp + 0x8c]
jae 0x416bde
lea esi, [esp + 0x8c]
call fcn.00422070
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.00412d30
mov byte [esp + 0x18c], 8
cmp dword [esp + 0x80], ebx
je 0x416d74
mov dword [esp + 0x3c], 0x3b
lea ecx, [esp + 0x3c]
push ecx
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x70]
call fcn.00403570
mov ebx, eax
cmp ebx, 0xffffffff
je 0x416ce9
push 0xffffffffffffffff
lea edx, [esp + 0x70]
lea ecx, [ebx + 1]
push edx
lea esi, [esp + 0x58]
call fcn.0040db70
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.0040db70
mov ebx, 8
mov byte [esp + 0x18c], 0xa
cmp dword [edi + 0x18], ebx
jb 0x416c97
mov ecx, dword [edi + 4]
jmp 0x416c9a
lea ecx, [edi + 4]
cmp dword [eax + 0x18], ebx
jb 0x416ca4
mov eax, dword [eax + 4]
jmp 0x416ca7
add eax, 4
mov esi, eax
call fcn.00422070
cmp dword [esp + 0x38], ebx
jb 0x416cc1
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043e965
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 0x416d0d
mov edx, dword [esp + 0x54]
push edx
call fcn.0043e965
add esp, 4
jmp 0x416d0d
lea eax, [esp + 0x168]
push eax
push str.Badly_formed_MUI_name_on__s
push 0x46fa40
mov eax, 2
call fcn.00431730
add esp, 0xc
mov ebx, 8
add dword [esp + 0x18], 1
mov byte [esp + 0x18c], 7
cmp dword [esp + 0x84], ebx
jb 0x416d30
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0043e965
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.00412d30
mov byte [esp + 0x18c], bl
cmp dword [esp + 0x80], 0
jne 0x416c32
xor ebx, ebx
mov edi, 8
cmp dword [esp + 0x84], edi
jb 0x416d8f
mov edx, dword [esp + 0x70]
push edx
call fcn.0043e965
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 0x45e9a8
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
call fcn.00404170
mov byte [esp + 0x18c], 0xc
cmp dword [esp + 0xa0], edi
mov ebx, dword [esp + 0x8c]
jae 0x416de9
lea ebx, [esp + 0x8c]
lea eax, [esp + 0x6c]
push eax
lea esi, [esp + 0x24]
call fcn.00410ff0
add esp, 4
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0x190], 0xd
call fcn.0040da30
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x416e24
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043e965
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 0x416e55
mov edx, dword [esp + 0x70]
push edx
call fcn.0043e965
add esp, 4
lea eax, [esp + 0x50]
push eax
push ebp
mov ecx, 0x45e564
call fcn.00412d30
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.00404170
push edi
mov ecx, esi
push ecx
lea edi, [esp + 0x28]
mov byte [esp + 0x194], 0xf
call fcn.00424ee0
add esp, 8
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0x190], 0x10
call fcn.0040da30
cmp dword [esp + 0x38], 8
jb 0x416ed4
mov edx, dword [esp + 0x24]
push edx
call fcn.0043e965
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 0x416f01
mov eax, dword [esp + 0x70]
push eax
call fcn.0043e965
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 0x416f2f
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0043e965
add esp, 4
lea edx, [esp + 0x50]
push edx
push ebp
mov ecx, 0x45e578
call fcn.00412d30
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.00404170
push edi
mov eax, esi
push eax
lea edi, [esp + 0x28]
mov byte [esp + 0x194], 0x12
call fcn.00424ee0
add esp, 8
push eax
lea esi, [esp + 0x44]
mov byte [esp + 0x190], 0x13
call fcn.0040da30
cmp dword [esp + 0x38], 8
jb 0x416fae
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043e965
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 0x416fdb
mov edx, dword [esp + 0x70]
push edx
call fcn.0043e965
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 0x417009
mov eax, dword [esp + 0x54]
push eax
call fcn.0043e965
add esp, 4
mov ecx, dword [esp + 0x1c]
push str.File
push ecx
lea ecx, [esp + 0x48]
call fcn.0041e2a0
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x417042
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
push edx
call fcn.00411dd0
mov eax, dword [esp + 0x48]
add esp, 4
push eax
call fcn.0043e965
add esp, 4
xor ebx, ebx
sub dword [0x46fa60], 1
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x38], ebx
mov esi, 8
sete byte [esp + 0x17]
cmp dword [esp + 0x148], esi
jb 0x417075
mov edx, dword [esp + 0x134]
push edx
call fcn.0043e965
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 0x4170a9
mov eax, dword [esp + 0xe0]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], bx
jb 0x4170d8
mov ecx, dword [esp + 0x150]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xbc], esi
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], bx
jb 0x417107
mov edx, dword [esp + 0xa8]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x12c], esi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
jb 0x417136
mov eax, dword [esp + 0x118]
push eax
call fcn.0043e965
add esp, 4
cmp dword [esp + 0x110], esi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
jb 0x417165
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xd8], esi
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], bx
jb 0x417194
mov edx, dword [esp + 0xc4]
push edx
call fcn.0043e965
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], bx
jb 0x4171c3
mov eax, dword [esp + 0x8c]
push eax
call fcn.0043e965
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.0043d02a
add esp, 0x17c
ret 4