Function at 0x415c00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x459ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4737e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
call fcn.0041d42a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415c47
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x18], ebx
call fcn.0041d42a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415c79
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, 0x415b80
mov byte [esp + 0x34], 1
test ecx, ecx
mov dword [esp + 0x20], 0x104
lea ecx, [esp + 0x1c]
je 0x415cac
push 0x4f
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstallWinRAR_archiver
jmp 0x415cb3
push 0x43
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWinRAR_archiver
call fcn.00401ef0
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x415d41
mov ebp, dword [esp + 0x3c]
push 0x462d74
mov ecx, ebp
call fcn.00401ac0
lea eax, [edi - 0x10]
mov byte [esp + 0x34], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415d2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, 1
mov dword [esp + 0x24], ecx
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x415d6b
push 0x100
lea ecx, [esp + 0x18]
call fcn.00401fa0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x20]
push ecx
push esi
lea edx, [esp + 0x2c]
push edx
push ebx
push str.DisplayIcon
push eax
call ebp
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043dbf8
add esp, 8
cmp eax, ebx
jl 0x415f70
cmp eax, dword [esi - 8]
jg 0x415f70
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, ebx
je 0x415ef5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x415de0
push 0x100
lea ecx, [esp + 0x18]
call fcn.00401fa0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push esi
lea eax, [esp + 0x2c]
push eax
push ebx
push str.InstallLocation
push ecx
call ebp
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043dbf8
add esp, 8
cmp eax, ebx
jl 0x415f70
cmp eax, dword [esi - 8]
jg 0x415f70
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp edi, ebx
je 0x415ee3
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x100
or eax, ecx
jge 0x415e4f
push 0x100
lea ecx, [esp + 0x18]
call fcn.00401fa0
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x2c]
push ecx
push ebx
push str.UninstallString
push edx
call ebp
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043dbf8
add esp, 8
cmp eax, ebx
jl 0x415f70
cmp eax, dword [esi - 8]
jg 0x415f70
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, ebx
jne 0x415ef5
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00414bd0
inc eax
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402f10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00401d60
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415ee3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.WinRAR.exe
lea ecx, [esp + 0x18]
call fcn.00402ed0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
push esi
call fcn.00401ff0
mov edi, dword [esp + 0x40]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415f39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415f5a
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 0x80070057
call fcn.00401090
int3