Function at 0x1002c440
Capabilities:
Set registry value

Disassembly:
mov eax, 0x202c
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x2028], eax
test byte [esp + 0x2030], 1
push ebx
push ebp
push esi
push edi
je 0x1002c470
mov eax, 1
jmp 0x1002cb13
push str.shouldDeleteDeployKeys__version
call fcn.10003ca0
push 0x100415dc
call fcn.10003ca0
add esp, 8
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
push 0x20019
push 0x10042150
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10003a10
test eax, eax
jne 0x1002cafd
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
call sym.deploy.dll_GetCurrentJavaHomeFromRegistry
add esp, 4
test eax, eax
je 0x1002caf0
push str.current_java_home
call fcn.10003ca0
lea eax, [esp + 0x3c]
push eax
call fcn.10003ca0
push 0xc
call fcn.10033b30
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1002c52b
lea eax, [esp + 0x38]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x1002cb2c
jmp 0x1002c52d
xor esi, esi
mov dword [esp + 0x1c], esi
test esi, esi
je 0x1002cb2c
push 0xc
call fcn.10033b30
mov esi, eax
add esp, 4
test esi, esi
je 0x1002c56a
push str._bin
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x1002cb2c
jmp 0x1002c56c
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x1002cb2c
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
call fcn.10003700
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x1002c5ca
mov eax, dword [esi]
test eax, eax
je 0x1002c5a8
push eax
call ebp
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002c5bf
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
lea eax, [esp + 0x10]
push eax
call fcn.10017470
push str.current_deploy_bin:
call fcn.10003ca0
mov edi, dword [esp + 0x18]
add esp, 8
test edi, edi
je 0x1002c5ed
mov eax, dword [edi]
jmp 0x1002c5ef
xor eax, eax
push eax
call fcn.10003ca0
add esp, 4
test edi, edi
je 0x1002c600
mov eax, dword [edi]
jmp 0x1002c602
xor eax, eax
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1002c60e
mov ecx, dword [esi]
jmp 0x1002c610
xor ecx, ecx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002c636
test dx, dx
je 0x1002c632
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002c636
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002c610
xor eax, eax
jmp 0x1002c63b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002c656
push str.Delete_deploy_okay__jre_bin_and_deploy_bin_same
call fcn.10003ca0
add esp, 4
mov ebp, 1
jmp 0x1002c9a0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
call fcn.100032a0
push str._binjp2iexp.dll
lea ecx, [esp + 0x14]
call fcn.100032a0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1002c6c3
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002c6c3
mov eax, dword [esi]
test eax, eax
je 0x1002c6a1
push eax
call ebp
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002c6b8
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
push str.current_jp2_path
call fcn.10003ca0
mov esi, dword [esp + 0x18]
add esp, 4
test esi, esi
je 0x1002c6dc
mov eax, dword [esi]
jmp 0x1002c6de
xor eax, eax
push eax
call fcn.10003ca0
add esp, 4
test esi, esi
je 0x1002c6ef
mov eax, dword [esi]
jmp 0x1002c6f1
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.100298b0
add esp, 8
test eax, eax
je 0x1002ca31
push dword [esp + 0x28]
lea eax, [esp + 0x103c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0x10041ee4
push 0x800
push eax
call fcn.10005d50
push str.current_jp2_ver
call fcn.10003ca0
lea eax, [esp + 0x1054]
push eax
call fcn.10003ca0
add esp, 0x20
lea eax, [esp + 0x1038]
mov ecx, 0x100415dc
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002c776
test dx, dx
je 0x1002c772
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002c776
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002c750
xor eax, eax
jmp 0x1002c77b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002ca31
push str.restore_deploy_from_JRE
call fcn.10003ca0
add esp, 4
lea ecx, [esp + 0x14]
push 0x10042150
call fcn.100032a0
push 0x1003e9cc
lea ecx, [esp + 0x14]
call fcn.100032a0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1002c805
mov ecx, ebx
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x1002c805
mov ecx, dword [eax]
test ecx, ecx
je 0x1002c7df
push ecx
call ebp
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002c7fa
push ecx
call fcn.1003b898
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.10033b30
add esp, 8
lea eax, [esp + 0x1038]
push eax
lea ecx, [esp + 0x14]
call fcn.100032a0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1002c86f
mov ecx, ebx
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x1002c86f
mov ecx, dword [eax]
test ecx, ecx
je 0x1002c849
push ecx
call ebp
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002c864
push ecx
call fcn.1003b898
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.10033b30
add esp, 8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002c87b
mov eax, dword [eax]
jmp 0x1002c87d
xor eax, eax
push 0x2001f
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.10003a10
mov ebp, eax
test ebp, ebp
je 0x1002c8ba
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1002c902
push ecx
jmp 0x1002c8fb
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c8c1
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x3c]
push eax
push 1
push 0
push str.JavaHome
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002c902
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
push ecx
mov ecx, esp
push str.Restore_plugin_from_latest_Java
call fcn.100032a0
push ebp
call fcn.10015220
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebp, ebp
test eax, eax
je 0x1002c961
mov ecx, ebx
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x1002c961
mov ecx, dword [eax]
test ecx, ecx
je 0x1002c93f
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov dword [eax], ebp
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002c956
push ecx
call fcn.1003b898
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 4], ebp
push 0xc
push eax
call fcn.10033b30
add esp, 8
test esi, esi
je 0x1002c99c
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002c99c
mov eax, dword [esi]
test eax, eax
je 0x1002c97e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], ebp
mov eax, dword [esi + 4]
test eax, eax
je 0x1002c991
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], ebp
push 0xc
push esi
call fcn.10033b30
add esp, 8
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x1002c9e3
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x1002c9e3
mov eax, dword [edi]
test eax, eax
je 0x1002c9c1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1002c9d8
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
test esi, esi
je 0x1002cb02
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002cb02
mov eax, dword [esi]
test eax, eax
je 0x1002ca0a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002ca21
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
jmp 0x1002cb02
test esi, esi
je 0x1002ca70
mov eax, ebx
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002ca70
mov eax, dword [esi]
test eax, eax
je 0x1002ca4e
push eax
call ebp
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002ca65
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
test edi, edi
je 0x1002caaf
mov eax, ebx
lock xadd dword [edi + 8], eax
dec eax
jne 0x1002caaf
mov eax, dword [edi]
test eax, eax
je 0x1002ca8d
push eax
call ebp
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1002caa4
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10033b30
add esp, 8
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x1002caf0
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002caf0
mov eax, dword [esi]
test eax, eax
je 0x1002cace
push eax
call ebp
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1002cae5
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10033b30
add esp, 8
push str.Delete_deploy_okay
call fcn.10003ca0
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002cb11
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
mov ecx, dword [esp + 0x2038]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x202c
ret
push 0x8007000e
call fcn.10033b30
int3