Function at 0x103d8c4
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov eax, dword [ebp + 0xc]
push edi
mov ebx, ecx
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
mov edi, 0x104
mov esi, dword [ebx]
cmp esi, dword [ebp + 0x10]
jae 0x103db97
cmp dword [ebp + 0x14], 0
lea eax, [esi + 1]
mov dword [ebx], eax
je 0x103d9a8
cmp esi, dword [ebx + 8]
jae 0x103d9a8
mov eax, dword [ebx + 4]
push 0x103dc38
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpCW]
test eax, eax
je 0x103d8f3
cmp esi, dword [ebx + 8]
jae 0x103d9a8
mov eax, dword [ebx + 4]
push 0x103dc08
push dword [eax + esi*4]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpCW]
test eax, eax
jne 0x103d9a8
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x103dbf8
push 0x103dba8
push 0x80000002
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 0x28
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x103d9a8
cmp dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], 1
jne 0x103d9a8
push 0x103db9c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x103d8f3
push 0x26
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x103da18
push esi
push dword [ebp - 0x658]
lea eax, [ebp - 0x2c]
push 0x14
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_Ordinal_439]
test eax, eax
jl 0x103d8f3
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
jne 0x103da85
cmp dword [ebp + 0x14], 0
je 0x103db20
and word [ebp - 0x234], 0
cmp esi, dword [ebx + 8]
jae 0x103db20
mov eax, dword [ebx + 4]
push edi
push dword [eax + esi*4]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [ebp - 0x234], 0
je 0x103db20
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
test eax, eax
mov dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification], eax
je 0x103db20
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
push 0x100badc
push dword [ebp - 0x648]
call fcn.0100dba3
test eax, eax
jl 0x103db14
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ecx, dword [eax]
lea edx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push edx
xor esi, esi
push esi
push 0x10133c4
lea edx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push edx
push 1
push esi
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x103db08
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ecx, dword [eax]
push 4
push esi
push edi
lea edx, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push edx
push eax
call dword [ecx + 0xc]
push edi
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_460]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x648]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov eax, dword [eax + 4]
test eax, eax
je 0x103db43
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x103d8f3
mov eax, dword [ebp - reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification]
mov eax, dword [eax + 8]
test eax, eax
je 0x103db66
push eax
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x103d8f3
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x103d8f3
lea eax, reloc.WINSTA.dll_WinStationUnRegisterConsoleNotification
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b01
leave
ret 0x10
xor eax, eax
jmp 0x103db88