Function at 0x422575
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455009
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x47362c]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x47362c]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
mov ecx, esi
lea ebx, [esp + 0xec]
mov dword [esp + 0x18], eax
call fcn.004212bf
xor ebx, ebx
mov dword [esp + 0x1a0], ebx
cmp dword [esp + 0xfc], ebx
je 0x422634
push 1
lea eax, [esp + 0xf0]
mov ebx, edi
push eax
lea edi, [esp + 0x148]
call fcn.00421571
push dword [esp + 0x18]
lea ecx, [esp + 0x10c]
push dword [esp + 0x18]
mov byte [esp + 0x1a8], 1
push ecx
mov ecx, eax
call fcn.00422575
xor ebx, ebx
mov esi, edi
mov byte [esp + 0x1a0], bl
call fcn.004215f5
jmp 0x422813
cmp dword [esi + 0x14], 0x10
jb 0x42263e
mov ecx, dword [esi]
jmp 0x422640
mov ecx, esi
push dword [esp + 0x18]
mov eax, dword [edi]
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 0x42272e
push str.set_binary_value
lea ecx, [esp + 0x128]
call fcn.00405ba6
mov dword [esp + 0xe4], 0xf
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
push esi
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x148]
push eax
push edi
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 3
call fcn.00422aa5
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 4
call fcn.00418c95
push str.System_error
push dword [esp + 0x18]
mov eax, esi
mov byte [esp + 0x1a8], 5
mov ecx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
lea edi, [esp + 0x34]
call fcn.00425e12
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a0], 6
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setBinary
mov dword [esp + 0x28], 0x1a5
call fcn.00419a1a
lea eax, [esp + 0x16c]
mov dword [esp], 0x467ffc
push eax
call fcn.0043da7f
cmp dword [0x4774c0], ebx
jg 0x422813
lea eax, [esp + 0x34]
push eax
call fcn.00409bf4
lea eax, [esp + 0x34]
push str.length
push eax
mov byte [esp + 0x1a8], 7
call fcn.0040bad1
pop ecx
pop ecx
push dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
call fcn.004133ba
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x38]
call fcn.00407890
mov dword [esp + 0x14], eax
mov ecx, esi
lea esi, [esp + 0xd0]
mov eax, edi
mov byte [esp + 0x1a0], 8
call fcn.0042182d
push 3
push dword [esp + 0x18]
mov byte [esp + 0x1a8], 9
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00422d0b
add esp, 0x10
push str.Registry::setBinary
push 0x1aa
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u102_6817.nc_install_src_windows_common_Registry.cpp
push ebx
mov edx, eax
mov ecx, 0x4774c0
mov byte [esp + 0x1b0], 0xa
call fcn.00412978
push ebx
push 1
lea ecx, [esp + 0x12c]
call fcn.00405db8
push ebx
push 1
mov ecx, esi
call fcn.00405db8
push ebx
push 1
lea ecx, [esp + 0x148]
call fcn.00405db8
lea eax, [esp + 0x34]
mov byte [esp + 0x1a0], bl
call fcn.004078a7
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.00405db8
push ebx
push 1
lea ecx, [esp + 0xf4]
call fcn.00405db8
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.004363ed
mov esp, ebp
pop ebp
ret 0xc