Function at 0x423600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cb5b
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4956a0]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x4956a0]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
lea eax, [esp + 0xec]
mov ebx, ecx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
call fcn.0042dbdf
pop ecx
and dword [esp + 0x1a0], 0
push edi
lea eax, [esp + 0x10c]
call fcn.0042dc93
pop ecx
xor edx, edx
inc edx
mov dword [esp + 0x1a0], edx
cmp dword [esp + 0xfc], 0
je 0x4236c9
push edx
lea eax, [esp + 0xf0]
push eax
lea edi, [esp + 0x148]
call fcn.00422857
push esi
lea ecx, [esp + 0x10c]
push ecx
mov ecx, eax
mov byte [esp + 0x1a8], 2
call fcn.00423600
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.004228db
jmp 0x423856
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x4236da
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x4236de
mov dword [esp + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x4236e8
mov esi, dword [edi]
jmp 0x4236ea
mov esi, edi
mov eax, dword [ebx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc ecx
push ecx
push dword [esp + 0x14]
push edx
push 0
push esi
push eax
call ebx
mov dword [esp + 0x10], eax
test eax, eax
je 0x4237d9
push str.set_string_value
lea ecx, [esp + 0x128]
call fcn.00402573
and dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xf
mov byte [esp + 0xd0], 0
push edi
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 4
call fcn.00423e44
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.00422632
push str.System_error
push dword [esp + 0x14]
mov eax, esi
push eax
mov ecx, ebx
lea edi, [esp + 0x34]
mov byte [esp + 0x1ac], 6
call fcn.00436725
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a0], 7
push ecx
lea esi, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x20], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Registry.cpp
mov dword [esp + 0x24], str.Registry::setString
mov dword [esp + 0x28], 0x182
call fcn.0041c4f8
lea eax, [esp + 0x16c]
mov dword [esp], 0x4864a4
push eax
call fcn.00451224
cmp dword [0x49a024], 0
jg 0x423856
mov eax, dword [esp + 0x14]
mov ecx, edi
lea esi, [esp + 0xd0]
call fcn.00422b13
xor esi, esi
push esi
push dword [esp + 0x1c]
mov byte [esp + 0x1a8], 8
push eax
lea eax, [esp + 0x130]
push eax
call fcn.004241a4
add esp, 0x10
push str.Registry::setString
push 0x185
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Registry.cpp
push esi
mov edx, eax
mov ecx, 0x49a024
mov byte [esp + 0x1b0], 9
call fcn.0042432e
push esi
push 1
lea ecx, [esp + 0x12c]
call fcn.00403353
push esi
push 1
lea ecx, [esp + 0xd8]
call fcn.00403353
push 0
push 1
lea ecx, [esp + 0x110]
call fcn.00403353
push 0
push 1
lea ecx, [esp + 0xf4]
call fcn.00403353
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.00449589
mov esp, ebp
pop ebp
ret 8