Function at 0x421493
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4536a0
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 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.0041fa6a
pop ecx
and dword [esp + 0x1a0], 0
push edi
lea eax, [esp + 0x10c]
call fcn.0041fb1e
pop ecx
xor edx, edx
inc edx
mov dword [esp + 0x1a0], edx
cmp dword [esp + 0xfc], 0
je 0x42155c
push edx
lea eax, [esp + 0xf0]
push eax
lea edi, [esp + 0x148]
call fcn.004206ea
push esi
lea ecx, [esp + 0x10c]
push ecx
mov ecx, eax
mov byte [esp + 0x1a8], 2
call fcn.00421493
mov esi, edi
mov byte [esp + 0x1a0], 1
call fcn.0042076e
jmp 0x4216e9
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x42156d
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x421571
mov dword [esp + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x42157b
mov esi, dword [edi]
jmp 0x42157d
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 0x42166c
push str.set_string_value
lea ecx, [esp + 0x128]
call fcn.00405b78
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.00421c98
mov edi, eax
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 5
call fcn.004151a7
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.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::setString
mov dword [esp + 0x28], 0x182
call fcn.00419a34
lea eax, [esp + 0x16c]
mov dword [esp], 0x466cfc
push eax
call fcn.0043c341
cmp dword [0x475304], 0
jg 0x4216e9
mov eax, dword [esp + 0x14]
mov ecx, edi
lea esi, [esp + 0xd0]
call fcn.004209a6
xor esi, esi
push esi
push dword [esp + 0x1c]
mov byte [esp + 0x1a8], 8
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00421ee9
add esp, 0x10
push str.Registry::setString
push 0x185
push str.c:_re_workspace_8_2_build_windows_amd64_cygwin_jdk8u171_10807_install_src_windows_common_Registry.cpp
push esi
mov edx, eax
mov ecx, 0x475304
mov byte [esp + 0x1b0], 9
call fcn.0041299a
push esi
push 1
lea ecx, [esp + 0x12c]
call fcn.00405e00
push esi
push 1
lea ecx, [esp + 0xd8]
call fcn.00405e00
push 0
push 1
lea ecx, [esp + 0x110]
call fcn.00405e00
push 0
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 8