Function at 0x40cb10
Capabilities:
Delete registry key
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45042d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa48
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x34], ebx
call fcn.0040d7e0
mov ecx, ebx
mov edi, eax
call fcn.0040d870
cmp byte [ebx + 0x24], 0
mov esi, eax
mov dword [esp + 0x30], esi
jne 0x40cb82
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40cb7e
mov eax, dword [0x46a018]
mov al, byte [eax + 2]
test al, al
jne 0x40cb75
xor dl, dl
mov ecx, esi
call fcn.0040cea0
mov edx, esi
mov ecx, edi
call fcn.0040b970
mov byte [ebx + 0x24], 1
push str.Software_bfAppStore
lea ecx, [esp + 0x18]
call fcn.00401c50
mov dword [esp + 0xa5c], 0
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401980
add eax, 0x10
mov dword [esp + 0x24], eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa60], 1
call fcn.0040e7d0
mov edi, dword [esp + 0x24]
push edi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp eax, 5
jne 0x40cc37
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x18], 0x202
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push edi
push str.CURRENT_USER
push str._s_s
lea eax, [esp + 0x25c]
push 0x800
push eax
call fcn.0043d354
add esp, 0x14
lea eax, [esp + 0x48]
push 0xf003f
push eax
push 2
push ecx
lea eax, [esp + 0x260]
push eax
call fcn.00413900
test eax, eax
je 0x40cc37
push edi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 1
mov ecx, ebx
call fcn.0040cfb0
mov eax, dword [0x46a018]
mov al, byte [eax]
mov byte [esp + 0x10], al
push dword [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x44]
call fcn.0040b200
mov byte [esp + 0xa5c], 2
push dword [esp + 0x40]
mov cl, 1
call fcn.0040b0f0
add esp, 4
or ebx, 0xffffffff
test al, al
jne 0x40cc80
mov byte [esp + 0xf], al
jmp 0x40cdd7
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa5c], 3
call fcn.0040b610
test al, al
jne 0x40ccb2
mov byte [esp + 0xf], al
jmp 0x40cdb2
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0x1c]
push str._sBFEngineReport.exe
push eax
mov byte [esp + 0xa68], 4
call fcn.0040a530
add esp, 0xc
mov dword [esp + 0x28], vtable.CFirewallInstall.0
push 6
push 0
mov dword [esp + 0x34], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
je 0x40cd06
test eax, eax
js 0x40cd0e
mov dword [esp + 0x2c], 1
mov dword [esp + 0x1c], vtable.CWindowsFirewall.0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xa60], 6
call fcn.00402240
mov esi, dword [esp + 0x18]
test eax, eax
js 0x40cd58
push ecx
push esi
push dword [esp + 0x28]
call fcn.00402360
cmp dword [esp + 0x2c], 0
je 0x40cd58
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40cd58
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push str.Path
mov ecx, SysReAllocStringLen
mov dword [esp + 0x24], vtable.CWindowsFirewall.0
call fcn.00413020
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
mov byte [esp + 0xf], 1
mov byte [eax + 0x25], 1
je 0x40cd91
call dword [sym.imp.ole32.dll_CoUninitialize]
add esi, 0xfffffff0
mov byte [esp + 0xa5c], 3
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cdb2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa5c], 2
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cdd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa5c], 1
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40cdfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ce19
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ce36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0xa5c], 0
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ce57
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xa5c], 0xffffffff
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40ce7d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0xa54]
mov al, byte [esp + 0xf]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret