Function at 0x503ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [0x770b48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x25c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x25c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x76e968]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x25c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x76a664
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x83e158]
mov ecx, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x503b72
mov eax, 0x73a7f4
push 0x76fea8
push eax
call fcn.00712e20
add esp, 8
test eax, eax
je 0x503b91
lea edx, [ebp - 0x25c]
mov edi, 0x76fea8
jmp 0x503ba6
mov edi, dword [0x83e158]
test edi, edi
jne 0x503ba0
mov edi, 0x73a7f4
lea edx, [ebp - 0x25c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 1
lea ecx, [ebp - 0x25c]
push 0
push ecx
push reloc.ijl15.dll_Ordinal_2
call esi
test eax, eax
jne 0x503d63
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
lea ecx, [ebp - 0x25c]
push eax
push 1
push 0
push ecx
push reloc.ijl15.dll_Ordinal_2
call esi
test eax, eax
jne 0x503d63
mov ecx, 0x83a9e0
call fcn.006c6db0
mov ecx, 0x83a9e0
call fcn.006e7440
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
mov edx, dword [0x83be50]
mov eax, dword [0x81424c]
push edx
push eax
push esi
lea ecx, [ebp - 0x5c]
push 0x76fe9c
push ecx
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0x20
call fcn.00711e28
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x38]
add esp, 0x14
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x5c]
push 0
push edx
push eax
call ebx
mov ecx, eax
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
xor edi, edi
shr eax, 0x1f
add edx, eax
test ecx, ecx
mov byte [0x83b450], dl
jne 0x503cb7
cmp byte [ebp - 0x38], 0x23
je 0x503cb0
lea ecx, [ebp - 0x38]
push esi
push ecx
jmp 0x503cbd
mov edi, 1
jmp 0x503cc7
push esi
push 0x76fe94
mov ecx, 0x83a9e0
call fcn.006c6e80
mov edx, dword [0x83be50]
mov eax, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x81424c]
push edx
push eax
push esi
lea ecx, [ebp - 0x5c]
push 0x76fe7c
push ecx
call fcn.00711e28
add esp, 0x14
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
lea ecx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x5c]
push 0
push edx
push eax
mov dword [ebp - 4], 0
call ebx
test eax, eax
push esi
jne 0x503d25
mov ecx, dword [ebp - 4]
push ecx
mov ecx, 0x83a9e0
call fcn.006e73e0
jmp 0x503d38
push 0
mov ecx, 0x83a9e0
call fcn.006e73e0
mov dword [ebp - 4], 0
test edi, edi
je 0x503d4f
mov edx, dword [ebp - 4]
push esi
lea eax, [ebp - 0x38]
push edx
push eax
mov ecx, 0x83a9e0
call fcn.006e7480
inc esi
cmp esi, 0x24
jl 0x503c33
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov byte [0x83b450], 0
pop ebx
mov esp, ebp
pop ebp
ret