Function at 0x421cc1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455196
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x47362c]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x47362c]
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.004212bf
xor eax, eax
mov dword [esp + 0x1b8], eax
cmp dword [esp + 0x114], eax
je 0x421d90
push eax
mov eax, ebx
mov ebx, dword [esp + 0x38]
push eax
lea edi, [esp + 0x144]
call fcn.00421571
push dword [esp + 0x30]
lea ecx, [esp + 0x124]
push ecx
push esi
mov ecx, eax
mov byte [esp + 0x1c4], 1
call fcn.00421cc1
xor ebx, ebx
mov esi, edi
mov byte [esp + 0x1b8], bl
call fcn.004215f5
push ebx
push 1
lea ecx, [esp + 0x128]
call fcn.00405db8
push ebx
jmp 0x421f26
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 0x421dd4
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x421dd8
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 0x421e14
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
jne 0x421e23
test eax, eax
jne 0x421e2b
cmp dword [esp + 0x18], eax
jbe 0x421eea
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0040d4fa
jmp 0x421daa
test eax, eax
je 0x421eea
push str.query_value
lea ecx, [esp + 0x168]
call fcn.00405ba6
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.00422aa5
mov edi, eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b8], 5
call fcn.00418c95
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.00425e12
lea ecx, [esp + 0x180]
mov byte [esp + 0x1b8], 7
push ecx
lea esi, [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x3c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Registry.cpp
mov dword [esp + 0x40], str.Registry::getValue
mov dword [esp + 0x44], 0x122
call fcn.00419a1a
lea eax, [esp + 0x184]
mov dword [esp], 0x467ffc
push eax
call fcn.0043da7f
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0040d4fa
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.00412689
xor esi, esi
cmp dword [esp + 0x20], esi
je 0x421f16
push dword [esp + 0x20]
call fcn.004363e2
pop ecx
push esi
push 1
lea ecx, [esp + 0x128]
call fcn.00405db8
push esi
push 1
lea ecx, [esp + 0x10c]
call fcn.00405db8
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.004363ed
mov esp, ebp
pop ebp
ret 0xc