Function at 0x40215a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42f68f
call fcn.00410a44
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x34], edi
xor esi, esi
inc esi
push str.ntdll.dll
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
mov dword [ebp - 0x30], edi
call fcn.00422fd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.00422fd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0xf003f
push str.ServicesActive
push edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, edi
je 0x4021e1
push eax
mov dword [ebp - 0x30], esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push edi
push str.SoftwareRemotelyAnywhereV5
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40226b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str._ProductType
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 4
call esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str._LicenseType
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 4
call esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str._LicenseCount
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 4
call esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401fe4
cmp dword [ebp + 0x10], edi
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov esi, 0x4322c1
jne 0x4024a7
call fcn.00422fd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push str.14:43:02
push str.Dec__2_2003
lea eax, [ebp - 0x1c]
push str._s__s
push eax
mov byte [ebp - 4], 3
call fcn.00401c9e
add esp, 0x10
push dword [ebp - 0x1c]
lea ecx, [ebp + 0xc]
push str.__BUILD__
call fcn.00401b30
push 0x43228c
push str.__VERSION__
lea ecx, [ebp + 0xc]
call fcn.00401b30
mov edi, 0x43226c
push edi
push str.__PRODUCT__
lea ecx, [ebp + 0xc]
call fcn.00401b30
push edi
push str.PRODUCTNAME
lea ecx, [ebp + 0xc]
call fcn.00401b30
push edi
push str._PRODUCTNAME
lea ecx, [ebp + 0xc]
call fcn.00401b30
mov edi, str.remotelyanywhere.com
push edi
push str.__LINK__
lea ecx, [ebp + 0xc]
call fcn.00401b30
push edi
push str._LINK
lea ecx, [ebp + 0xc]
call fcn.00401b30
mov eax, dword [ebp - 0x28]
dec eax
je 0x402353
dec eax
je 0x40234c
dec eax
dec eax
lea ecx, [ebp + 0xc]
je 0x402345
push str.RALogo.png
jmp 0x40235b
push str.RALogoSP.png
jmp 0x40235b
push str.RALogoEE.png
jmp 0x402358
push str.RALogoSR.png
lea ecx, [ebp + 0xc]
push str.__LOGO__
call fcn.00401b30
call fcn.00422fd3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x2c]
dec eax
mov byte [ebp - 4], 4
je 0x40240d
dec eax
je 0x4023e6
dec eax
je 0x4023ce
dec eax
je 0x4023b6
dec eax
je 0x4023af
dec eax
je 0x4023a8
dec eax
lea ecx, [ebp + 0xc]
je 0x4023a1
push str.Invalid
jmp 0x402415
push str.Unlimited__World_
jmp 0x402415
push str.Unlimited__Country_
jmp 0x402412
push str.Unlimited__City_
jmp 0x402412
cmp dword [ebp - 0x10], 1
mov eax, esi
je 0x4023c3
mov eax, 0x432184
push eax
push dword [ebp - 0x10]
push str.Unlocked___d_computer_s_
jmp 0x4023fc
cmp dword [ebp - 0x10], 1
mov eax, esi
je 0x4023db
mov eax, 0x432184
push eax
push dword [ebp - 0x10]
push str.Counted___d_computer_s_
jmp 0x4023fc
cmp dword [ebp - 0x10], 1
mov eax, esi
je 0x4023f3
mov eax, 0x432184
push eax
push dword [ebp - 0x10]
push str.Nodelocked___d_computer_s_
lea eax, [ebp + 0x10]
push eax
call fcn.00401c9e
add esp, 0x10
push dword [ebp + 0x10]
jmp 0x402412
push str.Evaluation
lea ecx, [ebp + 0xc]
push str.__LICENSE__
call fcn.00401b30
mov edi, str.Copyright__C__1998_2003_3am_Labs_Ltd._All_rights_reserved.
push edi
push str.__COPYRIGHT__
lea ecx, [ebp + 0xc]
call fcn.00401b30
push edi
push str.COPYRIGHT
lea ecx, [ebp + 0xc]
call fcn.00401b30
push esi
push str.__ratmpl__
lea ecx, [ebp + 0xc]
call fcn.00401b30
push str.____ENDRAISRUNNING_____
push str.____RAISRUNNING_____
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00401557
lea eax, [ebp - 0x14]
push eax
call fcn.00401ec3
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00401e32
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040121d
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040121d
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040121d
xor edi, edi
cmp dword [ebp - 0x34], edi
je 0x40252b
push esi
push str.____DOCSFOUND_____
lea ecx, [ebp + 0xc]
call fcn.00401b30
push esi
push str.____ENDDOCSFOUND_____
lea ecx, [ebp + 0xc]
call fcn.00401b30
push dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
push str.__GSDOCURL__
call fcn.00401b30
push dword [ebp - 0x20]
lea ecx, [ebp + 0xc]
push str.__FULLDOCURL__
call fcn.00401b30
push str.____ENDDOCSNOTFOUND_____
push str.____DOCSNOTFOUND_____
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.00401557
lea eax, [ebp + 0x10]
push eax
call fcn.00401ec3
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.00401e32
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040121d
jmp 0x402588
push str.____ENDDOCSFOUND_____
push str.____DOCSFOUND_____
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.00401557
lea eax, [ebp + 0x10]
push eax
call fcn.00401ec3
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.00401e32
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040121d
push esi
push str.____DOCSNOTFOUND_____
lea ecx, [ebp + 0xc]
call fcn.00401b30
push esi
push str.____ENDDOCSNOTFOUND_____
lea ecx, [ebp + 0xc]
call fcn.00401b30
cmp ebx, edi
jne 0x4025e8
cmp dword [ebp - 0x30], edi
jne 0x4025e8
push str.____ENDIFWIN9XORADMIN_____
push str.____IFWIN9XORADMIN_____
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.00401557
lea eax, [ebp + 0x10]
push eax
call fcn.00401ec3
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.00401e32
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040121d
push esi
push str.____IFNOTWIN9XORADMIN_____
lea ecx, [ebp + 0xc]
call fcn.00401b30
push esi
push str.____ENDIFNOTWIN9XORADMIN_____
jmp 0x40263d
push str.____ENDIFNOTWIN9XORADMIN_____
push str.____IFNOTWIN9XORADMIN_____
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0x10], esp
mov ecx, esp
push eax
call fcn.00401557
lea eax, [ebp + 0x10]
push eax
call fcn.00401ec3
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00401e32
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040121d
push esi
push str.____IFWIN9XORADMIN_____
lea ecx, [ebp + 0xc]
call fcn.00401b30
push esi
push str.____ENDIFWIN9XORADMIN_____
lea ecx, [ebp + 0xc]
call fcn.00401b30
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00401557
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040121d
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040121d
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040121d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret