Function at 0x2101b172
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2106ff2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
lea ecx, [ebp - 0x7c]
call fcn.21041200
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.210409d0
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], 0
mov eax, dword [0x210805b0]
push eax
mov ecx, dword [0x210819a8]
push ecx
push 0x21080880
push 0x80000002
lea edx, [ebp - 0x7c]
push edx
call fcn.210416e3
add esp, 0x14
test eax, eax
jne 0x2101b213
mov dword [ebp - 0x1b4], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0x21073c40
lea ecx, [ebp - 0x44]
call fcn.21041285
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.21041285
mov eax, dword [ebp - 0x1b4]
jmp 0x2101b3f7
xor eax, eax
cmp dword [ebp - 0x38], 0
setne al
test eax, eax
jne 0x2101b257
mov dword [ebp - 0x1b8], 0
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0x21073c40
lea ecx, [ebp - 0x44]
call fcn.21041285
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.21041285
mov eax, dword [ebp - 0x1b8]
jmp 0x2101b3f7
push 0
lea ecx, [ebp - 0xa0]
call fcn.2103f4af
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.2103f68d
mov dword [ebp - 0xa4], eax
jmp 0x2101b290
lea ecx, [ebp - 0xa0]
call fcn.2103f6f0
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x2101b34e
push 0x2108a964
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
push eax
call fcn.21053d90
add esp, 8
test eax, eax
je 0x2101b2ba
jmp 0x2101b27f
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1b0], edx
jmp 0x2101b2ea
mov eax, dword [ebp - 0x1b0]
push eax
call fcn.21053c40
add esp, 4
mov ecx, dword [ebp - 0x1b0]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1b0], edx
mov eax, dword [ebp - 0x1b0]
movsx ecx, byte [eax]
test ecx, ecx
je 0x2101b349
mov edx, dword [ebp - 0x1b0]
push edx
call fcn.21019dfe
test eax, eax
jne 0x2101b309
jmp 0x2101b2cb
push 0x104
lea eax, [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x1b0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.210134f1
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.2101b561
mov ecx, dword [ebp - 0xa8]
add ecx, eax
mov dword [ebp - 0xa8], ecx
jmp 0x2101b2cb
jmp 0x2101b27f
cmp dword [0x2108afc4], 0
je 0x2101b3aa
push 0x104
lea edx, [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [ebp - 0x1ac]
push eax
mov ecx, dword [str.fppr332.dll]
push ecx
lea edx, [ebp - 0x1ac]
push edx
call fcn.210134f1
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.2101b561
mov ecx, dword [ebp - 0xa8]
add ecx, eax
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x1bc], edx
mov byte [ebp - 4], 1
mov dword [ebp - 0xa0], 0x21073c44
lea ecx, [ebp - 0x94]
call fcn.21026d5e
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0x21073c40
lea ecx, [ebp - 0x44]
call fcn.21041285
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.21041285
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8