Function at 0x4358a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e0b6
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4976a0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4976a0]
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.0042c52c
pop ecx
push edi
lea eax, [esp + 0x124]
mov dword [esp + 0x1bc], esi
call fcn.0042c5e0
pop ecx
mov dword [esp + 0x1b8], 1
cmp dword [esp + 0x114], esi
je 0x435984
push esi
lea eax, [esp + 0x108]
push eax
lea edi, [esp + 0x144]
call fcn.0043502f
push dword [esp + 0x34]
lea ecx, [esp + 0x124]
push ecx
push dword [esp + 0x20]
mov ecx, eax
mov byte [esp + 0x1c4], 2
call fcn.004358a8
mov esi, edi
mov byte [esp + 0x1b8], 1
call fcn.004350b3
jmp 0x435b0c
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 0x4359c8
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x4359cc
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 0x435a07
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x20], ecx
jne 0x435a18
cmp eax, esi
jne 0x435a20
cmp dword [esp + 0x1c], esi
jbe 0x435ae1
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0040fa1a
xor esi, esi
jmp 0x43599e
cmp eax, esi
je 0x435ae1
push str.query_value
lea ecx, [esp + 0x168]
call fcn.0040246d
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.004366ae
mov edi, eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x1b8], 6
call fcn.00426618
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.004374b8
lea ecx, [esp + 0x180]
mov byte [esp + 0x1b8], 8
push ecx
lea esi, [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0x3c], str.c:_ade_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u241_331_install_src_windows_common_Registry.cpp
mov dword [esp + 0x40], str.Registry::getValue
mov dword [esp + 0x44], 0x12b
call fcn.0041b5e6
lea eax, [esp + 0x184]
mov dword [esp], 0x4878f8
push eax
call fcn.00452134
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
call fcn.0040fa1a
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x20]
call fcn.00418aab
cmp dword [esp + 0x20], 0
je 0x435b0c
push dword [esp + 0x20]
call fcn.0044a61d
pop ecx
lea esi, [esp + 0x104]
call fcn.00435464
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.0044a628
mov esp, ebp
pop ebp
ret 0xc