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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53aeef
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x594624]
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 dword [ebp - 0x10], esp
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004daa30
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push 0x54e460
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.lds.set
lea eax, [ebp - 0x21c]
push eax
call esi
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x45baac
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30c], eax
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call fcn.0050b41e
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x310], edx
push eax
call fcn.0050cbbd
or edi, 0xffffffff
test eax, eax
lea eax, [ebp - 0x314]
mov ebx, edi
cmove ebx, dword [ebp - 0x240]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0050cbbd
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x314]
cmove ecx, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x288]
mov dword [ebp - 0x2fc], ecx
push eax
call fcn.0050cbbd
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x314]
cmove ecx, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2f8], ecx
push eax
call fcn.0050cbbd
xor ecx, ecx
test eax, eax
lea eax, [ebp - 0x314]
cmove ecx, dword [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x308], ecx
push eax
call fcn.0050cbbd
add esp, 0x2c
test eax, eax
jne 0x45b526
mov esi, dword [ebp - 0x2c0]
inc esi
jmp 0x45b528
xor esi, esi
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.0050cbbd
add esp, 8
test eax, eax
jne 0x45b54f
mov eax, dword [ebp - 0x2e0]
add eax, 0x76c
jmp 0x45b551
xor eax, eax
push ebx
push dword [ebp - 0x2fc]
push dword [ebp - 0x2f8]
push dword [ebp - 0x308]
push esi
push eax
lea eax, [ebp - 0x30c]
push 0x54ea20
push eax
call fcn.0041de00
add esp, 0x20
jmp 0x45b585
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x45b5d0
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45b5b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00493dce
mov esp, ebp
pop ebp
ret
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x45bab6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 3
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x45bac0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2f8], eax
push str._PanMing
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 4
call fcn.0041db10
test al, al
jne 0x45b638
push 8
push str._PanMing
lea ecx, [ebp - 0x2f8]
call fcn.0040e3c0
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.00428c30
mov edx, dword [ebp - 0x2f8]
add esp, 0xc
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b67a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x304]
push 0x557214
push 0x557218
call ebx
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x45baca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2f8], eax
mov byte [ebp - 4], 6
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x45bad4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2fc], eax
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 7
call fcn.0041db10
test al, al
jne 0x45b701
push 0x20
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x2fc]
call fcn.0040e3c0
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.0049e010
add esp, 0xc
push eax
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 9
call fcn.004167b0
mov edx, dword [ebp - 0x308]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b753
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2fc]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b774
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2f8]
lea eax, [ebp - 0x21c]
push eax
push esi
push 0x553238
push 0x557218
call ebx
call fcn.00412c30
mov ecx, eax
test ecx, ecx
je 0x45bade
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0xa
push 1
push eax
mov dword [ebp - 0x318], 0x208
mov dword [ebp - 0x31c], 1
call fcn.0042de70
add esp, 8
mov dword [ebp - 0x308], eax
mov ebx, dword [ebp - 0x300]
mov edx, 1
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx - 8]
sub edx, dword [ebx - 4]
sub ecx, 0x104
or ecx, edx
jge 0x45b80f
push 0x104
lea ecx, [ebp - 0x300]
call fcn.0040d020
mov ebx, dword [ebp - 0x300]
cmp dword [ebx - 8], 0x104
jl 0x45bae8
mov dword [ebx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x300]
mov word [eax + 0x208], cx
mov eax, dword [ebp - 0x308]
cmp dword [eax + 0x14], 8
jb 0x45b840
mov eax, dword [eax]
lea ecx, [ebp - 0x318]
push ecx
push ebx
lea ecx, [ebp - 0x31c]
push ecx
push str.VendorID
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
call fcn.00421a70
mov eax, dword [ebp - 0x300]
push dword [eax - 8]
push eax
call fcn.0050891c
mov edx, eax
add esp, 8
test edx, edx
js 0x45bae8
mov ecx, dword [ebp - 0x300]
cmp edx, dword [ecx - 8]
jg 0x45bae8
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x300]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x300]
cmp dword [eax - 0xc], ecx
jne 0x45b919
lea edx, [eax - 0x10]
mov byte [ebp - 4], 6
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b8cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45b8ea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x304]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b90b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30c]
add edx, 0xfffffff0
jmp 0x45b59b
lea ecx, [ebp - 0x304]
call fcn.00417c00
push str._PanMing
lea ecx, [ebp - 0x2fc]
call fcn.00415b40
lea eax, [ebp - 0x304]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.00428c30
mov edx, dword [ebp - 0x2fc]
add esp, 0xc
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b976
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x304]
push 0x55721c
push 0x557218
call ebx
lea ecx, [ebp - 0x2f8]
call fcn.00417c00
push str.45476F8083D74BA28A2DD8ED399737B7
lea ecx, [ebp - 0x2fc]
call fcn.00415b40
lea eax, [ebp - 0x2fc]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.0049e010
add esp, 0xc
push eax
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 0xe
call fcn.004167b0
mov edx, dword [ebp - 0x308]
mov eax, edi
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2fc]
mov eax, edi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2f8]
lea eax, [ebp - 0x21c]
push eax
push esi
push 0x557220
push 0x557218
call ebx
mov edx, dword [ebp - 0x300]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ba5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ba79
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x304]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b90b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30c]
add edx, 0xfffffff0
jmp 0x45b59b
push 0x80004005
call fcn.0040b4c0
push 0x80004005
call fcn.0040b4c0
push 0x80004005
call fcn.0040b4c0
push 0x80004005
call fcn.0040b4c0
push 0x80004005
call fcn.0040b4c0
push 0x80004005
call fcn.0040b4c0
push 0x80070057
call fcn.0040b4c0
int3