Function at 0x42172f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453610
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x47162c]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x47162c]
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 + 0xec]
push eax
mov dword [esp + 0x1c], ecx
call fcn.0041fa6a
pop ecx
xor ebx, ebx
push edi
lea eax, [esp + 0x10c]
mov dword [esp + 0x1a4], ebx
call fcn.0041fb1e
pop ecx
xor eax, eax
inc eax
mov dword [esp + 0x1a0], eax
cmp dword [esp + 0xfc], ebx
je 0x421813
mov ebx, dword [esp + 0x18]
push eax
lea eax, [esp + 0xf0]
push eax
lea edi, [esp + 0x148]
call fcn.004206ea
push esi
push dword [esp + 0x18]
lea ecx, [esp + 0x110]
push ecx
mov ecx, eax
mov byte [esp + 0x1ac], 2
call fcn.0042172f
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.0042076e
push 0
push 1
lea ecx, [esp + 0x110]
call fcn.00405e00
push 0
jmp 0x421a06
cmp dword [edi + 0x14], 0x10
jb 0x42181d
mov ecx, dword [edi]
jmp 0x42181f
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 0x421911
push str.set_binary_value
lea ecx, [esp + 0x128]
call fcn.00405b78
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
push edi
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 4
call fcn.00421c98
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.004151a7
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.0042503b
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_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setBinary
mov dword [esp + 0x28], 0x1a0
call fcn.00419a34
lea eax, [esp + 0x16c]
mov dword [esp], 0x466cfc
push eax
call fcn.0043c341
cmp dword [0x475304], ebx
jg 0x4219f6
lea eax, [esp + 0x34]
push eax
call fcn.00409bf6
lea eax, [esp + 0x34]
push str.length
push eax
mov byte [esp + 0x1a8], 8
call fcn.0040bad0
pop ecx
pop ecx
push esi
lea eax, [esp + 0x38]
push eax
call fcn.004133dc
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x38]
call fcn.0040787f
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, edi
lea esi, [esp + 0xd0]
mov byte [esp + 0x1a0], 9
call fcn.004209a6
push 3
push dword [esp + 0x18]
mov byte [esp + 0x1a8], 0xa
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00421ee9
add esp, 0x10
push str.Registry::setBinary
push 0x1a5
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Registry.cpp
push ebx
mov edx, eax
mov ecx, 0x475304
mov byte [esp + 0x1b0], 0xb
call fcn.0041299a
push ebx
push 1
lea ecx, [esp + 0x12c]
call fcn.00405e00
push ebx
push 1
mov ecx, esi
call fcn.00405e00
push ebx
push 1
lea ecx, [esp + 0x148]
call fcn.00405e00
lea eax, [esp + 0x34]
mov byte [esp + 0x1a0], 1
call fcn.00407896
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.00405e00
push ebx
push 1
lea ecx, [esp + 0xf4]
call fcn.00405e00
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.00434c4e
mov esp, ebp
pop ebp
ret 0xc