Function at 0x44fb50
Capabilities:
Check if file exists
Copy file
Create shortcut via ishelllink
Get common file path
Get file size
Get program files directory
Persist via lnk shortcut
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fae9
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4b5200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x44fbc2
cmp dword [esi + 0x994], 0
jne 0x44fbae
push 2
call fcn.0046b90c
add esp, 4
mov dword [esi + 0x994], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x998], ecx
push dword [esi + 0x994]
mov ecx, ebx
mov byte [esi + 0x99c], 1
call fcn.00401a90
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
movq qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0
xor eax, eax
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa0], 1
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x8c], 1
movq qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0xb8], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 4
push 0x20a
mov byte [ebp - 0xac], al
mov dword [ebp - 0xb0], eax
call fcn.0046b90c
add esp, 4
mov edi, eax
xor eax, eax
mov dword [ebp - 0xb4], edi
push edi
push eax
push eax
push 0x26
mov word [edi + 0x208], ax
push eax
mov word [edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov byte [ebp - 0xac], 0
cmp word [edi], ax
je 0x44fcc5
inc eax
cmp word [edi + eax*2], 0
jne 0x44fcb5
mov dword [ebp - 0xb0], eax
jmp 0x44fccd
mov dword [ebp - 0xb0], eax
xor eax, eax
xor ecx, ecx
nop
inc ecx
cmp word [ecx*2 + 0x4a96b8], 0
jne 0x44fcd0
add eax, ecx
mov edx, 2
mov dword [ebp - 0x9c], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
movzx ecx, word [edi]
add esp, 4
mov dword [ebp - 0x84], eax
mov edx, eax
mov eax, ecx
test cx, cx
je 0x44fd25
mov ebx, edi
sub ebx, edx
mov word [edx], cx
add edx, 2
movzx eax, word [ebx + edx]
mov ecx, eax
test ax, ax
jne 0x44fd14
mov ebx, 0x4a96b8
mov ecx, 0x5c
sub ebx, edx
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x44fd31
xor eax, eax
push edi
mov word [edx], ax
call fcn.0046b303
mov edi, dword [ebp - 0x84]
add esp, 4
mov eax, dword [ebp - 0x9c]
mov ecx, edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], 1
call fcn.0040bb70
test al, al
je 0x450797
xor eax, eax
mov byte [ebp - 0xac], 1
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
cmp word [edi], ax
je 0x44fdb1
inc eax
cmp word [edi + eax*2], 0
jne 0x44fda7
jmp 0x44fdb3
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
lea ecx, [ecx + 1]
cmp word [ecx*2 + str.ClearDiskInfo.exe], 0
jne 0x44fdc0
lea ebx, [ecx + eax]
mov edx, 2
xor ecx, ecx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
movzx ecx, word [edi]
add esp, 4
mov dword [ebp - 0x80], eax
mov edx, eax
mov edi, ecx
test cx, cx
je 0x44fe15
mov edi, dword [ebp - 0x84]
sub edi, eax
mov word [edx], cx
add edx, 2
movzx eax, word [edx + edi]
mov ecx, eax
test ax, ax
jne 0x44fe04
mov edi, str.ClearDiskInfo.exe
mov ecx, 0x5c
sub edi, edx
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edi + edx]
mov ecx, eax
test ax, ax
jne 0x44fe21
mov edi, dword [ebp - 0x80]
xor eax, eax
mov word [edx], ax
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 0xa0], 1
cmp dword [esi + 0x994], eax
jne 0x44fe70
push 2
call fcn.0046b90c
add esp, 4
mov dword [esi + 0x994], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x998], ecx
push 0
push edi
push dword [esi + 0x994]
mov byte [esi + 0x99c], 1
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44fea0
push edi
mov byte [ebp - 0xa0], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450797
cmp dword [esi + 0x994], 0
jne 0x44fec4
push 2
call fcn.0046b90c
add esp, 4
mov dword [esi + 0x994], eax
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x998], ecx
mov edi, dword [esi + 0x994]
mov byte [esi + 0x99c], 1
xor esi, esi
mov byte [ebp - 0x18], 0
test edi, edi
je 0x44fee8
cmp word [edi], si
je 0x44fee8
inc esi
cmp word [edi + esi*2], 0
jne 0x44fee0
xor ecx, ecx
mov dword [ebp - 0x1c], esi
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
test esi, esi
jle 0x44ff25
mov ecx, ebx
sub edi, ebx
mov edx, esi
mov ax, word [ecx + edi]
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x44ff16
xor eax, eax
mov byte [ebp - 0x18], 1
push ecx
lea ecx, [ebp - 0x20]
mov word [ebx + esi*2], ax
call fcn.00402f70
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x49faa8
lea ecx, [ebp - 0x20]
call fcn.00402380
mov esi, dword [ebp - 0x20]
cmp eax, 2
jle 0x44ff8b
lea ecx, [eax - 1]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x44ff73
test esi, esi
je 0x44ff70
cmp word [esi], ax
je 0x44ff70
inc eax
cmp word [esi + eax*2], 0
jne 0x44ff68
mov dword [ebp - 0x1c], eax
cmp eax, ecx
setge byte [ebp - 0x18]
jl 0x44ff8e
cmovl ecx, eax
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [esi + eax*2], cx
jmp 0x44ff8e
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 0
test eax, eax
jne 0x44ffab
test esi, esi
je 0x44ffa8
cmp word [esi], ax
je 0x44ffa8
nop
inc eax
cmp word [esi + eax*2], 0
jne 0x44ffa0
mov dword [ebp - 0x1c], eax
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + str.CdiLicense.cdikey], 0
jne 0x44ffb0
add eax, ecx
mov edx, 2
mov dword [ebp - 0x88], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
add esp, 4
mov dword [ebp - 0x9c], eax
mov edx, eax
test esi, esi
je 0x450011
movzx ecx, word [esi]
mov edi, ecx
test cx, cx
je 0x450011
mov edi, esi
sub edi, eax
nop dword [eax + eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edx + edi]
mov ecx, eax
test ax, ax
jne 0x450000
mov ebx, str.CdiLicense.cdikey
mov ecx, 0x5c
mov edi, ebx
sub edi, edx
nop
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + edi]
mov ecx, eax
test ax, ax
jne 0x450020
xor eax, eax
mov word [edx], ax
test esi, esi
je 0x450043
push esi
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x9c]
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov byte [ebp - 0x18], 1
mov byte [ebp - 0xac], 1
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
cmp word [esi], ax
je 0x450092
inc eax
cmp word [esi + eax*2], 0
jne 0x450088
jmp 0x450094
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
lea ecx, [ecx + 1]
cmp word [ecx*2 + str.CdiLicense.cdikey], 0
jne 0x4500a0
lea edi, [ecx + eax]
mov edx, 2
xor ecx, ecx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
movzx ecx, word [esi]
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, eax
mov esi, ecx
test cx, cx
je 0x450101
mov esi, dword [ebp - 0x84]
sub esi, eax
nop word [eax + eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edx + esi]
mov ecx, eax
test ax, ax
jne 0x4500f0
mov ecx, 0x5c
sub ebx, edx
nop dword [eax + eax]
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x450110
mov ebx, dword [ebp - 0x88]
xor eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x9c]
push edi
mov word [edx], ax
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0x8c], 1
mov byte [ebp - 0x18], 1
call esi
test eax, eax
je 0x450178
push ebx
mov byte [ebp - 0x8c], 1
call esi
test eax, eax
jne 0x450178
push eax
push ebx
push edi
mov byte [ebp - 0x8c], 1
mov byte [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x80]
test ecx, ecx
je 0x45018f
push edi
mov byte [ebp - 0xa0], 1
call fcn.00401a90
push ecx
or edx, 0xffffffff
mov ecx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallClear_Disk_Info
call fcn.004054e0
mov esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x450207
xor eax, eax
lea eax, [eax + 1]
cmp word [eax*2 + 0x4a0ad8], 0
jne 0x4501b2
lea eax, [eax*2 + 2]
push eax
push 0x4a0ad8
push 1
push 0
push str.DisplayName
push esi
call ebx
xor eax, eax
nop dword [eax + eax]
lea eax, [eax + 1]
cmp word [eax*2 + 0x4a0d38], 0
jne 0x4501e0
lea eax, [eax*2 + 2]
push eax
push 0x4a0d38
push 1
push 0
push str.DisplayVersion
push esi
call ebx
xor eax, eax
mov byte [ebp - 0xa0], 1
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
cmp word [edi], ax
je 0x45023a
inc eax
cmp word [edi + eax*2], 0
jne 0x450230
jmp 0x45023c
xor eax, eax
xor ecx, ecx
nop
inc ecx
cmp word [ecx*2 + 0x4a97c4], 0
jne 0x450240
inc ecx
mov edx, 2
add eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
movzx ecx, word [edi]
mov ebx, eax
add esp, 4
mov dword [ebp - 0xc4], ebx
mov edx, ebx
mov edi, ecx
test cx, cx
je 0x450292
mov edi, dword [ebp - 0x80]
sub edi, ebx
mov word [edx], cx
add edx, 2
movzx eax, word [edi + edx]
mov ecx, eax
test ax, ax
jne 0x450281
mov edi, 0x4a97c4
mov ecx, 0x2c
sub edi, edx
nop
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edi + edx]
mov ecx, eax
test ax, ax
jne 0x4502a0
push dword [ebp - 0x88]
xor eax, eax
mov word [edx], ax
call fcn.0046b303
add esp, 4
test esi, esi
je 0x450346
xor eax, eax
cmp word [ebx], ax
je 0x4502d8
nop
inc eax
cmp word [ebx + eax*2], 0
jne 0x4502d0
lea eax, [eax*2 + 2]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.DisplayIcon
push esi
call ebx
push 0
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 4
push 0
push str.EstimatedSize
push esi
call ebx
mov ecx, dword [ebp - 0x84]
xor eax, eax
mov byte [ebp - 0xac], 1
cmp word [ecx], ax
je 0x45032f
inc eax
cmp word [ecx + eax*2], 0
jne 0x450327
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.InstallLocation
push esi
call ebx
jmp 0x45035b
push 0
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0xac], 1
mov edx, dword [ebp - 0x80]
mov ecx, str.___uninstall
mov dword [ebp - 0x90], 0
mov ebx, edx
mov byte [ebp - 0x8c], 0
xor edi, edi
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa0], 1
nop
inc edi
cmp word [edi*2 + 0x49ffb8], 0
jne 0x450390
xor eax, eax
cmp word [edx], ax
je 0x4503af
inc eax
cmp word [edx + eax*2], 0
jne 0x4503a3
add edi, eax
jmp 0x4503b5
mov dword [ebp - 0x98], ecx
xor eax, eax
nop word [eax + eax]
inc eax
cmp word [eax*2 + str.___uninstall], 0
jne 0x4503c0
add edi, eax
xor ecx, ecx
mov edx, 2
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov esi, 0x49ffb8
mov dword [ebp - 0x88], eax
add esp, 4
mov ecx, eax
mov edx, 0x22
sub esi, eax
nop
mov word [ecx], dx
add ecx, 2
movzx eax, word [ecx + esi]
mov edx, eax
test ax, ax
jne 0x450400
mov eax, dword [ebp - 0x80]
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x450431
nop
mov word [ecx], ax
lea ebx, [ebx + 2]
movzx eax, word [ebx]
add ecx, 2
test ax, ax
jne 0x450420
mov esi, dword [ebp - 0x98]
mov eax, 0x22
nop dword [eax]
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
lea ecx, [ecx + 2]
test ax, ax
jne 0x450440
push dword [ebp - 0xc4]
mov ebx, dword [ebp - 0x88]
xor eax, eax
mov word [ecx], ax
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], edi
call fcn.0046b303
mov esi, dword [ebp - 0x24]
add esp, 4
test esi, esi
je 0x4504d4
xor eax, eax
cmp word [ebx], ax
je 0x45048c
inc eax
cmp word [ebx + eax*2], 0
jne 0x450484
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push str.QuietUninstallString
push esi
call edi
xor eax, eax
mov byte [ebp - 0x8c], 1
cmp word [ebx], ax
je 0x4504bd
inc eax
cmp word [ebx + eax*2], 0
jne 0x4504b5
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push str.UninstallString
push esi
call edi
jmp 0x4504db
mov byte [ebp - 0x8c], 1
push 0x20a
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
call fcn.0046b90c
add esp, 4
mov edi, eax
xor eax, eax
mov dword [ebp - 0xc0], edi
push edi
push eax
push eax
push 0x10
mov word [edi + 0x208], ax
push eax
mov word [edi], ax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov byte [ebp - 0xb8], 0
cmp word [edi], ax
je 0x450537
inc eax
cmp word [edi + eax*2], 0
jne 0x450527
mov dword [ebp - 0xbc], eax
jmp 0x45053f
mov dword [ebp - 0xbc], eax
xor eax, eax
xor ecx, ecx
inc ecx
cmp word [ecx*2 + str.Clear_Disk_Info.lnk], 0
jne 0x450541
add eax, ecx
mov edx, 2
mov dword [ebp - 0xc8], eax
xor ecx, ecx
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
movzx ecx, word [edi]
add esp, 4
mov dword [ebp - 0x98], eax
mov ebx, ecx
mov dword [ebp - 0xc4], ebx
mov edx, eax
test cx, cx
je 0x4505a4
mov esi, edi
movzx ecx, cx
sub esi, eax
nop
mov word [edx], cx
add edx, 2
movzx eax, word [edx + esi]
mov ecx, eax
test ax, ax
jne 0x450590
mov esi, dword [ebp - 0x24]
mov ebx, str.Clear_Disk_Info.lnk
mov ecx, 0x5c
sub ebx, edx
mov word [edx], cx
lea edx, [edx + 2]
movzx eax, word [edx + ebx]
mov ecx, eax
test ax, ax
jne 0x4505b0
xor eax, eax
push edi
mov word [edx], ax
call fcn.0046b303
mov eax, dword [ebp - 0xc8]
add esp, 4
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xc0], ebx
push 0x4c
push 0
push eax
call fcn.0046ce00
add esp, 0xc
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
push 0
mov byte [ebp - 0x6c], 1
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x60], 1
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x54], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x48], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x3c], 1
call dword [sym.imp.ole32.dll_CoInitialize]
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 6
mov byte [ebp - 0xb8], 1
test ebx, ebx
je 0x4506c7
lea eax, [ebp - 0x7c]
push eax
push 0x480690
push 1
push 0
push 0x4806e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x7c]
test eax, eax
js 0x4506ca
test ecx, ecx
je 0x4506ca
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
push 0x4ab2ac
push ecx
call dword [eax]
test eax, eax
js 0x4506c7
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x4506c7
mov eax, dword [ecx]
push 1
push ebx
push ecx
call dword [eax + 0x18]
shr eax, 0x1f
xor al, 1
mov byte [ebp - 0x34], al
mov ecx, dword [ebp - 0x7c]
cmp byte [ebp - 0x34], 0
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x80]
mov byte [ebp - 0xa0], 1
je 0x4506fe
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x50]
cmp byte [ebp - 0x34], 0
je 0x4506fb
mov eax, dword [ebp - 0x7c]
push str.Clear_Disk_Info______________
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x7c]
cmp byte [ebp - 0x34], 0
mov byte [ebp - 0xac], 1
je 0x45071a
push dword [ebp - 0x84]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x7c]
cmp byte [ebp - 0x34], 0
mov byte [ebp - 0xa0], 1
je 0x450752
mov eax, dword [ecx]
push 0
push edi
push ecx
call dword [eax + 0x44]
cmp byte [ebp - 0x34], 0
je 0x450752
mov eax, dword [ebp - 0x78]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x450752
mov eax, dword [ebp - 0x78]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x7c]
mov edi, 1
call fcn.00408500
test esi, esi
je 0x45076f
cmp esi, 0xffffffff
je 0x45076f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0046b303
add esp, 4
push dword [ebp - 0x98]
call fcn.0046b303
add esp, 4
push ebx
call fcn.0046b303
add esp, 4
jmp 0x450799
xor edi, edi
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x4507a9
push eax
call fcn.0046b303
add esp, 4
push dword [ebp - 0x84]
call fcn.0046b303
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046b2f5
mov esp, ebp
pop ebp
ret 4