Function at 0x723109
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x208], 1
push edi
mov byte [ebp - 0x40c], 0
jne 0x723138
call fcn.00721e16
test al, al
je 0x723138
xor eax, eax
jmp 0x723569
cmp dword [esi + 0x208], 2
jne 0x72314a
call fcn.00721e16
test al, al
je 0x723131
mov esi, 0x100
push esi
push dword [ebp + 0xc]
lea ebx, [ebp + 0xc]
lea edi, [ebp - 0x204]
call fcn.00720cf8
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov cl, byte [ebp + eax - 0x205]
cmp cl, 0x3a
je 0x723183
cmp cl, 0x5c
je 0x723183
mov byte [ebp + eax - 0x204], 0x5c
inc eax
mov dword [ebp + 0xc], eax
mov ecx, esi
sub ecx, eax
push ecx
mov ecx, dword [ebp + 8]
push dword [ecx]
lea edi, [ebp + eax - 0x204]
xor ebx, ebx
call fcn.00720cf8
mov eax, dword [ebp + 8]
add eax, 4
push esi
push eax
lea ebx, [ebp + 0xc]
lea edi, [ebp - 0x104]
call fcn.00720cf8
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp + eax - 0x105]
add esp, 0x10
cmp cl, 0x3a
je 0x7231d1
cmp cl, 0x5c
je 0x7231d1
mov byte [ebp + eax - 0x104], 0x5c
inc eax
sub esi, eax
push esi
mov esi, dword [ebp + 8]
push dword [esi]
lea edi, [ebp + eax - 0x104]
xor ebx, ebx
call fcn.00720cf8
mov eax, dword [esi + 0x21c]
pop ecx
pop ecx
test eax, eax
je 0x72322f
mov esi, dword [esi + 0x234]
push eax
lea eax, [ebp - 0x204]
push eax
push str.FileInstall:_DLLCall_to__s::_s_r_n
push 0xbfffffff
call fcn.0072062c
mov eax, dword [ebp + 8]
add esp, 0x10
push dword [eax + 0x21c]
lea ecx, [ebp - 0x204]
push ecx
call fcn.00722e9d
mov ebx, eax
jmp 0x723567
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
mov edi, esi
call fcn.00722f84
mov ebx, eax
test ebx, ebx
jne 0x723560
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x723270
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, dword [esi + 0x234]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
push str.FileInstall:_Copying__s_to__s_r_n
mov edi, 0xbfffffff
push edi
call fcn.0072062c
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00722b84
mov ebx, eax
cmp ebx, 0x20
jne 0x72331e
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
push str.FileInstall:_Could_not_copy__s_to__s__sharing_violation__r_n
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x234]
call fcn.0072062c
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.00722f0d
mov ebx, eax
test ebx, ebx
jne 0x723560
mov esi, dword [edi + 0x234]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
push str.FileInstall:_RebootCopying__s_to__s_r_n
push 0xbfffffff
call fcn.0072062c
add esp, 0x10
jmp 0x723500
mov esi, dword [ebp + 8]
cmp dword [esi + 0x220], 0
je 0x7234ef
push 0x104
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.004d4a00
add esp, 0xc
push str._o:0
push dword [ebp + 0x10]
call fcn.004d0a90
pop ecx
pop ecx
test eax, eax
je 0x723447
mov eax, dword [esi + 0x220]
push str._o:256
push eax
call fcn.004d0a90
pop ecx
pop ecx
test eax, eax
je 0x7233f8
push 9
push dword [esi + 0x220]
lea eax, [ebp - 0x30c]
push eax
call fcn.004d1720
mov ebx, dword [esi + 0x220]
lea eax, [ebx + 0x10]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x723398
lea edi, [ebp - 0x30c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x7233a8
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x30c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x7233c7
mov eax, dword [ebp + 0x10]
mov esi, 0x7c41f0
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x7233db
lea edi, [ebp - 0x30c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x7233eb
jmp 0x723494
mov ebx, dword [esi + 0x220]
lea edx, [ebp - 0x30c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x723408
lea edi, [ebp - 0x30c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x723419
mov eax, dword [ebp + 0x10]
mov esi, 0x7c41f0
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x72342d
lea edi, [ebp - 0x30c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x72343d
jmp 0x723494
mov ebx, dword [esi + 0x220]
lea edx, [ebp - 0x30c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x723457
lea edi, [ebp - 0x30c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x723468
mov eax, dword [ebp + 0x10]
mov esi, 0x7c41f0
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x72347c
lea edi, [ebp - 0x30c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x72348c
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x234]
push str.FileInstall:_EXECall_to__s_using_arguments__s_r_n
push 0xbfffffff
call fcn.0072062c
add esp, 0x10
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00722d9c
mov ebx, eax
test ebx, ebx
je 0x7234fd
mov eax, dword [ebp + 8]
mov dword [eax + 0x238], 6
jmp 0x7234f9
mov dword [esi + 0x238], 5
test ebx, ebx
jne 0x723560
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x228]
sub eax, dword [edi + 0x224]
push 0x28
cdq
pop ecx
idiv ecx
and dword [ebp + 0x10], 0
test eax, eax
je 0x723560
and dword [ebp + 8], 0
cmp byte [ebp - 0x40c], 0
lea eax, [ebp - 0x40c]
jne 0x723533
lea eax, [ebp - 0x104]
mov esi, dword [edi + 0x224]
add esi, dword [ebp + 8]
push eax
call fcn.00722c7c
mov eax, dword [edi + 0x228]
sub eax, dword [edi + 0x224]
push 0x28
cdq
pop ecx
idiv ecx
inc dword [ebp + 0x10]
add dword [ebp + 8], 0x28
cmp dword [ebp + 0x10], eax
jb 0x72351e
cmp ebx, 0x50
jne 0x723567
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc