Function at 0x1001c870
Capabilities:
Access peb ldr_data
Check if file exists
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10070c3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x588
mov eax, dword [0x10085048]
push esi
push edi
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x598], esi
mov dword [esp + 0xc], eax
mov dl, byte [0x1009bcc4]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], dl
mov byte [esp + 0x284], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x285]
mov byte [esp + 0x180], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x388], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x389]
mov byte [esp + 0x48c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x48d]
mov byte [esp + 0x598], 2
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [esp + 0x50], 0x10086a28
mov dword [esp + 0x54], 0x10086a1c
mov dword [esp + 0x58], 0x10086a10
mov dword [esp + 0x5c], 0x10086a04
mov dword [esp + 0x60], 0x100869f8
mov dword [esp + 0x64], str.KMPlayer
mov dword [esp + 0x68], str.Media_Player_Classic
mov dword [esp + 0x6c], str.K_Lite_Codec_Pack
mov dword [esp + 0x70], str.Vista_Codec_Pack
mov dword [esp + 0x74], 0x100869a0
mov dword [esp + 0x78], str.Nero
mov dword [esp + 0x24], str.Ringz_StudioStorm_Codecmplayerc.exe
mov dword [esp + 0x28], str.Super_RabbitHappyPlayer_srmpc.exe
mov dword [esp + 0x2c], str.Super_RabbitKLPlayerklplayer.exe
mov dword [esp + 0x30], str.Pure_Codecmplayerc.exe
mov dword [esp + 0x34], str.Final_Codecsmyplayer.exe
mov dword [esp + 0x38], str.KMplayerKMPlayer.exe
mov dword [esp + 0x3c], str.Media_Player_Classicmplayerc.exe
mov dword [esp + 0x40], str.K_Lite_Codec_PackMedia_Player_Classicmplayerc.exe
mov dword [esp + 0x44], str.VistaCodecPack_filters_ffdshow.ax
mov dword [esp + 0x48], str.TTPlayerTTPlayer.exe
mov dword [esp + 0x4c], str.AheadNero_nero.exe
mov eax, dword [esp + esi + 0x24]
lea ecx, [esp + 0x48c]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s_s
push edx
call fcn.10003bb0
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call edi
test eax, eax
je 0x1001ca8b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x284]
push 0x104
push ecx
push edx
call fcn.10018d60
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x394]
lea ecx, [esp + 0x18c]
push eax
push ecx
push edx
call fcn.10018ed0
add esp, 0x18
lea eax, [esp + 0x388]
lea ecx, [esp + 0x180]
lea edx, [esp + 0x284]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + esi + 0x58]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str._s____s___s___s___s__r_n
push edx
call fcn.10003bb0
mov eax, dword [esp + 0x2c]
add esp, 0x1c
lea ecx, [esp + 8]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.1001a600
add esi, 4
cmp esi, 0x2c
jb 0x1001c9e7
mov ecx, dword [0x10085048]
push ebx
push ebp
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x5a0], 3
mov dword [esp + 0x2c], str.mplayerc.exe
mov dword [esp + 0x30], str.srmpc.exe
mov dword [esp + 0x34], str.klplayer.exe
mov dword [esp + 0x38], str.RealPlay.exe
mov dword [esp + 0x3c], str.TTPlayer.exe
mov dword [esp + 0x40], str.PowerDVD.exe
mov dword [esp + 0x44], str.WinDVD.exe
mov dword [esp + 0x48], str.QuickTimePlayer.exe
lea ebx, [esp + 0x2c]
mov dword [esp + 0x20], 8
mov esi, dword [ebx]
mov ecx, 0x41
push esi
xor eax, eax
lea edi, [esp + 0x88]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths
lea edx, [esp + 0x24]
push 0x100856d8
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x104
call fcn.10003bb0
add esp, 0x10
lea eax, [esp + 0x28]
lea ecx, [esp + 0x84]
lea edx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push 0x1009bcc4
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1001cc37
lea ecx, [esp + 0x28c]
push 0x104
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.10018d60
lea eax, [esp + 0x39c]
lea ecx, [esp + 0x194]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.10018ed0
add esp, 0x18
lea eax, [esp + 0x390]
lea ecx, [esp + 0x188]
lea edx, [esp + 0x28c]
push eax
push ecx
lea eax, [esp + 0x8c]
push edx
push eax
push esi
lea ecx, [esp + 0x2c]
push str._s____s___s___s___s__r_n
push ecx
call fcn.10003bb0
mov esi, dword [esp + 0x34]
add esp, 0x1c
mov eax, dword [esi - 8]
test eax, eax
je 0x1001cc37
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea ebp, [edx - 0xc]
cmp ecx, 1
jg 0x1001cc1d
mov edi, dword [edx - 8]
lea ecx, [edi + eax]
cmp ecx, dword [edx - 4]
jg 0x1001cc1d
mov ecx, eax
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
add edx, eax
mov dword [ecx - 8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov byte [ecx + eax], 0
jmp 0x1001cc37
push esi
push eax
push edx
mov edx, dword [edx - 8]
push edx
lea ecx, [esp + 0x20]
call fcn.1001cdb0
test eax, eax
je 0x1001cc37
push ebp
call fcn.1001cd80
mov eax, dword [esp + 0x20]
add ebx, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x1001caf7
lea eax, [esp + 0x10]
push 0x2d
push eax
call fcn.10019be0
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 8
mov byte [esp + 0x5a0], 2
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x5a8]
pop ebp
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx - 8]
mov edx, dword [0x1008504c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea esi, [ecx + eax]
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1001ccc3
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x1001ccc3
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.1003c010
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x1008504c]
mov byte [esp + 0x598], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1001ccf6
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x1001ccf6
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.1003c010
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x1008504c]
mov byte [esp + 0x598], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1001cd29
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x1001cd29
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.1003c010
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x1008504c]
mov dword [esp + 0x598], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x1001cd5f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x1001cd5f
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.1003c010
add esp, 4
mov ecx, dword [esp + 0x590]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x594
ret 4