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

Disassembly:
push 0xffffffffffffffff
push 0x452f08
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x17c]
lea eax, [esp + 0x8c]
mov edi, ecx
push eax
push ebp
mov ecx, str.path
mov dword [esp + 0x24], edi
call fcn.00412530
lea ecx, [esp + 0xc4]
push ecx
xor ebx, ebx
push ebp
mov ecx, str.target
mov dword [esp + 0x17c], ebx
call fcn.00412530
lea edx, [esp + 0xfc]
push edx
push ebp
mov ecx, str.workingdir
mov byte [esp + 0x17c], 1
call fcn.00412530
lea eax, [esp + 0x118]
push eax
push ebp
mov ecx, 0x4589ac
mov byte [esp + 0x17c], 2
call fcn.00412530
lea ecx, [esp + 0xa8]
push ecx
push ebp
mov ecx, str.description
mov byte [esp + 0x17c], 3
call fcn.00412530
lea edx, [esp + 0x134]
push edx
push ebp
mov ecx, str.description_mui
mov byte [esp + 0x17c], 4
call fcn.00412530
lea eax, [esp + 0xe0]
push eax
push ebp
mov ecx, str.pathmui
mov byte [esp + 0x17c], 5
call fcn.00412530
mov byte [esp + 0x174], 6
call fcn.00431ae0
cmp eax, 0x6000100
jb 0x415f66
cmp eax, 0xffffffff
ja 0x415f66
cmp dword [esp + 0x148], ebx
je 0x415f66
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x13c]
lea ecx, [esp + 0xb0]
call fcn.00404010
mov eax, dword [ebp + 4]
push eax
push str.Shortcut
push str.__s____d_
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add dword [0x4676d8], 1
mov eax, dword [esp + 0xa0]
mov esi, 8
add esp, 0x10
cmp dword [esp + 0xa4], esi
jae 0x415fa6
lea eax, [esp + 0x90]
push eax
push str.Path___s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
mov eax, dword [esp + 0xd4]
add esp, 0xc
cmp dword [esp + 0xdc], esi
jae 0x415fd2
lea eax, [esp + 0xc8]
push eax
push str.Target___s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
mov eax, dword [esp + 0xb8]
add esp, 0xc
cmp dword [esp + 0xc0], esi
jae 0x415ffe
lea eax, [esp + 0xac]
push eax
push str.Description___s
push 0x4676b8
xor eax, eax
call fcn.0042dae0
add esp, 0xc
cmp byte [edi + 0x3c], bl
jne 0x416118
cmp dword [esp + 0xa4], esi
mov eax, dword [esp + 0x90]
jae 0x416033
lea eax, [esp + 0x90]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0xc0], esi
mov ecx, dword [esp + 0xac]
jae 0x416056
lea ecx, [esp + 0xac]
cmp dword [esp + 0x130], esi
mov edi, dword [esp + 0x11c]
jae 0x41606d
lea edi, [esp + 0x11c]
cmp dword [esp + 0x114], esi
mov edx, dword [esp + 0x100]
jae 0x416084
lea edx, [esp + 0x100]
cmp dword [esp + 0xa4], esi
mov eax, dword [esp + 0x90]
jae 0x41609b
lea eax, [esp + 0x90]
cmp dword [esp + 0xdc], esi
mov esi, dword [esp + 0xc8]
jae 0x4160b2
lea esi, [esp + 0xc8]
push edi
push eax
call fcn.004242b0
mov esi, eax
add esp, 8
cmp esi, ebx
jge 0x416296
push esi
push str.Shortcut_error_0x_X
push 0x4676b8
mov eax, 2
call fcn.0042dae0
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x3d]
add esp, 0xc
cmp al, bl
je 0x4160ed
xor esi, esi
jmp 0x4160f3
and esi, 0xffff
cmp al, bl
mov dword [ecx + 0x38], esi
jne 0x416118
push 0x7f01
push 1
xor edx, edx
push 0x80
push 0x7da
lea ecx, [edx + 0xa]
call fcn.00433190
add esp, 0x10
mov esi, 7
sub dword [0x4676d8], 1
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x38], ebx
mov edi, 8
sete byte [esp + 0x1b]
cmp dword [esp + 0xf8], edi
jb 0x41614e
mov edx, dword [esp + 0xe4]
push edx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x14c], edi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], bx
jb 0x41617d
mov eax, dword [esp + 0x138]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0xc0], edi
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], bx
jb 0x4161ac
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x130], edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
jb 0x4161db
mov edx, dword [esp + 0x11c]
push edx
call fcn.00439935
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebx
mov word [esp + 0x11c], bx
jb 0x41620a
mov eax, dword [esp + 0x100]
push eax
call fcn.00439935
add esp, 4
cmp dword [esp + 0xdc], edi
mov dword [esp + 0x114], esi
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], bx
jb 0x416239
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00439935
add esp, 4
cmp dword [esp + 0xa4], edi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
jb 0x416268
mov edx, dword [esp + 0x90]
push edx
call fcn.00439935
add esp, 4
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.00437ffa
add esp, 0x164
ret 4
cmp dword [esp + 0xf4], ebx
je 0x4162d7
mov ecx, dword [esp + 0xe4]
mov eax, 8
cmp dword [esp + 0xf8], eax
jae 0x4162bb
lea ecx, [esp + 0xe4]
cmp dword [esp + 0xa4], eax
mov esi, dword [esp + 0x90]
jae 0x4162d2
lea esi, [esp + 0x90]
call fcn.00420600
push 1
lea ecx, [esp + 0x154]
push str.mui_d
push ecx
mov dword [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [esp + 0x70]
push edx
push ebp
lea ecx, [esp + 0x158]
call fcn.00412530
mov byte [esp + 0x174], 7
cmp dword [esp + 0x84], ebx
je 0x416469
mov dword [esp + 0x40], 0x3b
lea eax, [esp + 0x40]
push eax
mov ebx, 1
xor eax, eax
lea edx, [esp + 0x74]
call fcn.004034c0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4163dd
push 0xffffffffffffffff
lea edx, [esp + 0x74]
lea ecx, [ebx + 1]
push edx
lea esi, [esp + 0x5c]
call fcn.0040d470
mov edi, eax
push ebx
lea eax, [esp + 0x74]
push eax
xor ecx, ecx
lea esi, [esp + 0x2c]
mov byte [esp + 0x17c], 8
call fcn.0040d470
mov ebx, 8
mov byte [esp + 0x174], 9
cmp dword [edi + 0x18], ebx
jb 0x41638b
mov ecx, dword [edi + 4]
jmp 0x41638e
lea ecx, [edi + 4]
cmp dword [eax + 0x18], ebx
jb 0x416398
mov eax, dword [eax + 4]
jmp 0x41639b
add eax, 4
mov esi, eax
call fcn.00420600
cmp dword [esp + 0x3c], ebx
jb 0x4163b5
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00439935
add esp, 4
xor eax, eax
cmp dword [esp + 0x6c], ebx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], eax
mov word [esp + 0x28], ax
jb 0x416401
mov edx, dword [esp + 0x58]
push edx
call fcn.00439935
add esp, 4
jmp 0x416401
lea eax, [esp + 0x150]
push eax
push str.Badly_formed_MUI_name_on__s
push 0x4676b8
mov eax, 2
call fcn.0042dae0
add esp, 0xc
mov ebx, 8
add dword [esp + 0x20], 1
mov byte [esp + 0x174], 6
cmp dword [esp + 0x88], ebx
jb 0x416424
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00439935
add esp, 4
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x154]
push str.mui_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x70]
push ecx
push ebp
lea ecx, [esp + 0x158]
call fcn.00412530
mov byte [esp + 0x174], 7
cmp dword [esp + 0x84], 0
jne 0x416326
xor ebx, ebx
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x416484
mov edx, dword [esp + 0x74]
push edx
call fcn.00439935
add esp, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x174], 0xa
push 5
push 0x458820
lea esi, [esp + 0x78]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.004040c0
mov byte [esp + 0x174], 0xb
cmp dword [esp + 0xa4], edi
mov ebx, dword [esp + 0x90]
jae 0x4164de
lea ebx, [esp + 0x90]
lea eax, [esp + 0x70]
push eax
lea esi, [esp + 0x28]
call fcn.00410820
add esp, 4
push eax
lea esi, [esp + 0x48]
mov byte [esp + 0x178], 0xc
call fcn.0040d330
mov esi, 8
cmp dword [esp + 0x3c], esi
jb 0x416519
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00439935
add esp, 4
xor ebx, ebx
mov byte [esp + 0x174], 0xa
cmp dword [esp + 0x88], esi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jb 0x41654a
mov edx, dword [esp + 0x74]
push edx
call fcn.00439935
add esp, 4
lea eax, [esp + 0x54]
push eax
push ebp
mov ecx, 0x4583dc
call fcn.00412530
mov edi, eax
mov byte [esp + 0x174], 0xd
push 0xa
push str.usequence
lea esi, [esp + 0x78]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.004040c0
push edi
mov ecx, esi
push ecx
lea edi, [esp + 0x2c]
mov byte [esp + 0x17c], 0xe
call fcn.00423470
add esp, 8
push eax
lea esi, [esp + 0x48]
mov byte [esp + 0x178], 0xf
call fcn.0040d330
cmp dword [esp + 0x3c], 8
jb 0x4165c9
mov edx, dword [esp + 0x28]
push edx
call fcn.00439935
add esp, 4
mov edi, 8
cmp dword [esp + 0x88], edi
mov esi, 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jb 0x4165f6
mov eax, dword [esp + 0x74]
push eax
call fcn.00439935
add esp, 4
mov byte [esp + 0x174], 0xa
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x416624
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00439935
add esp, 4
lea edx, [esp + 0x54]
push edx
push ebp
mov ecx, 0x4583f0
call fcn.00412530
mov edi, eax
mov byte [esp + 0x174], 0x10
push 6
push str.group
lea esi, [esp + 0x78]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
call fcn.004040c0
push edi
mov eax, esi
push eax
lea edi, [esp + 0x2c]
mov byte [esp + 0x17c], 0x11
call fcn.00423470
add esp, 8
push eax
lea esi, [esp + 0x48]
mov byte [esp + 0x178], 0x12
call fcn.0040d330
cmp dword [esp + 0x3c], 8
jb 0x4166a3
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00439935
add esp, 4
mov edi, 8
cmp dword [esp + 0x88], edi
mov esi, 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
jb 0x4166d0
mov edx, dword [esp + 0x74]
push edx
call fcn.00439935
add esp, 4
mov byte [esp + 0x174], 0xa
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x4166fe
mov eax, dword [esp + 0x58]
push eax
call fcn.00439935
add esp, 4
mov ecx, dword [esp + 0x1c]
push str.File
push ecx
lea ecx, [esp + 0x4c]
call fcn.0041cdb0
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x416737
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
push edx
call fcn.004115d0
mov eax, dword [esp + 0x4c]
add esp, 4
push eax
call fcn.00439935
add esp, 4
xor ebx, ebx
jmp 0x41611d