Function at 0x415e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x3b8
mov eax, dword [0x450008]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.SoftwareBearScreenShot]
push esi
push edi
push 0
lea eax, [ebp - 0x394]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
push eax
movq xmm0, qword [0x44cc40]
push 0x80000001
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x415ede
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416291
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x40
lea eax, [ebp - 0x70]
mov dword [ebp - 0x38c], 0x40
push 0
push eax
mov dword [ebp - 0x390], 1
call fcn.00419080
add esp, 0xc
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x390]
push eax
push 0
push str.Guid
push dword [ebp - 0x394]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415f40
push ecx
lea eax, [ebp - 0x70]
mov edx, 0x40
push eax
push ecx
mov ecx, 0x452e8e
call fcn.0040a960
push 0x104
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.00419080
add esp, 0xc
mov dword [ebp - 0x390], 1
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 0x104
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x390]
push eax
push 0
push str.InstallFilename
push dword [ebp - 0x394]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4161c7
lea esi, [ebp - 0x178]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x415fa3
sub esi, ecx
cmp esi, 4
jle 0x416014
cmp byte [ebp + esi - 0x17c], 0x2e
jne 0x416014
movsx eax, byte [ebp + esi - 0x17b]
push eax
call fcn.0041dcdc
add esp, 4
cmp eax, 0x65
jne 0x416014
movsx eax, byte [ebp + esi - 0x17a]
push eax
call fcn.0041dcdc
add esp, 4
cmp eax, 0x78
jne 0x416014
movsx eax, byte [ebp + esi - 0x179]
push eax
call fcn.0041dcdc
add esp, 4
cmp eax, 0x65
jne 0x416014
add esi, 0xfffffffc
cmp esi, 0x104
jae 0x41628b
mov byte [ebp + esi - 0x178], 0
lea eax, [ebp - 0x178]
push 0x44cc60
push eax
call fcn.00418940
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x178]
push 0x44cc64
push eax
call fcn.0042535b
mov edi, eax
add esp, 0x14
xor esi, esi
mov dword [ebp - 0x3b4], edi
test edi, edi
je 0x416081
cmp esi, 5
jge 0x41607b
lea eax, [ebp - 0x398]
inc esi
push eax
push 0x44cc64
push 0
call fcn.0042535b
add esp, 0xc
mov dword [ebp + esi*4 - 0x3b4], eax
test eax, eax
jne 0x416054
mov edi, dword [ebp - 0x3b4]
push 0x104
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.00419080
add esp, 0xc
mov dword [ebp - 0x390], 1
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 0x104
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x390]
push eax
push 0
push str.Version
push dword [ebp - 0x394]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x3a0], 0
mov dword [ebp - 0x39c], eax
jne 0x416149
cmp esi, 2
jle 0x4161c7
cmp byte [edi], 0
je 0x416102
push ecx
push edi
push ecx
mov edx, 0x104
mov ecx, 0x452d88
call fcn.0040a960
mov eax, dword [ebp - 0x3b0]
cmp byte [eax], 0
je 0x416113
push eax
call fcn.0040b2b0
cmp dword [ebp - 0x39c], 0
jne 0x41612f
push ecx
lea eax, [ebp - 0x280]
push eax
push ecx
mov ecx, 0x452978
jmp 0x4161bd
mov eax, dword [ebp - 0x3ac]
cmp byte [eax], 0
je 0x4161c7
push eax
call fcn.0040b290
jmp 0x4161c7
cmp esi, 3
jle 0x4161c7
cmp byte [edi], 0
je 0x416165
push ecx
push edi
push ecx
mov edx, 0x104
mov ecx, 0x452d88
call fcn.0040a960
mov eax, dword [ebp - 0x3b0]
cmp byte [eax], 0
je 0x416176
push eax
call fcn.0040b2b0
cmp dword [ebp - 0x39c], 0
jne 0x416199
push ecx
lea eax, [ebp - 0x280]
mov edx, 0x104
push eax
push ecx
mov ecx, 0x452978
call fcn.0040a960
jmp 0x4161aa
mov eax, dword [ebp - 0x3ac]
cmp byte [eax], 0
je 0x4161aa
push eax
call fcn.0040b290
mov eax, dword [ebp - 0x3a8]
cmp byte [eax], 0
je 0x4161c7
push ecx
push eax
push ecx
mov ecx, 0x452c84
mov edx, 0x104
call fcn.0040a960
push 0x104
lea eax, [ebp - 0x388]
push 0
push eax
call fcn.00419080
add esp, 0xc
mov dword [ebp - 0x390], 1
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x38c], 0x104
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x390]
push eax
push 0
push str.LogicBear
push dword [ebp - 0x394]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, 1
test eax, eax
jne 0x416265
mov ecx, str.W2e3Ux891
lea eax, [ebp - 0x388]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x416250
test dl, dl
je 0x41624c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x416250
add eax, 2
add ecx, 2
test dl, dl
jne 0x416230
xor ecx, ecx
jmp 0x416254
sbb ecx, ecx
or ecx, esi
movzx eax, byte [0x451f2c]
test ecx, ecx
cmove eax, esi
mov byte [0x451f2c], al
mov ecx, dword [ebp - 0x394]
test ecx, ecx
je 0x416276
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00416291
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00416429
int3