Function at 0x5ca0a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x428
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push esi
mov esi, dword [esp + 0x434]
push edi
push 1
lea eax, [esp + 0x14]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
xor edi, edi
call fcn.004dc050
add esp, 0x10
test eax, eax
jne 0x5ca2ea
push 0x207
lea ecx, [esp + 0x25]
push ebx
push ecx
call fcn.005dfd60
push 0x207
lea edx, [esp + 0x239]
push ebx
push edx
call fcn.005dfd60
add esp, 0x18
mov eax, 0x208
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push ebx
push edx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x248], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x5ca2db
push ebx
lea eax, [esp + 0x24]
push 0x6638f4
push eax
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x5ca186
push ebx
lea ecx, [esp + 0x24]
push str.LargeSend
push ecx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x5ca289
mov eax, dword [esp + 0x43c]
cmp eax, ebx
jne 0x5ca1dd
mov eax, dword [esp + 0xc]
cmp eax, 4
jne 0x5ca1b7
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x24]
push eax
push esi
push str.FND:__s__s_:__u__DWORD__n
call fcn.005e0e7f
jmp 0x5ca281
cmp eax, 1
jne 0x5ca289
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
push str.FND:__s__s_:__s__REGSZ__n
call fcn.005e0e7f
jmp 0x5ca281
cmp eax, 1
jne 0x5ca24a
mov eax, dword [esp + 0xc]
cmp eax, 4
jne 0x5ca219
lea eax, [esp + 0x228]
cmp eax, 1
jne 0x5ca289
push ebx
lea ecx, [esp + 0x24]
push ecx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004f48a0
lea edx, [esp + 0x20]
push edx
push esi
push str._OSL_DW_0___s__s
jmp 0x5ca27b
cmp eax, 1
jne 0x5ca289
cmp byte [esp + 0x228], 0x31
jne 0x5ca289
push 0x60cf3c
lea eax, [esp + 0x24]
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e7720
lea ecx, [esp + 0x20]
push ecx
push esi
push str._OSL_SZ_0___s__s
jmp 0x5ca27b
cmp dword [esp + 0xc], 1
jne 0x5ca289
cmp byte [esp + 0x228], 0x30
jne 0x5ca289
push 0x615678
lea edx, [esp + 0x24]
push edx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e7720
lea eax, [esp + 0x20]
push eax
push esi
push str._OSL_SZ_1___s__s
push ebx
call fcn.004f0f30
add esp, 0x10
mov edi, 1
mov eax, dword [esp + 0x1c]
mov ecx, 0x208
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x22c]
push edx
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x34]
inc eax
push ecx
push eax
push edx
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], bl
mov byte [esp + 0x248], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x5ca152
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5ca2ea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x430]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005dfbbe
add esp, 0x428
ret