Function at 0x4dc850
Capabilities:
Check if file exists
Create directory
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600b3e
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x6b0c60], 0x3a8
mov ecx, 0x6b9660
je 0x4dc898
push 0x25
push str.SoftwareMicrosoftBitwarDataRecovery
jmp 0x4dc89f
push 0x20
push str.SoftwareMicrosoftRecoverMaster
call fcn.0040c9d0
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x4dc9aa
lea eax, [ebp - 0x224]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4dc99e
mov ax, word [0x639ee0]
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp dword [0x6b0c60], 0x3a8
lea eax, [ebp - 0x218]
je 0x4dc92b
push str.BitwarDataRecovery
jmp 0x4dc930
push 0x658e50
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0x228]
push dword [ebp - 0x224]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x224], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dc960
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x6b9640
call fcn.0040c9d0
push dword [0x6b9640]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4dc99e
push eax
push dword [0x6b9640]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x21c]
call fcn.004dc3e0
mov dword [ebp - 4], 0
mov ecx, 0x639ee0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4dc9e9
test dx, dx
je 0x4dc9e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4dc9e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4dc9c3
xor edi, edi
jmp 0x4dc9ee
sbb edi, edi
or edi, 1
mov dword [ebp - 4], 0xffffffff
or esi, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dca15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4dcb45
lea ecx, [ebp - 0x220]
call fcn.004dbd20
mov dword [ebp - 4], 2
mov edx, dword [eax]
mov edi, dword [0x6b9698]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4dca8c
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4dca7e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4dca7e
call fcn.0040c950
mov dword [ebp - 0x21c], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4dca74
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x21c]
add eax, 0x10
mov dword [0x6b9698], eax
jmp 0x4dca8c
push dword [edx - 0xc]
mov ecx, 0x6b9698
push edx
call fcn.0040c9d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dcab0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dl, 1
lea ecx, [ebp - 0x21c]
call fcn.004dbed0
mov dword [ebp - 4], 4
mov edx, dword [eax]
mov edi, dword [0x6b9670]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4dcb21
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4dcb13
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4dcb13
call fcn.0040c950
mov dword [ebp - 0x220], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4dcb09
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [0x6b9670], eax
jmp 0x4dcb21
push dword [edx - 0xc]
mov ecx, 0x6b9670
push edx
call fcn.0040c9d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dcb45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x21c]
call fcn.004dc4c0
mov dword [ebp - 4], 6
mov edx, dword [eax]
mov edi, dword [0x6b966c]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4dcbb4
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4dcba6
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4dcba6
call fcn.0040c950
mov dword [ebp - 0x220], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4dcb9c
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [0x6b966c], eax
jmp 0x4dcbb4
push dword [edx - 0xc]
mov ecx, 0x6b966c
push edx
call fcn.0040c9d0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dcbd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x21c]
call fcn.004dc0f0
mov dword [ebp - 4], 8
mov edx, dword [eax]
mov edi, dword [0x6b967c]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4dcc47
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x4dcc39
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4dcc39
call fcn.0040c950
mov dword [ebp - 0x220], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x4dcc2f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [0x6b967c], eax
jmp 0x4dcc47
push dword [edx - 0xc]
mov ecx, 0x6b967c
push edx
call fcn.0040c9d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4dcc69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004dc680
mov eax, dword [0x6b9698]
cmp dword [eax - 0xc], 0
jne 0x4dcd16
push 0
push 0
push 0
push str.copyuserinfo
push 0x650fc8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4dcd16
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 4
push str.copyuserinfo
push 0x650fc8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [0x6b9698]
cmp dword [eax - 0xc], 0
jne 0x4dcd16
cmp dword [0x6b0c60], 0x3a8
mov ecx, str.AndroidRecoverMaster
mov eax, str.BitwarAndroidRecover
cmove eax, ecx
push eax
call fcn.004dddc0
mov eax, dword [0x6b9698]
cmp dword [eax - 0xc], 0
jne 0x4dcd16
cmp dword [0x6b0c60], 0x3a8
mov ecx, str.WniPhoneRecover
mov eax, str.BitwariPhoneRecover
cmove eax, ecx
push eax
call fcn.004dddc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret