Function at 0x437d20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x49d289
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x4cc854]
xor ebx, ebx
mov dword [esp + 0x234], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x240]
mov byte [esp + 0x234], 1
cmp eax, 8
jne 0x437d6d
push str.SoftwareAdobePhotoshop8.0
jmp 0x437d77
cmp eax, 0xa
jne 0x437d80
push str.SoftwareAdobePhotoshop10.0
lea ecx, [esp + 0x10]
call fcn.0048c58c
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, ebx
jne 0x437fa9
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
push str.SettingsFilePath
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x437df7
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
push str.SettingsFilePath
push ecx
call esi
test eax, eax
jne 0x437fa9
mov edx, dword [0x4cc854]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
push 0x4c2284
push ecx
mov byte [esp + 0x240], 2
call fcn.0048a7fc
mov edx, dword [esp + 0x248]
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0047514f
add esp, 0x14
test eax, eax
je 0x437f40
push ecx
lea edx, [esp + 0x240]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0048c178
mov ecx, edi
call fcn.00437ca0
mov ecx, dword [esp + 0x23c]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx - 8]
inc ecx
push ecx
push eax
push 1
push ebx
push str.SettingsFilePath
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x437e89
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437f98
lea ecx, [esp + 0x28]
lea edx, [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
push str.SettingsFilePath
push ecx
mov dword [esp + 0x34], 1
mov dword [esp + 0x40], 0x100
call esi
test eax, eax
je 0x437ee3
lea edx, [esp + 0x28]
lea eax, [esp + 0x12c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
push str.SettingsFilePath
push edx
call esi
test eax, eax
jne 0x437f98
mov eax, dword [0x4cc854]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x18]
push ecx
push 0x4c2284
push edx
mov byte [esp + 0x240], 3
call fcn.0048a7fc
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.0047514f
add esp, 0x14
test eax, eax
jne 0x437f7c
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 2
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 1
call fcn.0048c403
lea ecx, [esp + 0xc]
mov byte [esp + 0x234], bl
call fcn.0048c403
lea ecx, [esp + 0x23c]
mov dword [esp + 0x234], 0xffffffff
call fcn.0048c403
mov al, 1
jmp 0x437fd2
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 2
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 1
call fcn.0048c403
lea ecx, [esp + 0xc]
mov byte [esp + 0x234], bl
call fcn.0048c403
lea ecx, [esp + 0x23c]
mov dword [esp + 0x234], 0xffffffff
call fcn.0048c403
xor al, al
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x22c
ret 8