Function at 0x41fd30
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b4c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x48e110]
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
lea eax, [ebp - 0x220]
mov edi, ecx
mov esi, edx
push eax
mov ecx, 0x476a60
mov dword [ebp - 0x22c], esi
call fcn.00403080
xor ebx, ebx
push 0x206
lea edx, [ebp - 0x216]
mov dword [ebp - 4], ebx
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x218], cx
call fcn.0045c960
add esp, 0xc
lea ecx, [ebp - 0x218]
cmp dword [edi + 0x5c], ebx
je 0x41feac
lea eax, [ebp - 0x21c]
push eax
push ecx
lea edx, [ebp - 0x224]
push edx
push 0x476a60
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsBFVKanDianYing.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0x102
mov dword [ebp - 0x224], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, ebx
jne 0x41ff29
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
call fcn.00403080
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
push 0x5c
push ecx
call fcn.0045ac03
add esp, 8
cmp eax, ebx
jne 0x41fe21
or eax, 0xffffffff
jmp 0x41fe29
sub eax, dword [ebp - 0x21c]
sar eax, 1
inc eax
lea ecx, [ebp - 0x224]
lea edx, [ebp - 0x21c]
call fcn.00403ce0
lea edi, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.00402ab0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fe70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x21c]
lea edi, [ebp - 0x220]
call fcn.00402ab0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ff29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ff29
lea eax, [ebp - 0x224]
push eax
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0x476a60
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsStormPlayer.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x224], 0x102
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp eax, ebx
jne 0x41ff29
push str.....BFVKanDianYing_
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ff03
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x220]
push edx
mov ebx, eax
call fcn.004032a0
xor ebx, ebx
mov eax, dword [ebp - 0x220]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x41ffe2
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.0045c960
add esp, 0xc
push 1
push 0x26
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ff73
sub eax, edx
lea ecx, [ebp - 0x218]
sar eax, 1
push ecx
lea edx, [ebp - 0x220]
push edx
mov ebx, eax
call fcn.004032a0
lea eax, [ebp - 0x220]
lea esi, [ebp - 0x224]
call fcn.00420150
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ffca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x17
push 0x477ac0
lea ebx, [ebp - 0x220]
call fcn.00402d70
mov esi, dword [ebp - 0x22c]
lea ebx, [ebp - 0x220]
call fcn.00413c70
mov ebx, eax
call fcn.00413cf0
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x228]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x22c], esp
mov edi, esp
call fcn.004033b0
add eax, 0x10
mov dword [edi], eax
call fcn.00420480
xor ebx, ebx
cmp eax, ebx
je 0x4200c5
cmp dword [ebp - 0x228], 0x32
jge 0x42010c
lea edx, [ebp - 0x21c]
push edx
mov ecx, 0x476a60
call fcn.00403080
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 3
call fcn.004201c0
test eax, eax
je 0x4200a0
mov edx, 0x477ac0
lea eax, [ebp - 0x21c]
call fcn.00402b20
lea eax, [ebp - 0x21c]
mov edi, esi
call fcn.00402ab0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420119
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x420119
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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.0045a10c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
mov edi, esi
call fcn.00402ab0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4200f0