Function at 0x45fbd0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a01ef
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov ebx, dword [ebp + 0xc]
push ecx
push str.InstallTypeProfile::CopyFile2Temp
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 0
call fcn.0040a480
mov byte [ebp - 4], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x45fc63
test byte [ecx + 0x1c], 1
je 0x45fc63
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cdc50
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x14
call fcn.00401840
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x21c]
push 0x20a
push esi
push eax
mov dword [ebp - 0x25c], esi
call fcn.00571c00
add esp, 0xc
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x45fffa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], esi
jne 0x45fcfd
mov byte [ebp - 0x250], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x45fcf3
test byte [ecx + 0x1c], 1
je 0x45fcf3
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5cdc50
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
lea ecx, [esi + 0x15]
call fcn.004018a0
add esp, 0x10
mov esi, 1
jmp 0x45ff8f
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x460004
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x45fd4e
movzx eax, ax
lea ecx, [ebp - 0x258]
push eax
call fcn.00403020
jmp 0x45fd79
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fd57
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00403bb0
mov eax, dword [ebp - 0x268]
mov byte [ebp - 4], 4
mov eax, dword [eax + 0xc]
inc eax
push eax
lea eax, [ebp - 0x264]
push str.GLIPSProfile__d.typ
push eax
call fcn.00408a60
lea eax, [ebp - 0x264]
push eax
lea edx, [ebp - 0x258]
lea ecx, [ebp - 0x26c]
call fcn.00437b70
add esp, 0x10
mov byte [ebp - 4], 5
mov edx, dword [eax]
mov esi, dword [ebp - 0x258]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x45fe17
cmp dword [esi + 0xc], 0
jl 0x45fe08
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x45fe08
call fcn.00403af0
mov dword [ebp - 0x260], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45fdfd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x260]
add eax, 0x10
mov dword [ebp - 0x258], eax
jmp 0x45fe17
push dword [edx - 0xc]
lea ecx, [ebp - 0x258]
push edx
call fcn.00403bb0
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fe38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [ebp - 0x258]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebx]
sub esi, 0x10
test eax, eax
je 0x45fec0
mov eax, dword [ebp - 0x258]
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x45fea4
cmp dword [esi + 0xc], 0
jl 0x45fe99
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x45fe99
call fcn.00403af0
mov dword [ebp - 0x260], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45fe92
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x260]
add eax, 0x10
mov dword [ebx], eax
jmp 0x45fea4
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.00403bb0
mov ecx, dword [ebp - 0x268]
lea eax, [ebp - 0x258]
add ecx, 4
push eax
push dword [ecx + 8]
call fcn.0055b5b5
xor edx, edx
jmp 0x45ff20
mov eax, dword [ebp + 8]
mov edx, 0xc
mov dword [ebp - 0x25c], edx
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x45ff20
cmp dword [esi + 0xc], 0
jl 0x45ff0f
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x45ff0f
call fcn.00403af0
mov dword [ebp - 0x260], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ff08
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x260]
add eax, 0x10
mov dword [ebx], eax
jmp 0x45ff1a
push dword [eax - 0xc]
mov ecx, ebx
push eax
call fcn.00403bb0
mov edx, dword [ebp - 0x25c]
mov byte [ebp - 0x250], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x45ff68
test byte [ecx + 0x1c], 1
je 0x45ff68
cmp dword [0x608f68], 8
mov eax, 0x608f54
push edx
cmovae eax, dword [0x608f54]
mov edx, 0x5cdc50
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x16
call fcn.004018a0
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ff89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x25c]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ffb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x254]
call fcn.0040a570
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x45ffda
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
int3