Function at 0x492730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7088b9
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0048f510
test al, al
je 0x492b26
xor esi, esi
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4927af
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4927d9
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x60], esi
jmp 0x4927f0
push 0
push 0x8a
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
mov edx, eax
call fcn.00465440
add esp, 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1c], 0
push eax
push 0
push ebx
push esi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x492870
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x492885
cmp dword [ebp - 0x48], 3
jne 0x49286b
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0046ad50
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
je 0x492885
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x492870
mov edx, 0x64a
push 0
push 0x8c
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push ecx
call fcn.00465440
add esp, 0x10
lea eax, [ebp - 0x20]
cmp edi, eax
je 0x49289c
push dword [ebp - 0x64]
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004942b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4928e9
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4928ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x492b46
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test esi, esi
je 0x4928f4
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
jmp 0x4929fd
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00448f20
mov edx, dword [edi]
mov eax, dword [edi + 4]
cmp edx, eax
je 0x492a2a
sub eax, edx
lea ecx, [ebp - 0x44]
push eax
call fcn.00499e60
add esp, 4
mov ebx, 1
jmp 0x492a54
xor eax, eax
mov dword [ebp - 0x1c], 0
push eax
push 0x780fa8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00449180
lea eax, [ebp - 0x2c]
mov ebx, 2
cmp dword [eax + 0x14], 8
jb 0x492a5c
mov eax, dword [eax]
push eax
push esi
push str.LoadFlag
push 0x7d0a54
mov edx, str.KLFLAGS
mov ecx, 4
call fcn.0046b4c0
test bl, 2
je 0x492acd
mov edx, dword [ebp - 0x18]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x492ab9
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x492aaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x492b4b
push edx
push ecx
call fcn.006d0b31
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test bl, 1
je 0x492b08
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x492b08
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x492afe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x492b50
push edx
push ecx
call fcn.006d0b31
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret 8
push str.szwName
push 0
push 0x88
push str.c:_a_b_a_6cb29bb7_scsadminkitdevelopment2_stdconfklflags.cpp
push 0x4a3
push 0x7824b0
call fcn.00477ab0
call fcn.006d79b8
call fcn.006d79b8
call fcn.006d79b8
int3