Function at 0x21018c82
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2106fdbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
lea ecx, [ebp - 0x278]
call fcn.21062e6a
mov dword [ebp - 4], 0
mov eax, dword [0x21085bf0]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 1
push 0
push 6
lea ecx, [ebp - 0x160]
call fcn.2103c800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.21026c90
mov dword [ebp - 0x160], 0x210737fc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
call fcn.2103ef35
mov dword [ebp - 0x118], eax
mov ecx, dword [0x21085bf0]
mov dword [ebp - 0x384], ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x27c], 1
mov dword [ebp - 0x388], 0
jmp 0x21018d33
mov edx, dword [ebp - 0x388]
add edx, 1
mov dword [ebp - 0x388], edx
mov eax, dword [ebp - 0x388]
cmp eax, dword [ebp - 0x118]
jge 0x21018e18
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x3ac], ecx
push 0x2108a46c
mov edx, dword [ebp - 0x3ac]
push edx
lea ecx, [ebp - 0x278]
call fcn.21063046
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x388]
push ecx
lea ecx, [ebp - 0x160]
call fcn.2103efa4
test eax, eax
jne 0x21018d8d
jmp 0x21018d24
push 1
lea edx, [ebp - 0x380]
push edx
push 0
mov eax, dword [ebp - 0x114]
push eax
call fcn.21023a17
test eax, eax
jne 0x21018dad
jmp 0x21018d24
lea ecx, [ebp - 0x380]
push ecx
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x388]
lea ecx, [edx + eax*4]
call fcn.21063b98
mov ecx, dword [ebp - 0x384]
xor edx, edx
cmp dword [ecx - 8], 0
sete dl
test edx, edx
je 0x21018def
lea eax, [ebp - 0x380]
push eax
lea ecx, [ebp - 0x384]
call fcn.21063b98
jmp 0x21018e13
lea ecx, [ebp - 0x380]
push ecx
mov edx, dword [ebp - 0x384]
push edx
call fcn.21053d90
add esp, 8
test eax, eax
je 0x21018e13
mov dword [ebp - 0x27c], 0
jmp 0x21018d24
cmp dword [ebp - 0x27c], 0
je 0x21018e4d
cmp dword [ebp - 0x118], 0
jle 0x21018e4d
mov dword [ebp - 0x118], 1
lea eax, [ebp - 0x384]
push eax
xor ecx, ecx
shl ecx, 2
mov edx, dword [ebp - 0x274]
add ecx, edx
call fcn.21063b48
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 0
je 0x21018e70
cmp dword [ebp - 0x3b4], 1
je 0x21018ee1
jmp 0x210190ce
mov dword [ebp - 0x394], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
call fcn.21063a5b
mov byte [ebp - 4], 1
mov dword [ebp - 0x160], 0x210737fc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x134]
call fcn.21026d5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.2103c85b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.21063a5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.21062e9d
mov eax, dword [ebp - 0x394]
jmp 0x21019458
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.210134f1
push 1
lea ecx, [ebp - 0x110]
push ecx
call fcn.21014849
push 0x104
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.210134f1
push 0x21080664
lea edx, [ebp - 0x110]
push edx
call fcn.210537c0
add esp, 8
mov byte [ebp - 0x264], 0
push 0x104
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
lea ecx, [ebp - 0x264]
push ecx
push 0x2108066c
lea edx, [ebp - 0x264]
push edx
call fcn.210134f1
push 0x2108067c
lea eax, [ebp - 0x380]
push eax
call fcn.210537b0
add esp, 8
push 1
lea ecx, [ebp - 0x380]
push ecx
call fcn.21053c40
add esp, 4
lea edx, [ebp + eax - 0x380]
push edx
push 0
call fcn.210239da
test eax, eax
jne 0x21019014
mov dword [ebp - 0x398], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
call fcn.21063a5b
mov byte [ebp - 4], 1
mov dword [ebp - 0x160], 0x210737fc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x134]
call fcn.21026d5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.2103c85b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.21063a5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.21062e9d
mov eax, dword [ebp - 0x398]
jmp 0x21019458
push 0x21080684
lea eax, [ebp - 0x380]
push eax
call fcn.210537c0
add esp, 8
push 0
push 0
push 1
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x380]
push edx
push 1
push 0
push 0x21080688
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.210469b3
test eax, eax
jne 0x210190c9
mov dword [ebp - 0x39c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
call fcn.21063a5b
mov byte [ebp - 4], 1
mov dword [ebp - 0x160], 0x210737fc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x134]
call fcn.21026d5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.2103c85b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.21063a5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.21062e9d
mov eax, dword [ebp - 0x39c]
jmp 0x21019458
jmp 0x210193ec
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.210134f1
push 1
push 1
lea ecx, [ebp - 0x110]
push ecx
call fcn.2101485f
push 0x21080698
lea edx, [ebp - 0x110]
push edx
call fcn.210537c0
add esp, 8
push 1
lea eax, [ebp - 0x110]
push eax
call fcn.210146fc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.210134f1
push 1
lea ecx, [ebp - 0x110]
push ecx
call fcn.2101443d
test eax, eax
jne 0x210191b5
mov dword [ebp - 0x3a0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
call fcn.21063a5b
mov byte [ebp - 4], 1
mov dword [ebp - 0x160], 0x210737fc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x134]
call fcn.21026d5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.2103c85b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.21063a5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.21062e9d
mov eax, dword [ebp - 0x3a0]
jmp 0x21019458
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x11c]
call fcn.21063b98
mov dword [ebp - 0x388], 0
jmp 0x210191e2
mov eax, dword [ebp - 0x388]
add eax, 1
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x388]
cmp ecx, dword [ebp - 0x118]
jge 0x210193ec
mov edx, dword [ebp - 0x274]
mov eax, dword [ebp - 0x388]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x390], ecx
mov edx, dword [ebp - 0x390]
mov eax, dword [edx]
xor ecx, ecx
cmp dword [eax - 8], 0
sete cl
test ecx, ecx
je 0x21019220
jmp 0x210191d3
push 0
push 0
push 0
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x388]
push eax
lea ecx, [ebp - 0x160]
call fcn.2103efa4
test eax, eax
jne 0x21019245
jmp 0x210191d3
mov ecx, dword [0x21085bf0]
mov dword [ebp - 0x38c], ecx
mov byte [ebp - 4], 9
push 0x2acb
call fcn.21048e15
test eax, eax
je 0x21019280
mov edx, dword [ebp - 0x114]
push edx
push 0x2acb
lea eax, [ebp - 0x38c]
push eax
call fcn.210628a1
add esp, 0xc
jmp 0x21019292
mov ecx, dword [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x38c]
call fcn.21063b98
push 0x104
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call fcn.210134f1
push 0x210806a0
lea edx, [ebp - 0x110]
push edx
call fcn.210537c0
add esp, 8
mov byte [ebp - 0x264], 0
push 0x104
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
lea ecx, [ebp - 0x264]
push ecx
push 0x210806a8
lea edx, [ebp - 0x264]
push edx
call fcn.210134f1
mov eax, dword [ebp - 0x390]
mov ecx, dword [eax]
mov dword [ebp - 0x3b0], ecx
mov edx, dword [ebp - 0x3b0]
push edx
push str._e___s_
lea eax, [ebp - 0x380]
push eax
call fcn.2105374f
add esp, 0xc
push 0
push 0
push 1
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x380]
push edx
push 1
push 0
push 0x210806c0
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
call fcn.210469b3
test eax, eax
jne 0x210193d8
mov dword [ebp - 0x3a4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38c]
call fcn.21063a5b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
call fcn.21063a5b
mov byte [ebp - 4], 1
mov dword [ebp - 0x160], 0x210737fc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x134]
call fcn.21026d5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.2103c85b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.21063a5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.21062e9d
mov eax, dword [ebp - 0x3a4]
jmp 0x21019458
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38c]
call fcn.21063a5b
jmp 0x210191d3
mov dword [ebp - 0x3a8], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x384]
call fcn.21063a5b
mov byte [ebp - 4], 1
mov dword [ebp - 0x160], 0x210737fc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x134]
call fcn.21026d5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.2103c85b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.21063a5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.21062e9d
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc