Function at 0x422a77
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c6f9
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4946a0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4946a0]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
and dword [esp + 0x14], 0
mov dword [esp + 0x34], ecx
mov ecx, edi
lea ebx, [esp + 0x104]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], eax
call fcn.00422078
xor eax, eax
mov dword [esp + 0x1b8], eax
cmp dword [esp + 0x114], eax
je 0x422b46
push eax
mov eax, ebx
mov ebx, dword [esp + 0x38]
push eax
lea edi, [esp + 0x144]
call fcn.0042233f
push dword [esp + 0x30]
lea ecx, [esp + 0x124]
push ecx
push esi
mov ecx, eax
mov byte [esp + 0x1c4], 1
call fcn.00422a77
xor ebx, ebx
mov esi, edi
mov byte [esp + 0x1b8], bl
call fcn.004223c3
push ebx
push 1
lea ecx, [esp + 0x128]
call fcn.004031e0
push ebx
jmp 0x422cdc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x1b8], 2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, dword [esp + 0x20]
cmp dword [edi + 0x14], 0x10
jb 0x422b8a
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x422b8e
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x34]
mov ecx, dword [esi]
lea edx, [esp + 0x18]
push edx
push eax
push dword [esp + 0x38]
push 0
push dword [esp + 0x24]
push ecx
call ebx
mov dword [esp + 0x14], eax
cmp eax, 0xea
je 0x422bca
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
jne 0x422bd9
test eax, eax
jne 0x422be1
cmp dword [esp + 0x18], eax
jbe 0x422ca0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.004121c7
jmp 0x422b60
test eax, eax
je 0x422ca0
push str.query_value
lea ecx, [esp + 0x168]
call fcn.00402559
and dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xf
mov byte [esp + 0x44], 0
push edi
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x144]
push eax
push esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c8], 4
call fcn.00423896
mov edi, eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b8], 5
call fcn.00422034
push str.System_error
push dword [esp + 0x18]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x6c]
mov byte [esp + 0x1c4], 6
call fcn.004347b6
lea ecx, [esp + 0x180]
mov byte [esp + 0x1b8], 7
push ecx
lea esi, [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x3c], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u74_6087_install_src_windows_common_Registry.cpp
mov dword [esp + 0x40], str.Registry::getValue
mov dword [esp + 0x44], 0x122
call fcn.0041bf2a
lea eax, [esp + 0x184]
mov dword [esp], 0x485454
push eax
call fcn.00450c19
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.004121c7
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.00419423
xor esi, esi
cmp dword [esp + 0x20], esi
je 0x422ccc
push dword [esp + 0x20]
call fcn.00448f8c
pop ecx
push esi
push 1
lea ecx, [esp + 0x128]
call fcn.004031e0
push esi
push 1
lea ecx, [esp + 0x10c]
call fcn.004031e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00448f97
mov esp, ebp
pop ebp
ret 0xc