Function at 0x8c7165
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x8f9846
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x919630]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x919630]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x130]
push eax
mov dword [esp + 0x1c], ecx
call fcn.008c5657
pop ecx
xor ebx, ebx
push edi
lea eax, [esp + 0x150]
mov dword [esp + 0x1a4], ebx
call fcn.008c570b
pop ecx
xor eax, eax
inc eax
mov dword [esp + 0x1a0], eax
cmp dword [esp + 0x140], ebx
je 0x8c7237
mov ebx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x134]
push eax
lea edi, [esp + 0x110]
call fcn.008c6186
push esi
push dword [esp + 0x18]
lea ecx, [esp + 0x154]
push ecx
mov ecx, eax
mov byte [esp + 0x1ac], 2
call fcn.008c7165
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.008c620a
jmp 0x8c741a
cmp dword [edi + 0x14], 0x10
jb 0x8c7241
mov ecx, dword [edi]
jmp 0x8c7243
mov ecx, edi
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push esi
push dword [esp + 0x18]
push 3
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x8c7335
push str.set_binary_value
lea ecx, [esp + 0xf0]
call fcn.008a5b5f
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
push edi
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x110]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 4
call fcn.008c768b
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.008b6c58
push str.System_error
push dword [esp + 0x18]
mov eax, esi
mov byte [esp + 0x1a8], 6
mov ecx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
lea edi, [esp + 0x34]
call fcn.008caa37
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a0], 7
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u221_13320_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setBinary
mov dword [esp + 0x28], 0x1ae
call fcn.008bac4b
lea eax, [esp + 0x16c]
mov dword [esp], 0x90d7a8
push eax
call fcn.008e1a81
cmp dword [0x91d500], ebx
jg 0x8c741a
lea eax, [esp + 0x34]
push eax
call fcn.008a9556
lea eax, [esp + 0x34]
push str.length
push eax
mov byte [esp + 0x1a8], 8
call fcn.008ab566
pop ecx
pop ecx
push esi
lea eax, [esp + 0x38]
push eax
call fcn.008adeee
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x38]
call fcn.008a7899
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, edi
lea esi, [esp + 0xd0]
mov byte [esp + 0x1a0], 9
call fcn.008c6442
push 3
push dword [esp + 0x18]
mov byte [esp + 0x1a8], 0xa
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.008c78f1
add esp, 0x10
push str.Registry::setBinary
push 0x1b3
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u221_13320_install_src_windows_common_Registry.cpp
push ebx
mov edx, eax
mov ecx, 0x91d500
mov byte [esp + 0x1b0], 0xb
call fcn.008b477b
push ebx
push 1
lea ecx, [esp + 0xf4]
call fcn.008a5e43
push ebx
push 1
mov ecx, esi
call fcn.008a5e43
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.008a5e43
lea eax, [esp + 0x34]
mov byte [esp + 0x1a0], 1
call fcn.008a78b0
lea esi, [esp + 0x130]
call fcn.008ab7e8
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.008da44f
mov esp, ebp
pop ebp
ret 0xc