Function at 0x426945
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459964
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x479630]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x479630]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x104]
mov ebx, ecx
xor esi, esi
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], esi
call fcn.004256de
pop ecx
push edi
lea eax, [esp + 0x124]
mov dword [esp + 0x1bc], esi
call fcn.00425792
pop ecx
mov dword [esp + 0x1b8], 1
cmp dword [esp + 0x114], esi
je 0x426a21
push esi
lea eax, [esp + 0x108]
push eax
lea edi, [esp + 0x144]
call fcn.0042620d
push dword [esp + 0x34]
lea ecx, [esp + 0x124]
push ecx
push dword [esp + 0x20]
mov ecx, eax
mov byte [esp + 0x1c4], 2
call fcn.00426945
mov esi, edi
mov byte [esp + 0x1b8], 1
call fcn.00426291
jmp 0x426ba9
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x1b8], 3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x1c], 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 0x426a65
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x426a69
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
lea edx, [esp + 0x1c]
push edx
push eax
push dword [esp + 0x3c]
push esi
push dword [esp + 0x24]
push ecx
call ebx
mov dword [esp + 0x14], eax
cmp eax, 0xea
je 0x426aa4
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
jne 0x426ab5
cmp eax, esi
jne 0x426abd
cmp dword [esp + 0x1c], esi
jbe 0x426b7e
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0041053c
xor esi, esi
jmp 0x426a3b
cmp eax, esi
je 0x426b7e
push str.query_value
lea ecx, [esp + 0x168]
call fcn.00405b5f
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], esi
mov byte [esp + 0x44], 0
push edi
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x144]
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c8], 5
call fcn.00427712
mov edi, eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b8], 6
call fcn.00416cfa
push str.System_error
push dword [esp + 0x18]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x6c]
mov byte [esp + 0x1c4], 7
call fcn.0042aa6f
lea ecx, [esp + 0x180]
mov byte [esp + 0x1b8], 8
push ecx
lea esi, [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x3c], str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u231_13620_install_src_windows_common_Registry.cpp
mov dword [esp + 0x40], str.Registry::getValue
mov dword [esp + 0x44], 0x12b
call fcn.0041acfa
lea eax, [esp + 0x184]
mov dword [esp], 0x46d7c8
push eax
call fcn.00441a81
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0041053c
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x20]
call fcn.0041449c
cmp dword [esp + 0x20], 0
je 0x426ba9
push dword [esp + 0x20]
call fcn.0043a44a
pop ecx
lea esi, [esp + 0x104]
call fcn.0040b810
mov eax, dword [esp + 0x18]
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.0043a455
mov esp, ebp
pop ebp
ret 0xc