Function at 0x5bd630
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
xor ebx, ebx
push 0x5f70bc
push ebp
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov esi, str.00_95J86R_7XN4TW_0JM6GN
call fcn.005c44fa
add esp, 8
test eax, eax
jne 0x5bd669
mov esi, str.00_8TW00R_XXHG34_P0NNRT
jmp 0x5bd699
push 0x5f70b4
push ebp
call fcn.005c44fa
add esp, 8
test eax, eax
jne 0x5bd682
mov esi, str.00_21B873_10BF45_66BF88
jmp 0x5bd699
push 0x5f70a4
push ebp
call fcn.005c44fa
add esp, 8
test eax, eax
jne 0x5bd699
mov esi, str.00_3DYQ29_FP5TL7_GN96TX
push 0x5f7100
push ebp
call fcn.005c44fa
add esp, 8
test eax, eax
je 0x5bd6bd
push 0x5f70f8
push ebp
call fcn.005c44fa
add esp, 8
test eax, eax
jne 0x5bd6f3
mov ax, word [edi + 0xb0]
cmp ax, bx
jne 0x5bd6d8
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x3c
ret 0x1c
movzx eax, ax
push eax
lea ecx, [esp + 0x20]
push 0x5f70c0
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea esi, [esp + 0x1c]
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x5bd702
cmp word [eax], bx
je 0x5bd702
mov esi, eax
mov ecx, dword [edi]
push 0x5c
lea edx, [edi + 0xb8]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.005c1800
test eax, eax
jge 0x5bd733
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.005c0c70
mov edi, eax
cmp edi, ebx
jl 0x5bd839
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005c13c0
test eax, eax
jne 0x5bd74b
mov edi, 0x80070057
jmp 0x5bd839
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.005c0f20
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
call fcn.005c0f70
mov edi, eax
test edi, edi
jge 0x5bd78f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push esi
push ecx
mov ebx, 1
call fcn.005c0ff0
mov edi, eax
test edi, edi
jl 0x5bd839
mov eax, dword [esp + 0x10]
xor esi, esi
push esi
push esi
lea edx, [esp + 0x58]
push edx
push esi
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
mov ebp, dword [esp + 0x58]
je 0x5bd7b8
test eax, eax
jne 0x5bd7bd
cmp dword [esp + 0x50], ebp
je 0x5bd7bd
mov esi, 1
test ebx, ebx
jne 0x5bd7eb
mov ecx, dword [esp + 0x10]
push ecx
call fcn.005c1260
test eax, eax
je 0x5bd7eb
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x14]
push eax
push ebp
push ecx
push edx
call fcn.005c1180
jmp 0x5bd839
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x5bd802
test ebx, ebx
jne 0x5bd802
test esi, esi
jne 0x5bd802
mov edi, 0x80070005
jmp 0x5bd839
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x14]
push ecx
push ebp
push edx
push eax
call fcn.005c1180
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5bd82d
mov ecx, dword [esp + 0x10]
push 0
push ecx
jmp 0x5bd834
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.005c12f0
mov eax, dword [esp + 0x14]
push eax
call fcn.005c1380
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x5bd854
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5bd85f
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5bd86a
push eax
call esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x1c