Function at 0x483bd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4acd80
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dc104]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, 0x400
push 0x800
mov dword [esp + 0x20], 0x54f
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov byte [esp + 0x3c], 1
call fcn.00489dc2
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x483c39
push 0x800
push ebx
push edi
call fcn.0048ad80
add esp, 0xc
mov dword [esp + 0x30], edi
mov dword [esp + 0x68], ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x800
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov byte [esp + 0x60], 1
call fcn.00489dc2
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
cmp ebp, ebx
je 0x483c7c
push 0x800
push ebx
push ebp
call fcn.0048ad80
add esp, 0xc
mov dword [esp + 0x54], ebp
mov byte [esp + 0x68], 1
push 0x800
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov byte [esp + 0x54], 1
call fcn.00489dc2
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x483cb4
push 0x800
push ebx
push edi
call fcn.0048ad80
add esp, 0xc
mov dword [esp + 0x48], edi
mov byte [esp + 0x68], 2
push 0x800
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov byte [esp + 0x48], 1
call fcn.00489dc2
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x483cec
push 0x800
push ebx
push esi
call fcn.0048ad80
add esp, 0xc
mov dword [esp + 0x3c], esi
mov byte [esp + 0x68], 3
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push ecx
call fcn.00483550
mov edx, dword [esp + 0x84]
push esi
push edx
call fcn.00483620
mov eax, dword [esp + 0x8c]
push edi
push eax
call fcn.004836a0
add esp, 0x1c
lea ecx, [esp + 0x28]
call fcn.0041dcb6
mov byte [esp + 0x68], 4
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ecx
push edx
push ebp
call fcn.00486120
add esp, 0xc
test al, al
je 0x483f13
mov dword [esp + 0x14], ebx
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x483d69
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x483eea
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push edi
push str.ImagePath
push ecx
call fcn.004861f0
mov edx, dword [esp + 0x28]
push ebx
push ebx
push 1
push 0x4bfa30
push edx
call fcn.00486300
mov eax, dword [esp + 0x3c]
push ebx
push ebx
push 1
push str.Start
push eax
call fcn.00486300
mov ecx, dword [esp + 0x50]
push ebx
push ebx
push 1
push str.ErrorControl
push ecx
call fcn.00486300
mov edx, dword [esp + 0x64]
add esp, 0x50
push ebx
push ebx
push str.FSFilter_Content_Screener
push str.Group
push edx
call fcn.004861f0
mov eax, dword [esp + 0x28]
push str.FltMgr
push str.DependOnService
push eax
call fcn.004864b0
add esp, 0x20
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x68], 6
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.Instances
push edx
call ebp
test eax, eax
jne 0x483ecb
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
push eax
push str.DefaultInstance
push ecx
call fcn.004861f0
add esp, 0x14
mov dword [esp + 0x18], ebx
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push ecx
call ebp
test eax, eax
jne 0x483eac
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
push ebx
push ebx
push edx
push str.Altitude
push eax
call fcn.004861f0
mov ecx, dword [esp + 0x2c]
push ebx
push ebx
push ebx
push str.Flags
push ecx
call fcn.00486300
mov edx, dword [esp + 0x40]
add esp, 0x28
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [esp + 0x68], 6
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x483ecb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x483eea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x483efe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x78]
push edx
call fcn.00483a60
mov ebp, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 3
lea ecx, [esp + 0x28]
call fcn.0041dce5
mov byte [esp + 0x68], 2
cmp esi, ebx
je 0x483f37
push esi
call fcn.00489ca5
add esp, 4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x68], 1
cmp edi, ebx
je 0x483f51
push edi
call fcn.00489ca5
add esp, 4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x68], bl
cmp ebp, ebx
je 0x483f6a
push ebp
call fcn.00489ca5
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x483f8b
push eax
call fcn.00489ca5
add esp, 4
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret