Function at 0x100a5e8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78c
mov eax, dword [0x101803c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
mov dword [ebp - 0x680], esi
push esi
call fcn.010093fa
push esi
push dword [ebp + 0x10]
cmp al, 1
setne byte [ebp - 0x66d]
call fcn.010083bd
add esp, 0x10
test al, al
jne 0x100a632
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x688]
xor esi, esi
push eax
mov dword [ebp - 0x688], esi
call fcn.01007b66
mov edi, eax
pop ecx
mov dword [ebp - 0x674], edi
mov ebx, 0x104
cmp dword [ebp - 0x688], esi
jne 0x100afb8
cmp edi, esi
je 0x100afb8
cmp byte [0x1019778], 0
mov dword [ebp - 0x688], esi
mov byte [ebp - 0x679], 1
jne 0x100a6b6
lea ecx, [ebp - 0x688]
call fcn.01005bd9
push eax
push 0x20019
push esi
push edi
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
je 0x100a6b6
push eax
push edi
push 0x1003908
call fcn.0100d383
add esp, 0xc
mov byte [ebp - 0x679], 0
push edi
mov esi, 0x10038c8
push esi
lea eax, [ebp - 0x568]
push ebx
push eax
call fcn.0100742b
push 0x103
xor edi, edi
lea eax, [ebp - 0x25b]
push edi
push eax
mov byte [ebp - 0x25c], 0
call fcn.0100d7e0
push 0x1001398
push esi
lea eax, [ebp - 0x25c]
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x568]
mov dword [ebp - 0x78c], eax
mov eax, 0x10013a4
mov dword [ebp - 0x780], eax
mov dword [ebp - 0x76c], eax
mov dword [ebp - 0x758], eax
mov dword [ebp - 0x744], eax
mov eax, dword [ebp - 0x688]
mov esi, 0x80000002
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x738], eax
mov dword [ebp - 0x724], eax
mov dword [ebp - 0x778], ecx
mov edx, 0x1002f0c
mov ecx, 0x10013ac
mov dword [ebp - 0x714], edi
mov dword [ebp - 0x710], edi
mov dword [ebp - 0x708], edi
add esp, 0x2c
xor eax, eax
lea edi, [ebp - 0x704]
mov dword [ebp - 0x788], esi
mov byte [ebp - 0x784], 0
mov dword [ebp - 0x77c], 0x10038b0
mov dword [ebp - 0x774], esi
mov byte [ebp - 0x770], 0
mov dword [ebp - 0x768], 0x1003894
mov dword [ebp - 0x764], 0x1002f28
mov dword [ebp - 0x760], esi
mov byte [ebp - 0x75c], 0
mov dword [ebp - 0x754], 0x1003880
mov dword [ebp - 0x750], edx
mov dword [ebp - 0x74c], esi
mov byte [ebp - 0x748], 0
mov dword [ebp - 0x740], 0x1003874
mov dword [ebp - 0x73c], edx
mov byte [ebp - 0x734], 1
mov dword [ebp - 0x730], ecx
mov dword [ebp - 0x72c], 0x1003864
mov dword [ebp - 0x728], 0x1002eec
mov byte [ebp - 0x720], 1
mov dword [ebp - 0x71c], ecx
mov dword [ebp - 0x718], 0x1003858
mov byte [ebp - 0x70c], 0
stosd dword es:[edi], eax
lea eax, [ebp - 0x568]
mov dword [ebp - 0x700], eax
mov eax, 0x10013a4
mov dword [ebp - 0x6fc], esi
mov byte [ebp - 0x6f8], 0
mov dword [ebp - 0x6f4], eax
mov dword [ebp - 0x6f0], 0x10038b0
mov dword [ebp - 0x6ec], 0x1002f28
mov dword [ebp - 0x6e8], esi
mov byte [ebp - 0x6e4], 0
mov dword [ebp - 0x6e0], eax
mov dword [ebp - 0x6dc], 0x1003848
mov dword [ebp - 0x6d8], edx
mov dword [ebp - 0x6d4], esi
mov byte [ebp - 0x6d0], 0
mov dword [ebp - 0x6cc], eax
lea eax, [esi - 1]
mov dword [ebp - 0x6c0], eax
mov dword [ebp - 0x6ac], eax
xor eax, eax
lea edi, [ebp - 0x68c]
mov dword [ebp - 0x6c8], 0x1003874
mov dword [ebp - 0x6c4], edx
mov byte [ebp - 0x6bc], 1
mov dword [ebp - 0x6b8], ecx
mov dword [ebp - 0x6b4], 0x1003864
mov dword [ebp - 0x6b0], 0x1002eec
mov byte [ebp - 0x6a8], 1
mov dword [ebp - 0x6a4], ecx
mov dword [ebp - 0x6a0], 0x1003858
mov dword [ebp - 0x69c], eax
mov dword [ebp - 0x698], eax
mov byte [ebp - 0x694], al
mov dword [ebp - 0x690], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x700]
cmp byte [0x1019778], al
jne 0x100a917
lea edi, [ebp - 0x78c]
push 0x28
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x680]
call fcn.01006304
add esp, 0xc
jmp 0x100ac0e
mov al, byte [edi + 8]
test al, al
je 0x100a978
cmp byte [ebp - 0x679], 0
jne 0x100a95b
push dword [ebp - 0x680]
push dword [edi + 0x10]
push 0x10037e8
call fcn.0100d383
add esp, 0xc
jmp 0x100ac0b
test al, al
je 0x100a978
push 0x1001398
push dword [ebp - 0x674]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100ac0b
push dword [ebp - 0x680]
push dword [edi + 0x10]
push 0x10037b4
call fcn.0100d383
add esp, 0xc
cmp byte [ebp + 0x10], 0
jne 0x100ab71
push 0x10037a8
push dword [edi]
call fcn.0100da30
pop ecx
pop ecx
test eax, eax
je 0x100a9d2
mov ecx, dword [edi]
sub eax, ecx
inc eax
push eax
push ecx
push ebx
lea eax, [ebp - 0x130]
push eax
call fcn.01007385
push 0x1003798
push ebx
lea eax, [ebp - 0x130]
push eax
call fcn.010073d2
jmp 0x100a9e9
push dword [edi]
lea eax, [ebp - 0x130]
push 0x1003788
push ebx
push eax
call fcn.0100742b
add esp, 0x10
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x130]
push ecx
push eax
call fcn.01009df9
add esp, 0xc
test al, al
jne 0x100aa0b
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x130]
push 0x1003770
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1003740
call fcn.0100d383
and dword [ebp - 0x684], 0
add esp, 0x20
lea ecx, [ebp - 0x684]
call fcn.01005bd9
push eax
push 0x20019
push 0
lea eax, [ebp - 0x130]
push eax
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100aaba
push dword [edi]
lea eax, [ebp - 0x464]
push 0x1003734
push ebx
push eax
call fcn.0100742b
push dword [edi]
lea eax, [ebp - 0x130]
push 0x1003728
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x684]
push dword [edi + 4]
call fcn.010096e8
add esp, 0x34
test al, al
jne 0x100aaea
jmp 0x100aae3
cmp eax, 2
je 0x100aaea
mov eax, 0x1002c04
cmp dword [edi + 4], esi
je 0x100aace
mov eax, 0x1002dc8
lea ecx, [ebp - 0x130]
push ecx
push eax
push 0x1003710
call fcn.0100d383
add esp, 0xc
mov byte [ebp - 0x66d], 1
cmp dword [edi + 4], esi
jne 0x100ab01
push 0x10036fc
push dword [edi]
call fcn.0100da30
pop ecx
pop ecx
test eax, eax
jne 0x100ab66
mov dword [ebp - 0x678], 0x1018004
mov eax, dword [ebp - 0x678]
push dword [eax]
lea eax, [ebp - 0x130]
push dword [edi]
push 0x100321c
push ebx
push eax
call fcn.0100742b
push dword [ebp - 0x678]
lea eax, [ebp - 0x130]
push dword [ebp - 0x680]
push eax
push dword [edi + 0xc]
push dword [edi + 4]
call fcn.01008de6
add esp, 0x28
test al, al
jne 0x100ab53
mov byte [ebp - 0x66d], 1
add dword [ebp - 0x678], 0xc
cmp dword [ebp - 0x678], 0x101801c
jle 0x100ab0b
lea ecx, [ebp - 0x684]
call fcn.01005bf7
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x130]
push 0x1002980
push ebx
push eax
call fcn.0100742b
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x130]
push ecx
push eax
push 0x10036d0
call fcn.0100d383
push dword [ebp + 0x10]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x130]
push ecx
push eax
call fcn.010065a8
add esp, 0x2c
test eax, eax
jne 0x100abbf
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x130]
push 0x10036c0
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x130]
push eax
push dword [edi + 0xc]
push 0x100368c
call fcn.0100d383
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push eax
push dword [edi + 4]
call fcn.010065a8
add esp, 0x2c
test eax, eax
jne 0x100ac0b
mov byte [ebp - 0x66d], 1
add edi, 0x14
cmp dword [edi], 0
jne 0x100a930
mov eax, dword [ebp - 0x680]
test eax, eax
jne 0x100ac26
mov eax, 0x10017b0
push eax
push 0x1003650
call fcn.0100d383
cmp byte [ebp + 0x10], 0
pop ecx
pop ecx
mov edi, 0x1002f28
jne 0x100adc8
push dword [ebp - 0x674]
lea eax, [ebp - 0x130]
push edi
push 0x1003628
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.01009df9
add esp, 0x20
test al, al
jne 0x100ac7a
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x674]
lea eax, [ebp - 0x130]
push edi
push 0x10035fc
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1003740
call fcn.0100d383
and dword [ebp - 0x684], 0
add esp, 0x24
lea ecx, [ebp - 0x684]
call fcn.01005bd9
push eax
push 0x20019
push 0
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100ad34
push dword [ebp - 0x674]
lea eax, [ebp - 0x464]
push edi
push 0x10035d8
push ebx
push eax
call fcn.0100742b
push dword [ebp - 0x674]
lea eax, [ebp - 0x130]
push edi
push 0x10035b8
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x684]
push esi
call fcn.010096e8
add esp, 0x3c
test al, al
jne 0x100ad53
jmp 0x100ad4c
cmp eax, 2
je 0x100ad53
lea eax, [ebp - 0x130]
push eax
push 0x100359c
call fcn.0100d383
pop ecx
pop ecx
mov byte [ebp - 0x66d], 1
mov dword [ebp - 0x678], 0x1018004
mov eax, dword [ebp - 0x678]
push dword [eax]
lea eax, [ebp - 0x130]
push dword [ebp - 0x674]
push edi
push 0x1003580
push ebx
push eax
call fcn.0100742b
push dword [ebp - 0x678]
lea eax, [ebp - 0x130]
push dword [ebp - 0x680]
push eax
push 0x10013a4
push esi
call fcn.01008de6
add esp, 0x2c
test al, al
jne 0x100adaa
mov byte [ebp - 0x66d], 1
add dword [ebp - 0x678], 0xc
cmp dword [ebp - 0x678], 0x101801c
jle 0x100ad5d
lea ecx, [ebp - 0x684]
call fcn.01005bf7
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x674]
lea eax, [ebp - 0x130]
push edi
push 0x100355c
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x130]
push eax
push 0x1002c04
push 0x10036d0
call fcn.0100d383
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.010065a8
add esp, 0x30
test eax, eax
jne 0x100ae19
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x674]
lea eax, [ebp - 0x130]
push edi
push 0x1003538
push ebx
push eax
call fcn.0100742b
lea eax, [ebp - 0x130]
push eax
push 0x1002c04
push 0x100368c
call fcn.0100d383
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.010065a8
add esp, 0x30
test eax, eax
jne 0x100ae6a
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x2c]
push eax
push 0x10034f8
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.0100742b
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.010065a8
add esp, 0x1c
test eax, eax
jne 0x100ae9e
mov byte [ebp - 0x66d], 1
cmp byte [ebp + 0x10], 0
mov edi, 0x10034b4
jne 0x100aec6
cmp byte [ebp + 0x14], 0
jne 0x100aec6
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.010085cd
pop ecx
pop ecx
test al, al
jne 0x100aec6
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x674]
lea eax, [ebp - 0x130]
push 0x1003468
push ebx
push eax
call fcn.0100742b
push dword [ebp + 0x10]
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.010065a8
add esp, 0x20
test eax, eax
jne 0x100af00
mov byte [ebp - 0x66d], 1
push dword [ebp - 0x674]
lea eax, [ebp - 0x130]
push 0x1003418
push ebx
push eax
call fcn.0100742b
add esp, 0x10
cmp byte [ebp + 0x10], 0
jne 0x100af44
cmp byte [ebp + 0x14], 0
jne 0x100af44
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.010085cd
pop ecx
pop ecx
test al, al
jne 0x100af44
mov byte [ebp - 0x66d], 1
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.01006a34
add esp, 0xc
test al, al
jne 0x100af65
mov byte [ebp - 0x66d], 1
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.01006a34
add esp, 0xc
test al, al
jne 0x100af80
mov byte [ebp - 0x66d], 1
cmp byte [ebp + 0x10], 0
mov eax, 0x180
je 0x100af8e
add eax, 8
push dword [ebp + 0x14]
push dword [ebp - 0x680]
push eax
call fcn.01008ae8
add esp, 0xc
test al, al
jne 0x100afab
mov byte [ebp - 0x66d], 1
lea ecx, [ebp - 0x688]
call fcn.01005bf7
jmp 0x100afd1
push dword [ebp - 0x688]
push 0x10032ac
call fcn.0100d383
pop ecx
pop ecx
mov byte [ebp - 0x66d], 1
push 0x27
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x680]
call fcn.01006304
add esp, 0xc
push ebx
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x100b08a
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x66c]
push eax
push 0x10033f0
lea eax, [ebp - 0x360]
push ebx
push eax
call fcn.0100742b
add esp, 0x14
test eax, eax
jl 0x100b041
push dword [ebp + 0x10]
lea eax, [ebp - 0x360]
push eax
call fcn.01007ec3
pop ecx
pop ecx
test eax, eax
jne 0x100b041
mov byte [ebp - 0x66d], 1
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x674]
lea eax, [ebp - 0x66c]
push eax
push 0x10033c4
lea eax, [ebp - 0x360]
push ebx
push eax
call fcn.0100742b
add esp, 0x18
test eax, eax
jl 0x100b08a
push dword [ebp + 0x10]
lea eax, [ebp - 0x360]
push eax
call fcn.01007ec3
pop ecx
pop ecx
test eax, eax
jne 0x100b08a
mov byte [ebp - 0x66d], 1
mov ecx, dword [ebp - 4]
xor eax, eax
cmp byte [ebp - 0x66d], al
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.0100d419
leave
ret