Function at 0x403550
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4541f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [section..data]
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.004039f0
mov eax, dword [ebx]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x4035b5
push 0x104
mov ecx, ebx
call fcn.00401740
mov edi, dword [ebp - 0x10]
push edi
push 0x104
push dword [ebx]
push 0x45bf7c
push str.InstallSID
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx]
test eax, eax
jne 0x4035df
xor ecx, ecx
jmp 0x4035f5
push dword [eax - 8]
push eax
call fcn.0043e3ad
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4039db
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x4039db
mov dword [eax - 0xc], ecx
mov eax, dword [ebx]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebx + 4]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x40362f
push 0x104
lea ecx, [ebx + 4]
call fcn.00401740
push edi
push 0x104
push dword [ebx + 4]
push 0x45bf7c
push 0x45c514
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x403658
xor ecx, ecx
jmp 0x40366e
push dword [eax - 8]
push eax
call fcn.0043e3ad
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4039db
mov eax, dword [ebx + 4]
cmp ecx, dword [eax - 8]
jg 0x4039db
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 4]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebx + 8]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x4036aa
push 0x104
lea ecx, [ebx + 8]
call fcn.00401740
push edi
push 0x104
push dword [ebx + 8]
push 0x45bf7c
push str.DefAppMID
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4036d3
xor ecx, ecx
jmp 0x4036e9
push dword [eax - 8]
push eax
call fcn.0043e3ad
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4039db
mov eax, dword [ebx + 8]
cmp ecx, dword [eax - 8]
jg 0x4039db
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 8]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebx + 0x10]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x403725
push 0x104
lea ecx, [ebx + 0x10]
call fcn.00401740
push edi
push 0x104
push dword [ebx + 0x10]
push 0x45bf7c
push str.UUID
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x40374e
xor ecx, ecx
jmp 0x403764
push dword [eax - 8]
push eax
call fcn.0043e3ad
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4039db
mov eax, dword [ebx + 0x10]
cmp ecx, dword [eax - 8]
jg 0x4039db
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 0x10]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4037b7
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00401740
mov esi, dword [ebp - 0x14]
push edi
push 0x104
push esi
push 0x45bf7c
push 0x45c53c
push str.Product
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [esi - 8]
push esi
call fcn.0043e3ad
add esp, 8
test eax, eax
js 0x4039db
cmp eax, dword [esi - 8]
jg 0x4039db
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call fcn.0043e3cc
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x18]
lea edx, [ebx + 0x18]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
add esp, 4
or eax, ecx
jge 0x40382e
push 0x104
mov ecx, edx
call fcn.00401740
lea edx, [ebx + 0x18]
push ecx
push dword [edx]
call fcn.00404290
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x403841
xor ecx, ecx
jmp 0x403857
push dword [eax - 8]
push eax
call fcn.0043e3ad
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4039db
mov eax, dword [ebx + 0x18]
cmp ecx, dword [eax - 8]
jg 0x4039db
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 0x18]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebx + 0x14]
lea edx, [ebx + 0x14]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x108
or eax, ecx
jge 0x403898
push 0x108
mov ecx, edx
call fcn.00401740
lea edx, [ebx + 0x14]
lea eax, [ebp - 0x18]
push eax
push dword [edx]
lea eax, [ebp - 0x1c]
push eax
push str.InstallDate
push str.Software_bfAppStore
push closesocket
mov dword [ebp - 0x18], 0x206
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4038d0
xor ecx, ecx
jmp 0x4038e6
push dword [eax - 8]
push eax
call fcn.0043e3ad
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4039db
mov eax, dword [ebx + 0x14]
cmp ecx, dword [eax - 8]
jg 0x4039db
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x1c]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x108
or eax, edx
jge 0x403925
push 0x108
call fcn.00401740
lea ecx, [ebx + 0x1c]
lea eax, [ebp - 0x1c]
push eax
push dword [ecx]
lea eax, [ebp - 0x18]
push eax
push str.AppStoreMarketVer
push str.Software_bfAppStore
push closesocket
mov dword [ebp - 0x1c], 0x206
mov dword [ebp - 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x40395d
xor ecx, ecx
jmp 0x40396f
push dword [eax - 8]
push eax
call fcn.0043e3ad
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4039db
mov eax, dword [ebx + 0x1c]
cmp ecx, dword [eax - 8]
jg 0x4039db
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 0x1c]
xor edx, edx
mov word [eax + ecx*2], dx
lea eax, [ebx + 0x20]
push eax
call fcn.00403c00
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4039ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4039ca
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004018e0
int3