Function at 0x5b9a90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x627850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
je 0x5ba33c
mov ecx, dword [esi + 0x418]
test ecx, ecx
jne 0x5b9adf
push eax
mov ecx, esi
call fcn.005bd090
test al, al
je 0x5ba33c
mov ecx, dword [esi + 0x418]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
lea ebx, [esi + 0x128]
push eax
push ebx
push 0
push 0
push 0x6e07b8
push ecx
mov dword [ebp + 8], 8
call edi
test eax, eax
je 0x5b9b66
lea edx, [ebp + 8]
lea ecx, [ebp - 0x20]
xor eax, eax
push edx
mov edx, dword [esi + 0x418]
push ecx
push eax
push eax
push 0x6c35a0
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp + 8], 8
call edi
test eax, eax
jne 0x5b9b66
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
test eax, eax
jl 0x5b9b66
jg 0x5b9b4d
test ecx, ecx
jbe 0x5b9b66
mov eax, dword [esi + 0x418]
push 8
push ebx
push 0
push 0
push 0x6e07b8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esi + 0x418]
lea ecx, [ebp + 8]
lea edx, [esi + 0x130]
push ecx
push edx
push 0
push 0
push 0x6e0784
push eax
mov dword [ebp + 8], 4
call edi
push 0
lea ecx, [ebp - 0x18]
push 0
mov edx, dword [esi + 0x418]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x5b9bc4
mov eax, 0x800
mov dword [ebp - 0x18], eax
jmp 0x5b9bc7
mov eax, dword [ebp - 0x18]
mov dword [ebp + 8], eax
inc eax
push eax
call fcn.005f6c5c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5ba33c
mov eax, dword [ebp + 8]
mov edi, ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e0828
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9c2a
push ebx
lea edx, [esi + 0x108]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e0820
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9c79
push ebx
lea edx, [esi + 0x10c]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e0814
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9cc8
push ebx
lea edx, [esi + 0x110]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e0808
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9d17
push ebx
lea edx, [esi + 0x114]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
push ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
push 0x6e07fc
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x418]
push eax
push ecx
call fcn.005aa530
add esp, 0x10
test eax, eax
je 0x5b9d64
push ebx
lea edx, [esi + 0x118]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07f4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9db3
push ebx
lea edx, [esi + 0xc8]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e0724
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9e02
push ebx
lea edx, [esi + 0x2e0]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07ec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9e51
push ebx
lea edx, [esi + 0x138]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07e4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9ea0
push ebx
lea edx, [esi + 0x13c]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07dc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9eef
push ebx
lea edx, [esi + 0x140]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
push ebx
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
push 0x6e07d4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 0x418]
push eax
push ecx
call fcn.005aa530
add esp, 0x10
test eax, eax
je 0x5b9f3c
push ebx
lea edx, [esi + 0x144]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07cc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9f8b
push ebx
lea edx, [esi + 0x148]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07c4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5b9fda
push ebx
lea edx, [esi + 0x120]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07b0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5ba029
push ebx
lea edx, [esi + 0x338]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07a8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5ba078
push ebx
lea edx, [esi + 0x33c]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e07a0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5ba0c7
push ebx
lea edx, [esi + 0x340]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edi, ebx
mov dword [ebp + 8], eax
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x418]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
push eax
push ebx
push 0
push 0
push 0x6e0794
push ecx
call edi
test eax, eax
jne 0x5ba118
push ebx
lea edx, [esi + 0x344]
push 0x6bc090
push edx
call fcn.005f368b
add esp, 0xc
mov edx, dword [esi + 0x418]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push 0x6e0854
push edx
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x5ba14b
mov eax, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [esi + 0x161], al
mov eax, dword [esi + 0x418]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0
push 0
push 0x6e0848
push eax
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x5ba17e
mov eax, dword [ebp - 0x14]
test eax, eax
setne cl
mov byte [esi + 0x160], cl
mov ecx, dword [esi + 0x418]
lea edx, [ebp + 8]
lea eax, [ebp - 0x14]
push edx
push eax
push 0
push 0
push 0x6e083c
push ecx
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x5ba1b1
mov eax, dword [ebp - 0x14]
test eax, eax
setne dl
mov byte [esi + 0x15f], dl
mov edx, dword [esi + 0x418]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push 0x6e078c
push edx
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x5ba1e4
mov eax, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [esi + 0x164], al
mov eax, dword [esi + 0x418]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0
push 0
push 0x6c2870
push eax
mov dword [ebp + 8], 4
call edi
test eax, eax
jne 0x5ba216
cmp dword [ebp - 0x14], 1
sete cl
mov byte [esi + 0x155], cl
mov ecx, dword [esi + 0x418]
lea edx, [ebp + 8]
lea eax, [ebp - 0x14]
push edx
push eax
push 0
push 0
push 0x6e0830
push ecx
mov dword [ebp + 8], 4
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x5ba24b
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x330], edx
mov edx, dword [esi + 0x418]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push 0x6e074c
push edx
mov dword [ebp + 8], 4
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x5ba285
mov eax, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [esi + 0x308], al
mov eax, dword [esi + 0x418]
lea ecx, [ebp + 8]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0
push 0
push 0x6e0744
push eax
mov dword [ebp + 8], 4
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x5ba2bf
mov eax, dword [ebp - 0x14]
test eax, eax
setne cl
mov byte [esi + 0x309], cl
mov ecx, dword [esi + 0x418]
lea edx, [ebp + 8]
lea eax, [ebp - 0x14]
push edx
push eax
push 0
push 0
push 0x6e073c
push ecx
mov dword [ebp + 8], 4
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x5ba2f9
mov eax, dword [ebp - 0x14]
test eax, eax
setne dl
mov byte [esi + 0x16a], dl
mov edx, dword [esi + 0x418]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
push 0x6e0754
push edx
mov dword [ebp + 8], 4
mov dword [ebp - 0x14], 0
call edi
test eax, eax
jne 0x5ba333
mov eax, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [esi + 0x15c], al
push ebx
call fcn.005f6c85
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4