Function at 0x44bba0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e20f
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x46972c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa88], ecx
xor eax, eax
mov word [ebp - 0xa5c], ax
push 0x206
push 0
lea ecx, [ebp - 0xa5a]
push ecx
call fcn.00422660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00422660
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x63c], cx
push 0x206
push 0
lea edx, [ebp - 0x63a]
push edx
call fcn.00422660
add esp, 0xc
xor eax, eax
mov word [ebp - 0x84c], ax
push 0x206
push 0
lea ecx, [ebp - 0x84a]
push ecx
call fcn.00422660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x42c], dx
push 0x206
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.00422660
add esp, 0xc
lea ecx, [ebp - 0x850]
call fcn.00401be0
mov dword [ebp - 4], 0
mov byte [ebp - 0xa5d], 0
mov dword [ebp - 0x430], 0
push 0x45d650
lea ecx, [ebp - 0x63c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x63c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0
jne 0x44bce8
mov dword [ebp - 0xa64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa64]
jmp 0x44c365
mov ecx, dword [ebp - 0x640]
sub ecx, dword [ebp + 8]
sar ecx, 1
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp - 0x434]
add edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor edx, edx
mov eax, dword [ebp - 0x434]
mov word [ebp + eax*2 - 0x218], dx
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x220]
sub edx, 1
push edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 + 2]
push edx
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x45d654
lea ecx, [ebp - 0xa5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x45d658
lea ecx, [ebp - 0x63c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x63c]
push edx
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x640], eax
mov ecx, dword [ebp - 0x640]
lea edx, [ebp - 0xa5c]
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x434], ecx
mov eax, dword [ebp - 0x434]
add eax, 1
push eax
lea ecx, [ebp - 0xa5c]
push ecx
lea edx, [ebp - 0x84c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0x434]
lea ecx, [ebp + eax*2 - 0xa5c]
push ecx
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
push 0
lea eax, [ebp - 0x63c]
push eax
call fcn.00422660
add esp, 0xc
lea ecx, [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x850]
call fcn.00401a60
lea ecx, [ebp - 0x850]
call fcn.004012f0
push 0x45d65c
lea edx, [ebp - 0xa5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44be9d
lea ecx, [ebp - 0x42c]
push ecx
push 0x45d670
push 0x45d678
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xa68], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa68]
jmp 0x44c365
push str._WINSYSDISK_
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea ecx, [ebp - 0xa5c]
push ecx
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44bf0d
lea edx, [ebp - 0x42c]
push edx
push 0x45d6a0
push 0x45d6a8
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xa6c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa6c]
jmp 0x44c365
push str._PROGRAMFILES
lea ecx, [ebp - 0xa5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea edx, [ebp - 0xa5c]
push edx
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44bf49
mov dword [ebp - 0x430], 0x26
mov byte [ebp - 0xa5d], 1
movzx eax, byte [ebp - 0xa5d]
test eax, eax
jne 0x44bf90
push str._WINDIR
lea ecx, [ebp - 0xa5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea edx, [ebp - 0xa5c]
push edx
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44bf90
mov dword [ebp - 0x430], 0x24
mov byte [ebp - 0xa5d], 1
movzx eax, byte [ebp - 0xa5d]
test eax, eax
jne 0x44c00b
push str.WINSYSDIRX86
lea ecx, [ebp - 0xa5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea edx, [ebp - 0xa5c]
push edx
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44c00b
lea eax, [ebp - 0x42c]
push eax
push 0x45d6fc
push 0x45d724
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xa70], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa70]
jmp 0x44c365
movzx edx, byte [ebp - 0xa5d]
test edx, edx
jne 0x44c086
push str._WINSYSDIR
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea ecx, [ebp - 0xa5c]
push ecx
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44c086
lea edx, [ebp - 0x42c]
push edx
push str.C:WindowsSystem32
push 0x45d770
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xa74], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa74]
jmp 0x44c365
movzx ecx, byte [ebp - 0xa5d]
test ecx, ecx
jne 0x44c101
push str._WINSYSDIRDRIVERS_
lea edx, [ebp - 0xa5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44c101
lea ecx, [ebp - 0x42c]
push ecx
push str.C:WindowsSystem32Drivers
push 0x45d7dc
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xa78], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa78]
jmp 0x44c365
movzx eax, byte [ebp - 0xa5d]
test eax, eax
jne 0x44c17c
push str._DRIVERS_
lea ecx, [ebp - 0xa5c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea edx, [ebp - 0xa5c]
push edx
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44c17c
lea eax, [ebp - 0x42c]
push eax
push 0x45d7fc
push 0x45d834
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xa7c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa7c]
jmp 0x44c365
movzx edx, byte [ebp - 0xa5d]
test edx, edx
jne 0x44c1f7
push str._DRIVERSX86_
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea ecx, [ebp - 0xa5c]
push ecx
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44c1f7
lea edx, [ebp - 0x42c]
push edx
push str.C:WindowsSystem32drivers
push str._s_s
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0xa80], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa80]
jmp 0x44c365
movzx ecx, byte [ebp - 0xa5d]
test ecx, ecx
jne 0x44c23e
push str._COMMONFILESDIR
lea edx, [ebp - 0xa5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44c23e
mov dword [ebp - 0x430], 0x2b
mov byte [ebp - 0xa5d], 1
movzx ecx, byte [ebp - 0xa5d]
test ecx, ecx
jne 0x44c285
push str._FONTDIR
lea edx, [ebp - 0xa5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0x850]
call fcn.00401270
cmp eax, 0xffffffff
je 0x44c285
mov dword [ebp - 0x430], 0x14
mov byte [ebp - 0xa5d], 1
cmp dword [ebp - 0x430], 0
je 0x44c2d5
lea ecx, [ebp - 0x21c]
push ecx
push 1
push 0
mov edx, dword [ebp - 0x430]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x21c]
push edx
push 0x45d8d4
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0xa5c]
push ecx
call fcn.00422660
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x63c]
push edx
call fcn.00422660
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00422660
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x84c]
push ecx
call fcn.00422660
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x42c]
push edx
call fcn.00422660
add esp, 0xc
mov dword [ebp - 0xa84], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x850]
call fcn.00401a80
mov eax, dword [ebp - 0xa84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422647
mov esp, ebp
pop ebp
ret 8