Function at 0x4125f6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442650
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x45a630]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x45a630]
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.00411f58
xor eax, eax
mov dword [esp + 0x1b8], eax
cmp dword [esp + 0x114], eax
je 0x4126c4
mov eax, ebx
mov ebx, dword [esp + 0x34]
push eax
lea edi, [esp + 0x140]
call fcn.0041219c
push dword [esp + 0x30]
lea ecx, [esp + 0x124]
push ecx
push esi
mov ecx, eax
mov byte [esp + 0x1c4], 1
call fcn.004125f6
xor ebx, ebx
mov esi, edi
mov byte [esp + 0x1b8], bl
call fcn.00412216
push ebx
push 1
lea ecx, [esp + 0x128]
call fcn.00402978
push ebx
jmp 0x41285a
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 0x412708
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x41270c
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 0x412748
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
jne 0x412757
test eax, eax
jne 0x41275f
cmp dword [esp + 0x18], eax
jbe 0x41281e
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0040572b
jmp 0x4126de
test eax, eax
je 0x41281e
push str.query_value
lea ecx, [esp + 0x168]
call fcn.00401dac
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.00412892
mov edi, eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b8], 5
call fcn.004077bb
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.0041312a
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.0040558f
lea eax, [esp + 0x184]
mov dword [esp], 0x451878
push eax
call fcn.0042cae9
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.0040572b
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x20]
call fcn.004056f7
xor esi, esi
cmp dword [esp + 0x20], esi
je 0x41284a
push dword [esp + 0x20]
call fcn.0042654b
pop ecx
push esi
push 1
lea ecx, [esp + 0x128]
call fcn.00402978
push esi
push 1
lea ecx, [esp + 0x10c]
call fcn.00402978
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.00426556
mov esp, ebp
pop ebp
ret 0xc