Function at 0x2101e117
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2107a748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
lea ecx, [ebp - 0x7c]
call fcn.210496b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.21048e80
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], 0
mov eax, dword [str.SharedDlls]
push eax
mov ecx, dword [0x2108e978]
push ecx
push 0x2108cd24
push 0x80000002
lea edx, [ebp - 0x7c]
push edx
call fcn.21049b96
add esp, 0x14
test eax, eax
jne 0x2101e1b8
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0x2107dc80
lea ecx, [ebp - 0x44]
call fcn.21049735
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.21049735
mov eax, dword [ebp - 0x2b8]
jmp 0x2101e3b0
xor eax, eax
cmp dword [ebp - 0x38], 0
setne al
test eax, eax
jne 0x2101e1fc
mov dword [ebp - 0x2bc], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0x2107dc80
lea ecx, [ebp - 0x44]
call fcn.21049735
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.21049735
mov eax, dword [ebp - 0x2bc]
jmp 0x2101e3b0
push 0
lea ecx, [ebp - 0xa0]
call fcn.21047bb6
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.21047d94
mov dword [ebp - 0xa4], eax
jmp 0x2101e235
lea ecx, [ebp - 0xa0]
call fcn.21047df7
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x2101e301
push 0x2109b668
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
push eax
call fcn.2105e86f
add esp, 8
test eax, eax
je 0x2101e25f
jmp 0x2101e224
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x2b4], edx
jmp 0x2101e28f
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.2105e7d8
add esp, 4
mov ecx, dword [ebp - 0x2b4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
xor ecx, ecx
mov cx, word [eax]
test ecx, ecx
je 0x2101e2fc
mov edx, dword [ebp - 0x2b4]
push edx
call fcn.2101ccd9
add esp, 4
test eax, eax
jne 0x2101e2b3
jmp 0x2101e270
push 0x104
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x2b4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.210153c3
add esp, 0x10
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.2101e519
add esp, 0xc
mov ecx, dword [ebp - 0xa8]
add ecx, eax
mov dword [ebp - 0xa8], ecx
jmp 0x2101e270
jmp 0x2101e224
cmp dword [0x2109c230], 0
je 0x2101e363
push 0x104
lea edx, [ebp - 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x104
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [str.fppr432.dll]
push ecx
lea edx, [ebp - 0x2b0]
push edx
call fcn.210153c3
add esp, 0x10
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.2101e519
add esp, 0xc
mov ecx, dword [ebp - 0xa8]
add ecx, eax
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 4], 1
mov dword [ebp - 0xa0], 0x2107dc84
lea ecx, [ebp - 0x94]
call fcn.2102d2fe
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0x2107dc80
lea ecx, [ebp - 0x44]
call fcn.21049735
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.21049735
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret