Function at 0x411930
Capabilities:
Check if file exists
Delete registry key
Get session user name
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc50
mov eax, dword [section..data]
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, section..data
mov dword [ebp - 0x1c], ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
call fcn.0040d870
mov edx, dword [ebx + 4]
xorps xmm0, xmm0
mov ecx, dword [edx + 0x18]
mov edx, dword [edx + 0x1c]
or ebx, 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x2c], xmm0
cmp ecx, edx
je 0x4119b2
nop
mov eax, dword [ecx]
cmp dword [eax], 7
je 0x411aed
add ecx, 4
cmp ecx, edx
jne 0x4119a0
mov eax, dword [0x46a018]
mov al, byte [eax + 3]
test al, al
jne 0x411d51
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 4
push 0x458ce0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00401ea0
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x60
push str.bfSingleApp_Uninst
lea eax, [ebp - 0x10]
push str._s__d.exe
push eax
mov byte [ebp - 4], 5
call fcn.0040a530
mov edi, dword [ebp - 0x10]
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push str._s_s
push eax
call fcn.0040a530
mov esi, dword [ebp - 0x20]
add esp, 0x20
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411d14
mov eax, dword [ebp - 0x1c]
push 0x60
mov ecx, dword [eax + 4]
call fcn.0040df80
test eax, eax
je 0x411d14
mov eax, dword [eax + 0x10]
mov edi, dword [ebp - 0x18]
xor edx, edx
cmp dword [eax - 0xc], edx
mov ecx, section..data
cmovne edx, eax
mov eax, dword [section..data]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x60
push str.bfAppStore_
lea eax, [ebp - 0x14]
push str._s_d
push eax
mov byte [ebp - 4], 6
call fcn.0040a530
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call fcn.00412350
cmp dword [edi - 0xc], 0
je 0x411abc
mov ecx, dword [ebp - 0x1c]
push esi
push edi
push 0x60
push 0
call fcn.00411d80
lea ecx, [ebp - 0x14]
call fcn.00401fb0
lea ecx, [ebp - 0x10]
call fcn.00401fb0
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411d51
mov ecx, dword [edi]
push edi
jmp 0x411d4c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.00412210
mov edi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x40]
je 0x411cad
jmp 0x411b20
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
push dword [edi]
lea eax, [ebp - 0x18]
push 0x459420
push str._s_s
push eax
call fcn.0040a530
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x250], ax
lea eax, [ebp - 0x24e]
push eax
call fcn.0043da70
mov esi, dword [ebp - 0x18]
add esp, 0x1c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x24]
push eax
push str.DisplayName
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], 0x206
mov dword [ebp - 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x250], 0
je 0x411c11
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x250]
push eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_s
push eax
call fcn.0040a530
mov ebx, dword [ebp - 0x10]
add esp, 0x10
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411bf0
mov dl, 1
mov ecx, ebx
call fcn.0040cea0
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411c0e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp eax, 5
jne 0x411c84
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x458]
push eax
mov dword [ebp - 0x24], 0x202
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push esi
push str.MACHINE
push str._s_s
lea eax, [ebp - 0xc58]
push 0x800
push eax
call fcn.0043d354
add esp, 0x14
lea eax, [ebp - 0x458]
push 0xf003f
push eax
push 2
push ecx
lea eax, [ebp - 0xc58]
push eax
call fcn.00413900
test eax, eax
je 0x411c84
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411ca1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, dword [ebp - 0x40]
jne 0x411b20
push str.bfAppStore_Uninst.exe
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push str._s_s
push eax
call fcn.0040a530
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov ecx, dword [edi + 4]
add esp, 0x10
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], 0x4594cc
call fcn.0040c880
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
push str.bfAppStore
mov dword [ebp - 0x28], 0x4594d8
mov dword [ebp - 0x38], esi
call fcn.00412350
push esi
push 0x4582d0
push 7
push 1
mov ecx, edi
call fcn.00411d80
lea ecx, [ebp - 0x44]
call fcn.00401660
jmp 0x411d51
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411d31
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411d51
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], ebx
dec ebx
test ebx, ebx
jg 0x411d6f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret