Function at 0x420e3a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453728
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x47162c]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x47162c]
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.0041fa6a
pop ecx
push edi
lea eax, [esp + 0x124]
mov dword [esp + 0x1bc], ebx
call fcn.0041fb1e
pop ecx
mov dword [esp + 0x1b8], 1
cmp dword [esp + 0x114], ebx
je 0x420f27
push ebx
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x108]
push eax
lea edi, [esp + 0x144]
call fcn.004206ea
push dword [esp + 0x30]
lea ecx, [esp + 0x124]
push ecx
push esi
mov ecx, eax
mov byte [esp + 0x1c4], 2
call fcn.00420e3a
mov esi, edi
mov byte [esp + 0x1b8], 1
call fcn.0042076e
push 0
push 1
lea ecx, [esp + 0x128]
call fcn.00405e00
push 0
jmp 0x4210b2
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 0x420f61
mov edx, dword [edi]
jmp 0x420f63
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 0x420fa1
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x20], ecx
jne 0x420fb0
cmp eax, ebx
jne 0x420fb8
cmp esi, ebx
jbe 0x42107c
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0040d4f9
jmp 0x420f3b
cmp eax, ebx
je 0x42107c
push str.query_value
lea ecx, [esp + 0x168]
call fcn.00405b78
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.00421c98
mov edi, eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b8], 6
call fcn.004151a7
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.0042503b
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_amd64_cygwin_jdk8u192_11897_install_src_windows_common_Registry.cpp
mov dword [esp + 0x40], str.Registry::getValue
mov dword [esp + 0x44], 0x11d
call fcn.00419a34
lea eax, [esp + 0x184]
mov dword [esp], 0x466c8c
push eax
call fcn.0043c341
lea eax, [esp + 0x20]
call fcn.0040d4f9
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x20]
call fcn.004126ab
cmp dword [esp + 0x20], ebx
je 0x4210a2
push dword [esp + 0x20]
call fcn.00434c43
pop ecx
push ebx
push 1
lea ecx, [esp + 0x128]
call fcn.00405e00
push ebx
push 1
lea ecx, [esp + 0x10c]
call fcn.00405e00
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.00434c4e
mov esp, ebp
pop ebp
ret 0xc