Function at 0x480930
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8425
mov eax, dword fs:[0]
push eax
sub esp, 0xa60
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0xac], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa54], ecx
mov eax, dword [ebp - 0xa54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa54]
mov eax, dword [edx + 0xf8]
call eax
cmp eax, 1
jne 0x480984
jmp 0x480f15
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xa8], 0
push 0x4d6a3c
lea ecx, [ebp - 0xc8]
call fcn.00406f50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x968]
push ecx
mov edx, dword [ebp - 0xa54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa54]
mov edx, dword [eax + 0xa4]
call edx
mov dword [ebp - 0xa58], eax
mov eax, dword [ebp - 0xa58]
mov dword [ebp - 0xa5c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa5c]
push ecx
lea ecx, [ebp - 0xc8]
call fcn.00407030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x968]
call fcn.00406fd0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push str.InstallException
lea ecx, [ebp - 0xc8]
call fcn.00407070
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x480aed
cmp dword [ebp - 0xa8], 0xff
jne 0x480a5f
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0xcc]
mov byte [edx + 0x64], 0x64
jmp 0x480aed
mov eax, dword [ebp - 0xa8]
push eax
call fcn.00491a70
add esp, 4
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x480aed
mov ecx, dword [ebp - 0xd0]
push ecx
push 3
mov edx, dword [ebp - 0xa54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa54]
mov edx, dword [eax + 0x2ec]
call edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x970], eax
mov ecx, dword [ebp - 0x970]
mov dword [ebp - 0x96c], ecx
cmp dword [ebp - 0x96c], 0
je 0x480ad9
push 1
mov edx, dword [ebp - 0x96c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x96c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0xa60], eax
jmp 0x480ae3
mov dword [ebp - 0xa60], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
push 1
push 3
lea ecx, [ebp - 0x9c]
call fcn.00421aa0
mov byte [ebp - 4], 2
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x9c]
push ecx
push 1
push 1
mov ecx, dword [ebp - 0xa54]
add ecx, 0x4b4
call fcn.004b9f30
movzx edx, al
test edx, edx
je 0x480c97
lea eax, [ebp - 0x4ec]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x2e0], eax
lea ecx, [ebp - 0x4fc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor edx, edx
mov word [ebp - 0x53c], dx
push 0x3e
push 0
lea eax, [ebp - 0x53a]
push eax
call fcn.00445020
add esp, 0xc
movzx ecx, word [ebp - 0x4f0]
push ecx
movzx edx, word [ebp - 0x4f2]
push edx
movzx eax, word [ebp - 0x4f4]
push eax
movzx ecx, word [ebp - 0x4f6]
push ecx
movzx edx, word [ebp - 0x4fa]
push edx
movzx eax, word [ebp - 0x4fc]
push eax
push str._d__d__d__d__d__d
push 0x20
lea ecx, [ebp - 0x53c]
push ecx
call fcn.0044444e
add esp, 0x24
xor edx, edx
mov word [ebp - 0x2dc], dx
push 0x206
push 0
lea eax, [ebp - 0x2da]
push eax
call fcn.00445020
add esp, 0xc
lea ecx, [ebp - 0x53c]
push ecx
push str.SEINST_F_
lea edx, [ebp - 0x4ec]
push edx
push str._s_s_s.txt
push 0x104
lea eax, [ebp - 0x2dc]
push eax
call fcn.0044444e
add esp, 0x18
lea ecx, [ebp - 0x98c]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00421bd0
mov dword [ebp - 0xa64], eax
mov edx, dword [ebp - 0xa64]
mov dword [ebp - 0xa68], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x9a8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00421bd0
mov dword [ebp - 0xa6c], eax
mov ecx, dword [ebp - 0xa68]
call fcn.0040add0
shl eax, 1
push eax
mov ecx, dword [ebp - 0xa6c]
call fcn.00407070
push eax
lea ecx, [ebp - 0x2dc]
push ecx
call fcn.0049cc60
add esp, 0xc
lea ecx, [ebp - 0x9a8]
call fcn.00406fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98c]
call fcn.00406fd0
lea edx, [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0xa54]
add ecx, 0x4b4
call fcn.004b97a0
movzx eax, al
test eax, eax
je 0x480ef4
mov ecx, dword [ebp - 0xa54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa54]
mov eax, dword [edx + 0x1d0]
call eax
movzx ecx, al
test ecx, ecx
jne 0x480ef4
cmp dword [ebp - 0xa0], 3
jb 0x480d75
cmp dword [ebp - 0xa0], 8
ja 0x480d75
mov edx, dword [ebp - 0xa54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa54]
mov edx, dword [eax + 0x2f8]
call edx
push eax
lea ecx, [ebp - 0x9c4]
call fcn.00406f50
mov byte [ebp - 4], 4
push 0x4d6ac4
lea ecx, [ebp - 0x9e0]
call fcn.00406f50
mov byte [ebp - 4], 5
push 0x30
lea eax, [ebp - 0x9c4]
push eax
lea ecx, [ebp - 0x9e0]
push ecx
mov edx, dword [ebp - 0xa54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa54]
mov edx, dword [eax + 0x44]
call edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9e0]
call fcn.00406fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c4]
call fcn.00406fd0
jmp 0x480ef4
cmp dword [ebp - 0xa0], 0x10
jne 0x480e14
mov eax, dword [ebp - 0xa54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa54]
mov eax, dword [edx + 0x2f8]
call eax
push eax
lea ecx, [ebp - 0x9fc]
call fcn.00406f50
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xa54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa54]
mov eax, dword [edx + 0x2fc]
call eax
push eax
lea ecx, [ebp - 0xa18]
call fcn.00406f50
mov byte [ebp - 4], 7
push 0x30
lea ecx, [ebp - 0x9fc]
push ecx
lea edx, [ebp - 0xa18]
push edx
mov eax, dword [ebp - 0xa54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa54]
mov eax, dword [edx + 0x44]
call eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa18]
call fcn.00406fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9fc]
call fcn.00406fd0
jmp 0x480ef4
lea ecx, [ebp - 0x94c]
call fcn.0040adf0
mov byte [ebp - 4], 8
push 0x4d6af4
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x4d6af8
push 0x4d6b04
lea edx, [ebp - 0x94c]
push edx
call fcn.0040ae90
add esp, 8
push eax
call fcn.0040ae90
add esp, 8
push eax
call fcn.004399a0
add esp, 8
push eax
call fcn.0040ae90
add esp, 8
mov eax, dword [ebp - 0xa54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa54]
mov eax, dword [edx + 0x2f8]
call eax
push eax
lea ecx, [ebp - 0xa34]
call fcn.00406f50
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94c]
call fcn.0040aee0
push eax
lea ecx, [ebp - 0xa50]
call fcn.00406f50
mov byte [ebp - 4], 0xa
push 0x30
lea ecx, [ebp - 0xa34]
push ecx
lea edx, [ebp - 0xa50]
push edx
mov eax, dword [ebp - 0xa54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa54]
mov eax, dword [edx + 0x44]
call eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa50]
call fcn.00406fd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xa34]
call fcn.00406fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94c]
call fcn.0040ae20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.004213c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.00406fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xac]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret 4