Function at 0x4c2880
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b9bb
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x43c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push str.CExterAppMgrThread::GetSoftAppPath
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x440], eax
call fcn.00415950
mov dword [ebp - 4], 0
test esi, esi
je 0x4c2a43
lea eax, [esi + 0x1206]
lea ebx, [esi + 0x1006]
mov dword [ebp - 0x44c], eax
mov esi, dword [ebp - 0x440]
xor eax, eax
mov word [edi], ax
test esi, esi
je 0x4c29aa
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0052d340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0052d340
push esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x5c1f00
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005336c4
add esp, 0x24
test eax, eax
jne 0x4c2a43
lea ecx, [ebp - 0x218]
mov eax, ecx
sub edi, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x4c2993
mov bl, 1
jmp 0x4c2a45
lea eax, [ebp - 0x440]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4c2a77
mov eax, dword [ebp - 0x444]
cmp byte [eax + 0x18], 0
je 0x4c2a77
call esi
push eax
push ebx
push 0x5c1f10
push 0x528
push 0x5c1f54
push 1
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x1c
lea eax, [ebp - 0x440]
push eax
push 0x101
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c2a77
call esi
push eax
push ebx
push 0x5c1f78
push 0x52d
push 0x5c1fbc
push 1
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x1c
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00415860
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], 0x200
push eax
push edi
push 0
push 0
push dword [ebp - 0x44c]
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x440]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4c2acd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x5c1fd8
push 0x53b
push 0x5c2020
jmp 0x4c2a33
push 0x5c1f0c
push edi
call fcn.00533aae
add esp, 8
test eax, eax
je 0x4c2a43
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0052d340
mov eax, dword [ebp - 0x450]
add eax, 0x606
push eax
push edi
lea eax, [ebp - 0x420]
push 0x5c1f6c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005336c4
add esp, 0x24
test eax, eax
jne 0x4c2a43
mov bl, 1
jmp 0x4c2a45