Function at 0x55099a
Capabilities:
Get common file path

Disassembly:
push 0x588
mov eax, 0x5e9e7c
call fcn.00523519
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x554], eax
mov eax, dword [ebp + 0x14]
mov ecx, 0x94
lea esi, [ebp + 0x1c]
lea edi, [ebp - 0x550]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x260]
mov dword [ebp - 0x594], ebx
mov dword [ebp - 0x558], eax
call fcn.0041212f
and dword [ebp - 4], 0
lea ecx, [ebx + 0x27c]
call fcn.0041212f
lea ecx, [ebx + 0x298]
call fcn.0041212f
lea ecx, [ebx + 0x2b4]
call fcn.0041212f
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov ecx, 0x94
lea esi, [ebp - 0x550]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
xor esi, esi
push esi
push dword [ebp - 0x558]
lea ecx, [ebx + 0x260]
mov dword [ebx + 0x25c], eax
mov dword [ebx + 0x2d0], esi
call fcn.004106e6
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 7
call fcn.00410c09
push 1
push esi
push esi
mov byte [ebp - 4], 4
push dword [ebx + 0x1c]
call fcn.00523af0
mov ecx, dword [ebx + 0x20]
xor edi, edi
add eax, ecx
mov dword [ebx + 0x250], eax
mov eax, dword [ebx + 0x25c]
adc edx, edi
cmp eax, 3
mov dword [ebx + 0x254], edx
jne 0x550aec
lea eax, [ebx + 0x2c]
push eax
lea ecx, [ebp - 0x590]
call fcn.004120e9
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.004486bd
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.004106e6
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00410779
push esi
push 1
lea ecx, [ebp - 0x590]
mov byte [ebp - 4], 4
call fcn.00410779
push dword [ebp - 0x554]
lea ecx, [ebx + 0x2b4]
call fcn.0041ce0a
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x48]
call fcn.0056fea1
pop ecx
jmp 0x550d83
mov eax, ebx
call fcn.0044d7d8
test al, al
je 0x550c42
mov edi, 0x2b4
push edi
lea eax, [ebp - 0x300]
push esi
push eax
call fcn.00522720
mov eax, dword [ebp - 0x554]
add esp, 0xc
cmp dword [eax + 0x14], esi
lea eax, [ebx + 0x2c]
lea ecx, [ebp - 0x2c]
push eax
je 0x550b46
call fcn.004120e9
mov byte [ebp - 4], 7
push dword [ebp - 0x554]
mov edx, eax
lea ecx, [ebp - 0x590]
call fcn.0056f47f
pop ecx
mov byte [ebp - 4], 8
jmp 0x550b5f
call fcn.004120e9
push eax
lea ecx, [ebp - 0x590]
mov byte [ebp - 4], 9
call fcn.00414413
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebx + 0x2b4]
call fcn.0041ce0a
push esi
push 1
lea ecx, [ebp - 0x590]
call fcn.00410779
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00410779
mov eax, dword [ebp - 0x52c]
cmp eax, 4
je 0x550bbb
cmp eax, 2
je 0x550bbb
cmp eax, 1
je 0x550bbb
push 0x713
push edi
lea eax, [ebp - 0x300]
push eax
push 0x10
lea eax, [ebx + 0x2c]
push eax
call dword [0x71f6d8]
jmp 0x550d83
cmp eax, 4
mov dword [ebp - 0x554], esi
jne 0x550bd1
lea eax, [ebp - 0x554]
push eax
push 0x12
jmp 0x550bef
cmp eax, 2
jne 0x550be1
lea eax, [ebp - 0x554]
push eax
push 0x10
jmp 0x550bef
cmp eax, 1
jne 0x550bfa
lea eax, [ebp - 0x554]
push eax
push 5
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, esi
jl 0x550c31
push 0x309
push edi
lea eax, [ebp - 0x300]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x554]
call dword [0x71f6d8]
cmp eax, esi
jge 0x550c31
push 0x104
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.00520e6b
add esp, 0xc
push dword [ebp - 0x554]
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x550d83
lea eax, [ebx + 0x2c]
push eax
lea ecx, [ebp - 0x574]
call fcn.004120e9
push eax
lea eax, [ebp - 0x590]
push eax
mov byte [ebp - 4], 0xb
call fcn.004486bd
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.004106e6
push esi
push 1
lea ecx, [ebp - 0x590]
call fcn.00410779
push esi
push 1
lea ecx, [ebp - 0x574]
mov byte [ebp - 4], 4
call fcn.00410779
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebx + 0x2b4]
call fcn.004106e6
mov edi, 0x2b4
push edi
lea eax, [ebp - 0x300]
push esi
push eax
call fcn.00522720
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004144f5
mov byte [ebp - 4], 0xd
cmp dword [ebx + 0x25c], 2
jne 0x550ce0
push 0x6a72ec
lea ecx, [ebp - 0x2c]
call fcn.0040153d
cmp dword [ebx + 0x25c], esi
jne 0x550cfe
push 0x713
push edi
lea eax, [ebp - 0x300]
push eax
push 0x10
push 0x6ac690
jmp 0x550d1f
cmp byte [ebp + 0x18], 0
jne 0x550d27
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x550d10
lea eax, [ebp - 0x28]
push 0x703
push edi
lea ecx, [ebp - 0x300]
push ecx
push esi
push eax
call dword [0x71f6d8]
jmp 0x550d74
push 0x703
push edi
lea eax, [ebp - 0x300]
push eax
push esi
push 0x6ac698
call dword [0x71f6d8]
lea eax, [ebp - 0x574]
push 0x273d
push eax
call fcn.004b9340
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebx + 0x27c]
mov byte [ebp - 4], 0xe
call fcn.004106e6
push esi
push 1
lea ecx, [ebp - 0x574]
call fcn.00410779
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00410779
mov eax, dword [ebp - 0x300]
mov dword [ebx + 0x2d0], eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x574]
call fcn.004120e9
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebx + 0x27c]
mov byte [ebp - 4], 0xf
call fcn.004106e6
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x574]
mov byte [ebp - 4], 4
call fcn.00410779
cmp dword [ebp + 0xc], edi
jne 0x550dff
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x574]
call fcn.004120e9
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebx + 0x260]
mov byte [ebp - 4], 0x10
call fcn.004106e6
push esi
push edi
lea ecx, [ebp - 0x574]
call fcn.00410779
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.00410779
mov eax, ebx
call fcn.0052359c
ret 0x264