Function at 0x48b2f3
Capabilities:
Copy file

Disassembly:
push 0x18
mov eax, 0x516fea
call fcn.004db273
mov ebx, ecx
mov dword [ebp - 0x18], ebx
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x10]
call fcn.0040cd94
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call fcn.0040cd94
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040cd94
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0049320d
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea esi, [eax - 0x10]
cmp esi, edi
je 0x48b37f
cmp dword [edi + 0xc], 0
jl 0x48b373
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x48b373
mov ecx, esi
call fcn.00406f9b
mov ecx, edi
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x48b37f
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040d7d9
push 0
push str.__
lea ecx, [ebp - 0x14]
call fcn.00438008
test eax, eax
jne 0x48b3ab
mov esi, dword [ebp - 0x14]
add esi, 8
je 0x48b3a1
push esi
call fcn.004e07a4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.0040d7d9
push dword [ebp + 0xc]
lea edx, [ebp - 0x10]
lea ecx, [ebp + 0xc]
call fcn.00473df0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
mov edx, eax
mov dword [esp], 0x5397c4
call fcn.004537a0
pop ecx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0040d05a
push 0
mov dl, 1
lea ecx, [ebp - 0x1c]
call fcn.0047aed0
lea edx, [ebp - 0x1c]
mov dword [esp], str.instname_target.msi
lea ecx, [ebp + 0xc]
call fcn.004537a0
pop ecx
mov byte [ebp - 4], 7
lea edi, [ebx + 0x24]
mov edx, dword [eax]
mov ebx, dword [edi]
sub ebx, 0x10
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x48b43b
cmp dword [ebx + 0xc], 0
jl 0x48b430
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48b430
call fcn.00406f9b
mov ecx, ebx
mov esi, eax
call fcn.0040d570
lea eax, [esi + 0x10]
mov dword [edi], eax
jmp 0x48b43b
push dword [edx - 0xc]
mov ecx, edi
push edx
call fcn.0040d7d9
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0040d05a
push str.instname_custom.mst
lea edx, [ebp - 0x1c]
lea ecx, [ebp + 0xc]
call fcn.004537a0
pop ecx
mov esi, dword [ebp - 0x18]
add esi, 0x28
mov byte [ebp - 4], 8
mov edx, dword [eax]
mov ebx, dword [esi]
lea ecx, [edx - 0x10]
sub ebx, 0x10
cmp ecx, ebx
je 0x48b4a2
cmp dword [ebx + 0xc], 0
jl 0x48b497
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48b497
call fcn.00406f9b
mov ecx, ebx
mov esi, eax
call fcn.0040d570
mov ebx, dword [ebp - 0x18]
lea eax, [esi + 0x10]
lea esi, [ebx + 0x28]
mov dword [esi], eax
jmp 0x48b4a5
push dword [edx - 0xc]
mov ecx, esi
push edx
call fcn.0040d7d9
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0040d05a
push 0
push dword [edi]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x48b4cc
mov ecx, dword [ebp + 8]
call fcn.0040cd94
jmp 0x48b54b
push 0x537f24
lea ecx, [ebp + 0xc]
call fcn.0040d859
lea eax, [ebx + 0x1c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0048bafc
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
mov bl, al
call fcn.0040d05a
test bl, bl
je 0x48b542
push str.AI_PRODUCTNAME_ARP
lea ecx, [ebp + 0xc]
call fcn.0040d859
mov eax, dword [ebp - 0x18]
add eax, 0x1c
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.0048bafc
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0040d05a
push esi
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0048b971
lea ecx, [ebp + 0xc]
call fcn.0040d05a
mov ecx, dword [ebp + 8]
push esi
call fcn.00406ff4
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 3
call fcn.0040d05a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040d05a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040d05a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.0040d05a
mov eax, dword [ebp + 8]
call fcn.004db23c
ret 8