Function at 0x422fa7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cbe3
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4956a0]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x104]
xor ebx, ebx
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], ebx
call fcn.0042dbdf
pop ecx
push edi
lea eax, [esp + 0x124]
mov dword [esp + 0x1bc], ebx
call fcn.0042dc93
pop ecx
mov dword [esp + 0x1b8], 1
cmp dword [esp + 0x114], ebx
je 0x423094
push ebx
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x108]
push eax
lea edi, [esp + 0x144]
call fcn.00422857
push dword [esp + 0x30]
lea ecx, [esp + 0x124]
push ecx
push esi
mov ecx, eax
mov byte [esp + 0x1c4], 2
call fcn.00422fa7
mov esi, edi
mov byte [esp + 0x1b8], 1
call fcn.004228db
push 0
push 1
lea ecx, [esp + 0x128]
call fcn.00403353
push 0
jmp 0x42321f
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1b8], 3
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 0x4230ce
mov edx, dword [edi]
jmp 0x4230d0
mov edx, edi
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
lea esi, [esp + 0x1c]
push esi
push eax
push dword [esp + 0x38]
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x34], eax
cmp eax, 0xea
je 0x42310e
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x20], ecx
jne 0x42311d
cmp eax, ebx
jne 0x423125
cmp esi, ebx
jbe 0x4231e9
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.004128e4
jmp 0x4230a8
cmp eax, ebx
je 0x4231e9
push str.query_value
lea ecx, [esp + 0x168]
call fcn.00402573
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
push edi
lea eax, [esp + 0x168]
push eax
lea eax, [esp + 0x144]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x54]
mov byte [esp + 0x1c8], 5
call fcn.00423e44
mov edi, eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b8], 6
call fcn.00422632
push str.System_error
push dword [esp + 0x38]
mov eax, esi
mov byte [esp + 0x1c0], 7
mov ecx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea edi, [esp + 0x6c]
call fcn.00436725
lea ecx, [esp + 0x180]
mov byte [esp + 0x1b8], 8
push ecx
lea esi, [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x3c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Registry.cpp
mov dword [esp + 0x40], str.Registry::getValue
mov dword [esp + 0x44], 0x11d
call fcn.0041c4f8
lea eax, [esp + 0x184]
mov dword [esp], 0x4864a4
push eax
call fcn.00451224
lea eax, [esp + 0x20]
call fcn.004128e4
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x20]
call fcn.00419b08
cmp dword [esp + 0x20], ebx
je 0x42320f
push dword [esp + 0x20]
call fcn.0044957e
pop ecx
push ebx
push 1
lea ecx, [esp + 0x128]
call fcn.00403353
push ebx
push 1
lea ecx, [esp + 0x10c]
call fcn.00403353
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.00449589
mov esp, ebp
pop ebp
ret 0xc