Function at 0x434d90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485afd
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x10], 0x104
push 0x490228
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415950
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x434e29
push 0x104
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e440
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x128]
or ecx, 1
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp + 8]
jmp 0x4350db
push 0x49022c
mov edx, dword [ebp + 0xc]
push edx
call fcn.00415950
add esp, 8
movzx eax, al
test eax, eax
je 0x434e80
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e440
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x128]
or eax, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 8]
jmp 0x4350db
push 0x490230
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00415950
add esp, 8
movzx edx, al
test edx, edx
je 0x434ed7
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e440
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x128]
or edx, 1
mov dword [ebp - 0x128], edx
mov eax, dword [ebp + 8]
jmp 0x4350db
push 0x490234
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415950
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x434f42
push 0x104
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Fonts
lea eax, [ebp - 0x11c]
push eax
call fcn.0046a840
add esp, 8
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e440
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x128]
or edx, 1
mov dword [ebp - 0x128], edx
mov eax, dword [ebp + 8]
jmp 0x4350db
push str.66000
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415950
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x435005
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x1c]
call fcn.00430e80
mov dword [ebp - 4], 1
call fcn.00430380
movzx ecx, al
test ecx, ecx
je 0x434fd0
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x124]
call fcn.0040e3e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x124]
push edx
push str._s_d
lea eax, [ebp - 0x120]
push eax
call fcn.00412a80
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.0040e4c0
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e3e0
mov edx, dword [ebp - 0x128]
or edx, 1
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.0040e4c0
mov eax, dword [ebp + 8]
jmp 0x4350db
push str.66001
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415950
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x435062
lea edx, [ebp - 0x10]
push edx
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push 0
call sub.WINSPOOL.DRV_GetPrintProcessorDirectoryA
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e440
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x128]
or edx, 1
mov dword [ebp - 0x128], edx
mov eax, dword [ebp + 8]
jmp 0x4350db
push str.66002
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415950
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4350b6
push 0x104
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e440
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x128]
or ecx, 1
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp + 8]
jmp 0x4350db
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e3e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x128]
or eax, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 8