Function at 0x2101d9a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2107013c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x1c
call fcn.210468c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], 0x21073c54
push 0x104
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 4], edx
push 0x104
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
mov byte [edx], 0
push 0x104
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
mov byte [eax], 0
push 0x104
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov byte [ecx], 0
push 0x104
call fcn.210636c3
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
mov byte [edx], 0
cmp dword [0x2108afc4], 0
je 0x2101db93
lea eax, [ebp - 0x10]
push eax
push 0x104
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
push edx
push 1
mov eax, dword [0x21081818]
push eax
push 0
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryA
push 0x104
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
push edx
push str.2333
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
push ecx
call fcn.210134f1
lea edx, [ebp - 0x10]
push edx
push 0x104
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
push ecx
push 1
mov edx, dword [0x21081818]
push edx
push 0
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryA
push 0x104
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
push ecx
push 0x21080fac
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
push eax
call fcn.210134f1
lea ecx, [ebp - 0x10]
push ecx
push 0x104
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
push eax
push 1
mov ecx, dword [0x2108181c]
push ecx
push 0
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryA
test eax, eax
je 0x2101db53
push 0x104
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
push eax
push 0x21080fb0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x10]
push edx
call fcn.210134f1
lea eax, [ebp - 0x10]
push eax
push 0x104
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
push edx
push 1
mov eax, dword [0x21081820]
push eax
push 0
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryA
test eax, eax
je 0x2101db93
push 0x104
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
push edx
push 0x21080fb4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x14]
push ecx
call fcn.210134f1
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret