Function at 0x100e4820
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10124e98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1016e750]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x10172218]
mov eax, dword [0x10172214]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], eax
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100e4875
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str._ImportHkcuBackToRegAppKey:_in
push eax
call fcn.10044f30
add esp, 8
mov byte [ebp - 4], 1
mov ecx, 0x10153c1c
mov edx, dword [ebp - 0x14]
call fcn.10043b30
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100e48ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.100f8380
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x100e4bc6
cmp dword [esi - 0xc], 0
jl 0x100e4bc6
push 0x10153fec
push esi
call fcn.10103a8d
add esp, 8
test eax, eax
je 0x100e4bc6
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x100e4bc6
push 0
mov edx, str.Registry
mov ecx, edi
call fcn.100460b0
add esp, 4
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100e493d
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100e496a
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100e4997
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.100f8380
lea edx, [ebp - 0x20]
mov ecx, edi
call fcn.100f8380
push 0
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.DisplayVersion
lea edi, [ebp - 0x1c]
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
push str.RegistryMachineSoftwareMicrosoftWindowsCurrentVersionUninstallDuplicate_Cleaner
call fcn.10023fc0
mov ecx, dword [ebp - 0x10]
mov edx, edi
mov byte [ebp - 4], 5
call fcn.10045b00
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
add esp, 0x14
push edi
push ebx
push dword [ebp - 0x14]
push str.ImportHkcuBackToRegAppKey:_from__s_to__s__DbgStr_s_
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 7
mov ecx, 0x10153c1c
mov edx, dword [ebp - 0x24]
call fcn.10043b30
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e4a46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100e4a70
push str.SHCopyKeyW
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100e4a99
push ecx
mov ecx, esp
push str.ImportHkcuBackToRegAppKey:_SHCopyKeyW_not_found
call fcn.10023fc0
call fcn.100e4280
add esp, 4
push 0
push str.Fatal
push str.ImportHkcuBackToRegAppKey:_SHCopyKeyW_not_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.SHCopyKeyW
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push dword [ebp - 0x28]
push 0x1012ec60
push dword [ebp - 0x10]
call eax
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x100e4adb
mov ecx, dword [ebp - 0x10]
mov edx, 0x1012ec60
call fcn.100463a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x28]
mov ecx, str.FAILURE
push eax
test edx, edx
mov eax, str.Success
cmovne eax, ecx
push eax
push edx
lea eax, [ebp - 0x24]
push str.ImportHkcuBackToRegAppKey:_out._SHCopyKey_d___s___LE_d
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 8
mov ecx, 0x10153c1c
mov edx, dword [ebp - 0x24]
call fcn.10043b30
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e4b39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 4
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e4b59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e4b76
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e4b96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x100e4bb4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x24]
push str.ImportHkcuBackToRegAppKey:_RegCopyTree_panic:__s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, 0x10153c1c
mov edx, dword [ebp - 0x24]
call fcn.10043b30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100e4c09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea eax, [ebp - 0x28]
push str.ImportHkcuBackToRegAppKey:_RegCopyTree_panic:__s
push eax
call fcn.10044f30
add esp, 0xc
push 0
push str.Fatal
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100e4c46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]