Function at 0x41af30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482150
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4b185c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x160], ecx
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.00413320
push 0x48e218
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x120]
call fcn.0040e440
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x168]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x170]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.0040e4c0
push 0x48e230
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x128]
call fcn.0040e440
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x178]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x180]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.0040e4c0
push str._spooldriversWIN400
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x130]
call fcn.0040e440
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x188], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x190]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e300
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x134]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.0040e4c0
push str._spooldriversw32x862
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x138]
call fcn.0040e440
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x198]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e300
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x13c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.0040e4c0
push str._spooldriversw32x863
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x140]
call fcn.0040e440
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1b0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e300
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x144]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.0040e4c0
push str._spooldriversx643
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x148]
call fcn.0040e440
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1b8]
push ecx
lea edx, [ebp - 0x14c]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1c0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e300
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.0040e4c0
mov edx, dword [ebp + 8]
push edx
push str._spooldriversw32x86
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x150]
call fcn.0040e440
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x1c8]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x1d0]
push edx
mov ecx, dword [ebp - 0x160]
call fcn.0041b410
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x154]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.0040e4c0
mov eax, dword [ebp + 8]
push eax
push str._spooldriversx64
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x158]
call fcn.0040e440
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [ebp - 0x160]
call fcn.0041b410
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x15c]
call fcn.0040e4c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.0040e4c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a0d3
mov esp, ebp
pop ebp
ret 4