Function at 0x5b2eb0
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x6f175c]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x480]
mov byte [ebp - 4], 1
cmp eax, ebx
jne 0x5b2f13
mov ecx, dword [esi + 0xa64]
mov edx, dword [esi + 0xa60]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.SoftwareDownloadManagerGrabberStsProjects_ld_ld_
push eax
call fcn.005fa6fb
add esp, 0x10
mov eax, dword [esi + 0x4c]
xor edi, edi
cmp eax, ebx
je 0x5b2f29
cmp word [esi + 0x4b0], bx
jne 0x5b308c
mov eax, dword [esi + 0x480]
cmp eax, ebx
je 0x5b2ff6
cmp dword [esi + 0x440], ebx
jne 0x5b2f69
push eax
lea ecx, [esi + 0x20]
call fcn.005c3d30
test al, al
jne 0x5b2f69
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.006018cc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x18]
push ebx
mov edx, dword [esi + 0x440]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
call fcn.005fdccd
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x5b2f4c
cmp word [esi + 0x4b0], bx
jne 0x5b308c
cmp dword [esi + 0x480], ebx
je 0x5b3062
mov eax, dword [esi + 0x440]
cmp eax, ebx
je 0x5b3097
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + ecx + 2]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
push ecx
push edi
push ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.LogFileName
push eax
call ebx
test eax, eax
jne 0x5b309d
push edi
call fcn.005e6c7e
add esp, 4
jmp 0x5b309d
cmp dword [esi + 0xa60], ebx
je 0x5b2f4c
cmp dword [esi + 0xa64], ebx
je 0x5b2f4c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push ebx
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x5b2f4c
push ebx
lea edx, [ebp - 0x18]
push ebx
mov eax, dword [ebp - 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x18], ebx
jne 0x5b2f84
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5b2f4c
cmp dword [esi + 0xa60], ebx
je 0x5b3097
cmp dword [esi + 0xa64], ebx
je 0x5b3097
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x5b3097
mov edx, dword [ebp - 0x18]
lea ecx, [edx + edx + 2]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
push edx
jmp 0x5b2fcf
lea ecx, [esi + 0x4ac]
call fcn.00553820
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [0x6f6320]
test eax, eax
jne 0x5b30ab
mov eax, 0x6f6324
push eax
call fcn.005e6884
mov eax, dword [esi + 0x4c]
add esp, 4
test eax, eax
jne 0x5b3152
mov eax, dword [esi + 0x480]
test eax, eax
je 0x5b3102
mov eax, dword [esi + 0x440]
test eax, eax
je 0x5b3171
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + ecx + 2]
lea ecx, [ebp - 0x1c]
push ecx
push edi
push 0
push 0
push str.LocalPath
push eax
mov dword [ebp - 0x1c], edx
call ebx
test eax, eax
jne 0x5b3171
push edi
call fcn.005b2b40
add esp, 4
push edi
jmp 0x5b3169
mov eax, dword [esi + 0xa60]
test eax, eax
je 0x5b3171
mov eax, dword [esi + 0xa64]
test eax, eax
je 0x5b3171
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5b3171
mov edx, dword [ebp - 0x18]
lea ecx, [edx + edx + 2]
lea edx, [ebp - 0x1c]
push edx
push edi
push 0
push 0
push str.LocalPath
push eax
mov dword [ebp - 0x1c], ecx
call ebx
test eax, eax
jne 0x5b3171
mov al, byte [esi + 0xa7a]
test al, al
jne 0x5b314f
push edi
call fcn.005b2b40
add esp, 4
push edi
jmp 0x5b3169
mov cl, byte [esi + 0xa7a]
test cl, cl
jne 0x5b3165
push eax
call fcn.005b2b40
add esp, 4
mov eax, dword [esi + 0x4c]
push eax
call fcn.005e7a84
add esp, 4
test edi, edi
je 0x5b317e
push edi
call fcn.005fdcf6
add esp, 4
mov eax, dword [esi + 0x480]
test eax, eax
je 0x5b319d
push 0
mov ecx, esi
call fcn.005b26a0
mov byte [esi + 0x8c4], 0
jmp 0x5b2f4c
mov eax, dword [esi + 0xa60]
test eax, eax
je 0x5b3209
mov eax, dword [esi + 0xa64]
test eax, eax
je 0x5b3209
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5b31bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6f175c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push edx
push str._sChList
push eax
mov byte [ebp - 4], 2
call fcn.005fa6fb
mov ecx, dword [ebp - 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0xc
push ecx
push reloc.WS2_32.dll_accept
call edi
mov edx, dword [ebp - 0x14]
push edx
push reloc.WS2_32.dll_accept
call edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.006018cc
mov byte [esi + 0x8c4], 0
jmp 0x5b2f4c